schema updates
diff --git a/docs/json/animation.json b/docs/json/animation.json
index bc25a57..a56eee2 100644
--- a/docs/json/animation.json
+++ b/docs/json/animation.json
@@ -97,5 +97,6 @@
},
"type": "array"
}
- }
+ },
+ "required": ["ip", "op","fr","w","h","layers"]
}
diff --git a/docs/json/helpers/transform.json b/docs/json/helpers/transform.json
index 791ff36..2450f9c 100644
--- a/docs/json/helpers/transform.json
+++ b/docs/json/helpers/transform.json
@@ -52,7 +52,7 @@
"$ref": "#/properties/value"
},
{
- "$ref": "#/properties/valueKeyframed"
+ "$ref": "#/properties/multiDimensionalKeyframed"
}
],
"default": {"a":0, "k":0},
diff --git a/docs/json/layers/image.json b/docs/json/layers/image.json
index c693779..247c863 100644
--- a/docs/json/layers/image.json
+++ b/docs/json/layers/image.json
@@ -68,7 +68,7 @@
"nm": {
"title": "Name",
"description": "After Effects Layer Name. Used for expressions.",
- "type": "number"
+ "type": "string"
},
"hasMask": {
"title": "Has Masks",
diff --git a/docs/json/layers/null.json b/docs/json/layers/null.json
index 30bffb1..f71b4ca 100644
--- a/docs/json/layers/null.json
+++ b/docs/json/layers/null.json
@@ -61,7 +61,7 @@
"nm": {
"title": "Name",
"description": "After Effects Layer Name. Used for expressions.",
- "type": "number"
+ "type": "string"
},
"ef": {
"title": "Effects",
diff --git a/docs/json/layers/preComp.json b/docs/json/layers/preComp.json
index 9f7447b..9fbee13 100644
--- a/docs/json/layers/preComp.json
+++ b/docs/json/layers/preComp.json
@@ -67,7 +67,7 @@
"nm": {
"title": "Name",
"description": "After Effects Layer Name. Used for expressions.",
- "type": "number"
+ "type": "string"
},
"hasMask": {
"title": "Has Masks",
diff --git a/docs/json/layers/shape.json b/docs/json/layers/shape.json
index f7fce37..842e162 100644
--- a/docs/json/layers/shape.json
+++ b/docs/json/layers/shape.json
@@ -68,7 +68,7 @@
"nm": {
"title": "Name",
"description": "After Effects Layer Name. Used for expressions.",
- "type": "number"
+ "type": "string"
},
"hasMask": {
"title": "Has Masks",
diff --git a/docs/json/layers/solid.json b/docs/json/layers/solid.json
index 7d8925b..1b151d2 100644
--- a/docs/json/layers/solid.json
+++ b/docs/json/layers/solid.json
@@ -6,7 +6,7 @@
"title": "Type",
"description": "Type of layer: Solid.",
"type": "number",
- "value": 1
+ "const": 1
},
"ks": {
"title": "Transform",
@@ -68,7 +68,7 @@
"nm": {
"title": "Name",
"description": "After Effects Layer Name. Used for expressions.",
- "type": "number"
+ "type": "string"
},
"hasMask": {
"title": "Has Masks",
diff --git a/docs/json/layers/text.json b/docs/json/layers/text.json
index 5b02aaa..b5c9d05 100644
--- a/docs/json/layers/text.json
+++ b/docs/json/layers/text.json
@@ -6,7 +6,7 @@
"title": "Type",
"description": "Type of layer: Text.",
"type": "number",
- "value": 5
+ "const": 5
},
"ks": {
"title": "Transform",
@@ -68,7 +68,7 @@
"nm": {
"title": "Name",
"description": "After Effects Layer Name. Used for expressions.",
- "type": "number"
+ "type": "string"
},
"hasMask": {
"title": "Has Masks",
diff --git a/docs/json/properties/multiDimensional.json b/docs/json/properties/multiDimensional.json
index b22d7c5..d747071 100644
--- a/docs/json/properties/multiDimensional.json
+++ b/docs/json/properties/multiDimensional.json
@@ -5,7 +5,10 @@
"k": {
"description": "Property Value",
"extended_name": "Value",
- "type": "array"
+ "type": "array",
+ "items": {
+ "type": "number"
+ }
},
"x": {
"description": "Property Expression. An AE expression that modifies the value.",
@@ -15,7 +18,7 @@
"ix": {
"description": "Property Index. Used for expressions.",
"extended_name": "Property Index",
- "type": "string"
+ "type": "number"
}
}
}
diff --git a/docs/json/properties/multiDimensionalKeyframed.json b/docs/json/properties/multiDimensionalKeyframed.json
index d9a03fb..c5caecc 100644
--- a/docs/json/properties/multiDimensionalKeyframed.json
+++ b/docs/json/properties/multiDimensionalKeyframed.json
@@ -19,7 +19,7 @@
"ix": {
"description": "Property Index. Used for expressions.",
"extended_name": "Property Index",
- "type": "string"
+ "type": "number"
},
"ti": {
"description": "In Spatial Tangent. Only for spatial properties. Array of numbers.",
diff --git a/docs/json/properties/shape.json b/docs/json/properties/shape.json
index a1834b9..0c60ea5 100644
--- a/docs/json/properties/shape.json
+++ b/docs/json/properties/shape.json
@@ -16,7 +16,7 @@
"ix": {
"description": "Property Index. Used for expressions.",
"extended_name": "Property Index",
- "type": "string"
+ "type": "number"
},
"a": {
"description": "Defines if property is animated",
diff --git a/docs/json/properties/shapeKeyframed.json b/docs/json/properties/shapeKeyframed.json
index c744c05..410ce51 100644
--- a/docs/json/properties/shapeKeyframed.json
+++ b/docs/json/properties/shapeKeyframed.json
@@ -19,7 +19,7 @@
"ix": {
"description": "Property Index. Used for expressions.",
"extended_name": "Property Index",
- "type": "string"
+ "type": "number"
},
"ti": {
"description": "In Spatial Tangent. Only for spatial properties. Array of numbers.",
diff --git a/docs/json/properties/value.json b/docs/json/properties/value.json
index bf9b044..a6b4e97 100644
--- a/docs/json/properties/value.json
+++ b/docs/json/properties/value.json
@@ -15,7 +15,7 @@
"ix": {
"description": "Property Index. Used for expressions.",
"extended_name": "Property Index",
- "type": "string"
+ "type": "number"
}
}
}
diff --git a/docs/json/properties/valueKeyframed.json b/docs/json/properties/valueKeyframed.json
index 83bd084..ed5d8c1 100644
--- a/docs/json/properties/valueKeyframed.json
+++ b/docs/json/properties/valueKeyframed.json
@@ -19,7 +19,7 @@
"ix": {
"description": "Property Index. Used for expressions.",
"extended_name": "Property Index",
- "type": "string"
+ "type": "number"
}
}
}