{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Canvas - a spatial arrangement of component windows.",
      "key": "tid",
      "record": {
        "properties": {
          "createdAt": {
            "format": "datetime",
            "type": "string"
          },
          "overrides": {
            "description": "Ordered DID stack for resolution overrides. DIDs listed here are prepended to every component's import stack during rendering.",
            "items": {
              "format": "did",
              "type": "string"
            },
            "type": "array"
          },
          "windows": {
            "items": {
              "ref": "#window",
              "type": "ref"
            },
            "type": "array"
          }
        },
        "required": [
          "windows"
        ],
        "type": "object"
      },
      "type": "record"
    },
    "window": {
      "properties": {
        "componentUri": {
          "description": "AT URI of the component record to render.",
          "format": "at-uri",
          "type": "string"
        },
        "height": {
          "type": "integer"
        },
        "id": {
          "maxLength": 64,
          "type": "string"
        },
        "props": {
          "description": "Properties to pass to the component.",
          "type": "unknown"
        },
        "width": {
          "type": "integer"
        },
        "x": {
          "type": "integer"
        },
        "y": {
          "type": "integer"
        },
        "z": {
          "type": "integer"
        }
      },
      "required": [
        "id",
        "x",
        "y",
        "z",
        "componentUri"
      ],
      "type": "object"
    }
  },
  "id": "at.inlay.canvas",
  "lexicon": 1
}
