123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157 |
- {
- "$schema": "http://json-schema.org/draft-04/schema#",
- "type": "object",
- "properties": {
- "ty": {
- "title": "Type",
- "description": "Type of layer: Shape.",
- "type": "number",
- "const": 4
- },
- "ks": {
- "title": "Transform",
- "description": "Transform properties",
- "$ref": "#/helpers/transform",
- "type": "object"
- },
- "ao": {
- "title": "Auto-Orient",
- "description": "Auto-Orient along path AE property.",
- "$ref": "#/helpers/boolean",
- "type": "number",
- "default": 0
- },
- "bm": {
- "title": "Blend Mode",
- "description": "Blend Mode",
- "$ref": "#/helpers/blendMode",
- "type": "number",
- "default": 0
- },
- "ddd": {
- "title": "3d Layer",
- "description": "3d layer flag",
- "$ref": "#/helpers/boolean",
- "type": "number",
- "default": 0
- },
- "ind": {
- "title": "Index",
- "description": "Layer index in AE. Used for parenting and expressions.",
- "type": "number"
- },
- "cl": {
- "title": "Class",
- "description": "Parsed layer name used as html class on SVG/HTML renderer",
- "type": "string"
- },
- "ln": {
- "title": "layer HTML ID",
- "description": "Parsed layer name used as html id on SVG/HTML renderer",
- "type": "string"
- },
- "ip": {
- "title": "In Point",
- "description": "In Point of layer. Sets the initial frame of the layer.",
- "type": "number"
- },
- "op": {
- "title": "Out Point",
- "description": "Out Point of layer. Sets the final frame of the layer.",
- "type": "number"
- },
- "st": {
- "title": "Start Time",
- "description": "Start Time of layer. Sets the start time of the layer.",
- "type": "number"
- },
- "nm": {
- "title": "Name",
- "description": "After Effects Layer Name. Used for expressions.",
- "type": "number"
- },
- "hasMask": {
- "title": "Has Masks",
- "description": "Boolean when layer has a mask. Will be deprecated in favor of checking masksProperties.",
- "type": "number"
- },
- "masksProperties": {
- "title": "Masks Properties",
- "description": "List of Masks",
- "items": {
- "$ref": "#/helpers/mask",
- "type": "object"
- },
- "type": "array"
- },
- "ef": {
- "title": "Effects",
- "description": "List of Effects",
- "items": {
- "$ref": "#/effects/index",
- "type": "object"
- },
- "type": "array"
- },
- "sr": {
- "title": "Stretch",
- "description": "Layer Time Stretching",
- "type": "number",
- "default": 1
- },
- "parent": {
- "title": "Parent",
- "description": "Layer Parent. Uses ind of parent.",
- "type": "number"
- },
- "it": {
- "title": "Items",
- "description": "Shape list of items",
- "items": {
- "oneOf": [
- {
- "$ref": "#/shapes/shape"
- },
- {
- "$ref": "#/shapes/rect"
- },
- {
- "$ref": "#/shapes/ellipse"
- },
- {
- "$ref": "#/shapes/star"
- },
- {
- "$ref": "#/shapes/fill"
- },
- {
- "$ref": "#/shapes/gFill"
- },
- {
- "$ref": "#/shapes/gStroke"
- },
- {
- "$ref": "#/shapes/stroke"
- },
- {
- "$ref": "#/shapes/merge"
- },
- {
- "$ref": "#/shapes/trim"
- },
- {
- "$ref": "#/shapes/group"
- },
- {
- "$ref": "#/shapes/round"
- },
- {
- "$ref": "#/shapes/repeater"
- }
- ],
- "type": "object"
- },
- "type": "array"
- }
- }
- }
|