Merge branch 'master' of github.com:airbnb/lottie-web
diff --git a/docs/json/helpers/mask.json b/docs/json/helpers/mask.json
index 105067d..d2c9bea 100644
--- a/docs/json/helpers/mask.json
+++ b/docs/json/helpers/mask.json
@@ -16,18 +16,15 @@
"pt": {
"title": "Points",
"description": "Mask vertices",
- "type": "array",
- "items": {
- "type": "object",
- "oneOf": [
- {
- "$ref": "#/properties/shape"
- },
- {
- "$ref": "#/properties/shapeKeyframed"
- }
- ]
- }
+ "oneOf": [
+ {
+ "$ref": "#/properties/shape"
+ },
+ {
+ "$ref": "#/properties/shapeKeyframed"
+ }
+ ],
+ "type": "object"
},
"o": {
"title": "Opacity",
diff --git a/docs/json/layers/image.json b/docs/json/layers/image.json
index 208f0a1..66e65f1 100644
--- a/docs/json/layers/image.json
+++ b/docs/json/layers/image.json
@@ -88,11 +88,11 @@
},
"hasMask": {
"title": "Has Masks",
- "description": "Boolean when layer has a mask. Will be deprecated in favor of checking maskProperties.",
+ "description": "Boolean when layer has a mask. Will be deprecated in favor of checking masksProperties.",
"type": "number"
},
- "maskProperties": {
- "title": "Mask Properties",
+ "masksProperties": {
+ "title": "Masks Properties",
"description": "List of Masks",
"items": {
"oneOf": [
diff --git a/docs/json/layers/preComp.json b/docs/json/layers/preComp.json
index 5e2a9b5..4fcfa52 100644
--- a/docs/json/layers/preComp.json
+++ b/docs/json/layers/preComp.json
@@ -87,11 +87,11 @@
},
"hasMask": {
"title": "Has Masks",
- "description": "Boolean when layer has a mask. Will be deprecated in favor of checking maskProperties.",
+ "description": "Boolean when layer has a mask. Will be deprecated in favor of checking masksProperties.",
"type": "number"
},
- "maskProperties": {
- "title": "Mask Properties",
+ "masksProperties": {
+ "title": "Masks Properties",
"description": "List of Masks",
"items": {
"oneOf": [
diff --git a/docs/json/layers/shape.json b/docs/json/layers/shape.json
index b08c62a..a4de3a9 100644
--- a/docs/json/layers/shape.json
+++ b/docs/json/layers/shape.json
@@ -88,11 +88,11 @@
},
"hasMask": {
"title": "Has Masks",
- "description": "Boolean when layer has a mask. Will be deprecated in favor of checking maskProperties.",
+ "description": "Boolean when layer has a mask. Will be deprecated in favor of checking masksProperties.",
"type": "number"
},
- "maskProperties": {
- "title": "Mask Properties",
+ "masksProperties": {
+ "title": "Masks Properties",
"description": "List of Masks",
"items": {
"oneOf": [
diff --git a/docs/json/layers/solid.json b/docs/json/layers/solid.json
index 5567ece..108d4ac 100644
--- a/docs/json/layers/solid.json
+++ b/docs/json/layers/solid.json
@@ -88,11 +88,11 @@
},
"hasMask": {
"title": "Has Masks",
- "description": "Boolean when layer has a mask. Will be deprecated in favor of checking maskProperties.",
+ "description": "Boolean when layer has a mask. Will be deprecated in favor of checking masksProperties.",
"type": "number"
},
- "maskProperties": {
- "title": "Mask Properties",
+ "masksProperties": {
+ "title": "Masks Properties",
"description": "List of Masks",
"items": {
"oneOf": [
diff --git a/docs/json/layers/text.json b/docs/json/layers/text.json
index 34d8a42..6198282 100644
--- a/docs/json/layers/text.json
+++ b/docs/json/layers/text.json
@@ -88,11 +88,11 @@
},
"hasMask": {
"title": "Has Masks",
- "description": "Boolean when layer has a mask. Will be deprecated in favor of checking maskProperties.",
+ "description": "Boolean when layer has a mask. Will be deprecated in favor of checking masksProperties.",
"type": "number"
},
- "maskProperties": {
- "title": "Mask Properties",
+ "masksProperties": {
+ "title": "Masks Properties",
"description": "List of Masks",
"items": {
"oneOf": [