Skip to content

Commit

Permalink
Essential properties / slots schema
Browse files Browse the repository at this point in the history
  • Loading branch information
mbasaglia committed May 2, 2023
1 parent 1bbf1a6 commit c29ab65
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 0 deletions.
5 changes: 5 additions & 0 deletions docs/schema/animated-properties/animated-property.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,11 @@
"x": {
"title": "Expression",
"type": "string"
},
"sid": {
"title": "Slot ID",
"description": "One of the ID in the file's slots",
"type": "string"
}
}
},
Expand Down
26 changes: 26 additions & 0 deletions docs/schema/animation/animation.json
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,32 @@
"mb": {
"title": "Motion Blur",
"$ref": "#/$defs/animation/motion-blur"
},
"slots": {
"title": "Slots",
"description": "Available property overrides",
"type": "object",
"patternProperties": {
".*": {
"anyOf": [
{
"$ref": "#/$defs/animated-properties/multi-dimensional"
},
{
"$ref": "#/$defs/animated-properties/color-value"
},
{
"$ref": "#/$defs/animated-properties/position"
},
{
"$ref": "#/$defs/animated-properties/shape-property"
},
{
"$ref": "#/$defs/animated-properties/value"
}
]
}
}
}
},
"required": ["w", "h", "fr", "layers", "op", "ip"]
Expand Down

0 comments on commit c29ab65

Please sign in to comment.