{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "title": "RectShape",
  "type": "object",
  "properties": {
    "mn": {
      "title": "Match Name",
      "description": "After Effect's Match Name. Used for expressions.",
      "type": "string"
    },
    "nm": {
      "title": "Name",
      "description": "After Effect's Name. Used for expressions.",
      "type": "string"
    },
    "d": {
      "title": "Direction",
      "description": "After Effect's Direction. Direction how the shape is drawn. Used for trim path for example.",
      "type": "number"
    },
    "ty": {
      "title": "Type",
      "description": "Shape content type.",
      "type": "string",
      "enum": [ "rc"]
    },
    "p": {
      "title": "Position",
      "description": "Rect's position",
      "oneOf": [
        {
          "$ref": "../properties/multiDimensional.json"
        },
        {
          "$ref": "../properties/multiDimensionalKeyframed.json"
        }
      ],
      "type": "object"
    },
    "s": {
      "title": "Size",
      "description": "Rect's size",
      "oneOf": [
        {
          "$ref": "../properties/multiDimensional.json"
        },
        {
          "$ref": "../properties/multiDimensionalKeyframed.json"
        }
      ],
      "type": "object"
    },
    "r": {
      "title": "Rounded corners",
      "description": "Rect's rounded corners",
      "oneOf": [
        {
          "$ref": "../properties/Value.json"
        },
        {
          "$ref": "../properties/valueKeyframed.json"
        }
      ],
      "type": "object"
    }
  }
}
