Skip to content

Open source website builder and Webflow alternative. Webstudio is an advanced visual builder that connects to any headless CMS, supports all CSS properties, and can be hosted anywhere, including with us.

3.3 MB
Raw Blame
// This file is generated by scripts/generate-runtime-operation-contracts.ts.
// Do not edit manually.

export const runtimeOperationContractData = [
  {
    id: "contentBlocks.inspectSource",
    command: "inspect-content-block-source",
    client: "inspectContentBlockSource",
    permit: "view",
    kind: "read",
    inputSchema: {
      type: "object",
      properties: {
        blockInstanceId: {
          type: "string",
          minLength: 1,
        },
        renderScope: {
          type: "string",
          minLength: 1,
          description:
            "Stable occurrence key; does not load route or resource data.",
        },
        variables: {
          description:
            'Concrete expression values. Result-one example: {post:{data:{id:"<mdxAssetId>"}}}.',
          type: "object",
          propertyNames: {
            type: "string",
          },
          additionalProperties: {},
        },
      },
      required: ["blockInstanceId", "renderScope"],
    },
    outputSchema: {
      type: "object",
      properties: {
        source: {
          type: "string",
        },
        sessionStatus: {
          type: "string",
          enum: ["saved", "pending", "saving", "failed", "conflicting"],
        },
        identity: {
          type: "object",
          properties: {
            blockInstanceId: {
              type: "string",
            },
            assetId: {
              type: "string",
            },
            revision: {
              type: "string",
            },
            contentRef: {
              type: "string",
            },
            format: {
              type: "string",
              const: "mdx",
            },
            renderScope: {
              type: "string",
            },
          },
          required: [
            "blockInstanceId",
            "assetId",
            "revision",
            "contentRef",
            "format",
            "renderScope",
          ],
          additionalProperties: {},
        },
        diagnostics: {
          type: "array",
          items: {
            oneOf: [
              {
                type: "object",
                properties: {
                  blockInstanceId: {
                    type: "string",
                    minLength: 1,
                  },
                  assetId: {
                    type: "string",
                    minLength: 1,
                  },
                  contentRef: {
                    type: "string",
                    minLength: 1,
                  },
                  renderScope: {
                    type: "string",
                    minLength: 1,
                  },
                  sourceRange: {
                    type: "object",
                    properties: {
                      start: {
                        type: "object",
                        properties: {
                          line: {
                            type: "integer",
                            exclusiveMinimum: 0,
                            maximum: 9007199254740991,
                          },
                          column: {
                            type: "integer",
                            exclusiveMinimum: 0,
                            maximum: 9007199254740991,
                          },
                          offset: {
                            type: "integer",
                            minimum: 0,
                            maximum: 9007199254740991,
                          },
                        },
                        required: ["line", "column"],
                        additionalProperties: false,
                      },
                      end: {
                        type: "object",
                        properties: {
                          line: {
                            type: "integer",
                            exclusiveMinimum: 0,
                            maximum: 9007199254740991,
                          },
                          column: {
                            type: "integer",
                            exclusiveMinimum: 0,
                            maximum: 9007199254740991,
                          },
                          offset: {
                            type: "integer",
                            minimum: 0,
                            maximum: 9007199254740991,
                          },
                        },
                        required: ["line", "column"],
                        additionalProperties: false,
                      },
                    },
                    required: ["start", "end"],
                    additionalProperties: false,
                  },
                  code: {
                    type: "string",
                    const: "invalid-mdx",
                  },
                  severity: {
                    type: "string",
                    const: "error",
                  },
                  message: {
                    type: "string",
                    minLength: 1,
                  },
                  reason: {
                    type: "string",
                    enum: [
                      "source-read-failed",
                      "missing-source",
                      "missing-asset",
                      "linked-document-unavailable",
                      "html-content-model",
                      "dynamic-resource",
                      "dynamic-source-unbounded",
                    ],
                  },
                },
                required: ["blockInstanceId", "code", "severity", "message"],
                additionalProperties: false,
              },
              {
                type: "object",
                properties: {
                  blockInstanceId: {
                    type: "string",
                    minLength: 1,
                  },
                  assetId: {
                    type: "string",
                    minLength: 1,
                  },
                  contentRef: {
                    type: "string",
                    minLength: 1,
                  },
                  renderScope: {
                    type: "string",
                    minLength: 1,
                  },
                  sourceRange: {
                    type: "object",
                    properties: {
                      start: {
                        type: "object",
                        properties: {
                          line: {
                            type: "integer",
                            exclusiveMinimum: 0,
                            maximum: 9007199254740991,
                          },
                          column: {
                            type: "integer",
                            exclusiveMinimum: 0,
                            maximum: 9007199254740991,
                          },
                          offset: {
                            type: "integer",
                            minimum: 0,
                            maximum: 9007199254740991,
                          },
                        },
                        required: ["line", "column"],
                        additionalProperties: false,
                      },
                      end: {
                        type: "object",
                        properties: {
                          line: {
                            type: "integer",
                            exclusiveMinimum: 0,
                            maximum: 9007199254740991,
                          },
                          column: {
                            type: "integer",
                            exclusiveMinimum: 0,
                            maximum: 9007199254740991,
                          },
                          offset: {
                            type: "integer",
                            minimum: 0,
                            maximum: 9007199254740991,
                          },
                        },
                        required: ["line", "column"],
                        additionalProperties: false,
                      },
                    },
                    required: ["start", "end"],
                    additionalProperties: false,
                  },
                  code: {
                    type: "string",
                    const: "unsafe-mdx",
                  },
                  severity: {
                    type: "string",
                    const: "warning",
                  },
                  nodeType: {
                    type: "string",
                    minLength: 1,
                  },
                  reason: {
                    type: "string",
                    minLength: 1,
                  },
                },
                required: [
                  "blockInstanceId",
                  "code",
                  "severity",
                  "nodeType",
                  "reason",
                ],
                additionalProperties: false,
              },
              {
                type: "object",
                properties: {
                  blockInstanceId: {
                    type: "string",
                    minLength: 1,
                  },
                  assetId: {
                    type: "string",
                    minLength: 1,
                  },
                  contentRef: {
                    type: "string",
                    minLength: 1,
                  },
                  renderScope: {
                    type: "string",
                    minLength: 1,
                  },
                  sourceRange: {
                    type: "object",
                    properties: {
                      start: {
                        type: "object",
                        properties: {
                          line: {
                            type: "integer",
                            exclusiveMinimum: 0,
                            maximum: 9007199254740991,
                          },
                          column: {
                            type: "integer",
                            exclusiveMinimum: 0,
                            maximum: 9007199254740991,
                          },
                          offset: {
                            type: "integer",
                            minimum: 0,
                            maximum: 9007199254740991,
                          },
                        },
                        required: ["line", "column"],
                        additionalProperties: false,
                      },
                      end: {
                        type: "object",
                        properties: {
                          line: {
                            type: "integer",
                            exclusiveMinimum: 0,
                            maximum: 9007199254740991,
                          },
                          column: {
                            type: "integer",
                            exclusiveMinimum: 0,
                            maximum: 9007199254740991,
                          },
                          offset: {
                            type: "integer",
                            minimum: 0,
                            maximum: 9007199254740991,
                          },
                        },
                        required: ["line", "column"],
                        additionalProperties: false,
                      },
                    },
                    required: ["start", "end"],
                    additionalProperties: false,
                  },
                  code: {
                    type: "string",
                    const: "unresolved-template",
                  },
                  severity: {
                    type: "string",
                    const: "warning",
                  },
                  templateName: {
                    type: "string",
                    minLength: 1,
                  },
                },
                required: [
                  "blockInstanceId",
                  "code",
                  "severity",
                  "templateName",
                ],
                additionalProperties: false,
              },
              {
                type: "object",
                properties: {
                  blockInstanceId: {
                    type: "string",
                    minLength: 1,
                  },
                  assetId: {
                    type: "string",
                    minLength: 1,
                  },
                  contentRef: {
                    type: "string",
                    minLength: 1,
                  },
                  renderScope: {
                    type: "string",
                    minLength: 1,
                  },
                  sourceRange: {
                    type: "object",
                    properties: {
                      start: {
                        type: "object",
                        properties: {
                          line: {
                            type: "integer",
                            exclusiveMinimum: 0,
                            maximum: 9007199254740991,
                          },
                          column: {
                            type: "integer",
                            exclusiveMinimum: 0,
                            maximum: 9007199254740991,
                          },
                          offset: {
                            type: "integer",
                            minimum: 0,
                            maximum: 9007199254740991,
                          },
                        },
                        required: ["line", "column"],
                        additionalProperties: false,
                      },
                      end: {
                        type: "object",
                        properties: {
                          line: {
                            type: "integer",
                            exclusiveMinimum: 0,
                            maximum: 9007199254740991,
                          },
                          column: {
                            type: "integer",
                            exclusiveMinimum: 0,
                            maximum: 9007199254740991,
                          },
                          offset: {
                            type: "integer",
                            minimum: 0,
                            maximum: 9007199254740991,
                          },
                        },
                        required: ["line", "column"],
                        additionalProperties: false,
                      },
                    },
                    required: ["start", "end"],
                    additionalProperties: false,
                  },
                  code: {
                    type: "string",
                    const: "ambiguous-template",
                  },
                  severity: {
                    type: "string",
                    const: "warning",
                  },
                  semanticKey: {
                    type: "string",
                    minLength: 1,
                  },
                  templateNames: {
                    minItems: 2,
                    type: "array",
                    items: {
                      type: "string",
                      minLength: 1,
                    },
                  },
                },
                required: [
                  "blockInstanceId",
                  "code",
                  "severity",
                  "semanticKey",
                  "templateNames",
                ],
                additionalProperties: false,
              },
              {
                type: "object",
                properties: {
                  blockInstanceId: {
                    type: "string",
                    minLength: 1,
                  },
                  assetId: {
                    type: "string",
                    minLength: 1,
                  },
                  contentRef: {
                    type: "string",
                    minLength: 1,
                  },
                  renderScope: {
                    type: "string",
                    minLength: 1,
                  },
                  sourceRange: {
                    type: "object",
                    properties: {
                      start: {
                        type: "object",
                        properties: {
                          line: {
                            type: "integer",
                            exclusiveMinimum: 0,
                            maximum: 9007199254740991,
                          },
                          column: {
                            type: "integer",
                            exclusiveMinimum: 0,
                            maximum: 9007199254740991,
                          },
                          offset: {
                            type: "integer",
                            minimum: 0,
                            maximum: 9007199254740991,
                          },
                        },
                        required: ["line", "column"],
                        additionalProperties: false,
                      },
                      end: {
                        type: "object",
                        properties: {
                          line: {
                            type: "integer",
                            exclusiveMinimum: 0,
                            maximum: 9007199254740991,
                          },
                          column: {
                            type: "integer",
                            exclusiveMinimum: 0,
                            maximum: 9007199254740991,
                          },
                          offset: {
                            type: "integer",
                            minimum: 0,
                            maximum: 9007199254740991,
                          },
                        },
                        required: ["line", "column"],
                        additionalProperties: false,
                      },
                    },
                    required: ["start", "end"],
                    additionalProperties: false,
                  },
                  code: {
                    type: "string",
                    const: "ignored-template-prop",
                  },
                  severity: {
                    type: "string",
                    const: "warning",
                  },
                  templateName: {
                    type: "string",
                    minLength: 1,
                  },
                  propName: {
                    type: "string",
                    minLength: 1,
                  },
                  reason: {
                    type: "string",
                    enum: ["unknown", "incompatible", "design-only", "stale"],
                  },
                },
                required: [
                  "blockInstanceId",
                  "code",
                  "severity",
                  "templateName",
                  "propName",
                  "reason",
                ],
                additionalProperties: false,
              },
            ],
          },
        },
      },
      required: ["source", "sessionStatus", "identity", "diagnostics"],
      additionalProperties: {},
    },
    readNamespaces: [
      "pages",
      "instances",
      "props",
      "dataSources",
      "resources",
      "styleSources",
      "styleSourceSelections",
      "styles",
      "breakpoints",
      "assets",
    ],
    writeNamespaces: [],
    invalidatesNamespaces: [],
    retryOnConflict: false,
    requiresAssets: true,
  },
  {
    id: "contentBlocks.connectSource",
    command: "connect-content-block-source",
    client: "connectContentBlockSource",
    permit: "edit",
    kind: "mutation",
    inputSchema: {
      type: "object",
      properties: {
        blockInstanceId: {
          type: "string",
          minLength: 1,
        },
        renderScope: {
          type: "string",
          minLength: 1,
          description:
            "Stable occurrence key; does not load route or resource data.",
        },
        variables: {
          description:
            'Concrete expression values. Result-one example: {post:{data:{id:"<mdxAssetId>"}}}.',
          type: "object",
          propertyNames: {
            type: "string",
          },
          additionalProperties: {},
        },
        source: {
          oneOf: [
            {
              type: "object",
              properties: {
                type: {
                  type: "string",
                  const: "asset",
                },
                assetId: {
                  type: "string",
                  minLength: 1,
                },
              },
              required: ["type", "assetId"],
              additionalProperties: false,
            },
            {
              type: "object",
              properties: {
                type: {
                  type: "string",
                  const: "expression",
                },
                value: {
                  type: "string",
                  minLength: 1,
                },
              },
              required: ["type", "value"],
              additionalProperties: false,
            },
          ],
        },
        confirmReplacement: {
          type: "boolean",
        },
      },
      required: ["blockInstanceId", "renderScope", "source"],
    },
    outputSchema: {
      type: "object",
      properties: {
        action: {
          type: "string",
          const: "connect",
        },
        requiresConfirmation: {
          type: "boolean",
        },
        diagnostics: {
          type: "array",
          items: {
            oneOf: [
              {
                type: "object",
                properties: {
                  blockInstanceId: {
                    type: "string",
                    minLength: 1,
                  },
                  assetId: {
                    type: "string",
                    minLength: 1,
                  },
                  contentRef: {
                    type: "string",
                    minLength: 1,
                  },
                  renderScope: {
                    type: "string",
                    minLength: 1,
                  },
                  sourceRange: {
                    type: "object",
                    properties: {
                      start: {
                        type: "object",
                        properties: {
                          line: {
                            type: "integer",
                            exclusiveMinimum: 0,
                            maximum: 9007199254740991,
                          },
                          column: {
                            type: "integer",
                            exclusiveMinimum: 0,
                            maximum: 9007199254740991,
                          },
                          offset: {
                            type: "integer",
                            minimum: 0,
                            maximum: 9007199254740991,
                          },
                        },
                        required: ["line", "column"],
                        additionalProperties: false,
                      },
                      end: {
                        type: "object",
                        properties: {
                          line: {
                            type: "integer",
                            exclusiveMinimum: 0,
                            maximum: 9007199254740991,
                          },
                          column: {
                            type: "integer",
                            exclusiveMinimum: 0,
                            maximum: 9007199254740991,
                          },
                          offset: {
                            type: "integer",
                            minimum: 0,
                            maximum: 9007199254740991,
                          },
                        },
                        required: ["line", "column"],
                        additionalProperties: false,
                      },
                    },
                    required: ["start", "end"],
                    additionalProperties: false,
                  },
                  code: {
                    type: "string",
                    const: "invalid-mdx",
                  },
                  severity: {
                    type: "string",
                    const: "error",
                  },
                  message: {
                    type: "string",
                    minLength: 1,
                  },
                  reason: {
                    type: "string",
                    enum: [
                      "source-read-failed",
                      "missing-source",
                      "missing-asset",
                      "linked-document-unavailable",
                      "html-content-model",
                      "dynamic-resource",
                      "dynamic-source-unbounded",
                    ],
                  },
                },
                required: ["blockInstanceId", "code", "severity", "message"],
                additionalProperties: false,
              },
              {
                type: "object",
                properties: {
                  blockInstanceId: {
                    type: "string",
                    minLength: 1,
                  },
                  assetId: {
                    type: "string",
                    minLength: 1,
                  },
                  contentRef: {
                    type: "string",
                    minLength: 1,
                  },
                  renderScope: {
                    type: "string",
                    minLength: 1,
                  },
                  sourceRange: {
                    type: "object",
                    properties: {
                      start: {
                        type: "object",
                        properties: {
                          line: {
                            type: "integer",
                            exclusiveMinimum: 0,
                            maximum: 9007199254740991,
                          },
                          column: {
                            type: "integer",
                            exclusiveMinimum: 0,
                            maximum: 9007199254740991,
                          },
                          offset: {
                            type: "integer",
                            minimum: 0,
                            maximum: 9007199254740991,
                          },
                        },
                        required: ["line", "column"],
                        additionalProperties: false,
                      },
                      end: {
                        type: "object",
                        properties: {
                          line: {
                            type: "integer",
                            exclusiveMinimum: 0,
                            maximum: 9007199254740991,
                          },
                          column: {
                            type: "integer",
                            exclusiveMinimum: 0,
                            maximum: 9007199254740991,
                          },
                          offset: {
                            type: "integer",
                            minimum: 0,
                            maximum: 9007199254740991,
                          },
                        },
                        required: ["line", "column"],
                        additionalProperties: false,
                      },
                    },
                    required: ["start", "end"],
                    additionalProperties: false,
                  },
                  code: {
                    type: "string",
                    const: "unsafe-mdx",
                  },
                  severity: {
                    type: "string",
                    const: "warning",
                  },
                  nodeType: {
                    type: "string",
                    minLength: 1,
                  },
                  reason: {
                    type: "string",
                    minLength: 1,
                  },
                },
                required: [
                  "blockInstanceId",
                  "code",
                  "severity",
                  "nodeType",
                  "reason",
                ],
                additionalProperties: false,
              },
              {
                type: "object",
                properties: {
                  blockInstanceId: {
                    type: "string",
                    minLength: 1,
                  },
                  assetId: {
                    type: "string",
                    minLength: 1,
                  },
                  contentRef: {
                    type: "string",
                    minLength: 1,
                  },
                  renderScope: {
                    type: "string",
                    minLength: 1,
                  },
                  sourceRange: {
                    type: "object",
                    properties: {
                      start: {
                        type: "object",
                        properties: {
                          line: {
                            type: "integer",
                            exclusiveMinimum: 0,
                            maximum: 9007199254740991,
                          },
                          column: {
                            type: "integer",
                            exclusiveMinimum: 0,
                            maximum: 9007199254740991,
                          },
                          offset: {
                            type: "integer",
                            minimum: 0,
                            maximum: 9007199254740991,
                          },
                        },
                        required: ["line", "column"],
                        additionalProperties: false,
                      },
                      end: {
                        type: "object",
                        properties: {
                          line: {
                            type: "integer",
                            exclusiveMinimum: 0,
                            maximum: 9007199254740991,
                          },
                          column: {
                            type: "integer",
                            exclusiveMinimum: 0,
                            maximum: 9007199254740991,
                          },
                          offset: {
                            type: "integer",
                            minimum: 0,
                            maximum: 9007199254740991,
                          },
                        },
                        required: ["line", "column"],
                        additionalProperties: false,
                      },
                    },
                    required: ["start", "end"],
                    additionalProperties: false,
                  },
                  code: {
                    type: "string",
                    const: "unresolved-template",
                  },
                  severity: {
                    type: "string",
                    const: "warning",
                  },
                  templateName: {
                    type: "string",
                    minLength: 1,
                  },
                },
                required: [
                  "blockInstanceId",
                  "code",
                  "severity",
                  "templateName",
                ],
                additionalProperties: false,
              },
              {
                type: "object",
                properties: {
                  blockInstanceId: {
                    type: "string",
                    minLength: 1,
                  },
                  assetId: {
                    type: "string",
                    minLength: 1,
                  },
                  contentRef: {
                    type: "string",
                    minLength: 1,
                  },
                  renderScope: {
                    type: "string",
                    minLength: 1,
                  },
                  sourceRange: {
                    type: "object",
                    properties: {
                      start: {
                        type: "object",
                        properties: {
                          line: {
                            type: "integer",
                            exclusiveMinimum: 0,
                            maximum: 9007199254740991,
                          },
                          column: {
                            type: "integer",
                            exclusiveMinimum: 0,
                            maximum: 9007199254740991,
                          },
                          offset: {
                            type: "integer",
                            minimum: 0,
                            maximum: 9007199254740991,
                          },
                        },
                        required: ["line", "column"],
                        additionalProperties: false,
                      },
                      end: {
                        type: "object",
                        properties: {
                          line: {
                            type: "integer",
                            exclusiveMinimum: 0,
                            maximum: 9007199254740991,
                          },
                          column: {
                            type: "integer",
                            exclusiveMinimum: 0,
                            maximum: 9007199254740991,
                          },
                          offset: {
                            type: "integer",
                            minimum: 0,
                            maximum: 9007199254740991,
                          },
                        },
                        required: ["line", "column"],
                        additionalProperties: false,
                      },
                    },
                    required: ["start", "end"],
                    additionalProperties: false,
                  },
                  code: {
                    type: "string",
                    const: "ambiguous-template",
                  },
                  severity: {
                    type: "string",
                    const: "warning",
                  },
                  semanticKey: {
                    type: "string",
                    minLength: 1,
                  },
                  templateNames: {
                    minItems: 2,
                    type: "array",
                    items: {
                      type: "string",
                      minLength: 1,
                    },
                  },
                },
                required: [
                  "blockInstanceId",
                  "code",
                  "severity",
                  "semanticKey",
                  "templateNames",
                ],
                additionalProperties: false,
              },
              {
                type: "object",
                properties: {
                  blockInstanceId: {
                    type: "string",
                    minLength: 1,
                  },
                  assetId: {
                    type: "string",
                    minLength: 1,
                  },
                  contentRef: {
                    type: "string",
                    minLength: 1,
                  },
                  renderScope: {
                    type: "string",
                    minLength: 1,
                  },
                  sourceRange: {
                    type: "object",
                    properties: {
                      start: {
                        type: "object",
                        properties: {
                          line: {
                            type: "integer",
                            exclusiveMinimum: 0,
                            maximum: 9007199254740991,
                          },
                          column: {
                            type: "integer",
                            exclusiveMinimum: 0,
                            maximum: 9007199254740991,
                          },
                          offset: {
                            type: "integer",
                            minimum: 0,
                            maximum: 9007199254740991,
                          },
                        },
                        required: ["line", "column"],
                        additionalProperties: false,
                      },
                      end: {
                        type: "object",
                        properties: {
                          line: {
                            type: "integer",
                            exclusiveMinimum: 0,
                            maximum: 9007199254740991,
                          },
                          column: {
                            type: "integer",
                            exclusiveMinimum: 0,
                            maximum: 9007199254740991,
                          },
                          offset: {
                            type: "integer",
                            minimum: 0,
                            maximum: 9007199254740991,
                          },
                        },
                        required: ["line", "column"],
                        additionalProperties: false,
                      },
                    },
                    required: ["start", "end"],
                    additionalProperties: false,
                  },
                  code: {
                    type: "string",
                    const: "ignored-template-prop",
                  },
                  severity: {
                    type: "string",
                    const: "warning",
                  },
                  templateName: {
                    type: "string",
                    minLength: 1,
                  },
                  propName: {
                    type: "string",
                    minLength: 1,
                  },
                  reason: {
                    type: "string",
                    enum: ["unknown", "incompatible", "design-only", "stale"],
                  },
                },
                required: [
                  "blockInstanceId",
                  "code",
                  "severity",
                  "templateName",
                  "propName",
                  "reason",
                ],
                additionalProperties: false,
              },
            ],
          },
        },
      },
      required: ["action", "requiresConfirmation", "diagnostics"],
      additionalProperties: {},
    },
    readNamespaces: [
      "pages",
      "instances",
      "props",
      "dataSources",
      "resources",
      "styleSources",
      "styleSourceSelections",
      "styles",
      "breakpoints",
      "assets",
    ],
    writeNamespaces: [
      "pages",
      "instances",
      "props",
      "dataSources",
      "resources",
      "styleSources",
      "styleSourceSelections",
      "styles",
      "breakpoints",
      "assets",
    ],
    invalidatesNamespaces: [
      "pages",
      "instances",
      "props",
      "dataSources",
      "resources",
      "styleSources",
      "styleSourceSelections",
      "styles",
      "breakpoints",
      "assets",
    ],
    retryOnConflict: false,
    requiresAssets: true,
  },
  {
    id: "contentBlocks.switchSource",
    command: "switch-content-block-source",
    client: "switchContentBlockSource",
    permit: "edit",
    kind: "mutation",
    inputSchema: {
      type: "object",
      properties: {
        blockInstanceId: {
          type: "string",
          minLength: 1,
        },
        renderScope: {
          type: "string",
          minLength: 1,
          description:
            "Stable occurrence key; does not load route or resource data.",
        },
        variables: {
          description:
            'Concrete expression values. Result-one example: {post:{data:{id:"<mdxAssetId>"}}}.',
          type: "object",
          propertyNames: {
            type: "string",
          },
          additionalProperties: {},
        },
        source: {
          oneOf: [
            {
              type: "object",
              properties: {
                type: {
                  type: "string",
                  const: "asset",
                },
                assetId: {
                  type: "string",
                  minLength: 1,
                },
              },
              required: ["type", "assetId"],
              additionalProperties: false,
            },
            {
              type: "object",
              properties: {
                type: {
                  type: "string",
                  const: "expression",
                },
                value: {
                  type: "string",
                  minLength: 1,
                },
              },
              required: ["type", "value"],
              additionalProperties: false,
            },
          ],
        },
      },
      required: ["blockInstanceId", "renderScope", "source"],
    },
    outputSchema: {
      type: "object",
      properties: {
        action: {
          type: "string",
          const: "switch",
        },
        requiresConfirmation: {
          type: "boolean",
        },
        diagnostics: {
          type: "array",
          items: {
            oneOf: [
              {
                type: "object",
                properties: {
                  blockInstanceId: {
                    type: "string",
                    minLength: 1,
                  },
                  assetId: {
                    type: "string",
                    minLength: 1,
                  },
                  contentRef: {
                    type: "string",
                    minLength: 1,
                  },
                  renderScope: {
                    type: "string",
                    minLength: 1,
                  },
                  sourceRange: {
                    type: "object",
                    properties: {
                      start: {
                        type: "object",
                        properties: {
                          line: {
                            type: "integer",
                            exclusiveMinimum: 0,
                            maximum: 9007199254740991,
                          },
                          column: {
                            type: "integer",
                            exclusiveMinimum: 0,
                            maximum: 9007199254740991,
                          },
                          offset: {
                            type: "integer",
                            minimum: 0,
                            maximum: 9007199254740991,
                          },
                        },
                        required: ["line", "column"],
                        additionalProperties: false,
                      },
                      end: {
                        type: "object",
                        properties: {
                          line: {
                            type: "integer",
                            exclusiveMinimum: 0,
                            maximum: 9007199254740991,
                          },
                          column: {
                            type: "integer",
                            exclusiveMinimum: 0,
                            maximum: 9007199254740991,
                          },
                          offset: {
                            type: "integer",
                            minimum: 0,
                            maximum: 9007199254740991,
                          },
                        },
                        required: ["line", "column"],
                        additionalProperties: false,
                      },
                    },
                    required: ["start", "end"],
                    additionalProperties: false,
                  },
                  code: {
                    type: "string",
                    const: "invalid-mdx",
                  },
                  severity: {
                    type: "string",
                    const: "error",
                  },
                  message: {
                    type: "string",
                    minLength: 1,
                  },
                  reason: {
                    type: "string",
                    enum: [
                      "source-read-failed",
                      "missing-source",
                      "missing-asset",
                      "linked-document-unavailable",
                      "html-content-model",
                      "dynamic-resource",
                      "dynamic-source-unbounded",
                    ],
                  },
                },
                required: ["blockInstanceId", "code", "severity", "message"],
                additionalProperties: false,
              },
              {
                type: "object",
                properties: {
                  blockInstanceId: {
                    type: "string",
                    minLength: 1,
                  },
                  assetId: {
                    type: "string",
                    minLength: 1,
                  },
                  contentRef: {
                    type: "string",
                    minLength: 1,
                  },
                  renderScope: {
                    type: "string",
                    minLength: 1,
                  },
                  sourceRange: {
                    type: "object",
                    properties: {
                      start: {
                        type: "object",
                        properties: {
                          line: {
                            type: "integer",
                            exclusiveMinimum: 0,
                            maximum: 9007199254740991,
                          },
                          column: {
                            type: "integer",
                            exclusiveMinimum: 0,
                            maximum: 9007199254740991,
                          },
                          offset: {
                            type: "integer",
                            minimum: 0,
                            maximum: 9007199254740991,
                          },
                        },
                        required: ["line", "column"],
                        additionalProperties: false,
                      },
                      end: {
                        type: "object",
                        properties: {
                          line: {
                            type: "integer",
                            exclusiveMinimum: 0,
                            maximum: 9007199254740991,
                          },
                          column: {
                            type: "integer",
                            exclusiveMinimum: 0,
                            maximum: 9007199254740991,
                          },
                          offset: {
                            type: "integer",
                            minimum: 0,
                            maximum: 9007199254740991,
                          },
                        },
                        required: ["line", "column"],
                        additionalProperties: false,
                      },
                    },
                    required: ["start", "end"],
                    additionalProperties: false,
                  },
                  code: {
                    type: "string",
                    const: "unsafe-mdx",
                  },
                  severity: {
                    type: "string",
                    const: "warning",
                  },
                  nodeType: {
                    type: "string",
                    minLength: 1,
                  },
                  reason: {
                    type: "string",
                    minLength: 1,
                  },
                },
                required: [
                  "blockInstanceId",
                  "code",
                  "severity",
                  "nodeType",
                  "reason",
                ],
                additionalProperties: false,
              },
              {
                type: "object",
                properties: {
                  blockInstanceId: {
                    type: "string",
                    minLength: 1,
                  },
                  assetId: {
                    type: "string",
                    minLength: 1,
                  },
                  contentRef: {
                    type: "string",
                    minLength: 1,
                  },
                  renderScope: {
                    type: "string",
                    minLength: 1,
                  },
                  sourceRange: {
                    type: "object",
                    properties: {
                      start: {
                        type: "object",
                        properties: {
                          line: {
                            type: "integer",
                            exclusiveMinimum: 0,
                            maximum: 9007199254740991,
                          },
                          column: {
                            type: "integer",
                            exclusiveMinimum: 0,
                            maximum: 9007199254740991,
                          },
                          offset: {
                            type: "integer",
                            minimum: 0,
                            maximum: 9007199254740991,
                          },
                        },
                        required: ["line", "column"],
                        additionalProperties: false,
                      },
                      end: {
                        type: "object",
                        properties: {
                          line: {
                            type: "integer",
                            exclusiveMinimum: 0,
                            maximum: 9007199254740991,
                          },
                          column: {
                            type: "integer",
                            exclusiveMinimum: 0,
                            maximum: 9007199254740991,
                          },
                          offset: {
                            type: "integer",
                            minimum: 0,
                            maximum: 9007199254740991,
                          },
                        },
                        required: ["line", "column"],
                        additionalProperties: false,
                      },
                    },
                    required: ["start", "end"],
                    additionalProperties: false,
                  },
                  code: {
                    type: "string",
                    const: "unresolved-template",
                  },
                  severity: {
                    type: "string",
                    const: "warning",
                  },
                  templateName: {
                    type: "string",
                    minLength: 1,
                  },
                },
                required: [
                  "blockInstanceId",
                  "code",
                  "severity",
                  "templateName",
                ],
                additionalProperties: false,
              },
              {
                type: "object",
                properties: {
                  blockInstanceId: {
                    type: "string",
                    minLength: 1,
                  },
                  assetId: {
                    type: "string",
                    minLength: 1,
                  },
                  contentRef: {
                    type: "string",
                    minLength: 1,
                  },
                  renderScope: {
                    type: "string",
                    minLength: 1,
                  },
                  sourceRange: {
                    type: "object",
                    properties: {
                      start: {
                        type: "object",
                        properties: {
                          line: {
                            type: "integer",
                            exclusiveMinimum: 0,
                            maximum: 9007199254740991,
                          },
                          column: {
                            type: "integer",
                            exclusiveMinimum: 0,
                            maximum: 9007199254740991,
                          },
                          offset: {
                            type: "integer",
                            minimum: 0,
                            maximum: 9007199254740991,
                          },
                        },
                        required: ["line", "column"],
                        additionalProperties: false,
                      },
                      end: {
                        type: "object",
                        properties: {
                          line: {
                            type: "integer",
                            exclusiveMinimum: 0,
                            maximum: 9007199254740991,
                          },
                          column: {
                            type: "integer",
                            exclusiveMinimum: 0,
                            maximum: 9007199254740991,
                          },
                          offset: {
                            type: "integer",
                            minimum: 0,
                            maximum: 9007199254740991,
                          },
                        },
                        required: ["line", "column"],
                        additionalProperties: false,
                      },
                    },
                    required: ["start", "end"],
                    additionalProperties: false,
                  },
                  code: {
                    type: "string",
                    const: "ambiguous-template",
                  },
                  severity: {
                    type: "string",
                    const: "warning",
                  },
                  semanticKey: {
                    type: "string",
                    minLength: 1,
                  },
                  templateNames: {
                    minItems: 2,
                    type: "array",
                    items: {
                      type: "string",
                      minLength: 1,
                    },
                  },
                },
                required: [
                  "blockInstanceId",
                  "code",
                  "severity",
                  "semanticKey",
                  "templateNames",
                ],
                additionalProperties: false,
              },
              {
                type: "object",
                properties: {
                  blockInstanceId: {
                    type: "string",
                    minLength: 1,
                  },
                  assetId: {
                    type: "string",
                    minLength: 1,
                  },
                  contentRef: {
                    type: "string",
                    minLength: 1,
                  },
                  renderScope: {
                    type: "string",
                    minLength: 1,
                  },
                  sourceRange: {
                    type: "object",
                    properties: {
                      start: {
                        type: "object",
                        properties: {
                          line: {
                            type: "integer",
                            exclusiveMinimum: 0,
                            maximum: 9007199254740991,
                          },
                          column: {
                            type: "integer",
                            exclusiveMinimum: 0,
                            maximum: 9007199254740991,
                          },
                          offset: {
                            type: "integer",
                            minimum: 0,
                            maximum: 9007199254740991,
                          },
                        },
                        required: ["line", "column"],
                        additionalProperties: false,
                      },
                      end: {
                        type: "object",
                        properties: {
                          line: {
                            type: "integer",
                            exclusiveMinimum: 0,
                            maximum: 9007199254740991,
                          },
                          column: {
                            type: "integer",
                            exclusiveMinimum: 0,
                            maximum: 9007199254740991,
                          },
                          offset: {
                            type: "integer",
                            minimum: 0,
                            maximum: 9007199254740991,
                          },
                        },
                        required: ["line", "column"],
                        additionalProperties: false,
                      },
                    },
                    required: ["start", "end"],
                    additionalProperties: false,
                  },
                  code: {
                    type: "string",
                    const: "ignored-template-prop",
                  },
                  severity: {
                    type: "string",
                    const: "warning",
                  },
                  templateName: {
                    type: "string",
                    minLength: 1,
                  },
                  propName: {
                    type: "string",
                    minLength: 1,
                  },
                  reason: {
                    type: "string",
                    enum: ["unknown", "incompatible", "design-only", "stale"],
                  },
                },
                required: [
                  "blockInstanceId",
                  "code",
                  "severity",
                  "templateName",
                  "propName",
                  "reason",
                ],
                additionalProperties: false,
              },
            ],
          },
        },
      },
      required: ["action", "requiresConfirmation", "diagnostics"],
      additionalProperties: {},
    },
    readNamespaces: [
      "pages",
      "instances",
      "props",
      "dataSources",
      "resources",
      "styleSources",
      "styleSourceSelections",
      "styles",
      "breakpoints",
      "assets",
    ],
    writeNamespaces: [
      "pages",
      "instances",
      "props",
      "dataSources",
      "resources",
      "styleSources",
      "styleSourceSelections",
      "styles",
      "breakpoints",
      "assets",
    ],
    invalidatesNamespaces: [
      "pages",
      "instances",
      "props",
      "dataSources",
      "resources",
      "styleSources",
      "styleSourceSelections",
      "styles",
      "breakpoints",
      "assets",
    ],
    retryOnConflict: false,
    requiresAssets: true,
  },
  {
    id: "contentBlocks.disconnectSource",
    command: "disconnect-content-block-source",
    client: "disconnectContentBlockSource",
    permit: "edit",
    kind: "mutation",
    inputSchema: {
      type: "object",
      properties: {
        blockInstanceId: {
          type: "string",
          minLength: 1,
        },
        renderScope: {
          type: "string",
          minLength: 1,
          description:
            "Stable occurrence key; does not load route or resource data.",
        },
        variables: {
          description:
            'Concrete expression values. Result-one example: {post:{data:{id:"<mdxAssetId>"}}}.',
          type: "object",
          propertyNames: {
            type: "string",
          },
          additionalProperties: {},
        },
      },
      required: ["blockInstanceId", "renderScope"],
    },
    outputSchema: {
      type: "object",
      properties: {
        action: {
          type: "string",
          const: "disconnect",
        },
        requiresConfirmation: {
          type: "boolean",
        },
        diagnostics: {
          type: "array",
          items: {
            oneOf: [
              {
                type: "object",
                properties: {
                  blockInstanceId: {
                    type: "string",
                    minLength: 1,
                  },
                  assetId: {
                    type: "string",
                    minLength: 1,
                  },
                  contentRef: {
                    type: "string",
                    minLength: 1,
                  },
                  renderScope: {
                    type: "string",
                    minLength: 1,
                  },
                  sourceRange: {
                    type: "object",
                    properties: {
                      start: {
                        type: "object",
                        properties: {
                          line: {
                            type: "integer",
                            exclusiveMinimum: 0,
                            maximum: 9007199254740991,
                          },
                          column: {
                            type: "integer",
                            exclusiveMinimum: 0,
                            maximum: 9007199254740991,
                          },
                          offset: {
                            type: "integer",
                            minimum: 0,
                            maximum: 9007199254740991,
                          },
                        },
                        required: ["line", "column"],
                        additionalProperties: false,
                      },
                      end: {
                        type: "object",
                        properties: {
                          line: {
                            type: "integer",
                            exclusiveMinimum: 0,
                            maximum: 9007199254740991,
                          },
                          column: {
                            type: "integer",
                            exclusiveMinimum: 0,
                            maximum: 9007199254740991,
                          },
                          offset: {
                            type: "integer",
                            minimum: 0,
                            maximum: 9007199254740991,
                          },
                        },
                        required: ["line", "column"],
                        additionalProperties: false,
                      },
                    },
                    required: ["start", "end"],
                    additionalProperties: false,
                  },
                  code: {
                    type: "string",
                    const: "invalid-mdx",
                  },
                  severity: {
                    type: "string",
                    const: "error",
                  },
                  message: {
                    type: "string",
                    minLength: 1,
                  },
                  reason: {
                    type: "string",
                    enum: [
                      "source-read-failed",
                      "missing-source",
                      "missing-asset",
                      "linked-document-unavailable",
                      "html-content-model",
                      "dynamic-resource",
                      "dynamic-source-unbounded",
                    ],
                  },
                },
                required: ["blockInstanceId", "code", "severity", "message"],
                additionalProperties: false,
              },
              {
                type: "object",
                properties: {
                  blockInstanceId: {
                    type: "string",
                    minLength: 1,
                  },
                  assetId: {
                    type: "string",
                    minLength: 1,
                  },
                  contentRef: {
                    type: "string",
                    minLength: 1,
                  },
                  renderScope: {
                    type: "string",
                    minLength: 1,
                  },
                  sourceRange: {
                    type: "object",
                    properties: {
                      start: {
                        type: "object",
                        properties: {
                          line: {
                            type: "integer",
                            exclusiveMinimum: 0,
                            maximum: 9007199254740991,
                          },
                          column: {
                            type: "integer",
                            exclusiveMinimum: 0,
                            maximum: 9007199254740991,
                          },
                          offset: {
                            type: "integer",
                            minimum: 0,
                            maximum: 9007199254740991,
                          },
                        },
                        required: ["line", "column"],
                        additionalProperties: false,
                      },
                      end: {
                        type: "object",
                        properties: {
                          line: {
                            type: "integer",
                            exclusiveMinimum: 0,
                            maximum: 9007199254740991,
                          },
                          column: {
                            type: "integer",
                            exclusiveMinimum: 0,
                            maximum: 9007199254740991,
                          },
                          offset: {
                            type: "integer",
                            minimum: 0,
                            maximum: 9007199254740991,
                          },
                        },
                        required: ["line", "column"],
                        additionalProperties: false,
                      },
                    },
                    required: ["start", "end"],
                    additionalProperties: false,
                  },
                  code: {
                    type: "string",
                    const: "unsafe-mdx",
                  },
                  severity: {
                    type: "string",
                    const: "warning",
                  },
                  nodeType: {
                    type: "string",
                    minLength: 1,
                  },
                  reason: {
                    type: "string",
                    minLength: 1,
                  },
                },
                required: [
                  "blockInstanceId",
                  "code",
                  "severity",
                  "nodeType",
                  "reason",
                ],
                additionalProperties: false,
              },
              {
                type: "object",
                properties: {
                  blockInstanceId: {
                    type: "string",
                    minLength: 1,
                  },
                  assetId: {
                    type: "string",
                    minLength: 1,
                  },
                  contentRef: {
                    type: "string",
                    minLength: 1,
                  },
                  renderScope: {
                    type: "string",
                    minLength: 1,
                  },
                  sourceRange: {
                    type: "object",
                    properties: {
                      start: {
                        type: "object",
                        properties: {
                          line: {
                            type: "integer",
                            exclusiveMinimum: 0,
                            maximum: 9007199254740991,
                          },
                          column: {
                            type: "integer",
                            exclusiveMinimum: 0,
                            maximum: 9007199254740991,
                          },
                          offset: {
                            type: "integer",
                            minimum: 0,
                            maximum: 9007199254740991,
                          },
                        },
                        required: ["line", "column"],
                        additionalProperties: false,
                      },
                      end: {
                        type: "object",
                        properties: {
                          line: {
                            type: "integer",
                            exclusiveMinimum: 0,
                            maximum: 9007199254740991,
                          },
                          column: {
                            type: "integer",
                            exclusiveMinimum: 0,
                            maximum: 9007199254740991,
                          },
                          offset: {
                            type: "integer",
                            minimum: 0,
                            maximum: 9007199254740991,
                          },
                        },
                        required: ["line", "column"],
                        additionalProperties: false,
                      },
                    },
                    required: ["start", "end"],
                    additionalProperties: false,
                  },
                  code: {
                    type: "string",
                    const: "unresolved-template",
                  },
                  severity: {
                    type: "string",
                    const: "warning",
                  },
                  templateName: {
                    type: "string",
                    minLength: 1,
                  },
                },
                required: [
                  "blockInstanceId",
                  "code",
                  "severity",
                  "templateName",
                ],
                additionalProperties: false,
              },
              {
                type: "object",
                properties: {
                  blockInstanceId: {
                    type: "string",
                    minLength: 1,
                  },
                  assetId: {
                    type: "string",
                    minLength: 1,
                  },
                  contentRef: {
                    type: "string",
                    minLength: 1,
                  },
                  renderScope: {
                    type: "string",
                    minLength: 1,
                  },
                  sourceRange: {
                    type: "object",
                    properties: {
                      start: {
                        type: "object",
                        properties: {
                          line: {
                            type: "integer",
                            exclusiveMinimum: 0,
                            maximum: 9007199254740991,
                          },
                          column: {
                            type: "integer",
                            exclusiveMinimum: 0,
                            maximum: 9007199254740991,
                          },
                          offset: {
                            type: "integer",
                            minimum: 0,
                            maximum: 9007199254740991,
                          },
                        },
                        required: ["line", "column"],
                        additionalProperties: false,
                      },
                      end: {
                        type: "object",
                        properties: {
                          line: {
                            type: "integer",
                            exclusiveMinimum: 0,
                            maximum: 9007199254740991,
                          },
                          column: {
                            type: "integer",
                            exclusiveMinimum: 0,
                            maximum: 9007199254740991,
                          },
                          offset: {
                            type: "integer",
                            minimum: 0,
                            maximum: 9007199254740991,
                          },
                        },
                        required: ["line", "column"],
                        additionalProperties: false,
                      },
                    },
                    required: ["start", "end"],
                    additionalProperties: false,
                  },
                  code: {
                    type: "string",
                    const: "ambiguous-template",
                  },
                  severity: {
                    type: "string",
                    const: "warning",
                  },
                  semanticKey: {
                    type: "string",
                    minLength: 1,
                  },
                  templateNames: {
                    minItems: 2,
                    type: "array",
                    items: {
                      type: "string",
                      minLength: 1,
                    },
                  },
                },
                required: [
                  "blockInstanceId",
                  "code",
                  "severity",
                  "semanticKey",
                  "templateNames",
                ],
                additionalProperties: false,
              },
              {
                type: "object",
                properties: {
                  blockInstanceId: {
                    type: "string",
                    minLength: 1,
                  },
                  assetId: {
                    type: "string",
                    minLength: 1,
                  },
                  contentRef: {
                    type: "string",
                    minLength: 1,
                  },
                  renderScope: {
                    type: "string",
                    minLength: 1,
                  },
                  sourceRange: {
                    type: "object",
                    properties: {
                      start: {
                        type: "object",
                        properties: {
                          line: {
                            type: "integer",
                            exclusiveMinimum: 0,
                            maximum: 9007199254740991,
                          },
                          column: {
                            type: "integer",
                            exclusiveMinimum: 0,
                            maximum: 9007199254740991,
                          },
                          offset: {
                            type: "integer",
                            minimum: 0,
                            maximum: 9007199254740991,
                          },
                        },
                        required: ["line", "column"],
                        additionalProperties: false,
                      },
                      end: {
                        type: "object",
                        properties: {
                          line: {
                            type: "integer",
                            exclusiveMinimum: 0,
                            maximum: 9007199254740991,
                          },
                          column: {
                            type: "integer",
                            exclusiveMinimum: 0,
                            maximum: 9007199254740991,
                          },
                          offset: {
                            type: "integer",
                            minimum: 0,
                            maximum: 9007199254740991,
                          },
                        },
                        required: ["line", "column"],
                        additionalProperties: false,
                      },
                    },
                    required: ["start", "end"],
                    additionalProperties: false,
                  },
                  code: {
                    type: "string",
                    const: "ignored-template-prop",
                  },
                  severity: {
                    type: "string",
                    const: "warning",
                  },
                  templateName: {
                    type: "string",
                    minLength: 1,
                  },
                  propName: {
                    type: "string",
                    minLength: 1,
                  },
                  reason: {
                    type: "string",
                    enum: ["unknown", "incompatible", "design-only", "stale"],
                  },
                },
                required: [
                  "blockInstanceId",
                  "code",
                  "severity",
                  "templateName",
                  "propName",
                  "reason",
                ],
                additionalProperties: false,
              },
            ],
          },
        },
      },
      required: ["action", "requiresConfirmation", "diagnostics"],
      additionalProperties: {},
    },
    readNamespaces: [
      "pages",
      "instances",
      "props",
      "dataSources",
      "resources",
      "styleSources",
      "styleSourceSelections",
      "styles",
      "breakpoints",
      "assets",
    ],
    writeNamespaces: [
      "pages",
      "instances",
      "props",
      "dataSources",
      "resources",
      "styleSources",
      "styleSourceSelections",
      "styles",
      "breakpoints",
      "assets",
    ],
    invalidatesNamespaces: [
      "pages",
      "instances",
      "props",
      "dataSources",
      "resources",
      "styleSources",
      "styleSourceSelections",
      "styles",
      "breakpoints",
      "assets",
    ],
    retryOnConflict: false,
    requiresAssets: true,
  },
  {
    id: "contentBlocks.editSource",
    command: "edit-content-block-source",
    client: "editContentBlockSource",
    permit: "edit",
    kind: "mutation",
    inputSchema: {
      type: "object",
      properties: {
        blockInstanceId: {
          type: "string",
          minLength: 1,
        },
        renderScope: {
          type: "string",
          minLength: 1,
          description:
            "Stable occurrence key; does not load route or resource data.",
        },
        variables: {
          description:
            'Concrete expression values. Result-one example: {post:{data:{id:"<mdxAssetId>"}}}.',
          type: "object",
          propertyNames: {
            type: "string",
          },
          additionalProperties: {},
        },
        source: {
          type: "string",
        },
      },
      required: ["blockInstanceId", "renderScope", "source"],
    },
    outputSchema: {
      type: "object",
      properties: {
        assetId: {
          type: "string",
        },
        source: {
          type: "string",
        },
        status: {
          type: "string",
          enum: ["saved", "pending", "saving", "failed", "conflicting"],
        },
        diagnostics: {
          type: "array",
          items: {
            oneOf: [
              {
                type: "object",
                properties: {
                  blockInstanceId: {
                    type: "string",
                    minLength: 1,
                  },
                  assetId: {
                    type: "string",
                    minLength: 1,
                  },
                  contentRef: {
                    type: "string",
                    minLength: 1,
                  },
                  renderScope: {
                    type: "string",
                    minLength: 1,
                  },
                  sourceRange: {
                    type: "object",
                    properties: {
                      start: {
                        type: "object",
                        properties: {
                          line: {
                            type: "integer",
                            exclusiveMinimum: 0,
                            maximum: 9007199254740991,
                          },
                          column: {
                            type: "integer",
                            exclusiveMinimum: 0,
                            maximum: 9007199254740991,
                          },
                          offset: {
                            type: "integer",
                            minimum: 0,
                            maximum: 9007199254740991,
                          },
                        },
                        required: ["line", "column"],
                        additionalProperties: false,
                      },
                      end: {
                        type: "object",
                        properties: {
                          line: {
                            type: "integer",
                            exclusiveMinimum: 0,
                            maximum: 9007199254740991,
                          },
                          column: {
                            type: "integer",
                            exclusiveMinimum: 0,
                            maximum: 9007199254740991,
                          },
                          offset: {
                            type: "integer",
                            minimum: 0,
                            maximum: 9007199254740991,
                          },
                        },
                        required: ["line", "column"],
                        additionalProperties: false,
                      },
                    },
                    required: ["start", "end"],
                    additionalProperties: false,
                  },
                  code: {
                    type: "string",
                    const: "invalid-mdx",
                  },
                  severity: {
                    type: "string",
                    const: "error",
                  },
                  message: {
                    type: "string",
                    minLength: 1,
                  },
                  reason: {
                    type: "string",
                    enum: [
                      "source-read-failed",
                      "missing-source",
                      "missing-asset",
                      "linked-document-unavailable",
                      "html-content-model",
                      "dynamic-resource",
                      "dynamic-source-unbounded",
                    ],
                  },
                },
                required: ["blockInstanceId", "code", "severity", "message"],
                additionalProperties: false,
              },
              {
                type: "object",
                properties: {
                  blockInstanceId: {
                    type: "string",
                    minLength: 1,
                  },
                  assetId: {
                    type: "string",
                    minLength: 1,
                  },
                  contentRef: {
                    type: "string",
                    minLength: 1,
                  },
                  renderScope: {
                    type: "string",
                    minLength: 1,
                  },
                  sourceRange: {
                    type: "object",
                    properties: {
                      start: {
                        type: "object",
                        properties: {
                          line: {
                            type: "integer",
                            exclusiveMinimum: 0,
                            maximum: 9007199254740991,
                          },
                          column: {
                            type: "integer",
                            exclusiveMinimum: 0,
                            maximum: 9007199254740991,
                          },
                          offset: {
                            type: "integer",
                            minimum: 0,
                            maximum: 9007199254740991,
                          },
                        },
                        required: ["line", "column"],
                        additionalProperties: false,
                      },
                      end: {
                        type: "object",
                        properties: {
                          line: {
                            type: "integer",
                            exclusiveMinimum: 0,
                            maximum: 9007199254740991,
                          },
                          column: {
                            type: "integer",
                            exclusiveMinimum: 0,
                            maximum: 9007199254740991,
                          },
                          offset: {
                            type: "integer",
                            minimum: 0,
                            maximum: 9007199254740991,
                          },
                        },
                        required: ["line", "column"],
                        additionalProperties: false,
                      },
                    },
                    required: ["start", "end"],
                    additionalProperties: false,
                  },
                  code: {
                    type: "string",
                    const: "unsafe-mdx",
                  },
                  severity: {
                    type: "string",
                    const: "warning",
                  },
                  nodeType: {
                    type: "string",
                    minLength: 1,
                  },
                  reason: {
                    type: "string",
                    minLength: 1,
                  },
                },
                required: [
                  "blockInstanceId",
                  "code",
                  "severity",
                  "nodeType",
                  "reason",
                ],
                additionalProperties: false,
              },
              {
                type: "object",
                properties: {
                  blockInstanceId: {
                    type: "string",
                    minLength: 1,
                  },
                  assetId: {
                    type: "string",
                    minLength: 1,
                  },
                  contentRef: {
                    type: "string",
                    minLength: 1,
                  },
                  renderScope: {
                    type: "string",
                    minLength: 1,
                  },
                  sourceRange: {
                    type: "object",
                    properties: {
                      start: {
                        type: "object",
                        properties: {
                          line: {
                            type: "integer",
                            exclusiveMinimum: 0,
                            maximum: 9007199254740991,
                          },
                          column: {
                            type: "integer",
                            exclusiveMinimum: 0,
                            maximum: 9007199254740991,
                          },
                          offset: {
                            type: "integer",
                            minimum: 0,
                            maximum: 9007199254740991,
                          },
                        },
                        required: ["line", "column"],
                        additionalProperties: false,
                      },
                      end: {
                        type: "object",
                        properties: {
                          line: {
                            type: "integer",
                            exclusiveMinimum: 0,
                            maximum: 9007199254740991,
                          },
                          column: {
                            type: "integer",
                            exclusiveMinimum: 0,
                            maximum: 9007199254740991,
                          },
                          offset: {
                            type: "integer",
                            minimum: 0,
                            maximum: 9007199254740991,
                          },
                        },
                        required: ["line", "column"],
                        additionalProperties: false,
                      },
                    },
                    required: ["start", "end"],
                    additionalProperties: false,
                  },
                  code: {
                    type: "string",
                    const: "unresolved-template",
                  },
                  severity: {
                    type: "string",
                    const: "warning",
                  },
                  templateName: {
                    type: "string",
                    minLength: 1,
                  },
                },
                required: [
                  "blockInstanceId",
                  "code",
                  "severity",
                  "templateName",
                ],
                additionalProperties: false,
              },
              {
                type: "object",
                properties: {
                  blockInstanceId: {
                    type: "string",
                    minLength: 1,
                  },
                  assetId: {
                    type: "string",
                    minLength: 1,
                  },
                  contentRef: {
                    type: "string",
                    minLength: 1,
                  },
                  renderScope: {
                    type: "string",
                    minLength: 1,
                  },
                  sourceRange: {
                    type: "object",
                    properties: {
                      start: {
                        type: "object",
                        properties: {
                          line: {
                            type: "integer",
                            exclusiveMinimum: 0,
                            maximum: 9007199254740991,
                          },
                          column: {
                            type: "integer",
                            exclusiveMinimum: 0,
                            maximum: 9007199254740991,
                          },
                          offset: {
                            type: "integer",
                            minimum: 0,
                            maximum: 9007199254740991,
                          },
                        },
                        required: ["line", "column"],
                        additionalProperties: false,
                      },
                      end: {
                        type: "object",
                        properties: {
                          line: {
                            type: "integer",
                            exclusiveMinimum: 0,
                            maximum: 9007199254740991,
                          },
                          column: {
                            type: "integer",
                            exclusiveMinimum: 0,
                            maximum: 9007199254740991,
                          },
                          offset: {
                            type: "integer",
                            minimum: 0,
                            maximum: 9007199254740991,
                          },
                        },
                        required: ["line", "column"],
                        additionalProperties: false,
                      },
                    },
                    required: ["start", "end"],
                    additionalProperties: false,
                  },
                  code: {
                    type: "string",
                    const: "ambiguous-template",
                  },
                  severity: {
                    type: "string",
                    const: "warning",
                  },
                  semanticKey: {
                    type: "string",
                    minLength: 1,
                  },
                  templateNames: {
                    minItems: 2,
                    type: "array",
                    items: {
                      type: "string",
                      minLength: 1,
                    },
                  },
                },
                required: [
                  "blockInstanceId",
                  "code",
                  "severity",
                  "semanticKey",
                  "templateNames",
                ],
                additionalProperties: false,
              },
              {
                type: "object",
                properties: {
                  blockInstanceId: {
                    type: "string",
                    minLength: 1,
                  },
                  assetId: {
                    type: "string",
                    minLength: 1,
                  },
                  contentRef: {
                    type: "string",
                    minLength: 1,
                  },
                  renderScope: {
                    type: "string",
                    minLength: 1,
                  },
                  sourceRange: {
                    type: "object",
                    properties: {
                      start: {
                        type: "object",
                        properties: {
                          line: {
                            type: "integer",
                            exclusiveMinimum: 0,
                            maximum: 9007199254740991,
                          },
                          column: {
                            type: "integer",
                            exclusiveMinimum: 0,
                            maximum: 9007199254740991,
                          },
                          offset: {
                            type: "integer",
                            minimum: 0,
                            maximum: 9007199254740991,
                          },
                        },
                        required: ["line", "column"],
                        additionalProperties: false,
                      },
                      end: {
                        type: "object",
                        properties: {
                          line: {
                            type: "integer",
                            exclusiveMinimum: 0,
                            maximum: 9007199254740991,
                          },
                          column: {
                            type: "integer",
                            exclusiveMinimum: 0,
                            maximum: 9007199254740991,
                          },
                          offset: {
                            type: "integer",
                            minimum: 0,
                            maximum: 9007199254740991,
                          },
                        },
                        required: ["line", "column"],
                        additionalProperties: false,
                      },
                    },
                    required: ["start", "end"],
                    additionalProperties: false,
                  },
                  code: {
                    type: "string",
                    const: "ignored-template-prop",
                  },
                  severity: {
                    type: "string",
                    const: "warning",
                  },
                  templateName: {
                    type: "string",
                    minLength: 1,
                  },
                  propName: {
                    type: "string",
                    minLength: 1,
                  },
                  reason: {
                    type: "string",
                    enum: ["unknown", "incompatible", "design-only", "stale"],
                  },
                },
                required: [
                  "blockInstanceId",
                  "code",
                  "severity",
                  "templateName",
                  "propName",
                  "reason",
                ],
                additionalProperties: false,
              },
            ],
          },
        },
      },
      required: ["assetId", "source", "status", "diagnostics"],
      additionalProperties: {},
    },
    readNamespaces: [
      "pages",
      "instances",
      "props",
      "dataSources",
      "resources",
      "styleSources",
      "styleSourceSelections",
      "styles",
      "breakpoints",
      "assets",
    ],
    writeNamespaces: ["assets"],
    invalidatesNamespaces: ["assets"],
    retryOnConflict: false,
    requiresAssets: true,
  },
  {
    id: "contentBlocks.updateFrontmatter",
    command: "update-content-block-frontmatter",
    client: "updateContentBlockFrontmatter",
    permit: "edit",
    kind: "mutation",
    inputSchema: {
      type: "object",
      properties: {
        blockInstanceId: {
          type: "string",
          minLength: 1,
        },
        renderScope: {
          type: "string",
          minLength: 1,
          description:
            "Stable occurrence key; does not load route or resource data.",
        },
        variables: {
          description:
            'Concrete expression values. Result-one example: {post:{data:{id:"<mdxAssetId>"}}}.',
          type: "object",
          propertyNames: {
            type: "string",
          },
          additionalProperties: {},
        },
        properties: {
          type: "object",
          propertyNames: {
            type: "string",
          },
          additionalProperties: {},
        },
      },
      required: ["blockInstanceId", "renderScope", "properties"],
    },
    outputSchema: {
      type: "object",
      properties: {
        assetId: {
          type: "string",
        },
        source: {
          type: "string",
        },
        status: {
          type: "string",
          enum: ["saved", "pending", "saving", "failed", "conflicting"],
        },
        diagnostics: {
          type: "array",
          items: {
            oneOf: [
              {
                type: "object",
                properties: {
                  blockInstanceId: {
                    type: "string",
                    minLength: 1,
                  },
                  assetId: {
                    type: "string",
                    minLength: 1,
                  },
                  contentRef: {
                    type: "string",
                    minLength: 1,
                  },
                  renderScope: {
                    type: "string",
                    minLength: 1,
                  },
                  sourceRange: {
                    type: "object",
                    properties: {
                      start: {
                        type: "object",
                        properties: {
                          line: {
                            type: "integer",
                            exclusiveMinimum: 0,
                            maximum: 9007199254740991,
                          },
                          column: {
                            type: "integer",
                            exclusiveMinimum: 0,
                            maximum: 9007199254740991,
                          },
                          offset: {
                            type: "integer",
                            minimum: 0,
                            maximum: 9007199254740991,
                          },
                        },
                        required: ["line", "column"],
                        additionalProperties: false,
                      },
                      end: {
                        type: "object",
                        properties: {
                          line: {
                            type: "integer",
                            exclusiveMinimum: 0,
                            maximum: 9007199254740991,
                          },
                          column: {
                            type: "integer",
                            exclusiveMinimum: 0,
                            maximum: 9007199254740991,
                          },
                          offset: {
                            type: "integer",
                            minimum: 0,
                            maximum: 9007199254740991,
                          },
                        },
                        required: ["line", "column"],
                        additionalProperties: false,
                      },
                    },
                    required: ["start", "end"],
                    additionalProperties: false,
                  },
                  code: {
                    type: "string",
                    const: "invalid-mdx",
                  },
                  severity: {
                    type: "string",
                    const: "error",
                  },
                  message: {
                    type: "string",
                    minLength: 1,
                  },
                  reason: {
                    type: "string",
                    enum: [
                      "source-read-failed",
                      "missing-source",
                      "missing-asset",
                      "linked-document-unavailable",
                      "html-content-model",
                      "dynamic-resource",
                      "dynamic-source-unbounded",
                    ],
                  },
                },
                required: ["blockInstanceId", "code", "severity", "message"],
                additionalProperties: false,
              },
              {
                type: "object",
                properties: {
                  blockInstanceId: {
                    type: "string",
                    minLength: 1,
                  },
                  assetId: {
                    type: "string",
                    minLength: 1,
                  },
                  contentRef: {
                    type: "string",
                    minLength: 1,
                  },
                  renderScope: {
                    type: "string",
                    minLength: 1,
                  },
                  sourceRange: {
                    type: "object",
                    properties: {
                      start: {
                        type: "object",
                        properties: {
                          line: {
                            type: "integer",
                            exclusiveMinimum: 0,
                            maximum: 9007199254740991,
                          },
                          column: {
                            type: "integer",
                            exclusiveMinimum: 0,
                            maximum: 9007199254740991,
                          },
                          offset: {
                            type: "integer",
                            minimum: 0,
                            maximum: 9007199254740991,
                          },
                        },
                        required: ["line", "column"],
                        additionalProperties: false,
                      },
                      end: {
                        type: "object",
                        properties: {
                          line: {
                            type: "integer",
                            exclusiveMinimum: 0,
                            maximum: 9007199254740991,
                          },
                          column: {
                            type: "integer",
                            exclusiveMinimum: 0,
                            maximum: 9007199254740991,
                          },
                          offset: {
                            type: "integer",
                            minimum: 0,
                            maximum: 9007199254740991,
                          },
                        },
                        required: ["line", "column"],
                        additionalProperties: false,
                      },
                    },
                    required: ["start", "end"],
                    additionalProperties: false,
                  },
                  code: {
                    type: "string",
                    const: "unsafe-mdx",
                  },
                  severity: {
                    type: "string",
                    const: "warning",
                  },
                  nodeType: {
                    type: "string",
                    minLength: 1,
                  },
                  reason: {
                    type: "string",
                    minLength: 1,
                  },
                },
                required: [
                  "blockInstanceId",
                  "code",
                  "severity",
                  "nodeType",
                  "reason",
                ],
                additionalProperties: false,
              },
              {
                type: "object",
                properties: {
                  blockInstanceId: {
                    type: "string",
                    minLength: 1,
                  },
                  assetId: {
                    type: "string",
                    minLength: 1,
                  },
                  contentRef: {
                    type: "string",
                    minLength: 1,
                  },
                  renderScope: {
                    type: "string",
                    minLength: 1,
                  },
                  sourceRange: {
                    type: "object",
                    properties: {
                      start: {
                        type: "object",
                        properties: {
                          line: {
                            type: "integer",
                            exclusiveMinimum: 0,
                            maximum: 9007199254740991,
                          },
                          column: {
                            type: "integer",
                            exclusiveMinimum: 0,
                            maximum: 9007199254740991,
                          },
                          offset: {
                            type: "integer",
                            minimum: 0,
                            maximum: 9007199254740991,
                          },
                        },
                        required: ["line", "column"],
                        additionalProperties: false,
                      },
                      end: {
                        type: "object",
                        properties: {
                          line: {
                            type: "integer",
                            exclusiveMinimum: 0,
                            maximum: 9007199254740991,
                          },
                          column: {
                            type: "integer",
                            exclusiveMinimum: 0,
                            maximum: 9007199254740991,
                          },
                          offset: {
                            type: "integer",
                            minimum: 0,
                            maximum: 9007199254740991,
                          },
                        },
                        required: ["line", "column"],
                        additionalProperties: false,
                      },
                    },
                    required: ["start", "end"],
                    additionalProperties: false,
                  },
                  code: {
                    type: "string",
                    const: "unresolved-template",
                  },
                  severity: {
                    type: "string",
                    const: "warning",
                  },
                  templateName: {
                    type: "string",
                    minLength: 1,
                  },
                },
                required: [
                  "blockInstanceId",
                  "code",
                  "severity",
                  "templateName",
                ],
                additionalProperties: false,
              },
              {
                type: "object",
                properties: {
                  blockInstanceId: {
                    type: "string",
                    minLength: 1,
                  },
                  assetId: {
                    type: "string",
                    minLength: 1,
                  },
                  contentRef: {
                    type: "string",
                    minLength: 1,
                  },
                  renderScope: {
                    type: "string",
                    minLength: 1,
                  },
                  sourceRange: {
                    type: "object",
                    properties: {
                      start: {
                        type: "object",
                        properties: {
                          line: {
                            type: "integer",
                            exclusiveMinimum: 0,
                            maximum: 9007199254740991,
                          },
                          column: {
                            type: "integer",
                            exclusiveMinimum: 0,
                            maximum: 9007199254740991,
                          },
                          offset: {
                            type: "integer",
                            minimum: 0,
                            maximum: 9007199254740991,
                          },
                        },
                        required: ["line", "column"],
                        additionalProperties: false,
                      },
                      end: {
                        type: "object",
                        properties: {
                          line: {
                            type: "integer",
                            exclusiveMinimum: 0,
                            maximum: 9007199254740991,
                          },
                          column: {
                            type: "integer",
                            exclusiveMinimum: 0,
                            maximum: 9007199254740991,
                          },
                          offset: {
                            type: "integer",
                            minimum: 0,
                            maximum: 9007199254740991,
                          },
                        },
                        required: ["line", "column"],
                        additionalProperties: false,
                      },
                    },
                    required: ["start", "end"],
                    additionalProperties: false,
                  },
                  code: {
                    type: "string",
                    const: "ambiguous-template",
                  },
                  severity: {
                    type: "string",
                    const: "warning",
                  },
                  semanticKey: {
                    type: "string",
                    minLength: 1,
                  },
                  templateNames: {
                    minItems: 2,
                    type: "array",
                    items: {
                      type: "string",
                      minLength: 1,
                    },
                  },
                },
                required: [
                  "blockInstanceId",
                  "code",
                  "severity",
                  "semanticKey",
                  "templateNames",
                ],
                additionalProperties: false,
              },
              {
                type: "object",
                properties: {
                  blockInstanceId: {
                    type: "string",
                    minLength: 1,
                  },
                  assetId: {
                    type: "string",
                    minLength: 1,
                  },
                  contentRef: {
                    type: "string",
                    minLength: 1,
                  },
                  renderScope: {
                    type: "string",
                    minLength: 1,
                  },
                  sourceRange: {
                    type: "object",
                    properties: {
                      start: {
                        type: "object",
                        properties: {
                          line: {
                            type: "integer",
                            exclusiveMinimum: 0,
                            maximum: 9007199254740991,
                          },
                          column: {
                            type: "integer",
                            exclusiveMinimum: 0,
                            maximum: 9007199254740991,
                          },
                          offset: {
                            type: "integer",
                            minimum: 0,
                            maximum: 9007199254740991,
                          },
                        },
                        required: ["line", "column"],
                        additionalProperties: false,
                      },
                      end: {
                        type: "object",
                        properties: {
                          line: {
                            type: "integer",
                            exclusiveMinimum: 0,
                            maximum: 9007199254740991,
                          },
                          column: {
                            type: "integer",
                            exclusiveMinimum: 0,
                            maximum: 9007199254740991,
                          },
                          offset: {
                            type: "integer",
                            minimum: 0,
                            maximum: 9007199254740991,
                          },
                        },
                        required: ["line", "column"],
                        additionalProperties: false,
                      },
                    },
                    required: ["start", "end"],
                    additionalProperties: false,
                  },
                  code: {
                    type: "string",
                    const: "ignored-template-prop",
                  },
                  severity: {
                    type: "string",
                    const: "warning",
                  },
                  templateName: {
                    type: "string",
                    minLength: 1,
                  },
                  propName: {
                    type: "string",
                    minLength: 1,
                  },
                  reason: {
                    type: "string",
                    enum: ["unknown", "incompatible", "design-only", "stale"],
                  },
                },
                required: [
                  "blockInstanceId",
                  "code",
                  "severity",
                  "templateName",
                  "propName",
                  "reason",
                ],
                additionalProperties: false,
              },
            ],
          },
        },
      },
      required: ["assetId", "source", "status", "diagnostics"],
      additionalProperties: {},
    },
    readNamespaces: [
      "pages",
      "instances",
      "props",
      "dataSources",
      "resources",
      "styleSources",
      "styleSourceSelections",
      "styles",
      "breakpoints",
      "assets",
    ],
    writeNamespaces: ["assets"],
    invalidatesNamespaces: ["assets"],
    retryOnConflict: false,
    requiresAssets: true,
  },
  {
    id: "contentBlocks.reloadSource",
    command: "reload-content-block-source",
    client: "reloadContentBlockSource",
    permit: "view",
    kind: "read",
    inputSchema: {
      type: "object",
      properties: {
        blockInstanceId: {
          type: "string",
          minLength: 1,
        },
        renderScope: {
          type: "string",
          minLength: 1,
          description:
            "Stable occurrence key; does not load route or resource data.",
        },
        variables: {
          description:
            'Concrete expression values. Result-one example: {post:{data:{id:"<mdxAssetId>"}}}.',
          type: "object",
          propertyNames: {
            type: "string",
          },
          additionalProperties: {},
        },
      },
      required: ["blockInstanceId", "renderScope"],
    },
    outputSchema: {
      type: "object",
      properties: {
        assetId: {
          type: "string",
        },
        source: {
          type: "string",
        },
        status: {
          type: "string",
          enum: ["saved", "pending", "saving", "failed", "conflicting"],
        },
        diagnostics: {
          type: "array",
          items: {
            oneOf: [
              {
                type: "object",
                properties: {
                  blockInstanceId: {
                    type: "string",
                    minLength: 1,
                  },
                  assetId: {
                    type: "string",
                    minLength: 1,
                  },
                  contentRef: {
                    type: "string",
                    minLength: 1,
                  },
                  renderScope: {
                    type: "string",
                    minLength: 1,
                  },
                  sourceRange: {
                    type: "object",
                    properties: {
                      start: {
                        type: "object",
                        properties: {
                          line: {
                            type: "integer",
                            exclusiveMinimum: 0,
                            maximum: 9007199254740991,
                          },
                          column: {
                            type: "integer",
                            exclusiveMinimum: 0,
                            maximum: 9007199254740991,
                          },
                          offset: {
                            type: "integer",
                            minimum: 0,
                            maximum: 9007199254740991,
                          },
                        },
                        required: ["line", "column"],
                        additionalProperties: false,
                      },
                      end: {
                        type: "object",
                        properties: {
                          line: {
                            type: "integer",
                            exclusiveMinimum: 0,
                            maximum: 9007199254740991,
                          },
                          column: {
                            type: "integer",
                            exclusiveMinimum: 0,
                            maximum: 9007199254740991,
                          },
                          offset: {
                            type: "integer",
                            minimum: 0,
                            maximum: 9007199254740991,
                          },
                        },
                        required: ["line", "column"],
                        additionalProperties: false,
                      },
                    },
                    required: ["start", "end"],
                    additionalProperties: false,
                  },
                  code: {
                    type: "string",
                    const: "invalid-mdx",
                  },
                  severity: {
                    type: "string",
                    const: "error",
                  },
                  message: {
                    type: "string",
                    minLength: 1,
                  },
                  reason: {
                    type: "string",
                    enum: [
                      "source-read-failed",
                      "missing-source",
                      "missing-asset",
                      "linked-document-unavailable",
                      "html-content-model",
                      "dynamic-resource",
                      "dynamic-source-unbounded",
                    ],
                  },
                },
                required: ["blockInstanceId", "code", "severity", "message"],
                additionalProperties: false,
              },
              {
                type: "object",
                properties: {
                  blockInstanceId: {
                    type: "string",
                    minLength: 1,
                  },
                  assetId: {
                    type: "string",
                    minLength: 1,
                  },
                  contentRef: {
                    type: "string",
                    minLength: 1,
                  },
                  renderScope: {
                    type: "string",
                    minLength: 1,
                  },
                  sourceRange: {
                    type: "object",
                    properties: {
                      start: {
                        type: "object",
                        properties: {
                          line: {
                            type: "integer",
                            exclusiveMinimum: 0,
                            maximum: 9007199254740991,
                          },
                          column: {
                            type: "integer",
                            exclusiveMinimum: 0,
                            maximum: 9007199254740991,
                          },
                          offset: {
                            type: "integer",
                            minimum: 0,
                            maximum: 9007199254740991,
                          },
                        },
                        required: ["line", "column"],
                        additionalProperties: false,
                      },
                      end: {
                        type: "object",
                        properties: {
                          line: {
                            type: "integer",
                            exclusiveMinimum: 0,
                            maximum: 9007199254740991,
                          },
                          column: {
                            type: "integer",
                            exclusiveMinimum: 0,
                            maximum: 9007199254740991,
                          },
                          offset: {
                            type: "integer",
                            minimum: 0,
                            maximum: 9007199254740991,
                          },
                        },
                        required: ["line", "column"],
                        additionalProperties: false,
                      },
                    },
                    required: ["start", "end"],
                    additionalProperties: false,
                  },
                  code: {
                    type: "string",
                    const: "unsafe-mdx",
                  },
                  severity: {
                    type: "string",
                    const: "warning",
                  },
                  nodeType: {
                    type: "string",
                    minLength: 1,
                  },
                  reason: {
                    type: "string",
                    minLength: 1,
                  },
                },
                required: [
                  "blockInstanceId",
                  "code",
                  "severity",
                  "nodeType",
                  "reason",
                ],
                additionalProperties: false,
              },
              {
                type: "object",
                properties: {
                  blockInstanceId: {
                    type: "string",
                    minLength: 1,
                  },
                  assetId: {
                    type: "string",
                    minLength: 1,
                  },
                  contentRef: {
                    type: "string",
                    minLength: 1,
                  },
                  renderScope: {
                    type: "string",
                    minLength: 1,
                  },
                  sourceRange: {
                    type: "object",
                    properties: {
                      start: {
                        type: "object",
                        properties: {
                          line: {
                            type: "integer",
                            exclusiveMinimum: 0,
                            maximum: 9007199254740991,
                          },
                          column: {
                            type: "integer",
                            exclusiveMinimum: 0,
                            maximum: 9007199254740991,
                          },
                          offset: {
                            type: "integer",
                            minimum: 0,
                            maximum: 9007199254740991,
                          },
                        },
                        required: ["line", "column"],
                        additionalProperties: false,
                      },
                      end: {
                        type: "object",
                        properties: {
                          line: {
                            type: "integer",
                            exclusiveMinimum: 0,
                            maximum: 9007199254740991,
                          },
                          column: {
                            type: "integer",
                            exclusiveMinimum: 0,
                            maximum: 9007199254740991,
                          },
                          offset: {
                            type: "integer",
                            minimum: 0,
                            maximum: 9007199254740991,
                          },
                        },
                        required: ["line", "column"],
                        additionalProperties: false,
                      },
                    },
                    required: ["start", "end"],
                    additionalProperties: false,
                  },
                  code: {
                    type: "string",
                    const: "unresolved-template",
                  },
                  severity: {
                    type: "string",
                    const: "warning",
                  },
                  templateName: {
                    type: "string",
                    minLength: 1,
                  },
                },
                required: [
                  "blockInstanceId",
                  "code",
                  "severity",
                  "templateName",
                ],
                additionalProperties: false,
              },
              {
                type: "object",
                properties: {
                  blockInstanceId: {
                    type: "string",
                    minLength: 1,
                  },
                  assetId: {
                    type: "string",
                    minLength: 1,
                  },
                  contentRef: {
                    type: "string",
                    minLength: 1,
                  },
                  renderScope: {
                    type: "string",
                    minLength: 1,
                  },
                  sourceRange: {
                    type: "object",
                    properties: {
                      start: {
                        type: "object",
                        properties: {
                          line: {
                            type: "integer",
                            exclusiveMinimum: 0,
                            maximum: 9007199254740991,
                          },
                          column: {
                            type: "integer",
                            exclusiveMinimum: 0,
                            maximum: 9007199254740991,
                          },
                          offset: {
                            type: "integer",
                            minimum: 0,
                            maximum: 9007199254740991,
                          },
                        },
                        required: ["line", "column"],
                        additionalProperties: false,
                      },
                      end: {
                        type: "object",
                        properties: {
                          line: {
                            type: "integer",
                            exclusiveMinimum: 0,
                            maximum: 9007199254740991,
                          },
                          column: {
                            type: "integer",
                            exclusiveMinimum: 0,
                            maximum: 9007199254740991,
                          },
                          offset: {
                            type: "integer",
                            minimum: 0,
                            maximum: 9007199254740991,
                          },
                        },
                        required: ["line", "column"],
                        additionalProperties: false,
                      },
                    },
                    required: ["start", "end"],
                    additionalProperties: false,
                  },
                  code: {
                    type: "string",
                    const: "ambiguous-template",
                  },
                  severity: {
                    type: "string",
                    const: "warning",
                  },
                  semanticKey: {
                    type: "string",
                    minLength: 1,
                  },
                  templateNames: {
                    minItems: 2,
                    type: "array",
                    items: {
                      type: "string",
                      minLength: 1,
                    },
                  },
                },
                required: [
                  "blockInstanceId",
                  "code",
                  "severity",
                  "semanticKey",
                  "templateNames",
                ],
                additionalProperties: false,
              },
              {
                type: "object",
                properties: {
                  blockInstanceId: {
                    type: "string",
                    minLength: 1,
                  },
                  assetId: {
                    type: "string",
                    minLength: 1,
                  },
                  contentRef: {
                    type: "string",
                    minLength: 1,
                  },
                  renderScope: {
                    type: "string",
                    minLength: 1,
                  },
                  sourceRange: {
                    type: "object",
                    properties: {
                      start: {
                        type: "object",
                        properties: {
                          line: {
                            type: "integer",
                            exclusiveMinimum: 0,
                            maximum: 9007199254740991,
                          },
                          column: {
                            type: "integer",
                            exclusiveMinimum: 0,
                            maximum: 9007199254740991,
                          },
                          offset: {
                            type: "integer",
                            minimum: 0,
                            maximum: 9007199254740991,
                          },
                        },
                        required: ["line", "column"],
                        additionalProperties: false,
                      },
                      end: {
                        type: "object",
                        properties: {
                          line: {
                            type: "integer",
                            exclusiveMinimum: 0,
                            maximum: 9007199254740991,
                          },
                          column: {
                            type: "integer",
                            exclusiveMinimum: 0,
                            maximum: 9007199254740991,
                          },
                          offset: {
                            type: "integer",
                            minimum: 0,
                            maximum: 9007199254740991,
                          },
                        },
                        required: ["line", "column"],
                        additionalProperties: false,
                      },
                    },
                    required: ["start", "end"],
                    additionalProperties: false,
                  },
                  code: {
                    type: "string",
                    const: "ignored-template-prop",
                  },
                  severity: {
                    type: "string",
                    const: "warning",
                  },
                  templateName: {
                    type: "string",
                    minLength: 1,
                  },
                  propName: {
                    type: "string",
                    minLength: 1,
                  },
                  reason: {
                    type: "string",
                    enum: ["unknown", "incompatible", "design-only", "stale"],
                  },
                },
                required: [
                  "blockInstanceId",
                  "code",
                  "severity",
                  "templateName",
                  "propName",
                  "reason",
                ],
                additionalProperties: false,
              },
            ],
          },
        },
      },
      required: ["assetId", "source", "status", "diagnostics"],
      additionalProperties: {},
    },
    readNamespaces: [
      "pages",
      "instances",
      "props",
      "dataSources",
      "resources",
      "styleSources",
      "styleSourceSelections",
      "styles",
      "breakpoints",
      "assets",
    ],
    writeNamespaces: [],
    invalidatesNamespaces: [],
    retryOnConflict: false,
    requiresAssets: true,
  },
  {
    id: "contentBlocks.migrateTemplateReferences",
    command: "migrate-content-block-template-references",
    client: "migrateContentBlockTemplateReferences",
    permit: "edit",
    kind: "mutation",
    inputSchema: {
      type: "object",
      properties: {
        assetIds: {
          minItems: 1,
          maxItems: 100,
          type: "array",
          items: {
            type: "string",
            minLength: 1,
          },
        },
        migration: {
          anyOf: [
            {
              type: "object",
              properties: {
                type: {
                  type: "string",
                  const: "rename",
                },
                from: {
                  type: "string",
                  minLength: 1,
                },
                to: {
                  type: "string",
                  minLength: 1,
                },
              },
              required: ["type", "from", "to"],
            },
            {
              type: "object",
              properties: {
                type: {
                  type: "string",
                  const: "remove",
                },
                name: {
                  type: "string",
                  minLength: 1,
                },
              },
              required: ["type", "name"],
            },
          ],
        },
        confirmationToken: {
          type: "string",
        },
      },
      required: ["assetIds", "migration"],
    },
    outputSchema: {
      type: "object",
      properties: {
        status: {
          type: "string",
          enum: ["confirmation-required", "complete", "partial"],
        },
        updateCount: {
          type: "integer",
          minimum: 0,
          maximum: 9007199254740991,
        },
        omissionCount: {
          type: "integer",
          minimum: 0,
          maximum: 9007199254740991,
        },
        changedFileCount: {
          type: "integer",
          minimum: 0,
          maximum: 9007199254740991,
        },
        files: {
          type: "array",
          items: {
            type: "object",
            properties: {
              assetId: {
                type: "string",
              },
              revision: {
                type: "string",
              },
              contentRef: {
                type: "string",
              },
              changed: {
                type: "boolean",
              },
              status: {
                type: "string",
                enum: ["updated", "unchanged", "failed"],
              },
              updateCount: {
                type: "integer",
                minimum: 0,
                maximum: 9007199254740991,
              },
              omissionCount: {
                type: "integer",
                minimum: 0,
                maximum: 9007199254740991,
              },
              diagnostics: {
                type: "array",
                items: {
                  type: "object",
                  properties: {
                    code: {
                      type: "string",
                    },
                    message: {
                      type: "string",
                    },
                  },
                  required: ["code", "message"],
                  additionalProperties: {},
                },
              },
            },
            required: [
              "assetId",
              "revision",
              "contentRef",
              "changed",
              "updateCount",
              "omissionCount",
              "diagnostics",
            ],
            additionalProperties: {},
          },
        },
        confirmation: {
          type: "object",
          properties: {
            token: {
              type: "string",
            },
            expiresAt: {
              type: "string",
            },
          },
          required: ["token", "expiresAt"],
          additionalProperties: {},
        },
      },
      required: [
        "status",
        "updateCount",
        "omissionCount",
        "changedFileCount",
        "files",
      ],
      additionalProperties: {},
    },
    readNamespaces: [
      "pages",
      "instances",
      "props",
      "dataSources",
      "resources",
      "styleSources",
      "styleSourceSelections",
      "styles",
      "breakpoints",
      "assets",
    ],
    writeNamespaces: ["assets"],
    invalidatesNamespaces: ["assets"],
    retryOnConflict: false,
    requiresAssets: true,
  },
  {
    id: "pages.list",
    command: "list-pages",
    client: "listPages",
    kind: "read",
    inputSchema: {
      type: "object",
      properties: {
        cursor: {
          type: "string",
        },
        limit: {
          type: "integer",
          minimum: 1,
          maximum: 200,
        },
        verbose: {
          description:
            "Expand the same result with complete records and diagnostics. Omit for compact output.",
          type: "boolean",
        },
      },
      required: [],
    },
    outputSchema: {
      type: "object",
      properties: {
        pages: {
          type: "array",
          items: {
            type: "object",
            properties: {
              id: {
                type: "string",
              },
              name: {
                type: "string",
              },
              path: {
                type: "string",
              },
              localPath: {
                type: "string",
              },
              title: {
                type: "string",
              },
              rootInstanceId: {
                type: "string",
              },
              parentFolderId: {
                type: "string",
              },
              isHome: {
                type: "boolean",
              },
              isDraft: {
                description:
                  "True when the page is a draft. Missing or false means the page is publishable.",
                type: "boolean",
              },
            },
            required: [
              "id",
              "name",
              "path",
              "localPath",
              "title",
              "rootInstanceId",
              "isHome",
            ],
            additionalProperties: {},
          },
        },
        detail: {
          type: "string",
          enum: ["compact", "verbose"],
        },
        total: {
          type: "integer",
          minimum: 0,
          maximum: 9007199254740991,
        },
        returnedCount: {
          type: "integer",
          minimum: 0,
          maximum: 9007199254740991,
        },
        nextCursor: {
          anyOf: [
            {
              type: "string",
            },
            {
              type: "null",
            },
          ],
        },
        filters: {
          type: "object",
          properties: {},
          additionalProperties: {},
          required: [],
        },
      },
      required: [
        "pages",
        "detail",
        "total",
        "returnedCount",
        "nextCursor",
        "filters",
      ],
      additionalProperties: {},
    },
    readNamespaces: ["pages"],
    writeNamespaces: [],
    invalidatesNamespaces: [],
    retryOnConflict: false,
  },
  {
    id: "pages.get",
    command: "get-page",
    client: "getPage",
    kind: "read",
    inputSchema: {
      type: "object",
      properties: {
        pageId: {
          type: "string",
        },
      },
      required: ["pageId"],
    },
    outputSchema: {
      type: "object",
      properties: {
        id: {
          type: "string",
        },
        name: {
          type: "string",
        },
        path: {
          type: "string",
        },
        localPath: {
          type: "string",
        },
        title: {
          type: "string",
        },
        rootInstanceId: {
          type: "string",
        },
        parentFolderId: {
          type: "string",
        },
        isHome: {
          type: "boolean",
        },
        isDraft: {
          description:
            "True when the page is a draft. Missing or false means the page is publishable.",
          type: "boolean",
        },
        meta: {
          type: "object",
          properties: {
            description: {
              type: "string",
            },
            language: {
              type: "string",
            },
            redirect: {
              type: "string",
            },
            status: {
              type: "string",
            },
            socialImageUrl: {
              type: "string",
            },
            socialImageAssetId: {
              type: "string",
            },
            excludePageFromSearch: {
              type: "boolean",
            },
            documentType: {
              type: "string",
              enum: ["html", "xml", "text"],
            },
            content: {
              type: "string",
            },
            auth: {
              anyOf: [
                {
                  type: "object",
                  properties: {
                    method: {
                      type: "string",
                      const: "basic",
                    },
                    login: {
                      type: "string",
                    },
                    password: {
                      type: "string",
                    },
                  },
                  required: ["method", "login", "password"],
                },
                {
                  type: "object",
                  properties: {
                    type: {
                      type: "string",
                      const: "basic",
                    },
                    login: {
                      type: "string",
                    },
                    password: {
                      type: "string",
                    },
                  },
                  required: ["type", "login", "password"],
                },
              ],
            },
            custom: {
              type: "array",
              items: {
                type: "object",
                properties: {
                  property: {
                    type: "string",
                  },
                  content: {
                    type: "string",
                  },
                },
                required: ["property", "content"],
                additionalProperties: {},
              },
            },
          },
          required: ["documentType"],
          additionalProperties: {},
        },
      },
      required: [
        "id",
        "name",
        "path",
        "localPath",
        "title",
        "rootInstanceId",
        "isHome",
        "meta",
      ],
      additionalProperties: {},
    },
    readNamespaces: ["pages", "instances"],
    writeNamespaces: [],
    invalidatesNamespaces: [],
    retryOnConflict: false,
  },
  {
    id: "pages.getByPath",
    command: "get-page-by-path",
    client: "getPageByPath",
    kind: "read",
    inputSchema: {
      type: "object",
      properties: {
        path: {
          type: "string",
        },
      },
      required: ["path"],
    },
    outputSchema: {
      anyOf: [
        {
          type: "object",
          properties: {
            id: {
              type: "string",
            },
            name: {
              type: "string",
            },
            path: {
              type: "string",
            },
            localPath: {
              type: "string",
            },
            title: {
              type: "string",
            },
            rootInstanceId: {
              type: "string",
            },
            parentFolderId: {
              type: "string",
            },
            isHome: {
              type: "boolean",
            },
            isDraft: {
              description:
                "True when the page is a draft. Missing or false means the page is publishable.",
              type: "boolean",
            },
            meta: {
              type: "object",
              properties: {
                description: {
                  type: "string",
                },
                language: {
                  type: "string",
                },
                redirect: {
                  type: "string",
                },
                status: {
                  type: "string",
                },
                socialImageUrl: {
                  type: "string",
                },
                socialImageAssetId: {
                  type: "string",
                },
                excludePageFromSearch: {
                  type: "boolean",
                },
                documentType: {
                  type: "string",
                  enum: ["html", "xml", "text"],
                },
                content: {
                  type: "string",
                },
                auth: {
                  anyOf: [
                    {
                      type: "object",
                      properties: {
                        method: {
                          type: "string",
                          const: "basic",
                        },
                        login: {
                          type: "string",
                        },
                        password: {
                          type: "string",
                        },
                      },
                      required: ["method", "login", "password"],
                    },
                    {
                      type: "object",
                      properties: {
                        type: {
                          type: "string",
                          const: "basic",
                        },
                        login: {
                          type: "string",
                        },
                        password: {
                          type: "string",
                        },
                      },
                      required: ["type", "login", "password"],
                    },
                  ],
                },
                custom: {
                  type: "array",
                  items: {
                    type: "object",
                    properties: {
                      property: {
                        type: "string",
                      },
                      content: {
                        type: "string",
                      },
                    },
                    required: ["property", "content"],
                    additionalProperties: {},
                  },
                },
              },
              required: ["documentType"],
              additionalProperties: {},
            },
            requestedPath: {
              type: "string",
            },
            found: {
              type: "boolean",
            },
            exactMatch: {
              type: "boolean",
            },
            matchedPattern: {
              type: "boolean",
            },
            matchedFallback: {
              type: "boolean",
            },
          },
          required: [
            "id",
            "name",
            "path",
            "localPath",
            "title",
            "rootInstanceId",
            "isHome",
            "meta",
            "requestedPath",
            "found",
            "exactMatch",
            "matchedPattern",
            "matchedFallback",
          ],
          additionalProperties: {},
        },
        {
          type: "object",
          properties: {
            requestedPath: {
              type: "string",
            },
            found: {
              type: "boolean",
            },
            exactMatch: {
              type: "boolean",
            },
            matchedPattern: {
              type: "boolean",
            },
            matchedFallback: {
              type: "boolean",
            },
            fallbackPage: {
              type: "object",
              properties: {
                id: {
                  type: "string",
                },
                name: {
                  type: "string",
                },
                path: {
                  type: "string",
                },
                localPath: {
                  type: "string",
                },
                title: {
                  type: "string",
                },
                rootInstanceId: {
                  type: "string",
                },
                parentFolderId: {
                  type: "string",
                },
                isHome: {
                  type: "boolean",
                },
                isDraft: {
                  description:
                    "True when the page is a draft. Missing or false means the page is publishable.",
                  type: "boolean",
                },
                meta: {
                  type: "object",
                  properties: {
                    description: {
                      type: "string",
                    },
                    language: {
                      type: "string",
                    },
                    redirect: {
                      type: "string",
                    },
                    status: {
                      type: "string",
                    },
                    socialImageUrl: {
                      type: "string",
                    },
                    socialImageAssetId: {
                      type: "string",
                    },
                    excludePageFromSearch: {
                      type: "boolean",
                    },
                    documentType: {
                      type: "string",
                      enum: ["html", "xml", "text"],
                    },
                    content: {
                      type: "string",
                    },
                    auth: {
                      anyOf: [
                        {
                          type: "object",
                          properties: {
                            method: {
                              type: "string",
                              const: "basic",
                            },
                            login: {
                              type: "string",
                            },
                            password: {
                              type: "string",
                            },
                          },
                          required: ["method", "login", "password"],
                        },
                        {
                          type: "object",
                          properties: {
                            type: {
                              type: "string",
                              const: "basic",
                            },
                            login: {
                              type: "string",
                            },
                            password: {
                              type: "string",
                            },
                          },
                          required: ["type", "login", "password"],
                        },
                      ],
                    },
                    custom: {
                      type: "array",
                      items: {
                        type: "object",
                        properties: {
                          property: {
                            type: "string",
                          },
                          content: {
                            type: "string",
                          },
                        },
                        required: ["property", "content"],
                        additionalProperties: {},
                      },
                    },
                  },
                  required: ["documentType"],
                  additionalProperties: {},
                },
              },
              required: [
                "id",
                "name",
                "path",
                "localPath",
                "title",
                "rootInstanceId",
                "isHome",
                "meta",
              ],
              additionalProperties: {},
            },
            guidance: {
              type: "string",
            },
          },
          required: [
            "requestedPath",
            "found",
            "exactMatch",
            "matchedPattern",
            "matchedFallback",
            "fallbackPage",
            "guidance",
          ],
          additionalProperties: {},
        },
      ],
    },
    readNamespaces: ["pages", "instances"],
    writeNamespaces: [],
    invalidatesNamespaces: [],
    retryOnConflict: false,
  },
  {
    id: "pages.create",
    command: "create-page",
    client: "createPage",
    kind: "mutation",
    inputSchema: {
      type: "object",
      properties: {
        name: {
          type: "string",
          minLength: 1,
        },
        path: {
          type: "string",
          description:
            'Plain page path. For a new non-home page, start with "/", for example "/pricing". Use colon-prefixed dynamic segments such as "/blog/:slug" when one page definition must render many concrete routes; do not create a separate page for every route value. The home page path is the empty string ""; do not use an empty path when creating a new page.',
        },
        title: {
          type: "string",
          description:
            'Pass one Webstudio JavaScript expression. For fixed text, pass a quoted string expression such as `"Plans for teams"`. For computed values, pass `pageTitle ?? "Plans for teams"`. Read webstudio://project/expressions for syntax and scope rules.',
        },
        parentFolderId: {
          type: "string",
        },
        meta: {
          type: "object",
          properties: {
            description: {
              type: "string",
              description:
                'Pass one Webstudio JavaScript expression. For fixed text, pass a quoted string expression such as `"Plans for teams"`. For computed values, pass `pageTitle ?? "Plans for teams"`. Read webstudio://project/expressions for syntax and scope rules.',
            },
            language: {
              type: "string",
              description:
                'Pass one Webstudio JavaScript expression. For fixed text, pass a quoted string expression such as `"Plans for teams"`. For computed values, pass `pageTitle ?? "Plans for teams"`. Read webstudio://project/expressions for syntax and scope rules.',
            },
            redirect: {
              type: "string",
              description:
                'Pass one Webstudio JavaScript expression. For fixed text, pass a quoted string expression such as `"Plans for teams"`. For computed values, pass `pageTitle ?? "Plans for teams"`. Read webstudio://project/expressions for syntax and scope rules.',
            },
            socialImageUrl: {
              type: "string",
              description:
                'Pass one Webstudio JavaScript expression. For fixed text, pass a quoted string expression such as `"Plans for teams"`. For computed values, pass `pageTitle ?? "Plans for teams"`. Read webstudio://project/expressions for syntax and scope rules.',
            },
            socialImageAssetId: {
              type: "string",
            },
            excludePageFromSearch: {
              anyOf: [
                {
                  type: "boolean",
                },
                {
                  type: "string",
                  description:
                    'Pass one Webstudio JavaScript expression. For fixed text, pass a quoted string expression such as `"Plans for teams"`. For computed values, pass `pageTitle ?? "Plans for teams"`. Read webstudio://project/expressions for syntax and scope rules.',
                },
              ],
            },
            documentType: {
              type: "string",
              enum: ["html", "xml", "text"],
            },
            content: {
              type: "string",
              description:
                'Pass one Webstudio JavaScript expression. For fixed text, pass a quoted string expression such as `"Plans for teams"`. For computed values, pass `pageTitle ?? "Plans for teams"`. Read webstudio://project/expressions for syntax and scope rules.',
            },
            status: {
              anyOf: [
                {
                  type: "number",
                },
                {
                  type: "string",
                },
              ],
              description:
                "Pass a fixed HTTP status code as a number from 200 through 599, for example 302. For a dynamic status, pass one Webstudio JavaScript expression as a string, for example `system.status`.",
            },
            auth: {
              anyOf: [
                {
                  type: "object",
                  properties: {
                    method: {
                      type: "string",
                      const: "basic",
                    },
                    login: {
                      type: "string",
                    },
                    password: {
                      type: "string",
                    },
                  },
                  required: ["method", "login", "password"],
                },
                {
                  type: "object",
                  properties: {
                    type: {
                      type: "string",
                      const: "basic",
                    },
                    login: {
                      type: "string",
                    },
                    password: {
                      type: "string",
                    },
                  },
                  required: ["type", "login", "password"],
                },
              ],
            },
            custom: {
              type: "array",
              items: {
                type: "object",
                properties: {
                  property: {
                    type: "string",
                  },
                  content: {
                    type: "string",
                    description:
                      'Pass one Webstudio JavaScript expression. For fixed text, pass a quoted string expression such as `"Plans for teams"`. For computed values, pass `pageTitle ?? "Plans for teams"`. Read webstudio://project/expressions for syntax and scope rules.',
                  },
                },
                required: ["property", "content"],
              },
            },
          },
          required: [],
        },
      },
      required: ["name", "path"],
    },
    outputSchema: {
      type: "object",
      properties: {
        pageId: {
          type: "string",
        },
        rootInstanceId: {
          type: "string",
        },
      },
      required: ["pageId", "rootInstanceId"],
      additionalProperties: {},
    },
    readNamespaces: ["pages", "instances", "dataSources"],
    writeNamespaces: ["pages", "instances"],
    invalidatesNamespaces: ["pages", "instances"],
    retryOnConflict: false,
  },
  {
    id: "pages.update",
    command: "update-page",
    client: "updatePage",
    kind: "mutation",
    inputSchema: {
      type: "object",
      properties: {
        pageId: {
          type: "string",
        },
        values: {
          type: "object",
          properties: {
            name: {
              type: "string",
              minLength: 1,
            },
            path: {
              anyOf: [
                {
                  type: "string",
                },
                {
                  type: "string",
                },
              ],
              description:
                'Plain page path. For a new non-home page, start with "/", for example "/pricing". Use colon-prefixed dynamic segments such as "/blog/:slug" when one page definition must render many concrete routes; do not create a separate page for every route value. The home page path is the empty string ""; do not use an empty path when creating a new page.',
            },
            title: {
              type: "string",
              description:
                'Pass one Webstudio JavaScript expression. For fixed text, pass a quoted string expression such as `"Plans for teams"`. For computed values, pass `pageTitle ?? "Plans for teams"`. Read webstudio://project/expressions for syntax and scope rules.',
            },
            isDraft: {
              type: "boolean",
              description:
                "Set true to mark the page as draft. Draft pages remain editable and previewable in Builder but are omitted from every publish target, including staging, and from sitemap output. Set false to stage the page for a future publish; this does not deploy the site. The home page and /* catch-all page cannot be drafts.",
            },
            parentFolderId: {
              type: "string",
            },
            meta: {
              type: "object",
              properties: {
                description: {
                  type: "string",
                  description:
                    'Pass one Webstudio JavaScript expression. For fixed text, pass a quoted string expression such as `"Plans for teams"`. For computed values, pass `pageTitle ?? "Plans for teams"`. Read webstudio://project/expressions for syntax and scope rules.',
                },
                language: {
                  type: "string",
                  description:
                    'Pass one Webstudio JavaScript expression. For fixed text, pass a quoted string expression such as `"Plans for teams"`. For computed values, pass `pageTitle ?? "Plans for teams"`. Read webstudio://project/expressions for syntax and scope rules.',
                },
                redirect: {
                  type: "string",
                  description:
                    'Pass one Webstudio JavaScript expression. For fixed text, pass a quoted string expression such as `"Plans for teams"`. For computed values, pass `pageTitle ?? "Plans for teams"`. Read webstudio://project/expressions for syntax and scope rules.',
                },
                socialImageUrl: {
                  type: "string",
                  description:
                    'Pass one Webstudio JavaScript expression. For fixed text, pass a quoted string expression such as `"Plans for teams"`. For computed values, pass `pageTitle ?? "Plans for teams"`. Read webstudio://project/expressions for syntax and scope rules.',
                },
                socialImageAssetId: {
                  type: "string",
                },
                excludePageFromSearch: {
                  anyOf: [
                    {
                      type: "boolean",
                    },
                    {
                      type: "string",
                      description:
                        'Pass one Webstudio JavaScript expression. For fixed text, pass a quoted string expression such as `"Plans for teams"`. For computed values, pass `pageTitle ?? "Plans for teams"`. Read webstudio://project/expressions for syntax and scope rules.',
                    },
                  ],
                },
                documentType: {
                  type: "string",
                  enum: ["html", "xml", "text"],
                },
                content: {
                  type: "string",
                  description:
                    'Pass one Webstudio JavaScript expression. For fixed text, pass a quoted string expression such as `"Plans for teams"`. For computed values, pass `pageTitle ?? "Plans for teams"`. Read webstudio://project/expressions for syntax and scope rules.',
                },
                status: {
                  anyOf: [
                    {
                      type: "number",
                    },
                    {
                      type: "string",
                    },
                  ],
                  description:
                    "Pass a fixed HTTP status code as a number from 200 through 599, for example 302. For a dynamic status, pass one Webstudio JavaScript expression as a string, for example `system.status`.",
                },
                auth: {
                  anyOf: [
                    {
                      type: "object",
                      properties: {
                        method: {
                          type: "string",
                          const: "basic",
                        },
                        login: {
                          type: "string",
                        },
                        password: {
                          type: "string",
                        },
                      },
                      required: ["method", "login", "password"],
                    },
                    {
                      type: "object",
                      properties: {
                        type: {
                          type: "string",
                          const: "basic",
                        },
                        login: {
                          type: "string",
                        },
                        password: {
                          type: "string",
                        },
                      },
                      required: ["type", "login", "password"],
                    },
                  ],
                },
                custom: {
                  type: "array",
                  items: {
                    type: "object",
                    properties: {
                      property: {
                        type: "string",
                      },
                      content: {
                        type: "string",
                        description:
                          'Pass one Webstudio JavaScript expression. For fixed text, pass a quoted string expression such as `"Plans for teams"`. For computed values, pass `pageTitle ?? "Plans for teams"`. Read webstudio://project/expressions for syntax and scope rules.',
                      },
                    },
                    required: ["property", "content"],
                  },
                },
              },
              required: [],
            },
          },
          required: [],
        },
      },
      required: ["pageId", "values"],
    },
    outputSchema: {
      type: "object",
      properties: {
        pageId: {
          type: "string",
        },
      },
      required: ["pageId"],
      additionalProperties: {},
    },
    readNamespaces: ["pages", "instances", "dataSources"],
    writeNamespaces: ["pages"],
    invalidatesNamespaces: ["pages"],
    retryOnConflict: true,
  },
  {
    id: "pages.updateSettings",
    command: "update-page-settings",
    client: "updatePageSettings",
    permit: "edit",
    kind: "mutation",
    inputSchema: {
      type: "object",
      properties: {
        pageId: {
          type: "string",
        },
        values: {
          type: "object",
          properties: {
            name: {
              type: "string",
            },
            parentFolderId: {
              type: "string",
            },
            path: {
              type: "string",
            },
            isHomePage: {
              type: "boolean",
            },
            title: {
              type: "string",
            },
            description: {
              type: "string",
            },
            excludePageFromSearch: {
              type: "string",
            },
            language: {
              type: "string",
            },
            socialImageUrl: {
              type: "string",
            },
            socialImageAssetId: {
              type: "string",
            },
            status: {
              type: "string",
            },
            redirect: {
              type: "string",
            },
            documentType: {
              type: "string",
              enum: ["html", "xml", "text"],
            },
            content: {
              type: "string",
            },
            auth: {
              type: "object",
              properties: {
                login: {
                  type: "string",
                },
                password: {
                  type: "string",
                },
              },
              required: ["login", "password"],
            },
            customMetas: {
              type: "array",
              items: {
                type: "object",
                properties: {
                  property: {
                    type: "string",
                  },
                  content: {
                    type: "string",
                  },
                },
                required: ["property", "content"],
              },
            },
            marketplace: {
              type: "object",
              properties: {
                include: {
                  type: "boolean",
                },
                category: {
                  type: "string",
                },
                thumbnailAssetId: {
                  type: "string",
                },
              },
              required: ["include", "category", "thumbnailAssetId"],
            },
          },
          additionalProperties: false,
          required: [],
        },
      },
      required: ["pageId", "values"],
    },
    outputSchema: {
      type: "object",
      properties: {
        pageId: {
          type: "string",
        },
      },
      required: ["pageId"],
      additionalProperties: {},
    },
    readNamespaces: ["pages", "instances", "dataSources"],
    writeNamespaces: ["pages"],
    invalidatesNamespaces: ["pages"],
    retryOnConflict: true,
  },
  {
    id: "pages.updateMarketplace",
    command: "update-page-marketplace",
    client: "updatePageMarketplace",
    kind: "mutation",
    inputSchema: {
      type: "object",
      properties: {
        pageId: {
          type: "string",
        },
        marketplace: {
          type: "object",
          properties: {
            include: {
              type: "boolean",
            },
            category: {
              type: "string",
            },
            thumbnailAssetId: {
              type: "string",
            },
          },
          required: [],
        },
      },
      required: ["pageId", "marketplace"],
    },
    outputSchema: {
      type: "object",
      properties: {
        pageId: {
          type: "string",
        },
        marketplace: {
          type: "object",
          properties: {
            include: {
              type: "boolean",
            },
            category: {
              type: "string",
            },
            thumbnailAssetId: {
              type: "string",
            },
          },
          additionalProperties: {},
          required: [],
        },
      },
      required: ["pageId", "marketplace"],
      additionalProperties: {},
    },
    readNamespaces: ["pages"],
    writeNamespaces: ["pages"],
    invalidatesNamespaces: ["pages"],
    retryOnConflict: true,
  },
  {
    id: "pages.savePathInHistory",
    command: "save-page-path-history",
    client: "savePagePathInHistory",
    kind: "mutation",
    inputSchema: {
      type: "object",
      properties: {
        pageId: {
          type: "string",
        },
        path: {
          type: "string",
        },
      },
      required: ["pageId", "path"],
    },
    outputSchema: {
      type: "object",
      properties: {},
      additionalProperties: {},
      required: [],
    },
    readNamespaces: ["pages"],
    writeNamespaces: ["pages"],
    invalidatesNamespaces: ["pages"],
    retryOnConflict: true,
  },
  {
    id: "pages.setHome",
    command: "set-home-page",
    client: "setHomePage",
    kind: "mutation",
    inputSchema: {
      type: "object",
      properties: {
        pageId: {
          type: "string",
        },
      },
      required: ["pageId"],
    },
    outputSchema: {
      type: "object",
      properties: {
        pageId: {
          type: "string",
        },
      },
      required: ["pageId"],
      additionalProperties: {},
    },
    readNamespaces: ["pages"],
    writeNamespaces: ["pages"],
    invalidatesNamespaces: ["pages"],
    retryOnConflict: true,
  },
  {
    id: "projectSettings.get",
    command: "get-project-settings",
    client: "getProjectSettings",
    kind: "read",
    inputSchema: {
      type: "object",
      properties: {
        verbose: {
          description:
            "Expand the same result with complete records and diagnostics. Omit for compact output.",
          type: "boolean",
        },
      },
      required: [],
    },
    outputSchema: {
      type: "object",
      properties: {
        meta: {
          type: "object",
          properties: {
            siteName: {
              type: "string",
            },
            contactEmail: {
              type: "string",
            },
            emailSender: {
              type: "string",
            },
            faviconAssetId: {
              type: "string",
            },
            code: {
              type: "string",
            },
            agentInstructions: {
              type: "string",
            },
            auth: {
              type: "string",
            },
            customHeaders: {
              description:
                "Response header rules. Optional route patterns use Authentication syntax; '/*' applies site-wide. Missing CSP, X-Frame-Options, and Referrer-Policy receive dispatcher defaults. X-Powered-By, X-Content-Type-Options, and Strict-Transport-Security are managed by Webstudio Cloud.",
              maxItems: 100,
              type: "array",
              items: {
                type: "object",
                properties: {
                  route: {
                    type: "string",
                    maxLength: 2048,
                  },
                  name: {
                    type: "string",
                    maxLength: 256,
                    pattern: "^[!#$%&'*+.^_`|~0-9A-Za-z-]+$",
                  },
                  value: {
                    type: "string",
                    minLength: 1,
                    maxLength: 8192,
                    pattern: "^[\\t\\x20-\\x7e\\x80-\\xff]*$(?![\\s\\S])",
                  },
                },
                required: ["name", "value"],
              },
            },
          },
          additionalProperties: {},
          required: [],
        },
        compiler: {
          type: "object",
          properties: {
            atomicStyles: {
              type: "boolean",
            },
          },
          additionalProperties: {},
          required: [],
        },
        redirects: {
          type: "array",
          items: {
            type: "object",
            properties: {
              old: {
                type: "string",
              },
              new: {
                type: "string",
                minLength: 1,
              },
              status: {
                type: "string",
                enum: ["301", "302"],
              },
            },
            required: ["old", "new"],
            additionalProperties: {},
          },
        },
      },
      required: ["meta", "compiler"],
      additionalProperties: {},
    },
    readNamespaces: ["pages", "projectSettings"],
    writeNamespaces: [],
    invalidatesNamespaces: [],
    retryOnConflict: false,
  },
  {
    id: "projectSettings.update",
    command: "update-project-settings",
    client: "updateProjectSettings",
    kind: "mutation",
    inputSchema: {
      type: "object",
      properties: {
        meta: {
          type: "object",
          properties: {
            siteName: {
              anyOf: [
                {
                  type: "string",
                },
                {
                  type: "null",
                },
              ],
            },
            contactEmail: {
              anyOf: [
                {
                  type: "string",
                },
                {
                  type: "null",
                },
              ],
            },
            emailSender: {
              anyOf: [
                {
                  type: "string",
                },
                {
                  type: "null",
                },
              ],
            },
            faviconAssetId: {
              anyOf: [
                {
                  type: "string",
                },
                {
                  type: "null",
                },
              ],
            },
            code: {
              anyOf: [
                {
                  type: "string",
                },
                {
                  type: "null",
                },
              ],
            },
            agentInstructions: {
              anyOf: [
                {
                  type: "string",
                },
                {
                  type: "null",
                },
              ],
            },
            auth: {
              anyOf: [
                {
                  type: "string",
                },
                {
                  type: "null",
                },
              ],
            },
            customHeaders: {
              anyOf: [
                {
                  description:
                    "Response header rules. Optional route patterns use Authentication syntax; '/*' applies site-wide. Missing CSP, X-Frame-Options, and Referrer-Policy receive dispatcher defaults. X-Powered-By, X-Content-Type-Options, and Strict-Transport-Security are managed by Webstudio Cloud.",
                  maxItems: 100,
                  type: "array",
                  items: {
                    type: "object",
                    properties: {
                      route: {
                        type: "string",
                        maxLength: 2048,
                      },
                      name: {
                        type: "string",
                        maxLength: 256,
                        pattern: "^[!#$%&'*+.^_`|~0-9A-Za-z-]+$",
                      },
                      value: {
                        type: "string",
                        minLength: 1,
                        maxLength: 8192,
                        pattern: "^[\\t\\x20-\\x7e\\x80-\\xff]*$(?![\\s\\S])",
                      },
                    },
                    required: ["name", "value"],
                  },
                },
                {
                  type: "null",
                },
              ],
            },
          },
          additionalProperties: false,
          required: [],
        },
        compiler: {
          type: "object",
          properties: {
            atomicStyles: {
              anyOf: [
                {
                  type: "boolean",
                },
                {
                  type: "null",
                },
              ],
            },
          },
          additionalProperties: false,
          required: [],
        },
      },
      additionalProperties: false,
      description:
        "Update at least one supported project meta or compiler setting. Null removes a setting.",
      required: [],
    },
    outputSchema: {
      type: "object",
      properties: {
        updated: {
          type: "boolean",
        },
      },
      required: ["updated"],
      additionalProperties: {},
    },
    readNamespaces: ["projectSettings"],
    writeNamespaces: ["projectSettings"],
    invalidatesNamespaces: ["projectSettings"],
    retryOnConflict: true,
  },
  {
    id: "responseHeaders.list",
    command: "list-response-headers",
    client: "listResponseHeaders",
    kind: "read",
    inputSchema: {
      type: "object",
      properties: {
        cursor: {
          type: "string",
        },
        limit: {
          type: "integer",
          minimum: 1,
          maximum: 200,
        },
        verbose: {
          description:
            "Expand the same result with complete records and diagnostics. Omit for compact output.",
          type: "boolean",
        },
      },
      required: [],
    },
    outputSchema: {
      type: "object",
      properties: {
        headers: {
          type: "array",
          items: {
            type: "object",
            properties: {
              route: {
                type: "string",
                maxLength: 2048,
              },
              name: {
                type: "string",
                maxLength: 256,
                pattern: "^[!#$%&'*+.^_`|~0-9A-Za-z-]+$",
              },
              value: {
                type: "string",
                minLength: 1,
                maxLength: 8192,
                pattern: "^[\\t\\x20-\\x7e\\x80-\\xff]*$(?![\\s\\S])",
              },
            },
            required: ["name", "value"],
          },
        },
        detail: {
          type: "string",
          enum: ["compact", "verbose"],
        },
        total: {
          type: "integer",
          minimum: 0,
          maximum: 9007199254740991,
        },
        returnedCount: {
          type: "integer",
          minimum: 0,
          maximum: 9007199254740991,
        },
        nextCursor: {
          anyOf: [
            {
              type: "string",
            },
            {
              type: "null",
            },
          ],
        },
        filters: {
          type: "object",
          properties: {},
          additionalProperties: {},
          required: [],
        },
      },
      required: [
        "headers",
        "detail",
        "total",
        "returnedCount",
        "nextCursor",
        "filters",
      ],
      additionalProperties: {},
    },
    readNamespaces: ["projectSettings"],
    writeNamespaces: [],
    invalidatesNamespaces: [],
    retryOnConflict: false,
  },
  {
    id: "responseHeaders.set",
    command: "set-response-header",
    client: "setResponseHeader",
    kind: "mutation",
    inputSchema: {
      type: "object",
      properties: {
        route: {
          type: "string",
          maxLength: 2048,
        },
        name: {
          type: "string",
          maxLength: 256,
          pattern: "^[!#$%&'*+.^_`|~0-9A-Za-z-]+$",
        },
        value: {
          type: "string",
          minLength: 1,
          maxLength: 8192,
          pattern: "^[\\t\\x20-\\x7e\\x80-\\xff]*$(?![\\s\\S])",
        },
      },
      required: ["name", "value"],
    },
    outputSchema: {
      type: "object",
      properties: {
        updated: {
          type: "boolean",
        },
      },
      required: ["updated"],
      additionalProperties: {},
    },
    readNamespaces: ["projectSettings"],
    writeNamespaces: ["projectSettings"],
    invalidatesNamespaces: ["projectSettings"],
    retryOnConflict: true,
  },
  {
    id: "responseHeaders.delete",
    command: "delete-response-header",
    client: "deleteResponseHeader",
    kind: "mutation",
    inputSchema: {
      type: "object",
      properties: {
        route: {
          type: "string",
          maxLength: 2048,
        },
        name: {
          type: "string",
          maxLength: 256,
          pattern: "^[!#$%&'*+.^_`|~0-9A-Za-z-]+$",
        },
      },
      required: ["name"],
    },
    outputSchema: {
      type: "object",
      properties: {
        updated: {
          type: "boolean",
        },
      },
      required: ["updated"],
      additionalProperties: {},
    },
    readNamespaces: ["projectSettings"],
    writeNamespaces: ["projectSettings"],
    invalidatesNamespaces: ["projectSettings"],
    retryOnConflict: true,
    requiresConfirm: true,
  },
  {
    id: "projectSettings.getMarketplaceProduct",
    command: "get-marketplace-product",
    client: "getMarketplaceProduct",
    kind: "read",
    inputSchema: {
      type: "object",
      properties: {},
      required: [],
      additionalProperties: true,
    },
    outputSchema: {
      type: "object",
      properties: {
        marketplaceProduct: {
          anyOf: [
            {
              type: "object",
              properties: {
                category: {
                  anyOf: [
                    {
                      type: "string",
                      const: "sectionTemplates",
                    },
                    {
                      type: "string",
                      const: "pageTemplates",
                    },
                    {
                      type: "string",
                      const: "integrationTemplates",
                    },
                  ],
                },
                name: {
                  type: "string",
                  minLength: 2,
                  maxLength: 200,
                },
                thumbnailAssetId: {
                  type: "string",
                },
                author: {
                  type: "string",
                  minLength: 2,
                  maxLength: 200,
                },
                email: {
                  type: "string",
                  maxLength: 200,
                  format: "email",
                  pattern:
                    "^(?!\\.)(?!.*\\.\\.)([A-Za-z0-9_'+\\-\\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$",
                },
                website: {
                  anyOf: [
                    {
                      type: "string",
                      maxLength: 200,
                      format: "uri",
                    },
                    {
                      type: "string",
                      const: "",
                    },
                  ],
                },
                issues: {
                  anyOf: [
                    {
                      type: "string",
                      maxLength: 200,
                      format: "uri",
                    },
                    {
                      type: "string",
                      const: "",
                    },
                  ],
                },
                description: {
                  type: "string",
                  minLength: 10,
                  maxLength: 1000,
                },
              },
              required: [
                "category",
                "name",
                "thumbnailAssetId",
                "author",
                "email",
                "description",
              ],
              additionalProperties: {},
            },
            {
              type: "null",
            },
          ],
        },
      },
      required: ["marketplaceProduct"],
      additionalProperties: {},
    },
    readNamespaces: ["marketplaceProduct"],
    writeNamespaces: [],
    invalidatesNamespaces: [],
    retryOnConflict: false,
  },
  {
    id: "projectSettings.updateMarketplaceProduct",
    command: "update-marketplace-product",
    client: "updateMarketplaceProduct",
    kind: "mutation",
    inputSchema: {
      type: "object",
      properties: {
        category: {
          anyOf: [
            {
              type: "string",
              const: "sectionTemplates",
            },
            {
              type: "string",
              const: "pageTemplates",
            },
            {
              type: "string",
              const: "integrationTemplates",
            },
          ],
        },
        name: {
          type: "string",
          minLength: 2,
          maxLength: 200,
        },
        thumbnailAssetId: {
          type: "string",
        },
        author: {
          type: "string",
          minLength: 2,
          maxLength: 200,
        },
        email: {
          type: "string",
          maxLength: 200,
          format: "email",
          pattern:
            "^(?!\\.)(?!.*\\.\\.)([A-Za-z0-9_'+\\-\\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$",
        },
        website: {
          anyOf: [
            {
              type: "string",
              maxLength: 200,
              format: "uri",
            },
            {
              type: "string",
              const: "",
            },
          ],
        },
        issues: {
          anyOf: [
            {
              type: "string",
              maxLength: 200,
              format: "uri",
            },
            {
              type: "string",
              const: "",
            },
          ],
        },
        description: {
          type: "string",
          minLength: 10,
          maxLength: 1000,
        },
      },
      required: [
        "category",
        "name",
        "thumbnailAssetId",
        "author",
        "email",
        "description",
      ],
    },
    outputSchema: {
      type: "object",
      properties: {
        updated: {
          type: "boolean",
        },
      },
      required: ["updated"],
      additionalProperties: {},
    },
    readNamespaces: [],
    writeNamespaces: ["marketplaceProduct"],
    invalidatesNamespaces: ["marketplaceProduct"],
    retryOnConflict: true,
  },
  {
    id: "redirects.list",
    command: "list-redirects",
    client: "listRedirects",
    kind: "read",
    inputSchema: {
      type: "object",
      properties: {
        cursor: {
          type: "string",
        },
        limit: {
          type: "integer",
          minimum: 1,
          maximum: 200,
        },
        verbose: {
          description:
            "Expand the same result with complete records and diagnostics. Omit for compact output.",
          type: "boolean",
        },
      },
      required: [],
    },
    outputSchema: {
      type: "object",
      properties: {
        redirects: {
          type: "array",
          items: {
            type: "object",
            properties: {
              old: {
                type: "string",
              },
              new: {
                type: "string",
                minLength: 1,
              },
              status: {
                type: "string",
                enum: ["301", "302"],
              },
            },
            required: ["old", "new"],
            additionalProperties: {},
          },
        },
        detail: {
          type: "string",
          enum: ["compact", "verbose"],
        },
        total: {
          type: "integer",
          minimum: 0,
          maximum: 9007199254740991,
        },
        returnedCount: {
          type: "integer",
          minimum: 0,
          maximum: 9007199254740991,
        },
        nextCursor: {
          anyOf: [
            {
              type: "string",
            },
            {
              type: "null",
            },
          ],
        },
        filters: {
          type: "object",
          properties: {},
          additionalProperties: {},
          required: [],
        },
      },
      required: [
        "redirects",
        "detail",
        "total",
        "returnedCount",
        "nextCursor",
        "filters",
      ],
      additionalProperties: {},
    },
    readNamespaces: ["pages"],
    writeNamespaces: [],
    invalidatesNamespaces: [],
    retryOnConflict: false,
  },
  {
    id: "redirects.create",
    command: "create-redirect",
    client: "createRedirect",
    kind: "mutation",
    inputSchema: {
      type: "object",
      properties: {
        old: {
          type: "string",
        },
        new: {
          type: "string",
        },
        status: {
          type: "string",
          enum: ["301", "302"],
        },
      },
      required: ["old", "new"],
    },
    outputSchema: {
      type: "object",
      properties: {
        old: {
          type: "string",
        },
      },
      required: ["old"],
      additionalProperties: {},
    },
    readNamespaces: ["pages"],
    writeNamespaces: ["pages"],
    invalidatesNamespaces: ["pages"],
    retryOnConflict: true,
  },
  {
    id: "redirects.update",
    command: "update-redirect",
    client: "updateRedirect",
    kind: "mutation",
    inputSchema: {
      type: "object",
      properties: {
        old: {
          type: "string",
        },
        values: {
          type: "object",
          properties: {
            old: {
              type: "string",
            },
            new: {
              type: "string",
            },
            status: {
              anyOf: [
                {
                  type: "string",
                  enum: ["301", "302"],
                },
                {
                  type: "null",
                },
              ],
            },
          },
          required: [],
        },
      },
      required: ["old", "values"],
    },
    outputSchema: {
      type: "object",
      properties: {
        old: {
          type: "string",
        },
      },
      required: ["old"],
      additionalProperties: {},
    },
    readNamespaces: ["pages"],
    writeNamespaces: ["pages"],
    invalidatesNamespaces: ["pages"],
    retryOnConflict: true,
  },
  {
    id: "redirects.delete",
    command: "delete-redirect",
    client: "deleteRedirect",
    kind: "mutation",
    inputSchema: {
      type: "object",
      properties: {
        old: {
          type: "string",
        },
      },
      required: ["old"],
    },
    outputSchema: {
      type: "object",
      properties: {
        old: {
          type: "string",
        },
      },
      required: ["old"],
      additionalProperties: {},
    },
    readNamespaces: ["pages"],
    writeNamespaces: ["pages"],
    invalidatesNamespaces: ["pages"],
    retryOnConflict: true,
    requiresConfirm: true,
  },
  {
    id: "redirects.setAll",
    command: "set-redirects",
    client: "setRedirects",
    kind: "mutation",
    inputSchema: {
      type: "object",
      properties: {
        redirects: {
          type: "array",
          items: {
            type: "object",
            properties: {
              old: {
                type: "string",
              },
              new: {
                type: "string",
              },
              status: {
                type: "string",
                enum: ["301", "302"],
              },
            },
            required: ["old", "new"],
          },
        },
      },
      required: ["redirects"],
    },
    outputSchema: {
      type: "object",
      properties: {
        count: {
          type: "integer",
          minimum: -9007199254740991,
          maximum: 9007199254740991,
        },
      },
      required: ["count"],
      additionalProperties: {},
    },
    readNamespaces: ["pages"],
    writeNamespaces: ["pages"],
    invalidatesNamespaces: ["pages"],
    retryOnConflict: true,
    requiresConfirm: true,
  },
  {
    id: "breakpoints.list",
    command: "list-breakpoints",
    client: "listBreakpoints",
    kind: "read",
    inputSchema: {
      type: "object",
      properties: {
        cursor: {
          type: "string",
        },
        limit: {
          type: "integer",
          minimum: 1,
          maximum: 200,
        },
        verbose: {
          description:
            "Expand the same result with complete records and diagnostics. Omit for compact output.",
          type: "boolean",
        },
      },
      required: [],
    },
    outputSchema: {
      type: "object",
      properties: {
        breakpoints: {
          type: "array",
          items: {
            type: "object",
            properties: {
              id: {
                type: "string",
              },
              label: {
                type: "string",
              },
              minWidth: {
                type: "number",
              },
              maxWidth: {
                type: "number",
              },
              condition: {
                type: "string",
              },
            },
            required: ["id", "label"],
            additionalProperties: {},
          },
        },
        detail: {
          type: "string",
          enum: ["compact", "verbose"],
        },
        total: {
          type: "integer",
          minimum: 0,
          maximum: 9007199254740991,
        },
        returnedCount: {
          type: "integer",
          minimum: 0,
          maximum: 9007199254740991,
        },
        nextCursor: {
          anyOf: [
            {
              type: "string",
            },
            {
              type: "null",
            },
          ],
        },
        filters: {
          type: "object",
          properties: {},
          additionalProperties: {},
          required: [],
        },
      },
      required: [
        "breakpoints",
        "detail",
        "total",
        "returnedCount",
        "nextCursor",
        "filters",
      ],
      additionalProperties: {},
    },
    readNamespaces: ["breakpoints"],
    writeNamespaces: [],
    invalidatesNamespaces: [],
    retryOnConflict: false,
  },
  {
    id: "breakpoints.create",
    command: "create-breakpoint",
    client: "createBreakpoint",
    kind: "mutation",
    inputSchema: {
      type: "object",
      properties: {
        label: {
          type: "string",
        },
        minWidth: {
          type: "number",
          minimum: 0,
        },
        maxWidth: {
          type: "number",
          minimum: 0,
        },
        condition: {
          type: "string",
        },
      },
      required: ["label"],
    },
    outputSchema: {
      type: "object",
      properties: {
        breakpointId: {
          type: "string",
        },
      },
      required: ["breakpointId"],
      additionalProperties: {},
    },
    readNamespaces: ["breakpoints"],
    writeNamespaces: ["breakpoints"],
    invalidatesNamespaces: ["breakpoints"],
    retryOnConflict: true,
  },
  {
    id: "breakpoints.update",
    command: "update-breakpoint",
    client: "updateBreakpoint",
    kind: "mutation",
    inputSchema: {
      type: "object",
      properties: {
        breakpointId: {
          type: "string",
        },
        values: {
          type: "object",
          properties: {
            label: {
              type: "string",
            },
            minWidth: {
              anyOf: [
                {
                  type: "number",
                  minimum: 0,
                },
                {
                  type: "null",
                },
              ],
            },
            maxWidth: {
              anyOf: [
                {
                  type: "number",
                  minimum: 0,
                },
                {
                  type: "null",
                },
              ],
            },
            condition: {
              anyOf: [
                {
                  type: "string",
                },
                {
                  type: "null",
                },
              ],
            },
          },
          required: [],
        },
      },
      required: ["breakpointId", "values"],
    },
    outputSchema: {
      type: "object",
      properties: {
        breakpointId: {
          type: "string",
        },
      },
      required: ["breakpointId"],
      additionalProperties: {},
    },
    readNamespaces: ["breakpoints"],
    writeNamespaces: ["breakpoints"],
    invalidatesNamespaces: ["breakpoints"],
    retryOnConflict: true,
  },
  {
    id: "breakpoints.delete",
    command: "delete-breakpoint",
    client: "deleteBreakpoint",
    kind: "mutation",
    inputSchema: {
      type: "object",
      properties: {
        breakpointId: {
          type: "string",
        },
      },
      required: ["breakpointId"],
    },
    outputSchema: {
      type: "object",
      properties: {
        breakpointId: {
          type: "string",
        },
      },
      required: ["breakpointId"],
      additionalProperties: {},
    },
    readNamespaces: ["breakpoints", "styles"],
    writeNamespaces: ["breakpoints", "styles"],
    invalidatesNamespaces: ["breakpoints", "styles"],
    retryOnConflict: true,
    requiresConfirm: true,
  },
  {
    id: "pages.delete",
    command: "delete-page",
    client: "deletePage",
    kind: "mutation",
    inputSchema: {
      type: "object",
      properties: {
        pageId: {
          type: "string",
        },
      },
      required: ["pageId"],
    },
    outputSchema: {
      type: "object",
      properties: {
        pageId: {
          type: "string",
        },
      },
      required: ["pageId"],
      additionalProperties: {},
    },
    readNamespaces: [
      "pages",
      "instances",
      "props",
      "dataSources",
      "resources",
      "styles",
      "styleSources",
      "styleSourceSelections",
    ],
    writeNamespaces: [
      "pages",
      "instances",
      "props",
      "dataSources",
      "resources",
      "styles",
      "styleSources",
      "styleSourceSelections",
    ],
    invalidatesNamespaces: [
      "pages",
      "instances",
      "props",
      "dataSources",
      "resources",
      "styles",
      "styleSources",
      "styleSourceSelections",
    ],
    retryOnConflict: false,
    requiresConfirm: true,
  },
  {
    id: "pages.duplicate",
    command: "duplicate-page",
    client: "duplicatePage",
    kind: "mutation",
    inputSchema: {
      type: "object",
      properties: {
        pageId: {
          type: "string",
        },
        parentFolderId: {
          type: "string",
        },
        name: {
          type: "string",
          minLength: 1,
        },
        path: {
          type: "string",
        },
        substitutions: {
          type: "object",
          properties: {
            text: {
              description:
                "Exact fixed-text replacements applied only to the duplicated page's text children, string props, title, and metadata.",
              type: "object",
              propertyNames: {
                type: "string",
                minLength: 1,
              },
              additionalProperties: {
                type: "string",
              },
            },
            variables: {
              description:
                "Copied variable values keyed by the source variable name. Ambiguous duplicate names are rejected.",
              type: "object",
              propertyNames: {
                type: "string",
                minLength: 1,
              },
              additionalProperties: {
                anyOf: [
                  {
                    type: "object",
                    properties: {
                      type: {
                        type: "string",
                        const: "number",
                      },
                      value: {
                        type: "number",
                      },
                    },
                    required: ["type", "value"],
                  },
                  {
                    type: "object",
                    properties: {
                      type: {
                        type: "string",
                        const: "string",
                      },
                      value: {
                        type: "string",
                      },
                    },
                    required: ["type", "value"],
                  },
                  {
                    type: "object",
                    properties: {
                      type: {
                        type: "string",
                        const: "boolean",
                      },
                      value: {
                        type: "boolean",
                      },
                    },
                    required: ["type", "value"],
                  },
                  {
                    type: "object",
                    properties: {
                      type: {
                        type: "string",
                        const: "json",
                      },
                      value: {},
                    },
                    required: ["type"],
                  },
                ],
              },
            },
          },
          required: [],
        },
      },
      required: ["pageId"],
    },
    outputSchema: {
      type: "object",
      properties: {
        pageId: {
          type: "string",
        },
      },
      required: ["pageId"],
      additionalProperties: {},
    },
    readNamespaces: [
      "pages",
      "assets",
      "dataSources",
      "resources",
      "instances",
      "props",
      "breakpoints",
      "styles",
      "styleSources",
      "styleSourceSelections",
    ],
    writeNamespaces: [
      "pages",
      "assets",
      "dataSources",
      "resources",
      "instances",
      "props",
      "breakpoints",
      "styles",
      "styleSources",
      "styleSourceSelections",
    ],
    invalidatesNamespaces: [
      "pages",
      "assets",
      "dataSources",
      "resources",
      "instances",
      "props",
      "breakpoints",
      "styles",
      "styleSources",
      "styleSourceSelections",
    ],
    retryOnConflict: false,
    requiresAssets: true,
  },
  {
    id: "pages.copy",
    command: "copy-page",
    client: "copyPage",
    kind: "mutation",
    inputSchema: {
      type: "object",
      properties: {
        sourceData: {
          description:
            "Required hydrated WebstudioData from the source project. This is a low-level cross-project transfer command; use duplicate-page to copy a page within the configured project.",
        },
        pageId: {
          type: "string",
          description:
            "ID of the page in sourceData to copy into this project.",
        },
        parentFolderId: {
          type: "string",
        },
        conflictResolution: {
          type: "string",
          enum: ["ours", "theirs", "merge"],
        },
        rootStyleConflictResolution: {
          description:
            'How to resolve conflicting global root-local declarations: "ours" keeps the target project values; "theirs" uses the incoming source values. Required when conflicts exist.',
          type: "string",
          enum: ["ours", "theirs"],
        },
      },
      required: ["sourceData", "pageId"],
    },
    outputSchema: {
      type: "object",
      properties: {
        pageId: {
          type: "string",
        },
      },
      required: ["pageId"],
      additionalProperties: {},
    },
    readNamespaces: [
      "pages",
      "assets",
      "dataSources",
      "resources",
      "instances",
      "props",
      "breakpoints",
      "styles",
      "styleSources",
      "styleSourceSelections",
    ],
    writeNamespaces: [
      "pages",
      "assets",
      "dataSources",
      "resources",
      "instances",
      "props",
      "breakpoints",
      "styles",
      "styleSources",
      "styleSourceSelections",
    ],
    invalidatesNamespaces: [
      "pages",
      "assets",
      "dataSources",
      "resources",
      "instances",
      "props",
      "breakpoints",
      "styles",
      "styleSources",
      "styleSourceSelections",
    ],
    retryOnConflict: false,
    requiresAssets: true,
  },
  {
    id: "pageTemplates.list",
    command: "list-page-templates",
    client: "listPageTemplates",
    kind: "read",
    inputSchema: {
      type: "object",
      properties: {
        cursor: {
          type: "string",
        },
        limit: {
          type: "integer",
          minimum: 1,
          maximum: 200,
        },
        verbose: {
          description:
            "Expand the same result with complete records and diagnostics. Omit for compact output.",
          type: "boolean",
        },
      },
      required: [],
    },
    outputSchema: {
      type: "object",
      properties: {
        templates: {
          type: "array",
          items: {
            type: "object",
            properties: {
              id: {
                type: "string",
              },
              name: {
                type: "string",
              },
              title: {
                type: "string",
              },
              rootInstanceId: {
                type: "string",
              },
              systemDataSourceId: {
                type: "string",
              },
              meta: {
                type: "object",
                properties: {
                  description: {
                    type: "string",
                  },
                  title: {
                    type: "string",
                  },
                  excludePageFromSearch: {
                    type: "string",
                  },
                  language: {
                    type: "string",
                  },
                  socialImageAssetId: {
                    type: "string",
                  },
                  socialImageUrl: {
                    type: "string",
                  },
                  status: {
                    type: "string",
                  },
                  redirect: {
                    type: "string",
                  },
                  documentType: {
                    type: "string",
                    enum: ["html", "xml", "text"],
                  },
                  content: {
                    type: "string",
                  },
                  auth: {
                    anyOf: [
                      {
                        type: "object",
                        properties: {
                          method: {
                            type: "string",
                            const: "basic",
                          },
                          login: {
                            type: "string",
                          },
                          password: {
                            type: "string",
                          },
                        },
                        required: ["method", "login", "password"],
                      },
                      {
                        type: "object",
                        properties: {
                          type: {
                            type: "string",
                            const: "basic",
                          },
                          login: {
                            type: "string",
                          },
                          password: {
                            type: "string",
                          },
                        },
                        required: ["type", "login", "password"],
                      },
                    ],
                  },
                  custom: {
                    type: "array",
                    items: {
                      type: "object",
                      properties: {
                        property: {
                          type: "string",
                        },
                        content: {
                          type: "string",
                        },
                      },
                      required: ["property", "content"],
                    },
                  },
                },
                additionalProperties: {},
                required: [],
              },
            },
            required: ["id", "name", "title", "rootInstanceId", "meta"],
            additionalProperties: {},
          },
        },
        detail: {
          type: "string",
          enum: ["compact", "verbose"],
        },
        total: {
          type: "integer",
          minimum: 0,
          maximum: 9007199254740991,
        },
        returnedCount: {
          type: "integer",
          minimum: 0,
          maximum: 9007199254740991,
        },
        nextCursor: {
          anyOf: [
            {
              type: "string",
            },
            {
              type: "null",
            },
          ],
        },
        filters: {
          type: "object",
          properties: {},
          additionalProperties: {},
          required: [],
        },
      },
      required: [
        "templates",
        "detail",
        "total",
        "returnedCount",
        "nextCursor",
        "filters",
      ],
      additionalProperties: {},
    },
    readNamespaces: ["pages"],
    writeNamespaces: [],
    invalidatesNamespaces: [],
    retryOnConflict: false,
  },
  {
    id: "pageTemplates.create",
    command: "create-page-template",
    client: "createPageTemplate",
    kind: "mutation",
    inputSchema: {
      type: "object",
      properties: {
        name: {
          type: "string",
          minLength: 1,
        },
        title: {
          type: "string",
          description:
            'Pass one Webstudio JavaScript expression. For fixed text, pass a quoted string expression such as `"Plans for teams"`. For computed values, pass `pageTitle ?? "Plans for teams"`. Read webstudio://project/expressions for syntax and scope rules.',
        },
        meta: {
          type: "object",
          properties: {
            description: {
              type: "string",
              description:
                'Pass one Webstudio JavaScript expression. For fixed text, pass a quoted string expression such as `"Plans for teams"`. For computed values, pass `pageTitle ?? "Plans for teams"`. Read webstudio://project/expressions for syntax and scope rules.',
            },
            language: {
              type: "string",
              description:
                'Pass one Webstudio JavaScript expression. For fixed text, pass a quoted string expression such as `"Plans for teams"`. For computed values, pass `pageTitle ?? "Plans for teams"`. Read webstudio://project/expressions for syntax and scope rules.',
            },
            redirect: {
              type: "string",
              description:
                'Pass one Webstudio JavaScript expression. For fixed text, pass a quoted string expression such as `"Plans for teams"`. For computed values, pass `pageTitle ?? "Plans for teams"`. Read webstudio://project/expressions for syntax and scope rules.',
            },
            socialImageUrl: {
              type: "string",
              description:
                'Pass one Webstudio JavaScript expression. For fixed text, pass a quoted string expression such as `"Plans for teams"`. For computed values, pass `pageTitle ?? "Plans for teams"`. Read webstudio://project/expressions for syntax and scope rules.',
            },
            socialImageAssetId: {
              type: "string",
            },
            excludePageFromSearch: {
              anyOf: [
                {
                  type: "boolean",
                },
                {
                  type: "string",
                  description:
                    'Pass one Webstudio JavaScript expression. For fixed text, pass a quoted string expression such as `"Plans for teams"`. For computed values, pass `pageTitle ?? "Plans for teams"`. Read webstudio://project/expressions for syntax and scope rules.',
                },
              ],
            },
            documentType: {
              type: "string",
              enum: ["html", "xml", "text"],
            },
            content: {
              type: "string",
              description:
                'Pass one Webstudio JavaScript expression. For fixed text, pass a quoted string expression such as `"Plans for teams"`. For computed values, pass `pageTitle ?? "Plans for teams"`. Read webstudio://project/expressions for syntax and scope rules.',
            },
            status: {
              anyOf: [
                {
                  type: "number",
                },
                {
                  type: "string",
                },
              ],
              description:
                "Pass a fixed HTTP status code as a number from 200 through 599, for example 302. For a dynamic status, pass one Webstudio JavaScript expression as a string, for example `system.status`.",
            },
            auth: {
              anyOf: [
                {
                  type: "object",
                  properties: {
                    method: {
                      type: "string",
                      const: "basic",
                    },
                    login: {
                      type: "string",
                    },
                    password: {
                      type: "string",
                    },
                  },
                  required: ["method", "login", "password"],
                },
                {
                  type: "object",
                  properties: {
                    type: {
                      type: "string",
                      const: "basic",
                    },
                    login: {
                      type: "string",
                    },
                    password: {
                      type: "string",
                    },
                  },
                  required: ["type", "login", "password"],
                },
              ],
            },
            custom: {
              type: "array",
              items: {
                type: "object",
                properties: {
                  property: {
                    type: "string",
                  },
                  content: {
                    type: "string",
                    description:
                      'Pass one Webstudio JavaScript expression. For fixed text, pass a quoted string expression such as `"Plans for teams"`. For computed values, pass `pageTitle ?? "Plans for teams"`. Read webstudio://project/expressions for syntax and scope rules.',
                  },
                },
                required: ["property", "content"],
              },
            },
          },
          required: [],
        },
      },
      required: ["name"],
    },
    outputSchema: {
      type: "object",
      properties: {
        templateId: {
          type: "string",
        },
        rootInstanceId: {
          type: "string",
        },
      },
      required: ["templateId", "rootInstanceId"],
      additionalProperties: {},
    },
    readNamespaces: [
      "pages",
      "assets",
      "dataSources",
      "resources",
      "instances",
      "props",
      "breakpoints",
      "styles",
      "styleSources",
      "styleSourceSelections",
    ],
    writeNamespaces: [
      "pages",
      "assets",
      "dataSources",
      "resources",
      "instances",
      "props",
      "breakpoints",
      "styles",
      "styleSources",
      "styleSourceSelections",
    ],
    invalidatesNamespaces: [
      "pages",
      "assets",
      "dataSources",
      "resources",
      "instances",
      "props",
      "breakpoints",
      "styles",
      "styleSources",
      "styleSourceSelections",
    ],
    retryOnConflict: false,
    requiresAssets: true,
  },
  {
    id: "pageTemplates.update",
    command: "update-page-template",
    client: "updatePageTemplate",
    kind: "mutation",
    inputSchema: {
      type: "object",
      properties: {
        templateId: {
          type: "string",
        },
        values: {
          type: "object",
          properties: {
            name: {
              type: "string",
              minLength: 1,
            },
            title: {
              type: "string",
              description:
                'Pass one Webstudio JavaScript expression. For fixed text, pass a quoted string expression such as `"Plans for teams"`. For computed values, pass `pageTitle ?? "Plans for teams"`. Read webstudio://project/expressions for syntax and scope rules.',
            },
            meta: {
              type: "object",
              properties: {
                description: {
                  type: "string",
                  description:
                    'Pass one Webstudio JavaScript expression. For fixed text, pass a quoted string expression such as `"Plans for teams"`. For computed values, pass `pageTitle ?? "Plans for teams"`. Read webstudio://project/expressions for syntax and scope rules.',
                },
                language: {
                  type: "string",
                  description:
                    'Pass one Webstudio JavaScript expression. For fixed text, pass a quoted string expression such as `"Plans for teams"`. For computed values, pass `pageTitle ?? "Plans for teams"`. Read webstudio://project/expressions for syntax and scope rules.',
                },
                redirect: {
                  type: "string",
                  description:
                    'Pass one Webstudio JavaScript expression. For fixed text, pass a quoted string expression such as `"Plans for teams"`. For computed values, pass `pageTitle ?? "Plans for teams"`. Read webstudio://project/expressions for syntax and scope rules.',
                },
                socialImageUrl: {
                  type: "string",
                  description:
                    'Pass one Webstudio JavaScript expression. For fixed text, pass a quoted string expression such as `"Plans for teams"`. For computed values, pass `pageTitle ?? "Plans for teams"`. Read webstudio://project/expressions for syntax and scope rules.',
                },
                socialImageAssetId: {
                  type: "string",
                },
                excludePageFromSearch: {
                  anyOf: [
                    {
                      type: "boolean",
                    },
                    {
                      type: "string",
                      description:
                        'Pass one Webstudio JavaScript expression. For fixed text, pass a quoted string expression such as `"Plans for teams"`. For computed values, pass `pageTitle ?? "Plans for teams"`. Read webstudio://project/expressions for syntax and scope rules.',
                    },
                  ],
                },
                documentType: {
                  type: "string",
                  enum: ["html", "xml", "text"],
                },
                content: {
                  type: "string",
                  description:
                    'Pass one Webstudio JavaScript expression. For fixed text, pass a quoted string expression such as `"Plans for teams"`. For computed values, pass `pageTitle ?? "Plans for teams"`. Read webstudio://project/expressions for syntax and scope rules.',
                },
                status: {
                  anyOf: [
                    {
                      type: "number",
                    },
                    {
                      type: "string",
                    },
                  ],
                  description:
                    "Pass a fixed HTTP status code as a number from 200 through 599, for example 302. For a dynamic status, pass one Webstudio JavaScript expression as a string, for example `system.status`.",
                },
                auth: {
                  anyOf: [
                    {
                      type: "object",
                      properties: {
                        method: {
                          type: "string",
                          const: "basic",
                        },
                        login: {
                          type: "string",
                        },
                        password: {
                          type: "string",
                        },
                      },
                      required: ["method", "login", "password"],
                    },
                    {
                      type: "object",
                      properties: {
                        type: {
                          type: "string",
                          const: "basic",
                        },
                        login: {
                          type: "string",
                        },
                        password: {
                          type: "string",
                        },
                      },
                      required: ["type", "login", "password"],
                    },
                  ],
                },
                custom: {
                  type: "array",
                  items: {
                    type: "object",
                    properties: {
                      property: {
                        type: "string",
                      },
                      content: {
                        type: "string",
                        description:
                          'Pass one Webstudio JavaScript expression. For fixed text, pass a quoted string expression such as `"Plans for teams"`. For computed values, pass `pageTitle ?? "Plans for teams"`. Read webstudio://project/expressions for syntax and scope rules.',
                      },
                    },
                    required: ["property", "content"],
                  },
                },
              },
              required: [],
            },
          },
          required: [],
        },
      },
      required: ["templateId", "values"],
    },
    outputSchema: {
      type: "object",
      properties: {
        templateId: {
          type: "string",
        },
      },
      required: ["templateId"],
      additionalProperties: {},
    },
    readNamespaces: [
      "pages",
      "assets",
      "dataSources",
      "resources",
      "instances",
      "props",
      "breakpoints",
      "styles",
      "styleSources",
      "styleSourceSelections",
    ],
    writeNamespaces: [
      "pages",
      "assets",
      "dataSources",
      "resources",
      "instances",
      "props",
      "breakpoints",
      "styles",
      "styleSources",
      "styleSourceSelections",
    ],
    invalidatesNamespaces: [
      "pages",
      "assets",
      "dataSources",
      "resources",
      "instances",
      "props",
      "breakpoints",
      "styles",
      "styleSources",
      "styleSourceSelections",
    ],
    retryOnConflict: true,
    requiresAssets: true,
  },
  {
    id: "pageTemplates.delete",
    command: "delete-page-template",
    client: "deletePageTemplate",
    kind: "mutation",
    inputSchema: {
      type: "object",
      properties: {
        templateId: {
          type: "string",
        },
      },
      required: ["templateId"],
    },
    outputSchema: {
      type: "object",
      properties: {
        templateId: {
          type: "string",
        },
      },
      required: ["templateId"],
      additionalProperties: {},
    },
    readNamespaces: [
      "pages",
      "assets",
      "dataSources",
      "resources",
      "instances",
      "props",
      "breakpoints",
      "styles",
      "styleSources",
      "styleSourceSelections",
    ],
    writeNamespaces: [
      "pages",
      "assets",
      "dataSources",
      "resources",
      "instances",
      "props",
      "breakpoints",
      "styles",
      "styleSources",
      "styleSourceSelections",
    ],
    invalidatesNamespaces: [
      "pages",
      "assets",
      "dataSources",
      "resources",
      "instances",
      "props",
      "breakpoints",
      "styles",
      "styleSources",
      "styleSourceSelections",
    ],
    retryOnConflict: false,
    requiresAssets: true,
    requiresConfirm: true,
  },
  {
    id: "pageTemplates.duplicate",
    command: "duplicate-page-template",
    client: "duplicatePageTemplate",
    kind: "mutation",
    inputSchema: {
      type: "object",
      properties: {
        templateId: {
          type: "string",
        },
      },
      required: ["templateId"],
    },
    outputSchema: {
      type: "object",
      properties: {
        templateId: {
          type: "string",
        },
      },
      required: ["templateId"],
      additionalProperties: {},
    },
    readNamespaces: [
      "pages",
      "assets",
      "dataSources",
      "resources",
      "instances",
      "props",
      "breakpoints",
      "styles",
      "styleSources",
      "styleSourceSelections",
    ],
    writeNamespaces: [
      "pages",
      "assets",
      "dataSources",
      "resources",
      "instances",
      "props",
      "breakpoints",
      "styles",
      "styleSources",
      "styleSourceSelections",
    ],
    invalidatesNamespaces: [
      "pages",
      "assets",
      "dataSources",
      "resources",
      "instances",
      "props",
      "breakpoints",
      "styles",
      "styleSources",
      "styleSourceSelections",
    ],
    retryOnConflict: false,
    requiresAssets: true,
  },
  {
    id: "pageTemplates.reorder",
    command: "reorder-page-template",
    client: "reorderPageTemplate",
    kind: "mutation",
    inputSchema: {
      type: "object",
      properties: {
        sourceTemplateId: {
          type: "string",
        },
        targetTemplateId: {
          type: "string",
        },
        position: {
          type: "string",
          enum: ["before", "after"],
        },
      },
      required: ["sourceTemplateId", "targetTemplateId", "position"],
    },
    outputSchema: {
      type: "object",
      properties: {
        templateId: {
          type: "string",
        },
      },
      required: ["templateId"],
      additionalProperties: {},
    },
    readNamespaces: ["pages"],
    writeNamespaces: ["pages"],
    invalidatesNamespaces: ["pages"],
    retryOnConflict: true,
  },
  {
    id: "pageTemplates.createPage",
    command: "create-page-from-template",
    client: "createPageFromTemplate",
    permit: "edit",
    kind: "mutation",
    inputSchema: {
      type: "object",
      properties: {
        templateId: {
          type: "string",
        },
        parentFolderId: {
          type: "string",
        },
        name: {
          type: "string",
          minLength: 1,
        },
        path: {
          type: "string",
        },
        contentMode: {
          type: "boolean",
        },
      },
      required: ["templateId", "name", "path"],
    },
    outputSchema: {
      type: "object",
      properties: {
        pageId: {
          type: "string",
        },
      },
      required: ["pageId"],
      additionalProperties: {},
    },
    readNamespaces: [
      "pages",
      "assets",
      "dataSources",
      "resources",
      "instances",
      "props",
      "breakpoints",
      "styles",
      "styleSources",
      "styleSourceSelections",
    ],
    writeNamespaces: [
      "pages",
      "assets",
      "dataSources",
      "resources",
      "instances",
      "props",
      "breakpoints",
      "styles",
      "styleSources",
      "styleSourceSelections",
    ],
    invalidatesNamespaces: [
      "pages",
      "assets",
      "dataSources",
      "resources",
      "instances",
      "props",
      "breakpoints",
      "styles",
      "styleSources",
      "styleSourceSelections",
    ],
    retryOnConflict: false,
    requiresAssets: true,
  },
  {
    id: "folders.list",
    command: "list-folders",
    client: "listFolders",
    kind: "read",
    inputSchema: {
      type: "object",
      properties: {
        cursor: {
          type: "string",
        },
        limit: {
          type: "integer",
          minimum: 1,
          maximum: 200,
        },
        verbose: {
          description:
            "Expand the same result with complete records and diagnostics. Omit for compact output.",
          type: "boolean",
        },
      },
      required: [],
    },
    outputSchema: {
      type: "object",
      properties: {
        folders: {
          type: "array",
          items: {
            type: "object",
            properties: {
              id: {
                type: "string",
              },
              name: {
                type: "string",
              },
              slug: {
                type: "string",
              },
              parentFolderId: {
                type: "string",
              },
              children: {
                type: "array",
                items: {
                  type: "string",
                },
              },
            },
            required: ["id", "name", "slug", "children"],
            additionalProperties: {},
          },
        },
        detail: {
          type: "string",
          enum: ["compact", "verbose"],
        },
        total: {
          type: "integer",
          minimum: 0,
          maximum: 9007199254740991,
        },
        returnedCount: {
          type: "integer",
          minimum: 0,
          maximum: 9007199254740991,
        },
        nextCursor: {
          anyOf: [
            {
              type: "string",
            },
            {
              type: "null",
            },
          ],
        },
        filters: {
          type: "object",
          properties: {},
          additionalProperties: {},
          required: [],
        },
      },
      required: [
        "folders",
        "detail",
        "total",
        "returnedCount",
        "nextCursor",
        "filters",
      ],
      additionalProperties: {},
    },
    readNamespaces: ["pages"],
    writeNamespaces: [],
    invalidatesNamespaces: [],
    retryOnConflict: false,
  },
  {
    id: "folders.create",
    command: "create-folder",
    client: "createFolder",
    kind: "mutation",
    inputSchema: {
      type: "object",
      properties: {
        name: {
          type: "string",
        },
        slug: {
          type: "string",
        },
        parentFolderId: {
          type: "string",
        },
      },
      required: ["name", "slug"],
    },
    outputSchema: {
      type: "object",
      properties: {
        folderId: {
          type: "string",
        },
      },
      required: ["folderId"],
      additionalProperties: {},
    },
    readNamespaces: ["pages"],
    writeNamespaces: ["pages"],
    invalidatesNamespaces: ["pages"],
    retryOnConflict: false,
  },
  {
    id: "folders.update",
    command: "update-folder",
    client: "updateFolder",
    kind: "mutation",
    inputSchema: {
      type: "object",
      properties: {
        folderId: {
          type: "string",
        },
        values: {
          type: "object",
          properties: {
            name: {
              type: "string",
            },
            slug: {
              type: "string",
            },
            parentFolderId: {
              type: "string",
            },
          },
          required: [],
        },
      },
      required: ["folderId", "values"],
    },
    outputSchema: {
      type: "object",
      properties: {
        folderId: {
          type: "string",
        },
      },
      required: ["folderId"],
      additionalProperties: {},
    },
    readNamespaces: ["pages"],
    writeNamespaces: ["pages"],
    invalidatesNamespaces: ["pages"],
    retryOnConflict: true,
  },
  {
    id: "folders.delete",
    command: "delete-folder",
    client: "deleteFolder",
    kind: "mutation",
    inputSchema: {
      type: "object",
      properties: {
        folderId: {
          type: "string",
        },
      },
      required: ["folderId"],
    },
    outputSchema: {
      type: "object",
      properties: {
        folderId: {
          type: "string",
        },
        pageIds: {
          type: "array",
          items: {
            type: "string",
          },
        },
        folderIds: {
          type: "array",
          items: {
            type: "string",
          },
        },
      },
      required: ["folderId", "pageIds", "folderIds"],
      additionalProperties: {},
    },
    readNamespaces: [
      "pages",
      "instances",
      "props",
      "dataSources",
      "resources",
      "styles",
      "styleSources",
      "styleSourceSelections",
    ],
    writeNamespaces: [
      "pages",
      "instances",
      "props",
      "dataSources",
      "resources",
      "styles",
      "styleSources",
      "styleSourceSelections",
    ],
    invalidatesNamespaces: [
      "pages",
      "instances",
      "props",
      "dataSources",
      "resources",
      "styles",
      "styleSources",
      "styleSourceSelections",
    ],
    retryOnConflict: false,
    requiresConfirm: true,
  },
  {
    id: "folders.duplicate",
    command: "duplicate-folder",
    client: "duplicateFolder",
    kind: "mutation",
    inputSchema: {
      type: "object",
      properties: {
        folderId: {
          type: "string",
        },
        parentFolderId: {
          type: "string",
        },
      },
      required: ["folderId"],
    },
    outputSchema: {
      type: "object",
      properties: {
        folderId: {
          type: "string",
        },
      },
      required: ["folderId"],
      additionalProperties: {},
    },
    readNamespaces: [
      "pages",
      "assets",
      "dataSources",
      "resources",
      "instances",
      "props",
      "breakpoints",
      "styles",
      "styleSources",
      "styleSourceSelections",
    ],
    writeNamespaces: [
      "pages",
      "assets",
      "dataSources",
      "resources",
      "instances",
      "props",
      "breakpoints",
      "styles",
      "styleSources",
      "styleSourceSelections",
    ],
    invalidatesNamespaces: [
      "pages",
      "assets",
      "dataSources",
      "resources",
      "instances",
      "props",
      "breakpoints",
      "styles",
      "styleSources",
      "styleSourceSelections",
    ],
    retryOnConflict: false,
    requiresAssets: true,
  },
  {
    id: "pageTransfer.insert",
    command: "insert-page-transfer-item",
    client: "insertPageTransferItem",
    kind: "mutation",
    inputSchema: {
      type: "object",
      properties: {
        targetFolderId: {
          type: "string",
        },
        item: {
          anyOf: [
            {
              type: "object",
              properties: {
                type: {
                  type: "string",
                  const: "page",
                },
                page: {},
                rootFragment: {
                  type: "object",
                  properties: {
                    children: {
                      type: "array",
                      items: {
                        anyOf: [
                          {
                            type: "object",
                            properties: {
                              type: {
                                type: "string",
                                const: "id",
                              },
                              value: {
                                type: "string",
                              },
                            },
                            required: ["type", "value"],
                          },
                          {
                            type: "object",
                            properties: {
                              type: {
                                type: "string",
                                const: "text",
                              },
                              value: {
                                type: "string",
                              },
                              placeholder: {
                                type: "boolean",
                              },
                            },
                            required: ["type", "value"],
                          },
                          {
                            type: "object",
                            properties: {
                              type: {
                                type: "string",
                                const: "expression",
                              },
                              value: {
                                type: "string",
                              },
                              mode: {
                                type: "string",
                                enum: ["read", "readwrite"],
                                description:
                                  'Use "readwrite" only for a direct path into a source that supports writes; use "read" for every other expression.',
                              },
                            },
                            required: ["type", "value"],
                          },
                        ],
                      },
                    },
                    instances: {
                      type: "array",
                      items: {
                        type: "object",
                        properties: {
                          type: {
                            type: "string",
                            const: "instance",
                          },
                          id: {
                            type: "string",
                          },
                          component: {
                            type: "string",
                            minLength: 1,
                          },
                          tag: {
                            type: "string",
                            minLength: 1,
                            description:
                              "Optional HTML tag override for component rendering. Omit for component defaults; never pass an empty string.",
                          },
                          name: {
                            type: "string",
                            minLength: 1,
                          },
                          label: {
                            type: "string",
                          },
                          children: {
                            type: "array",
                            items: {
                              anyOf: [
                                {
                                  type: "object",
                                  properties: {
                                    type: {
                                      type: "string",
                                      const: "id",
                                    },
                                    value: {
                                      type: "string",
                                    },
                                  },
                                  required: ["type", "value"],
                                },
                                {
                                  type: "object",
                                  properties: {
                                    type: {
                                      type: "string",
                                      const: "text",
                                    },
                                    value: {
                                      type: "string",
                                    },
                                    placeholder: {
                                      type: "boolean",
                                    },
                                  },
                                  required: ["type", "value"],
                                },
                                {
                                  type: "object",
                                  properties: {
                                    type: {
                                      type: "string",
                                      const: "expression",
                                    },
                                    value: {
                                      type: "string",
                                    },
                                    mode: {
                                      type: "string",
                                      enum: ["read", "readwrite"],
                                      description:
                                        'Use "readwrite" only for a direct path into a source that supports writes; use "read" for every other expression.',
                                    },
                                  },
                                  required: ["type", "value"],
                                },
                              ],
                            },
                          },
                        },
                        required: ["type", "id", "component", "children"],
                      },
                    },
                    assets: {
                      type: "array",
                      items: {
                        anyOf: [
                          {
                            type: "object",
                            properties: {
                              id: {
                                type: "string",
                              },
                              size: {
                                type: "number",
                              },
                              name: {
                                type: "string",
                              },
                              filename: {
                                type: "string",
                              },
                              description: {
                                anyOf: [
                                  {
                                    type: "string",
                                  },
                                  {
                                    type: "null",
                                  },
                                ],
                              },
                              folderId: {
                                type: "string",
                                minLength: 1,
                                maxLength: 256,
                              },
                              createdAt: {
                                type: "string",
                              },
                              updatedAt: {
                                type: "string",
                              },
                              format: {
                                anyOf: [
                                  {
                                    type: "string",
                                    const: "ttf",
                                  },
                                  {
                                    type: "string",
                                    const: "woff",
                                  },
                                  {
                                    type: "string",
                                    const: "woff2",
                                  },
                                ],
                              },
                              meta: {
                                anyOf: [
                                  {
                                    type: "object",
                                    properties: {
                                      family: {
                                        type: "string",
                                      },
                                      style: {
                                        type: "string",
                                        enum: ["normal", "italic", "oblique"],
                                      },
                                      weight: {
                                        type: "number",
                                      },
                                    },
                                    required: ["family", "style", "weight"],
                                  },
                                  {
                                    type: "object",
                                    properties: {
                                      family: {
                                        type: "string",
                                      },
                                      style: {
                                        default: "normal",
                                        type: "string",
                                        enum: ["normal", "italic", "oblique"],
                                      },
                                      variationAxes: {
                                        type: "object",
                                        propertyNames: {
                                          type: "string",
                                          minLength: 4,
                                          maxLength: 4,
                                          pattern: "^[A-Za-z][A-Za-z0-9]* *$",
                                        },
                                        additionalProperties: {
                                          type: "object",
                                          properties: {
                                            name: {
                                              type: "string",
                                            },
                                            min: {
                                              type: "number",
                                            },
                                            default: {
                                              type: "number",
                                            },
                                            max: {
                                              type: "number",
                                            },
                                          },
                                          required: [
                                            "name",
                                            "min",
                                            "default",
                                            "max",
                                          ],
                                        },
                                      },
                                    },
                                    required: ["family", "variationAxes"],
                                  },
                                ],
                              },
                              type: {
                                type: "string",
                                const: "font",
                              },
                            },
                            required: [
                              "id",
                              "size",
                              "name",
                              "createdAt",
                              "format",
                              "meta",
                              "type",
                            ],
                          },
                          {
                            type: "object",
                            properties: {
                              id: {
                                type: "string",
                              },
                              size: {
                                type: "number",
                              },
                              name: {
                                type: "string",
                              },
                              filename: {
                                type: "string",
                              },
                              description: {
                                anyOf: [
                                  {
                                    type: "string",
                                  },
                                  {
                                    type: "null",
                                  },
                                ],
                              },
                              folderId: {
                                type: "string",
                                minLength: 1,
                                maxLength: 256,
                              },
                              createdAt: {
                                type: "string",
                              },
                              updatedAt: {
                                type: "string",
                              },
                              format: {
                                type: "string",
                              },
                              meta: {
                                type: "object",
                                properties: {
                                  width: {
                                    type: "number",
                                  },
                                  height: {
                                    type: "number",
                                  },
                                },
                                required: ["width", "height"],
                              },
                              type: {
                                type: "string",
                                const: "image",
                              },
                            },
                            required: [
                              "id",
                              "size",
                              "name",
                              "createdAt",
                              "format",
                              "meta",
                              "type",
                            ],
                          },
                          {
                            type: "object",
                            properties: {
                              id: {
                                type: "string",
                              },
                              size: {
                                type: "number",
                              },
                              name: {
                                type: "string",
                              },
                              filename: {
                                type: "string",
                              },
                              description: {
                                anyOf: [
                                  {
                                    type: "string",
                                  },
                                  {
                                    type: "null",
                                  },
                                ],
                              },
                              folderId: {
                                type: "string",
                                minLength: 1,
                                maxLength: 256,
                              },
                              createdAt: {
                                type: "string",
                              },
                              updatedAt: {
                                type: "string",
                              },
                              format: {
                                type: "string",
                              },
                              meta: {
                                type: "object",
                                properties: {
                                  width: {
                                    type: "number",
                                  },
                                  height: {
                                    type: "number",
                                  },
                                },
                                required: ["width", "height"],
                              },
                              type: {
                                type: "string",
                                const: "video",
                              },
                            },
                            required: [
                              "id",
                              "size",
                              "name",
                              "createdAt",
                              "format",
                              "meta",
                              "type",
                            ],
                          },
                          {
                            type: "object",
                            properties: {
                              id: {
                                type: "string",
                              },
                              size: {
                                type: "number",
                              },
                              name: {
                                type: "string",
                              },
                              filename: {
                                type: "string",
                              },
                              description: {
                                anyOf: [
                                  {
                                    type: "string",
                                  },
                                  {
                                    type: "null",
                                  },
                                ],
                              },
                              folderId: {
                                type: "string",
                                minLength: 1,
                                maxLength: 256,
                              },
                              createdAt: {
                                type: "string",
                              },
                              updatedAt: {
                                type: "string",
                              },
                              format: {
                                type: "string",
                              },
                              meta: {
                                type: "object",
                                properties: {},
                                required: [],
                                additionalProperties: true,
                              },
                              type: {
                                type: "string",
                                const: "file",
                              },
                            },
                            required: [
                              "id",
                              "size",
                              "name",
                              "createdAt",
                              "format",
                              "meta",
                              "type",
                            ],
                          },
                        ],
                      },
                    },
                    dataSources: {
                      type: "array",
                      items: {
                        anyOf: [
                          {
                            type: "object",
                            properties: {
                              type: {
                                type: "string",
                                const: "variable",
                              },
                              id: {
                                type: "string",
                              },
                              scopeInstanceId: {
                                type: "string",
                              },
                              name: {
                                type: "string",
                              },
                              value: {
                                anyOf: [
                                  {
                                    type: "object",
                                    properties: {
                                      type: {
                                        type: "string",
                                        const: "number",
                                      },
                                      value: {
                                        type: "number",
                                      },
                                    },
                                    required: ["type", "value"],
                                  },
                                  {
                                    type: "object",
                                    properties: {
                                      type: {
                                        type: "string",
                                        const: "string",
                                      },
                                      value: {
                                        type: "string",
                                      },
                                    },
                                    required: ["type", "value"],
                                  },
                                  {
                                    type: "object",
                                    properties: {
                                      type: {
                                        type: "string",
                                        const: "boolean",
                                      },
                                      value: {
                                        type: "boolean",
                                      },
                                    },
                                    required: ["type", "value"],
                                  },
                                  {
                                    type: "object",
                                    properties: {
                                      type: {
                                        type: "string",
                                        const: "json",
                                      },
                                      value: {},
                                    },
                                    required: ["type"],
                                  },
                                ],
                              },
                            },
                            required: ["type", "id", "name", "value"],
                          },
                          {
                            type: "object",
                            properties: {
                              type: {
                                type: "string",
                                const: "parameter",
                              },
                              id: {
                                type: "string",
                              },
                              scopeInstanceId: {
                                type: "string",
                              },
                              name: {
                                type: "string",
                              },
                            },
                            required: ["type", "id", "name"],
                          },
                          {
                            type: "object",
                            properties: {
                              type: {
                                type: "string",
                                const: "resource",
                              },
                              id: {
                                type: "string",
                              },
                              scopeInstanceId: {
                                type: "string",
                              },
                              name: {
                                type: "string",
                              },
                              resourceId: {
                                type: "string",
                              },
                            },
                            required: ["type", "id", "name", "resourceId"],
                          },
                        ],
                      },
                    },
                    resources: {
                      type: "array",
                      items: {
                        type: "object",
                        properties: {
                          id: {
                            type: "string",
                          },
                          name: {
                            type: "string",
                          },
                          control: {
                            anyOf: [
                              {
                                type: "string",
                                const: "system",
                              },
                              {
                                type: "string",
                                const: "graphql",
                              },
                              {
                                type: "string",
                                const: "email",
                              },
                            ],
                          },
                          email: {
                            type: "object",
                            properties: {
                              recipientMode: {
                                type: "string",
                                enum: ["project", "custom", "visitor"],
                              },
                              recipients: {
                                type: "string",
                              },
                              visitorEmailField: {
                                type: "string",
                              },
                              sender: {
                                type: "string",
                              },
                              senderExpression: {
                                type: "string",
                              },
                              recipientsExpression: {
                                type: "string",
                              },
                              subject: {
                                type: "string",
                              },
                              body: {
                                type: "string",
                              },
                              confirmationSubject: {
                                type: "string",
                                enum: ["formSubject", "default"],
                              },
                              confirmationBody: {
                                type: "string",
                                const: "default",
                              },
                              includeAttachments: {
                                type: "boolean",
                              },
                            },
                            required: [],
                          },
                          method: {
                            anyOf: [
                              {
                                type: "string",
                                const: "get",
                              },
                              {
                                type: "string",
                                const: "post",
                              },
                              {
                                type: "string",
                                const: "put",
                              },
                              {
                                type: "string",
                                const: "delete",
                              },
                            ],
                          },
                          url: {
                            type: "string",
                          },
                          searchParams: {
                            type: "array",
                            items: {
                              type: "object",
                              properties: {
                                name: {
                                  type: "string",
                                },
                                value: {
                                  type: "string",
                                },
                              },
                              required: ["name", "value"],
                            },
                          },
                          headers: {
                            type: "array",
                            items: {
                              type: "object",
                              properties: {
                                name: {
                                  type: "string",
                                },
                                value: {
                                  type: "string",
                                },
                              },
                              required: ["name", "value"],
                            },
                          },
                          body: {
                            type: "string",
                          },
                          bodyFormat: {
                            type: "string",
                            enum: ["auto", "json", "multipart"],
                          },
                        },
                        required: ["id", "name", "method", "url", "headers"],
                      },
                    },
                    props: {
                      type: "array",
                      items: {
                        anyOf: [
                          {
                            type: "object",
                            properties: {
                              id: {
                                type: "string",
                              },
                              instanceId: {
                                type: "string",
                              },
                              name: {
                                type: "string",
                              },
                              required: {
                                type: "boolean",
                              },
                              type: {
                                type: "string",
                                const: "number",
                              },
                              value: {
                                type: "number",
                              },
                            },
                            required: [
                              "id",
                              "instanceId",
                              "name",
                              "type",
                              "value",
                            ],
                          },
                          {
                            type: "object",
                            properties: {
                              id: {
                                type: "string",
                              },
                              instanceId: {
                                type: "string",
                              },
                              name: {
                                type: "string",
                              },
                              required: {
                                type: "boolean",
                              },
                              type: {
                                type: "string",
                                const: "string",
                              },
                              value: {
                                type: "string",
                              },
                            },
                            required: [
                              "id",
                              "instanceId",
                              "name",
                              "type",
                              "value",
                            ],
                          },
                          {
                            type: "object",
                            properties: {
                              id: {
                                type: "string",
                              },
                              instanceId: {
                                type: "string",
                              },
                              name: {
                                type: "string",
                              },
                              required: {
                                type: "boolean",
                              },
                              type: {
                                type: "string",
                                const: "boolean",
                              },
                              value: {
                                type: "boolean",
                              },
                            },
                            required: [
                              "id",
                              "instanceId",
                              "name",
                              "type",
                              "value",
                            ],
                          },
                          {
                            type: "object",
                            properties: {
                              id: {
                                type: "string",
                              },
                              instanceId: {
                                type: "string",
                              },
                              name: {
                                type: "string",
                              },
                              required: {
                                type: "boolean",
                              },
                              type: {
                                type: "string",
                                const: "json",
                              },
                              value: {},
                            },
                            required: ["id", "instanceId", "name", "type"],
                          },
                          {
                            type: "object",
                            properties: {
                              id: {
                                type: "string",
                              },
                              instanceId: {
                                type: "string",
                              },
                              name: {
                                type: "string",
                              },
                              required: {
                                type: "boolean",
                              },
                              type: {
                                type: "string",
                                const: "asset",
                              },
                              value: {
                                type: "string",
                              },
                            },
                            required: [
                              "id",
                              "instanceId",
                              "name",
                              "type",
                              "value",
                            ],
                          },
                          {
                            type: "object",
                            properties: {
                              id: {
                                type: "string",
                              },
                              instanceId: {
                                type: "string",
                              },
                              name: {
                                type: "string",
                              },
                              required: {
                                type: "boolean",
                              },
                              type: {
                                type: "string",
                                const: "page",
                              },
                              value: {
                                anyOf: [
                                  {
                                    type: "string",
                                  },
                                  {
                                    type: "object",
                                    properties: {
                                      pageId: {
                                        type: "string",
                                      },
                                      instanceId: {
                                        type: "string",
                                      },
                                    },
                                    required: ["pageId", "instanceId"],
                                  },
                                ],
                              },
                            },
                            required: [
                              "id",
                              "instanceId",
                              "name",
                              "type",
                              "value",
                            ],
                          },
                          {
                            type: "object",
                            properties: {
                              id: {
                                type: "string",
                              },
                              instanceId: {
                                type: "string",
                              },
                              name: {
                                type: "string",
                              },
                              required: {
                                type: "boolean",
                              },
                              type: {
                                type: "string",
                                const: "string[]",
                              },
                              value: {
                                type: "array",
                                items: {
                                  type: "string",
                                },
                              },
                            },
                            required: [
                              "id",
                              "instanceId",
                              "name",
                              "type",
                              "value",
                            ],
                          },
                          {
                            type: "object",
                            properties: {
                              id: {
                                type: "string",
                              },
                              instanceId: {
                                type: "string",
                              },
                              name: {
                                type: "string",
                              },
                              required: {
                                type: "boolean",
                              },
                              type: {
                                type: "string",
                                const: "parameter",
                              },
                              value: {
                                type: "string",
                              },
                            },
                            required: [
                              "id",
                              "instanceId",
                              "name",
                              "type",
                              "value",
                            ],
                          },
                          {
                            type: "object",
                            properties: {
                              id: {
                                type: "string",
                              },
                              instanceId: {
                                type: "string",
                              },
                              name: {
                                type: "string",
                              },
                              required: {
                                type: "boolean",
                              },
                              type: {
                                type: "string",
                                const: "resource",
                              },
                              value: {
                                type: "string",
                              },
                            },
                            required: [
                              "id",
                              "instanceId",
                              "name",
                              "type",
                              "value",
                            ],
                          },
                          {
                            type: "object",
                            properties: {
                              id: {
                                type: "string",
                              },
                              instanceId: {
                                type: "string",
                              },
                              name: {
                                type: "string",
                              },
                              required: {
                                type: "boolean",
                              },
                              type: {
                                type: "string",
                                const: "expression",
                              },
                              value: {
                                type: "string",
                              },
                              mode: {
                                type: "string",
                                enum: ["read", "readwrite"],
                                description:
                                  'Use "readwrite" only for a direct path into a source that supports writes; use "read" for every other expression.',
                              },
                            },
                            required: [
                              "id",
                              "instanceId",
                              "name",
                              "type",
                              "value",
                            ],
                          },
                          {
                            type: "object",
                            properties: {
                              id: {
                                type: "string",
                              },
                              instanceId: {
                                type: "string",
                              },
                              name: {
                                type: "string",
                              },
                              required: {
                                type: "boolean",
                              },
                              type: {
                                type: "string",
                                const: "action",
                              },
                              value: {
                                type: "array",
                                items: {
                                  type: "object",
                                  properties: {
                                    type: {
                                      type: "string",
                                      const: "execute",
                                    },
                                    args: {
                                      type: "array",
                                      items: {
                                        type: "string",
                                      },
                                    },
                                    code: {
                                      type: "string",
                                    },
                                  },
                                  required: ["type", "args", "code"],
                                },
                              },
                            },
                            required: [
                              "id",
                              "instanceId",
                              "name",
                              "type",
                              "value",
                            ],
                          },
                          {
                            type: "object",
                            properties: {
                              id: {
                                type: "string",
                              },
                              instanceId: {
                                type: "string",
                              },
                              name: {
                                type: "string",
                              },
                              required: {
                                type: "boolean",
                              },
                              type: {
                                type: "string",
                                const: "animationAction",
                              },
                              value: {
                                oneOf: [
                                  {
                                    type: "object",
                                    properties: {
                                      type: {
                                        type: "string",
                                        const: "scroll",
                                      },
                                      source: {
                                        anyOf: [
                                          {
                                            type: "string",
                                            const: "closest",
                                          },
                                          {
                                            type: "string",
                                            const: "nearest",
                                          },
                                          {
                                            type: "string",
                                            const: "root",
                                          },
                                        ],
                                      },
                                      axis: {
                                        anyOf: [
                                          {
                                            type: "string",
                                            const: "block",
                                          },
                                          {
                                            type: "string",
                                            const: "inline",
                                          },
                                          {
                                            type: "string",
                                            const: "x",
                                          },
                                          {
                                            type: "string",
                                            const: "y",
                                          },
                                        ],
                                      },
                                      animations: {
                                        type: "array",
                                        items: {
                                          type: "object",
                                          properties: {
                                            name: {
                                              type: "string",
                                            },
                                            description: {
                                              type: "string",
                                            },
                                            enabled: {
                                              type: "array",
                                              items: {
                                                type: "array",
                                                prefixItems: [
                                                  {
                                                    type: "string",
                                                    description: "breakpointId",
                                                  },
                                                  {
                                                    type: "boolean",
                                                  },
                                                ],
                                                minItems: 2,
                                                maxItems: 2,
                                              },
                                            },
                                            keyframes: {
                                              type: "array",
                                              items: {
                                                type: "object",
                                                properties: {
                                                  offset: {
                                                    type: "number",
                                                  },
                                                  styles: {
                                                    type: "object",
                                                    propertyNames: {
                                                      type: "string",
                                                    },
                                                    additionalProperties: {
                                                      $ref: "#/$defs/__schema0",
                                                    },
                                                  },
                                                },
                                                required: ["styles"],
                                              },
                                            },
                                            timing: {
                                              type: "object",
                                              properties: {
                                                easing: {
                                                  type: "string",
                                                },
                                                fill: {
                                                  anyOf: [
                                                    {
                                                      type: "string",
                                                      const: "none",
                                                    },
                                                    {
                                                      type: "string",
                                                      const: "forwards",
                                                    },
                                                    {
                                                      type: "string",
                                                      const: "backwards",
                                                    },
                                                    {
                                                      type: "string",
                                                      const: "both",
                                                    },
                                                  ],
                                                },
                                                duration: {
                                                  anyOf: [
                                                    {
                                                      type: "object",
                                                      properties: {
                                                        type: {
                                                          type: "string",
                                                          const: "unit",
                                                        },
                                                        value: {
                                                          type: "number",
                                                        },
                                                        unit: {
                                                          anyOf: [
                                                            {
                                                              type: "string",
                                                              const: "ms",
                                                            },
                                                            {
                                                              type: "string",
                                                              const: "s",
                                                            },
                                                          ],
                                                        },
                                                      },
                                                      required: [
                                                        "type",
                                                        "value",
                                                        "unit",
                                                      ],
                                                    },
                                                    {
                                                      type: "object",
                                                      properties: {
                                                        type: {
                                                          type: "string",
                                                          const: "var",
                                                        },
                                                        value: {
                                                          type: "string",
                                                        },
                                                      },
                                                      required: [
                                                        "type",
                                                        "value",
                                                      ],
                                                    },
                                                  ],
                                                },
                                                delay: {
                                                  anyOf: [
                                                    {
                                                      type: "object",
                                                      properties: {
                                                        type: {
                                                          type: "string",
                                                          const: "unit",
                                                        },
                                                        value: {
                                                          type: "number",
                                                        },
                                                        unit: {
                                                          anyOf: [
                                                            {
                                                              type: "string",
                                                              const: "ms",
                                                            },
                                                            {
                                                              type: "string",
                                                              const: "s",
                                                            },
                                                          ],
                                                        },
                                                      },
                                                      required: [
                                                        "type",
                                                        "value",
                                                        "unit",
                                                      ],
                                                    },
                                                    {
                                                      type: "object",
                                                      properties: {
                                                        type: {
                                                          type: "string",
                                                          const: "var",
                                                        },
                                                        value: {
                                                          type: "string",
                                                        },
                                                      },
                                                      required: [
                                                        "type",
                                                        "value",
                                                      ],
                                                    },
                                                  ],
                                                },
                                                iterations: {
                                                  anyOf: [
                                                    {
                                                      type: "number",
                                                    },
                                                    {
                                                      type: "string",
                                                      const: "infinite",
                                                    },
                                                  ],
                                                },
                                                rangeStart: {
                                                  type: "array",
                                                  prefixItems: [
                                                    {
                                                      anyOf: [
                                                        {
                                                          type: "string",
                                                          const: "start",
                                                        },
                                                        {
                                                          type: "string",
                                                          const: "end",
                                                        },
                                                      ],
                                                    },
                                                    {
                                                      anyOf: [
                                                        {
                                                          type: "object",
                                                          properties: {
                                                            type: {
                                                              type: "string",
                                                              const: "unit",
                                                            },
                                                            value: {
                                                              type: "number",
                                                            },
                                                            unit: {
                                                              anyOf: [
                                                                {
                                                                  type: "string",
                                                                  const: "%",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "px",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "cm",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "mm",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "q",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "in",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "pt",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "pc",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "em",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "rem",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "ex",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "rex",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "cap",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "rcap",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "ch",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "rch",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "lh",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "rlh",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "vw",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "svw",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "lvw",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "dvw",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "vh",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "svh",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "lvh",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "dvh",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "vi",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "svi",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "lvi",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "dvi",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "vb",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "svb",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "lvb",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "dvb",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "vmin",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const:
                                                                    "svmin",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const:
                                                                    "lvmin",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const:
                                                                    "dvmin",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "vmax",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const:
                                                                    "svmax",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const:
                                                                    "lvmax",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const:
                                                                    "dvmax",
                                                                },
                                                              ],
                                                            },
                                                          },
                                                          required: [
                                                            "type",
                                                            "value",
                                                            "unit",
                                                          ],
                                                        },
                                                        {
                                                          type: "object",
                                                          properties: {
                                                            type: {
                                                              type: "string",
                                                              const: "unparsed",
                                                            },
                                                            value: {
                                                              type: "string",
                                                            },
                                                          },
                                                          required: [
                                                            "type",
                                                            "value",
                                                          ],
                                                        },
                                                        {
                                                          type: "object",
                                                          properties: {
                                                            type: {
                                                              type: "string",
                                                              const: "var",
                                                            },
                                                            value: {
                                                              type: "string",
                                                            },
                                                          },
                                                          required: [
                                                            "type",
                                                            "value",
                                                          ],
                                                        },
                                                      ],
                                                    },
                                                  ],
                                                  minItems: 2,
                                                  maxItems: 2,
                                                },
                                                rangeEnd: {
                                                  type: "array",
                                                  prefixItems: [
                                                    {
                                                      anyOf: [
                                                        {
                                                          type: "string",
                                                          const: "start",
                                                        },
                                                        {
                                                          type: "string",
                                                          const: "end",
                                                        },
                                                      ],
                                                    },
                                                    {
                                                      anyOf: [
                                                        {
                                                          type: "object",
                                                          properties: {
                                                            type: {
                                                              type: "string",
                                                              const: "unit",
                                                            },
                                                            value: {
                                                              type: "number",
                                                            },
                                                            unit: {
                                                              anyOf: [
                                                                {
                                                                  type: "string",
                                                                  const: "%",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "px",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "cm",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "mm",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "q",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "in",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "pt",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "pc",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "em",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "rem",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "ex",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "rex",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "cap",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "rcap",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "ch",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "rch",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "lh",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "rlh",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "vw",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "svw",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "lvw",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "dvw",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "vh",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "svh",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "lvh",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "dvh",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "vi",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "svi",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "lvi",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "dvi",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "vb",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "svb",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "lvb",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "dvb",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "vmin",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const:
                                                                    "svmin",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const:
                                                                    "lvmin",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const:
                                                                    "dvmin",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "vmax",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const:
                                                                    "svmax",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const:
                                                                    "lvmax",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const:
                                                                    "dvmax",
                                                                },
                                                              ],
                                                            },
                                                          },
                                                          required: [
                                                            "type",
                                                            "value",
                                                            "unit",
                                                          ],
                                                        },
                                                        {
                                                          type: "object",
                                                          properties: {
                                                            type: {
                                                              type: "string",
                                                              const: "unparsed",
                                                            },
                                                            value: {
                                                              type: "string",
                                                            },
                                                          },
                                                          required: [
                                                            "type",
                                                            "value",
                                                          ],
                                                        },
                                                        {
                                                          type: "object",
                                                          properties: {
                                                            type: {
                                                              type: "string",
                                                              const: "var",
                                                            },
                                                            value: {
                                                              type: "string",
                                                            },
                                                          },
                                                          required: [
                                                            "type",
                                                            "value",
                                                          ],
                                                        },
                                                      ],
                                                    },
                                                  ],
                                                  minItems: 2,
                                                  maxItems: 2,
                                                },
                                              },
                                              required: [],
                                            },
                                          },
                                          required: ["keyframes", "timing"],
                                        },
                                      },
                                      isPinned: {
                                        type: "boolean",
                                      },
                                      debug: {
                                        type: "boolean",
                                      },
                                    },
                                    required: ["type", "animations"],
                                  },
                                  {
                                    type: "object",
                                    properties: {
                                      type: {
                                        type: "string",
                                        const: "view",
                                      },
                                      subject: {
                                        type: "string",
                                      },
                                      axis: {
                                        anyOf: [
                                          {
                                            type: "string",
                                            const: "block",
                                          },
                                          {
                                            type: "string",
                                            const: "inline",
                                          },
                                          {
                                            type: "string",
                                            const: "x",
                                          },
                                          {
                                            type: "string",
                                            const: "y",
                                          },
                                        ],
                                      },
                                      animations: {
                                        type: "array",
                                        items: {
                                          type: "object",
                                          properties: {
                                            name: {
                                              type: "string",
                                            },
                                            description: {
                                              type: "string",
                                            },
                                            enabled: {
                                              type: "array",
                                              items: {
                                                type: "array",
                                                prefixItems: [
                                                  {
                                                    type: "string",
                                                    description: "breakpointId",
                                                  },
                                                  {
                                                    type: "boolean",
                                                  },
                                                ],
                                                minItems: 2,
                                                maxItems: 2,
                                              },
                                            },
                                            keyframes: {
                                              type: "array",
                                              items: {
                                                type: "object",
                                                properties: {
                                                  offset: {
                                                    type: "number",
                                                  },
                                                  styles: {
                                                    type: "object",
                                                    propertyNames: {
                                                      type: "string",
                                                    },
                                                    additionalProperties: {
                                                      $ref: "#/$defs/__schema0",
                                                    },
                                                  },
                                                },
                                                required: ["styles"],
                                              },
                                            },
                                            timing: {
                                              type: "object",
                                              properties: {
                                                easing: {
                                                  type: "string",
                                                },
                                                fill: {
                                                  anyOf: [
                                                    {
                                                      type: "string",
                                                      const: "none",
                                                    },
                                                    {
                                                      type: "string",
                                                      const: "forwards",
                                                    },
                                                    {
                                                      type: "string",
                                                      const: "backwards",
                                                    },
                                                    {
                                                      type: "string",
                                                      const: "both",
                                                    },
                                                  ],
                                                },
                                                duration: {
                                                  anyOf: [
                                                    {
                                                      type: "object",
                                                      properties: {
                                                        type: {
                                                          type: "string",
                                                          const: "unit",
                                                        },
                                                        value: {
                                                          type: "number",
                                                        },
                                                        unit: {
                                                          anyOf: [
                                                            {
                                                              type: "string",
                                                              const: "ms",
                                                            },
                                                            {
                                                              type: "string",
                                                              const: "s",
                                                            },
                                                          ],
                                                        },
                                                      },
                                                      required: [
                                                        "type",
                                                        "value",
                                                        "unit",
                                                      ],
                                                    },
                                                    {
                                                      type: "object",
                                                      properties: {
                                                        type: {
                                                          type: "string",
                                                          const: "var",
                                                        },
                                                        value: {
                                                          type: "string",
                                                        },
                                                      },
                                                      required: [
                                                        "type",
                                                        "value",
                                                      ],
                                                    },
                                                  ],
                                                },
                                                delay: {
                                                  anyOf: [
                                                    {
                                                      type: "object",
                                                      properties: {
                                                        type: {
                                                          type: "string",
                                                          const: "unit",
                                                        },
                                                        value: {
                                                          type: "number",
                                                        },
                                                        unit: {
                                                          anyOf: [
                                                            {
                                                              type: "string",
                                                              const: "ms",
                                                            },
                                                            {
                                                              type: "string",
                                                              const: "s",
                                                            },
                                                          ],
                                                        },
                                                      },
                                                      required: [
                                                        "type",
                                                        "value",
                                                        "unit",
                                                      ],
                                                    },
                                                    {
                                                      type: "object",
                                                      properties: {
                                                        type: {
                                                          type: "string",
                                                          const: "var",
                                                        },
                                                        value: {
                                                          type: "string",
                                                        },
                                                      },
                                                      required: [
                                                        "type",
                                                        "value",
                                                      ],
                                                    },
                                                  ],
                                                },
                                                iterations: {
                                                  anyOf: [
                                                    {
                                                      type: "number",
                                                    },
                                                    {
                                                      type: "string",
                                                      const: "infinite",
                                                    },
                                                  ],
                                                },
                                                rangeStart: {
                                                  type: "array",
                                                  prefixItems: [
                                                    {
                                                      anyOf: [
                                                        {
                                                          type: "string",
                                                          const: "contain",
                                                        },
                                                        {
                                                          type: "string",
                                                          const: "cover",
                                                        },
                                                        {
                                                          type: "string",
                                                          const: "entry",
                                                        },
                                                        {
                                                          type: "string",
                                                          const: "exit",
                                                        },
                                                        {
                                                          type: "string",
                                                          const:
                                                            "entry-crossing",
                                                        },
                                                        {
                                                          type: "string",
                                                          const:
                                                            "exit-crossing",
                                                        },
                                                      ],
                                                    },
                                                    {
                                                      anyOf: [
                                                        {
                                                          type: "object",
                                                          properties: {
                                                            type: {
                                                              type: "string",
                                                              const: "unit",
                                                            },
                                                            value: {
                                                              type: "number",
                                                            },
                                                            unit: {
                                                              anyOf: [
                                                                {
                                                                  type: "string",
                                                                  const: "%",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "px",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "cm",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "mm",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "q",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "in",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "pt",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "pc",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "em",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "rem",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "ex",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "rex",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "cap",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "rcap",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "ch",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "rch",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "lh",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "rlh",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "vw",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "svw",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "lvw",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "dvw",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "vh",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "svh",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "lvh",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "dvh",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "vi",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "svi",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "lvi",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "dvi",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "vb",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "svb",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "lvb",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "dvb",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "vmin",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const:
                                                                    "svmin",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const:
                                                                    "lvmin",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const:
                                                                    "dvmin",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "vmax",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const:
                                                                    "svmax",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const:
                                                                    "lvmax",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const:
                                                                    "dvmax",
                                                                },
                                                              ],
                                                            },
                                                          },
                                                          required: [
                                                            "type",
                                                            "value",
                                                            "unit",
                                                          ],
                                                        },
                                                        {
                                                          type: "object",
                                                          properties: {
                                                            type: {
                                                              type: "string",
                                                              const: "unparsed",
                                                            },
                                                            value: {
                                                              type: "string",
                                                            },
                                                          },
                                                          required: [
                                                            "type",
                                                            "value",
                                                          ],
                                                        },
                                                        {
                                                          type: "object",
                                                          properties: {
                                                            type: {
                                                              type: "string",
                                                              const: "var",
                                                            },
                                                            value: {
                                                              type: "string",
                                                            },
                                                          },
                                                          required: [
                                                            "type",
                                                            "value",
                                                          ],
                                                        },
                                                      ],
                                                    },
                                                  ],
                                                  minItems: 2,
                                                  maxItems: 2,
                                                },
                                                rangeEnd: {
                                                  type: "array",
                                                  prefixItems: [
                                                    {
                                                      anyOf: [
                                                        {
                                                          type: "string",
                                                          const: "contain",
                                                        },
                                                        {
                                                          type: "string",
                                                          const: "cover",
                                                        },
                                                        {
                                                          type: "string",
                                                          const: "entry",
                                                        },
                                                        {
                                                          type: "string",
                                                          const: "exit",
                                                        },
                                                        {
                                                          type: "string",
                                                          const:
                                                            "entry-crossing",
                                                        },
                                                        {
                                                          type: "string",
                                                          const:
                                                            "exit-crossing",
                                                        },
                                                      ],
                                                    },
                                                    {
                                                      anyOf: [
                                                        {
                                                          type: "object",
                                                          properties: {
                                                            type: {
                                                              type: "string",
                                                              const: "unit",
                                                            },
                                                            value: {
                                                              type: "number",
                                                            },
                                                            unit: {
                                                              anyOf: [
                                                                {
                                                                  type: "string",
                                                                  const: "%",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "px",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "cm",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "mm",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "q",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "in",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "pt",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "pc",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "em",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "rem",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "ex",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "rex",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "cap",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "rcap",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "ch",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "rch",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "lh",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "rlh",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "vw",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "svw",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "lvw",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "dvw",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "vh",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "svh",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "lvh",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "dvh",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "vi",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "svi",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "lvi",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "dvi",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "vb",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "svb",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "lvb",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "dvb",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "vmin",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const:
                                                                    "svmin",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const:
                                                                    "lvmin",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const:
                                                                    "dvmin",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "vmax",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const:
                                                                    "svmax",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const:
                                                                    "lvmax",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const:
                                                                    "dvmax",
                                                                },
                                                              ],
                                                            },
                                                          },
                                                          required: [
                                                            "type",
                                                            "value",
                                                            "unit",
                                                          ],
                                                        },
                                                        {
                                                          type: "object",
                                                          properties: {
                                                            type: {
                                                              type: "string",
                                                              const: "unparsed",
                                                            },
                                                            value: {
                                                              type: "string",
                                                            },
                                                          },
                                                          required: [
                                                            "type",
                                                            "value",
                                                          ],
                                                        },
                                                        {
                                                          type: "object",
                                                          properties: {
                                                            type: {
                                                              type: "string",
                                                              const: "var",
                                                            },
                                                            value: {
                                                              type: "string",
                                                            },
                                                          },
                                                          required: [
                                                            "type",
                                                            "value",
                                                          ],
                                                        },
                                                      ],
                                                    },
                                                  ],
                                                  minItems: 2,
                                                  maxItems: 2,
                                                },
                                              },
                                              required: [],
                                            },
                                          },
                                          required: ["keyframes", "timing"],
                                        },
                                      },
                                      insetStart: {
                                        anyOf: [
                                          {
                                            anyOf: [
                                              {
                                                type: "object",
                                                properties: {
                                                  type: {
                                                    type: "string",
                                                    const: "unit",
                                                  },
                                                  value: {
                                                    type: "number",
                                                  },
                                                  unit: {
                                                    anyOf: [
                                                      {
                                                        type: "string",
                                                        const: "%",
                                                      },
                                                      {
                                                        type: "string",
                                                        const: "px",
                                                      },
                                                      {
                                                        type: "string",
                                                        const: "cm",
                                                      },
                                                      {
                                                        type: "string",
                                                        const: "mm",
                                                      },
                                                      {
                                                        type: "string",
                                                        const: "q",
                                                      },
                                                      {
                                                        type: "string",
                                                        const: "in",
                                                      },
                                                      {
                                                        type: "string",
                                                        const: "pt",
                                                      },
                                                      {
                                                        type: "string",
                                                        const: "pc",
                                                      },
                                                      {
                                                        type: "string",
                                                        const: "em",
                                                      },
                                                      {
                                                        type: "string",
                                                        const: "rem",
                                                      },
                                                      {
                                                        type: "string",
                                                        const: "ex",
                                                      },
                                                      {
                                                        type: "string",
                                                        const: "rex",
                                                      },
                                                      {
                                                        type: "string",
                                                        const: "cap",
                                                      },
                                                      {
                                                        type: "string",
                                                        const: "rcap",
                                                      },
                                                      {
                                                        type: "string",
                                                        const: "ch",
                                                      },
                                                      {
                                                        type: "string",
                                                        const: "rch",
                                                      },
                                                      {
                                                        type: "string",
                                                        const: "lh",
                                                      },
                                                      {
                                                        type: "string",
                                                        const: "rlh",
                                                      },
                                                      {
                                                        type: "string",
                                                        const: "vw",
                                                      },
                                                      {
                                                        type: "string",
                                                        const: "svw",
                                                      },
                                                      {
                                                        type: "string",
                                                        const: "lvw",
                                                      },
                                                      {
                                                        type: "string",
                                                        const: "dvw",
                                                      },
                                                      {
                                                        type: "string",
                                                        const: "vh",
                                                      },
                                                      {
                                                        type: "string",
                                                        const: "svh",
                                                      },
                                                      {
                                                        type: "string",
                                                        const: "lvh",
                                                      },
                                                      {
                                                        type: "string",
                                                        const: "dvh",
                                                      },
                                                      {
                                                        type: "string",
                                                        const: "vi",
                                                      },
                                                      {
                                                        type: "string",
                                                        const: "svi",
                                                      },
                                                      {
                                                        type: "string",
                                                        const: "lvi",
                                                      },
                                                      {
                                                        type: "string",
                                                        const: "dvi",
                                                      },
                                                      {
                                                        type: "string",
                                                        const: "vb",
                                                      },
                                                      {
                                                        type: "string",
                                                        const: "svb",
                                                      },
                                                      {
                                                        type: "string",
                                                        const: "lvb",
                                                      },
                                                      {
                                                        type: "string",
                                                        const: "dvb",
                                                      },
                                                      {
                                                        type: "string",
                                                        const: "vmin",
                                                      },
                                                      {
                                                        type: "string",
                                                        const: "svmin",
                                                      },
                                                      {
                                                        type: "string",
                                                        const: "lvmin",
                                                      },
                                                      {
                                                        type: "string",
                                                        const: "dvmin",
                                                      },
                                                      {
                                                        type: "string",
                                                        const: "vmax",
                                                      },
                                                      {
                                                        type: "string",
                                                        const: "svmax",
                                                      },
                                                      {
                                                        type: "string",
                                                        const: "lvmax",
                                                      },
                                                      {
                                                        type: "string",
                                                        const: "dvmax",
                                                      },
                                                    ],
                                                  },
                                                },
                                                required: [
                                                  "type",
                                                  "value",
                                                  "unit",
                                                ],
                                              },
                                              {
                                                type: "object",
                                                properties: {
                                                  type: {
                                                    type: "string",
                                                    const: "unparsed",
                                                  },
                                                  value: {
                                                    type: "string",
                                                  },
                                                },
                                                required: ["type", "value"],
                                              },
                                              {
                                                type: "object",
                                                properties: {
                                                  type: {
                                                    type: "string",
                                                    const: "var",
                                                  },
                                                  value: {
                                                    type: "string",
                                                  },
                                                },
                                                required: ["type", "value"],
                                              },
                                            ],
                                          },
                                          {
                                            type: "object",
                                            properties: {
                                              type: {
                                                type: "string",
                                                const: "keyword",
                                              },
                                              value: {
                                                type: "string",
                                                const: "auto",
                                              },
                                            },
                                            required: ["type", "value"],
                                          },
                                        ],
                                      },
                                      insetEnd: {
                                        anyOf: [
                                          {
                                            anyOf: [
                                              {
                                                type: "object",
                                                properties: {
                                                  type: {
                                                    type: "string",
                                                    const: "unit",
                                                  },
                                                  value: {
                                                    type: "number",
                                                  },
                                                  unit: {
                                                    anyOf: [
                                                      {
                                                        type: "string",
                                                        const: "%",
                                                      },
                                                      {
                                                        type: "string",
                                                        const: "px",
                                                      },
                                                      {
                                                        type: "string",
                                                        const: "cm",
                                                      },
                                                      {
                                                        type: "string",
                                                        const: "mm",
                                                      },
                                                      {
                                                        type: "string",
                                                        const: "q",
                                                      },
                                                      {
                                                        type: "string",
                                                        const: "in",
                                                      },
                                                      {
                                                        type: "string",
                                                        const: "pt",
                                                      },
                                                      {
                                                        type: "string",
                                                        const: "pc",
                                                      },
                                                      {
                                                        type: "string",
                                                        const: "em",
                                                      },
                                                      {
                                                        type: "string",
                                                        const: "rem",
                                                      },
                                                      {
                                                        type: "string",
                                                        const: "ex",
                                                      },
                                                      {
                                                        type: "string",
                                                        const: "rex",
                                                      },
                                                      {
                                                        type: "string",
                                                        const: "cap",
                                                      },
                                                      {
                                                        type: "string",
                                                        const: "rcap",
                                                      },
                                                      {
                                                        type: "string",
                                                        const: "ch",
                                                      },
                                                      {
                                                        type: "string",
                                                        const: "rch",
                                                      },
                                                      {
                                                        type: "string",
                                                        const: "lh",
                                                      },
                                                      {
                                                        type: "string",
                                                        const: "rlh",
                                                      },
                                                      {
                                                        type: "string",
                                                        const: "vw",
                                                      },
                                                      {
                                                        type: "string",
                                                        const: "svw",
                                                      },
                                                      {
                                                        type: "string",
                                                        const: "lvw",
                                                      },
                                                      {
                                                        type: "string",
                                                        const: "dvw",
                                                      },
                                                      {
                                                        type: "string",
                                                        const: "vh",
                                                      },
                                                      {
                                                        type: "string",
                                                        const: "svh",
                                                      },
                                                      {
                                                        type: "string",
                                                        const: "lvh",
                                                      },
                                                      {
                                                        type: "string",
                                                        const: "dvh",
                                                      },
                                                      {
                                                        type: "string",
                                                        const: "vi",
                                                      },
                                                      {
                                                        type: "string",
                                                        const: "svi",
                                                      },
                                                      {
                                                        type: "string",
                                                        const: "lvi",
                                                      },
                                                      {
                                                        type: "string",
                                                        const: "dvi",
                                                      },
                                                      {
                                                        type: "string",
                                                        const: "vb",
                                                      },
                                                      {
                                                        type: "string",
                                                        const: "svb",
                                                      },
                                                      {
                                                        type: "string",
                                                        const: "lvb",
                                                      },
                                                      {
                                                        type: "string",
                                                        const: "dvb",
                                                      },
                                                      {
                                                        type: "string",
                                                        const: "vmin",
                                                      },
                                                      {
                                                        type: "string",
                                                        const: "svmin",
                                                      },
                                                      {
                                                        type: "string",
                                                        const: "lvmin",
                                                      },
                                                      {
                                                        type: "string",
                                                        const: "dvmin",
                                                      },
                                                      {
                                                        type: "string",
                                                        const: "vmax",
                                                      },
                                                      {
                                                        type: "string",
                                                        const: "svmax",
                                                      },
                                                      {
                                                        type: "string",
                                                        const: "lvmax",
                                                      },
                                                      {
                                                        type: "string",
                                                        const: "dvmax",
                                                      },
                                                    ],
                                                  },
                                                },
                                                required: [
                                                  "type",
                                                  "value",
                                                  "unit",
                                                ],
                                              },
                                              {
                                                type: "object",
                                                properties: {
                                                  type: {
                                                    type: "string",
                                                    const: "unparsed",
                                                  },
                                                  value: {
                                                    type: "string",
                                                  },
                                                },
                                                required: ["type", "value"],
                                              },
                                              {
                                                type: "object",
                                                properties: {
                                                  type: {
                                                    type: "string",
                                                    const: "var",
                                                  },
                                                  value: {
                                                    type: "string",
                                                  },
                                                },
                                                required: ["type", "value"],
                                              },
                                            ],
                                          },
                                          {
                                            type: "object",
                                            properties: {
                                              type: {
                                                type: "string",
                                                const: "keyword",
                                              },
                                              value: {
                                                type: "string",
                                                const: "auto",
                                              },
                                            },
                                            required: ["type", "value"],
                                          },
                                        ],
                                      },
                                      isPinned: {
                                        type: "boolean",
                                      },
                                      debug: {
                                        type: "boolean",
                                      },
                                    },
                                    required: ["type", "animations"],
                                  },
                                ],
                              },
                            },
                            required: [
                              "id",
                              "instanceId",
                              "name",
                              "type",
                              "value",
                            ],
                          },
                        ],
                      },
                    },
                    breakpoints: {
                      type: "array",
                      items: {
                        type: "object",
                        properties: {
                          id: {
                            type: "string",
                          },
                          label: {
                            type: "string",
                          },
                          minWidth: {
                            type: "number",
                          },
                          maxWidth: {
                            type: "number",
                          },
                          condition: {
                            type: "string",
                          },
                        },
                        required: ["id", "label"],
                      },
                    },
                    styleSourceSelections: {
                      type: "array",
                      items: {
                        type: "object",
                        properties: {
                          instanceId: {
                            type: "string",
                          },
                          values: {
                            type: "array",
                            items: {
                              type: "string",
                            },
                          },
                        },
                        required: ["instanceId", "values"],
                      },
                    },
                    styleSources: {
                      type: "array",
                      items: {
                        anyOf: [
                          {
                            type: "object",
                            properties: {
                              type: {
                                type: "string",
                                const: "token",
                              },
                              id: {
                                type: "string",
                              },
                              name: {
                                type: "string",
                              },
                              locked: {
                                type: "boolean",
                              },
                            },
                            required: ["type", "id", "name"],
                          },
                          {
                            type: "object",
                            properties: {
                              type: {
                                type: "string",
                                const: "local",
                              },
                              id: {
                                type: "string",
                              },
                            },
                            required: ["type", "id"],
                          },
                        ],
                      },
                    },
                    styles: {
                      type: "array",
                      items: {
                        type: "object",
                        properties: {
                          styleSourceId: {
                            type: "string",
                          },
                          breakpointId: {
                            type: "string",
                          },
                          state: {
                            type: "string",
                          },
                          property: {
                            type: "string",
                          },
                          value: {
                            $ref: "#/$defs/__schema0",
                          },
                          listed: {
                            description:
                              "Whether the style is from the Advanced panel",
                            type: "boolean",
                          },
                        },
                        required: [
                          "styleSourceId",
                          "breakpointId",
                          "property",
                          "value",
                        ],
                      },
                    },
                    referenceTokenIds: {
                      type: "array",
                      items: {
                        type: "string",
                      },
                    },
                  },
                  required: [
                    "children",
                    "instances",
                    "assets",
                    "dataSources",
                    "resources",
                    "props",
                    "breakpoints",
                    "styleSourceSelections",
                    "styleSources",
                    "styles",
                  ],
                },
                bodyFragment: {
                  type: "object",
                  properties: {
                    children: {
                      type: "array",
                      items: {
                        anyOf: [
                          {
                            type: "object",
                            properties: {
                              type: {
                                type: "string",
                                const: "id",
                              },
                              value: {
                                type: "string",
                              },
                            },
                            required: ["type", "value"],
                          },
                          {
                            type: "object",
                            properties: {
                              type: {
                                type: "string",
                                const: "text",
                              },
                              value: {
                                type: "string",
                              },
                              placeholder: {
                                type: "boolean",
                              },
                            },
                            required: ["type", "value"],
                          },
                          {
                            type: "object",
                            properties: {
                              type: {
                                type: "string",
                                const: "expression",
                              },
                              value: {
                                type: "string",
                              },
                              mode: {
                                type: "string",
                                enum: ["read", "readwrite"],
                                description:
                                  'Use "readwrite" only for a direct path into a source that supports writes; use "read" for every other expression.',
                              },
                            },
                            required: ["type", "value"],
                          },
                        ],
                      },
                    },
                    instances: {
                      type: "array",
                      items: {
                        type: "object",
                        properties: {
                          type: {
                            type: "string",
                            const: "instance",
                          },
                          id: {
                            type: "string",
                          },
                          component: {
                            type: "string",
                            minLength: 1,
                          },
                          tag: {
                            type: "string",
                            minLength: 1,
                            description:
                              "Optional HTML tag override for component rendering. Omit for component defaults; never pass an empty string.",
                          },
                          name: {
                            type: "string",
                            minLength: 1,
                          },
                          label: {
                            type: "string",
                          },
                          children: {
                            type: "array",
                            items: {
                              anyOf: [
                                {
                                  type: "object",
                                  properties: {
                                    type: {
                                      type: "string",
                                      const: "id",
                                    },
                                    value: {
                                      type: "string",
                                    },
                                  },
                                  required: ["type", "value"],
                                },
                                {
                                  type: "object",
                                  properties: {
                                    type: {
                                      type: "string",
                                      const: "text",
                                    },
                                    value: {
                                      type: "string",
                                    },
                                    placeholder: {
                                      type: "boolean",
                                    },
                                  },
                                  required: ["type", "value"],
                                },
                                {
                                  type: "object",
                                  properties: {
                                    type: {
                                      type: "string",
                                      const: "expression",
                                    },
                                    value: {
                                      type: "string",
                                    },
                                    mode: {
                                      type: "string",
                                      enum: ["read", "readwrite"],
                                      description:
                                        'Use "readwrite" only for a direct path into a source that supports writes; use "read" for every other expression.',
                                    },
                                  },
                                  required: ["type", "value"],
                                },
                              ],
                            },
                          },
                        },
                        required: ["type", "id", "component", "children"],
                      },
                    },
                    assets: {
                      type: "array",
                      items: {
                        anyOf: [
                          {
                            type: "object",
                            properties: {
                              id: {
                                type: "string",
                              },
                              size: {
                                type: "number",
                              },
                              name: {
                                type: "string",
                              },
                              filename: {
                                type: "string",
                              },
                              description: {
                                anyOf: [
                                  {
                                    type: "string",
                                  },
                                  {
                                    type: "null",
                                  },
                                ],
                              },
                              folderId: {
                                type: "string",
                                minLength: 1,
                                maxLength: 256,
                              },
                              createdAt: {
                                type: "string",
                              },
                              updatedAt: {
                                type: "string",
                              },
                              format: {
                                anyOf: [
                                  {
                                    type: "string",
                                    const: "ttf",
                                  },
                                  {
                                    type: "string",
                                    const: "woff",
                                  },
                                  {
                                    type: "string",
                                    const: "woff2",
                                  },
                                ],
                              },
                              meta: {
                                anyOf: [
                                  {
                                    type: "object",
                                    properties: {
                                      family: {
                                        type: "string",
                                      },
                                      style: {
                                        type: "string",
                                        enum: ["normal", "italic", "oblique"],
                                      },
                                      weight: {
                                        type: "number",
                                      },
                                    },
                                    required: ["family", "style", "weight"],
                                  },
                                  {
                                    type: "object",
                                    properties: {
                                      family: {
                                        type: "string",
                                      },
                                      style: {
                                        default: "normal",
                                        type: "string",
                                        enum: ["normal", "italic", "oblique"],
                                      },
                                      variationAxes: {
                                        type: "object",
                                        propertyNames: {
                                          type: "string",
                                          minLength: 4,
                                          maxLength: 4,
                                          pattern: "^[A-Za-z][A-Za-z0-9]* *$",
                                        },
                                        additionalProperties: {
                                          type: "object",
                                          properties: {
                                            name: {
                                              type: "string",
                                            },
                                            min: {
                                              type: "number",
                                            },
                                            default: {
                                              type: "number",
                                            },
                                            max: {
                                              type: "number",
                                            },
                                          },
                                          required: [
                                            "name",
                                            "min",
                                            "default",
                                            "max",
                                          ],
                                        },
                                      },
                                    },
                                    required: ["family", "variationAxes"],
                                  },
                                ],
                              },
                              type: {
                                type: "string",
                                const: "font",
                              },
                            },
                            required: [
                              "id",
                              "size",
                              "name",
                              "createdAt",
                              "format",
                              "meta",
                              "type",
                            ],
                          },
                          {
                            type: "object",
                            properties: {
                              id: {
                                type: "string",
                              },
                              size: {
                                type: "number",
                              },
                              name: {
                                type: "string",
                              },
                              filename: {
                                type: "string",
                              },
                              description: {
                                anyOf: [
                                  {
                                    type: "string",
                                  },
                                  {
                                    type: "null",
                                  },
                                ],
                              },
                              folderId: {
                                type: "string",
                                minLength: 1,
                                maxLength: 256,
                              },
                              createdAt: {
                                type: "string",
                              },
                              updatedAt: {
                                type: "string",
                              },
                              format: {
                                type: "string",
                              },
                              meta: {
                                type: "object",
                                properties: {
                                  width: {
                                    type: "number",
                                  },
                                  height: {
                                    type: "number",
                                  },
                                },
                                required: ["width", "height"],
                              },
                              type: {
                                type: "string",
                                const: "image",
                              },
                            },
                            required: [
                              "id",
                              "size",
                              "name",
                              "createdAt",
                              "format",
                              "meta",
                              "type",
                            ],
                          },
                          {
                            type: "object",
                            properties: {
                              id: {
                                type: "string",
                              },
                              size: {
                                type: "number",
                              },
                              name: {
                                type: "string",
                              },
                              filename: {
                                type: "string",
                              },
                              description: {
                                anyOf: [
                                  {
                                    type: "string",
                                  },
                                  {
                                    type: "null",
                                  },
                                ],
                              },
                              folderId: {
                                type: "string",
                                minLength: 1,
                                maxLength: 256,
                              },
                              createdAt: {
                                type: "string",
                              },
                              updatedAt: {
                                type: "string",
                              },
                              format: {
                                type: "string",
                              },
                              meta: {
                                type: "object",
                                properties: {
                                  width: {
                                    type: "number",
                                  },
                                  height: {
                                    type: "number",
                                  },
                                },
                                required: ["width", "height"],
                              },
                              type: {
                                type: "string",
                                const: "video",
                              },
                            },
                            required: [
                              "id",
                              "size",
                              "name",
                              "createdAt",
                              "format",
                              "meta",
                              "type",
                            ],
                          },
                          {
                            type: "object",
                            properties: {
                              id: {
                                type: "string",
                              },
                              size: {
                                type: "number",
                              },
                              name: {
                                type: "string",
                              },
                              filename: {
                                type: "string",
                              },
                              description: {
                                anyOf: [
                                  {
                                    type: "string",
                                  },
                                  {
                                    type: "null",
                                  },
                                ],
                              },
                              folderId: {
                                type: "string",
                                minLength: 1,
                                maxLength: 256,
                              },
                              createdAt: {
                                type: "string",
                              },
                              updatedAt: {
                                type: "string",
                              },
                              format: {
                                type: "string",
                              },
                              meta: {
                                type: "object",
                                properties: {},
                                required: [],
                                additionalProperties: true,
                              },
                              type: {
                                type: "string",
                                const: "file",
                              },
                            },
                            required: [
                              "id",
                              "size",
                              "name",
                              "createdAt",
                              "format",
                              "meta",
                              "type",
                            ],
                          },
                        ],
                      },
                    },
                    dataSources: {
                      type: "array",
                      items: {
                        anyOf: [
                          {
                            type: "object",
                            properties: {
                              type: {
                                type: "string",
                                const: "variable",
                              },
                              id: {
                                type: "string",
                              },
                              scopeInstanceId: {
                                type: "string",
                              },
                              name: {
                                type: "string",
                              },
                              value: {
                                anyOf: [
                                  {
                                    type: "object",
                                    properties: {
                                      type: {
                                        type: "string",
                                        const: "number",
                                      },
                                      value: {
                                        type: "number",
                                      },
                                    },
                                    required: ["type", "value"],
                                  },
                                  {
                                    type: "object",
                                    properties: {
                                      type: {
                                        type: "string",
                                        const: "string",
                                      },
                                      value: {
                                        type: "string",
                                      },
                                    },
                                    required: ["type", "value"],
                                  },
                                  {
                                    type: "object",
                                    properties: {
                                      type: {
                                        type: "string",
                                        const: "boolean",
                                      },
                                      value: {
                                        type: "boolean",
                                      },
                                    },
                                    required: ["type", "value"],
                                  },
                                  {
                                    type: "object",
                                    properties: {
                                      type: {
                                        type: "string",
                                        const: "json",
                                      },
                                      value: {},
                                    },
                                    required: ["type"],
                                  },
                                ],
                              },
                            },
                            required: ["type", "id", "name", "value"],
                          },
                          {
                            type: "object",
                            properties: {
                              type: {
                                type: "string",
                                const: "parameter",
                              },
                              id: {
                                type: "string",
                              },
                              scopeInstanceId: {
                                type: "string",
                              },
                              name: {
                                type: "string",
                              },
                            },
                            required: ["type", "id", "name"],
                          },
                          {
                            type: "object",
                            properties: {
                              type: {
                                type: "string",
                                const: "resource",
                              },
                              id: {
                                type: "string",
                              },
                              scopeInstanceId: {
                                type: "string",
                              },
                              name: {
                                type: "string",
                              },
                              resourceId: {
                                type: "string",
                              },
                            },
                            required: ["type", "id", "name", "resourceId"],
                          },
                        ],
                      },
                    },
                    resources: {
                      type: "array",
                      items: {
                        type: "object",
                        properties: {
                          id: {
                            type: "string",
                          },
                          name: {
                            type: "string",
                          },
                          control: {
                            anyOf: [
                              {
                                type: "string",
                                const: "system",
                              },
                              {
                                type: "string",
                                const: "graphql",
                              },
                              {
                                type: "string",
                                const: "email",
                              },
                            ],
                          },
                          email: {
                            type: "object",
                            properties: {
                              recipientMode: {
                                type: "string",
                                enum: ["project", "custom", "visitor"],
                              },
                              recipients: {
                                type: "string",
                              },
                              visitorEmailField: {
                                type: "string",
                              },
                              sender: {
                                type: "string",
                              },
                              senderExpression: {
                                type: "string",
                              },
                              recipientsExpression: {
                                type: "string",
                              },
                              subject: {
                                type: "string",
                              },
                              body: {
                                type: "string",
                              },
                              confirmationSubject: {
                                type: "string",
                                enum: ["formSubject", "default"],
                              },
                              confirmationBody: {
                                type: "string",
                                const: "default",
                              },
                              includeAttachments: {
                                type: "boolean",
                              },
                            },
                            required: [],
                          },
                          method: {
                            anyOf: [
                              {
                                type: "string",
                                const: "get",
                              },
                              {
                                type: "string",
                                const: "post",
                              },
                              {
                                type: "string",
                                const: "put",
                              },
                              {
                                type: "string",
                                const: "delete",
                              },
                            ],
                          },
                          url: {
                            type: "string",
                          },
                          searchParams: {
                            type: "array",
                            items: {
                              type: "object",
                              properties: {
                                name: {
                                  type: "string",
                                },
                                value: {
                                  type: "string",
                                },
                              },
                              required: ["name", "value"],
                            },
                          },
                          headers: {
                            type: "array",
                            items: {
                              type: "object",
                              properties: {
                                name: {
                                  type: "string",
                                },
                                value: {
                                  type: "string",
                                },
                              },
                              required: ["name", "value"],
                            },
                          },
                          body: {
                            type: "string",
                          },
                          bodyFormat: {
                            type: "string",
                            enum: ["auto", "json", "multipart"],
                          },
                        },
                        required: ["id", "name", "method", "url", "headers"],
                      },
                    },
                    props: {
                      type: "array",
                      items: {
                        anyOf: [
                          {
                            type: "object",
                            properties: {
                              id: {
                                type: "string",
                              },
                              instanceId: {
                                type: "string",
                              },
                              name: {
                                type: "string",
                              },
                              required: {
                                type: "boolean",
                              },
                              type: {
                                type: "string",
                                const: "number",
                              },
                              value: {
                                type: "number",
                              },
                            },
                            required: [
                              "id",
                              "instanceId",
                              "name",
                              "type",
                              "value",
                            ],
                          },
                          {
                            type: "object",
                            properties: {
                              id: {
                                type: "string",
                              },
                              instanceId: {
                                type: "string",
                              },
                              name: {
                                type: "string",
                              },
                              required: {
                                type: "boolean",
                              },
                              type: {
                                type: "string",
                                const: "string",
                              },
                              value: {
                                type: "string",
                              },
                            },
                            required: [
                              "id",
                              "instanceId",
                              "name",
                              "type",
                              "value",
                            ],
                          },
                          {
                            type: "object",
                            properties: {
                              id: {
                                type: "string",
                              },
                              instanceId: {
                                type: "string",
                              },
                              name: {
                                type: "string",
                              },
                              required: {
                                type: "boolean",
                              },
                              type: {
                                type: "string",
                                const: "boolean",
                              },
                              value: {
                                type: "boolean",
                              },
                            },
                            required: [
                              "id",
                              "instanceId",
                              "name",
                              "type",
                              "value",
                            ],
                          },
                          {
                            type: "object",
                            properties: {
                              id: {
                                type: "string",
                              },
                              instanceId: {
                                type: "string",
                              },
                              name: {
                                type: "string",
                              },
                              required: {
                                type: "boolean",
                              },
                              type: {
                                type: "string",
                                const: "json",
                              },
                              value: {},
                            },
                            required: ["id", "instanceId", "name", "type"],
                          },
                          {
                            type: "object",
                            properties: {
                              id: {
                                type: "string",
                              },
                              instanceId: {
                                type: "string",
                              },
                              name: {
                                type: "string",
                              },
                              required: {
                                type: "boolean",
                              },
                              type: {
                                type: "string",
                                const: "asset",
                              },
                              value: {
                                type: "string",
                              },
                            },
                            required: [
                              "id",
                              "instanceId",
                              "name",
                              "type",
                              "value",
                            ],
                          },
                          {
                            type: "object",
                            properties: {
                              id: {
                                type: "string",
                              },
                              instanceId: {
                                type: "string",
                              },
                              name: {
                                type: "string",
                              },
                              required: {
                                type: "boolean",
                              },
                              type: {
                                type: "string",
                                const: "page",
                              },
                              value: {
                                anyOf: [
                                  {
                                    type: "string",
                                  },
                                  {
                                    type: "object",
                                    properties: {
                                      pageId: {
                                        type: "string",
                                      },
                                      instanceId: {
                                        type: "string",
                                      },
                                    },
                                    required: ["pageId", "instanceId"],
                                  },
                                ],
                              },
                            },
                            required: [
                              "id",
                              "instanceId",
                              "name",
                              "type",
                              "value",
                            ],
                          },
                          {
                            type: "object",
                            properties: {
                              id: {
                                type: "string",
                              },
                              instanceId: {
                                type: "string",
                              },
                              name: {
                                type: "string",
                              },
                              required: {
                                type: "boolean",
                              },
                              type: {
                                type: "string",
                                const: "string[]",
                              },
                              value: {
                                type: "array",
                                items: {
                                  type: "string",
                                },
                              },
                            },
                            required: [
                              "id",
                              "instanceId",
                              "name",
                              "type",
                              "value",
                            ],
                          },
                          {
                            type: "object",
                            properties: {
                              id: {
                                type: "string",
                              },
                              instanceId: {
                                type: "string",
                              },
                              name: {
                                type: "string",
                              },
                              required: {
                                type: "boolean",
                              },
                              type: {
                                type: "string",
                                const: "parameter",
                              },
                              value: {
                                type: "string",
                              },
                            },
                            required: [
                              "id",
                              "instanceId",
                              "name",
                              "type",
                              "value",
                            ],
                          },
                          {
                            type: "object",
                            properties: {
                              id: {
                                type: "string",
                              },
                              instanceId: {
                                type: "string",
                              },
                              name: {
                                type: "string",
                              },
                              required: {
                                type: "boolean",
                              },
                              type: {
                                type: "string",
                                const: "resource",
                              },
                              value: {
                                type: "string",
                              },
                            },
                            required: [
                              "id",
                              "instanceId",
                              "name",
                              "type",
                              "value",
                            ],
                          },
                          {
                            type: "object",
                            properties: {
                              id: {
                                type: "string",
                              },
                              instanceId: {
                                type: "string",
                              },
                              name: {
                                type: "string",
                              },
                              required: {
                                type: "boolean",
                              },
                              type: {
                                type: "string",
                                const: "expression",
                              },
                              value: {
                                type: "string",
                              },
                              mode: {
                                type: "string",
                                enum: ["read", "readwrite"],
                                description:
                                  'Use "readwrite" only for a direct path into a source that supports writes; use "read" for every other expression.',
                              },
                            },
                            required: [
                              "id",
                              "instanceId",
                              "name",
                              "type",
                              "value",
                            ],
                          },
                          {
                            type: "object",
                            properties: {
                              id: {
                                type: "string",
                              },
                              instanceId: {
                                type: "string",
                              },
                              name: {
                                type: "string",
                              },
                              required: {
                                type: "boolean",
                              },
                              type: {
                                type: "string",
                                const: "action",
                              },
                              value: {
                                type: "array",
                                items: {
                                  type: "object",
                                  properties: {
                                    type: {
                                      type: "string",
                                      const: "execute",
                                    },
                                    args: {
                                      type: "array",
                                      items: {
                                        type: "string",
                                      },
                                    },
                                    code: {
                                      type: "string",
                                    },
                                  },
                                  required: ["type", "args", "code"],
                                },
                              },
                            },
                            required: [
                              "id",
                              "instanceId",
                              "name",
                              "type",
                              "value",
                            ],
                          },
                          {
                            type: "object",
                            properties: {
                              id: {
                                type: "string",
                              },
                              instanceId: {
                                type: "string",
                              },
                              name: {
                                type: "string",
                              },
                              required: {
                                type: "boolean",
                              },
                              type: {
                                type: "string",
                                const: "animationAction",
                              },
                              value: {
                                oneOf: [
                                  {
                                    type: "object",
                                    properties: {
                                      type: {
                                        type: "string",
                                        const: "scroll",
                                      },
                                      source: {
                                        anyOf: [
                                          {
                                            type: "string",
                                            const: "closest",
                                          },
                                          {
                                            type: "string",
                                            const: "nearest",
                                          },
                                          {
                                            type: "string",
                                            const: "root",
                                          },
                                        ],
                                      },
                                      axis: {
                                        anyOf: [
                                          {
                                            type: "string",
                                            const: "block",
                                          },
                                          {
                                            type: "string",
                                            const: "inline",
                                          },
                                          {
                                            type: "string",
                                            const: "x",
                                          },
                                          {
                                            type: "string",
                                            const: "y",
                                          },
                                        ],
                                      },
                                      animations: {
                                        type: "array",
                                        items: {
                                          type: "object",
                                          properties: {
                                            name: {
                                              type: "string",
                                            },
                                            description: {
                                              type: "string",
                                            },
                                            enabled: {
                                              type: "array",
                                              items: {
                                                type: "array",
                                                prefixItems: [
                                                  {
                                                    type: "string",
                                                    description: "breakpointId",
                                                  },
                                                  {
                                                    type: "boolean",
                                                  },
                                                ],
                                                minItems: 2,
                                                maxItems: 2,
                                              },
                                            },
                                            keyframes: {
                                              type: "array",
                                              items: {
                                                type: "object",
                                                properties: {
                                                  offset: {
                                                    type: "number",
                                                  },
                                                  styles: {
                                                    type: "object",
                                                    propertyNames: {
                                                      type: "string",
                                                    },
                                                    additionalProperties: {
                                                      $ref: "#/$defs/__schema0",
                                                    },
                                                  },
                                                },
                                                required: ["styles"],
                                              },
                                            },
                                            timing: {
                                              type: "object",
                                              properties: {
                                                easing: {
                                                  type: "string",
                                                },
                                                fill: {
                                                  anyOf: [
                                                    {
                                                      type: "string",
                                                      const: "none",
                                                    },
                                                    {
                                                      type: "string",
                                                      const: "forwards",
                                                    },
                                                    {
                                                      type: "string",
                                                      const: "backwards",
                                                    },
                                                    {
                                                      type: "string",
                                                      const: "both",
                                                    },
                                                  ],
                                                },
                                                duration: {
                                                  anyOf: [
                                                    {
                                                      type: "object",
                                                      properties: {
                                                        type: {
                                                          type: "string",
                                                          const: "unit",
                                                        },
                                                        value: {
                                                          type: "number",
                                                        },
                                                        unit: {
                                                          anyOf: [
                                                            {
                                                              type: "string",
                                                              const: "ms",
                                                            },
                                                            {
                                                              type: "string",
                                                              const: "s",
                                                            },
                                                          ],
                                                        },
                                                      },
                                                      required: [
                                                        "type",
                                                        "value",
                                                        "unit",
                                                      ],
                                                    },
                                                    {
                                                      type: "object",
                                                      properties: {
                                                        type: {
                                                          type: "string",
                                                          const: "var",
                                                        },
                                                        value: {
                                                          type: "string",
                                                        },
                                                      },
                                                      required: [
                                                        "type",
                                                        "value",
                                                      ],
                                                    },
                                                  ],
                                                },
                                                delay: {
                                                  anyOf: [
                                                    {
                                                      type: "object",
                                                      properties: {
                                                        type: {
                                                          type: "string",
                                                          const: "unit",
                                                        },
                                                        value: {
                                                          type: "number",
                                                        },
                                                        unit: {
                                                          anyOf: [
                                                            {
                                                              type: "string",
                                                              const: "ms",
                                                            },
                                                            {
                                                              type: "string",
                                                              const: "s",
                                                            },
                                                          ],
                                                        },
                                                      },
                                                      required: [
                                                        "type",
                                                        "value",
                                                        "unit",
                                                      ],
                                                    },
                                                    {
                                                      type: "object",
                                                      properties: {
                                                        type: {
                                                          type: "string",
                                                          const: "var",
                                                        },
                                                        value: {
                                                          type: "string",
                                                        },
                                                      },
                                                      required: [
                                                        "type",
                                                        "value",
                                                      ],
                                                    },
                                                  ],
                                                },
                                                iterations: {
                                                  anyOf: [
                                                    {
                                                      type: "number",
                                                    },
                                                    {
                                                      type: "string",
                                                      const: "infinite",
                                                    },
                                                  ],
                                                },
                                                rangeStart: {
                                                  type: "array",
                                                  prefixItems: [
                                                    {
                                                      anyOf: [
                                                        {
                                                          type: "string",
                                                          const: "start",
                                                        },
                                                        {
                                                          type: "string",
                                                          const: "end",
                                                        },
                                                      ],
                                                    },
                                                    {
                                                      anyOf: [
                                                        {
                                                          type: "object",
                                                          properties: {
                                                            type: {
                                                              type: "string",
                                                              const: "unit",
                                                            },
                                                            value: {
                                                              type: "number",
                                                            },
                                                            unit: {
                                                              anyOf: [
                                                                {
                                                                  type: "string",
                                                                  const: "%",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "px",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "cm",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "mm",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "q",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "in",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "pt",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "pc",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "em",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "rem",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "ex",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "rex",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "cap",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "rcap",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "ch",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "rch",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "lh",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "rlh",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "vw",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "svw",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "lvw",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "dvw",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "vh",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "svh",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "lvh",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "dvh",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "vi",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "svi",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "lvi",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "dvi",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "vb",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "svb",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "lvb",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "dvb",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "vmin",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const:
                                                                    "svmin",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const:
                                                                    "lvmin",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const:
                                                                    "dvmin",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "vmax",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const:
                                                                    "svmax",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const:
                                                                    "lvmax",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const:
                                                                    "dvmax",
                                                                },
                                                              ],
                                                            },
                                                          },
                                                          required: [
                                                            "type",
                                                            "value",
                                                            "unit",
                                                          ],
                                                        },
                                                        {
                                                          type: "object",
                                                          properties: {
                                                            type: {
                                                              type: "string",
                                                              const: "unparsed",
                                                            },
                                                            value: {
                                                              type: "string",
                                                            },
                                                          },
                                                          required: [
                                                            "type",
                                                            "value",
                                                          ],
                                                        },
                                                        {
                                                          type: "object",
                                                          properties: {
                                                            type: {
                                                              type: "string",
                                                              const: "var",
                                                            },
                                                            value: {
                                                              type: "string",
                                                            },
                                                          },
                                                          required: [
                                                            "type",
                                                            "value",
                                                          ],
                                                        },
                                                      ],
                                                    },
                                                  ],
                                                  minItems: 2,
                                                  maxItems: 2,
                                                },
                                                rangeEnd: {
                                                  type: "array",
                                                  prefixItems: [
                                                    {
                                                      anyOf: [
                                                        {
                                                          type: "string",
                                                          const: "start",
                                                        },
                                                        {
                                                          type: "string",
                                                          const: "end",
                                                        },
                                                      ],
                                                    },
                                                    {
                                                      anyOf: [
                                                        {
                                                          type: "object",
                                                          properties: {
                                                            type: {
                                                              type: "string",
                                                              const: "unit",
                                                            },
                                                            value: {
                                                              type: "number",
                                                            },
                                                            unit: {
                                                              anyOf: [
                                                                {
                                                                  type: "string",
                                                                  const: "%",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "px",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "cm",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "mm",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "q",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "in",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "pt",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "pc",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "em",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "rem",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "ex",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "rex",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "cap",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "rcap",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "ch",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "rch",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "lh",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "rlh",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "vw",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "svw",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "lvw",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "dvw",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "vh",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "svh",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "lvh",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "dvh",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "vi",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "svi",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "lvi",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "dvi",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "vb",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "svb",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "lvb",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "dvb",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "vmin",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const:
                                                                    "svmin",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const:
                                                                    "lvmin",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const:
                                                                    "dvmin",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "vmax",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const:
                                                                    "svmax",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const:
                                                                    "lvmax",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const:
                                                                    "dvmax",
                                                                },
                                                              ],
                                                            },
                                                          },
                                                          required: [
                                                            "type",
                                                            "value",
                                                            "unit",
                                                          ],
                                                        },
                                                        {
                                                          type: "object",
                                                          properties: {
                                                            type: {
                                                              type: "string",
                                                              const: "unparsed",
                                                            },
                                                            value: {
                                                              type: "string",
                                                            },
                                                          },
                                                          required: [
                                                            "type",
                                                            "value",
                                                          ],
                                                        },
                                                        {
                                                          type: "object",
                                                          properties: {
                                                            type: {
                                                              type: "string",
                                                              const: "var",
                                                            },
                                                            value: {
                                                              type: "string",
                                                            },
                                                          },
                                                          required: [
                                                            "type",
                                                            "value",
                                                          ],
                                                        },
                                                      ],
                                                    },
                                                  ],
                                                  minItems: 2,
                                                  maxItems: 2,
                                                },
                                              },
                                              required: [],
                                            },
                                          },
                                          required: ["keyframes", "timing"],
                                        },
                                      },
                                      isPinned: {
                                        type: "boolean",
                                      },
                                      debug: {
                                        type: "boolean",
                                      },
                                    },
                                    required: ["type", "animations"],
                                  },
                                  {
                                    type: "object",
                                    properties: {
                                      type: {
                                        type: "string",
                                        const: "view",
                                      },
                                      subject: {
                                        type: "string",
                                      },
                                      axis: {
                                        anyOf: [
                                          {
                                            type: "string",
                                            const: "block",
                                          },
                                          {
                                            type: "string",
                                            const: "inline",
                                          },
                                          {
                                            type: "string",
                                            const: "x",
                                          },
                                          {
                                            type: "string",
                                            const: "y",
                                          },
                                        ],
                                      },
                                      animations: {
                                        type: "array",
                                        items: {
                                          type: "object",
                                          properties: {
                                            name: {
                                              type: "string",
                                            },
                                            description: {
                                              type: "string",
                                            },
                                            enabled: {
                                              type: "array",
                                              items: {
                                                type: "array",
                                                prefixItems: [
                                                  {
                                                    type: "string",
                                                    description: "breakpointId",
                                                  },
                                                  {
                                                    type: "boolean",
                                                  },
                                                ],
                                                minItems: 2,
                                                maxItems: 2,
                                              },
                                            },
                                            keyframes: {
                                              type: "array",
                                              items: {
                                                type: "object",
                                                properties: {
                                                  offset: {
                                                    type: "number",
                                                  },
                                                  styles: {
                                                    type: "object",
                                                    propertyNames: {
                                                      type: "string",
                                                    },
                                                    additionalProperties: {
                                                      $ref: "#/$defs/__schema0",
                                                    },
                                                  },
                                                },
                                                required: ["styles"],
                                              },
                                            },
                                            timing: {
                                              type: "object",
                                              properties: {
                                                easing: {
                                                  type: "string",
                                                },
                                                fill: {
                                                  anyOf: [
                                                    {
                                                      type: "string",
                                                      const: "none",
                                                    },
                                                    {
                                                      type: "string",
                                                      const: "forwards",
                                                    },
                                                    {
                                                      type: "string",
                                                      const: "backwards",
                                                    },
                                                    {
                                                      type: "string",
                                                      const: "both",
                                                    },
                                                  ],
                                                },
                                                duration: {
                                                  anyOf: [
                                                    {
                                                      type: "object",
                                                      properties: {
                                                        type: {
                                                          type: "string",
                                                          const: "unit",
                                                        },
                                                        value: {
                                                          type: "number",
                                                        },
                                                        unit: {
                                                          anyOf: [
                                                            {
                                                              type: "string",
                                                              const: "ms",
                                                            },
                                                            {
                                                              type: "string",
                                                              const: "s",
                                                            },
                                                          ],
                                                        },
                                                      },
                                                      required: [
                                                        "type",
                                                        "value",
                                                        "unit",
                                                      ],
                                                    },
                                                    {
                                                      type: "object",
                                                      properties: {
                                                        type: {
                                                          type: "string",
                                                          const: "var",
                                                        },
                                                        value: {
                                                          type: "string",
                                                        },
                                                      },
                                                      required: [
                                                        "type",
                                                        "value",
                                                      ],
                                                    },
                                                  ],
                                                },
                                                delay: {
                                                  anyOf: [
                                                    {
                                                      type: "object",
                                                      properties: {
                                                        type: {
                                                          type: "string",
                                                          const: "unit",
                                                        },
                                                        value: {
                                                          type: "number",
                                                        },
                                                        unit: {
                                                          anyOf: [
                                                            {
                                                              type: "string",
                                                              const: "ms",
                                                            },
                                                            {
                                                              type: "string",
                                                              const: "s",
                                                            },
                                                          ],
                                                        },
                                                      },
                                                      required: [
                                                        "type",
                                                        "value",
                                                        "unit",
                                                      ],
                                                    },
                                                    {
                                                      type: "object",
                                                      properties: {
                                                        type: {
                                                          type: "string",
                                                          const: "var",
                                                        },
                                                        value: {
                                                          type: "string",
                                                        },
                                                      },
                                                      required: [
                                                        "type",
                                                        "value",
                                                      ],
                                                    },
                                                  ],
                                                },
                                                iterations: {
                                                  anyOf: [
                                                    {
                                                      type: "number",
                                                    },
                                                    {
                                                      type: "string",
                                                      const: "infinite",
                                                    },
                                                  ],
                                                },
                                                rangeStart: {
                                                  type: "array",
                                                  prefixItems: [
                                                    {
                                                      anyOf: [
                                                        {
                                                          type: "string",
                                                          const: "contain",
                                                        },
                                                        {
                                                          type: "string",
                                                          const: "cover",
                                                        },
                                                        {
                                                          type: "string",
                                                          const: "entry",
                                                        },
                                                        {
                                                          type: "string",
                                                          const: "exit",
                                                        },
                                                        {
                                                          type: "string",
                                                          const:
                                                            "entry-crossing",
                                                        },
                                                        {
                                                          type: "string",
                                                          const:
                                                            "exit-crossing",
                                                        },
                                                      ],
                                                    },
                                                    {
                                                      anyOf: [
                                                        {
                                                          type: "object",
                                                          properties: {
                                                            type: {
                                                              type: "string",
                                                              const: "unit",
                                                            },
                                                            value: {
                                                              type: "number",
                                                            },
                                                            unit: {
                                                              anyOf: [
                                                                {
                                                                  type: "string",
                                                                  const: "%",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "px",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "cm",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "mm",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "q",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "in",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "pt",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "pc",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "em",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "rem",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "ex",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "rex",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "cap",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "rcap",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "ch",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "rch",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "lh",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "rlh",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "vw",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "svw",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "lvw",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "dvw",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "vh",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "svh",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "lvh",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "dvh",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "vi",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "svi",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "lvi",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "dvi",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "vb",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "svb",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "lvb",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "dvb",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "vmin",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const:
                                                                    "svmin",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const:
                                                                    "lvmin",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const:
                                                                    "dvmin",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "vmax",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const:
                                                                    "svmax",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const:
                                                                    "lvmax",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const:
                                                                    "dvmax",
                                                                },
                                                              ],
                                                            },
                                                          },
                                                          required: [
                                                            "type",
                                                            "value",
                                                            "unit",
                                                          ],
                                                        },
                                                        {
                                                          type: "object",
                                                          properties: {
                                                            type: {
                                                              type: "string",
                                                              const: "unparsed",
                                                            },
                                                            value: {
                                                              type: "string",
                                                            },
                                                          },
                                                          required: [
                                                            "type",
                                                            "value",
                                                          ],
                                                        },
                                                        {
                                                          type: "object",
                                                          properties: {
                                                            type: {
                                                              type: "string",
                                                              const: "var",
                                                            },
                                                            value: {
                                                              type: "string",
                                                            },
                                                          },
                                                          required: [
                                                            "type",
                                                            "value",
                                                          ],
                                                        },
                                                      ],
                                                    },
                                                  ],
                                                  minItems: 2,
                                                  maxItems: 2,
                                                },
                                                rangeEnd: {
                                                  type: "array",
                                                  prefixItems: [
                                                    {
                                                      anyOf: [
                                                        {
                                                          type: "string",
                                                          const: "contain",
                                                        },
                                                        {
                                                          type: "string",
                                                          const: "cover",
                                                        },
                                                        {
                                                          type: "string",
                                                          const: "entry",
                                                        },
                                                        {
                                                          type: "string",
                                                          const: "exit",
                                                        },
                                                        {
                                                          type: "string",
                                                          const:
                                                            "entry-crossing",
                                                        },
                                                        {
                                                          type: "string",
                                                          const:
                                                            "exit-crossing",
                                                        },
                                                      ],
                                                    },
                                                    {
                                                      anyOf: [
                                                        {
                                                          type: "object",
                                                          properties: {
                                                            type: {
                                                              type: "string",
                                                              const: "unit",
                                                            },
                                                            value: {
                                                              type: "number",
                                                            },
                                                            unit: {
                                                              anyOf: [
                                                                {
                                                                  type: "string",
                                                                  const: "%",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "px",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "cm",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "mm",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "q",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "in",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "pt",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "pc",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "em",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "rem",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "ex",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "rex",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "cap",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "rcap",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "ch",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "rch",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "lh",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "rlh",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "vw",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "svw",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "lvw",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "dvw",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "vh",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "svh",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "lvh",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "dvh",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "vi",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "svi",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "lvi",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "dvi",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "vb",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "svb",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "lvb",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "dvb",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "vmin",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const:
                                                                    "svmin",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const:
                                                                    "lvmin",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const:
                                                                    "dvmin",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "vmax",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const:
                                                                    "svmax",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const:
                                                                    "lvmax",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const:
                                                                    "dvmax",
                                                                },
                                                              ],
                                                            },
                                                          },
                                                          required: [
                                                            "type",
                                                            "value",
                                                            "unit",
                                                          ],
                                                        },
                                                        {
                                                          type: "object",
                                                          properties: {
                                                            type: {
                                                              type: "string",
                                                              const: "unparsed",
                                                            },
                                                            value: {
                                                              type: "string",
                                                            },
                                                          },
                                                          required: [
                                                            "type",
                                                            "value",
                                                          ],
                                                        },
                                                        {
                                                          type: "object",
                                                          properties: {
                                                            type: {
                                                              type: "string",
                                                              const: "var",
                                                            },
                                                            value: {
                                                              type: "string",
                                                            },
                                                          },
                                                          required: [
                                                            "type",
                                                            "value",
                                                          ],
                                                        },
                                                      ],
                                                    },
                                                  ],
                                                  minItems: 2,
                                                  maxItems: 2,
                                                },
                                              },
                                              required: [],
                                            },
                                          },
                                          required: ["keyframes", "timing"],
                                        },
                                      },
                                      insetStart: {
                                        anyOf: [
                                          {
                                            anyOf: [
                                              {
                                                type: "object",
                                                properties: {
                                                  type: {
                                                    type: "string",
                                                    const: "unit",
                                                  },
                                                  value: {
                                                    type: "number",
                                                  },
                                                  unit: {
                                                    anyOf: [
                                                      {
                                                        type: "string",
                                                        const: "%",
                                                      },
                                                      {
                                                        type: "string",
                                                        const: "px",
                                                      },
                                                      {
                                                        type: "string",
                                                        const: "cm",
                                                      },
                                                      {
                                                        type: "string",
                                                        const: "mm",
                                                      },
                                                      {
                                                        type: "string",
                                                        const: "q",
                                                      },
                                                      {
                                                        type: "string",
                                                        const: "in",
                                                      },
                                                      {
                                                        type: "string",
                                                        const: "pt",
                                                      },
                                                      {
                                                        type: "string",
                                                        const: "pc",
                                                      },
                                                      {
                                                        type: "string",
                                                        const: "em",
                                                      },
                                                      {
                                                        type: "string",
                                                        const: "rem",
                                                      },
                                                      {
                                                        type: "string",
                                                        const: "ex",
                                                      },
                                                      {
                                                        type: "string",
                                                        const: "rex",
                                                      },
                                                      {
                                                        type: "string",
                                                        const: "cap",
                                                      },
                                                      {
                                                        type: "string",
                                                        const: "rcap",
                                                      },
                                                      {
                                                        type: "string",
                                                        const: "ch",
                                                      },
                                                      {
                                                        type: "string",
                                                        const: "rch",
                                                      },
                                                      {
                                                        type: "string",
                                                        const: "lh",
                                                      },
                                                      {
                                                        type: "string",
                                                        const: "rlh",
                                                      },
                                                      {
                                                        type: "string",
                                                        const: "vw",
                                                      },
                                                      {
                                                        type: "string",
                                                        const: "svw",
                                                      },
                                                      {
                                                        type: "string",
                                                        const: "lvw",
                                                      },
                                                      {
                                                        type: "string",
                                                        const: "dvw",
                                                      },
                                                      {
                                                        type: "string",
                                                        const: "vh",
                                                      },
                                                      {
                                                        type: "string",
                                                        const: "svh",
                                                      },
                                                      {
                                                        type: "string",
                                                        const: "lvh",
                                                      },
                                                      {
                                                        type: "string",
                                                        const: "dvh",
                                                      },
                                                      {
                                                        type: "string",
                                                        const: "vi",
                                                      },
                                                      {
                                                        type: "string",
                                                        const: "svi",
                                                      },
                                                      {
                                                        type: "string",
                                                        const: "lvi",
                                                      },
                                                      {
                                                        type: "string",
                                                        const: "dvi",
                                                      },
                                                      {
                                                        type: "string",
                                                        const: "vb",
                                                      },
                                                      {
                                                        type: "string",
                                                        const: "svb",
                                                      },
                                                      {
                                                        type: "string",
                                                        const: "lvb",
                                                      },
                                                      {
                                                        type: "string",
                                                        const: "dvb",
                                                      },
                                                      {
                                                        type: "string",
                                                        const: "vmin",
                                                      },
                                                      {
                                                        type: "string",
                                                        const: "svmin",
                                                      },
                                                      {
                                                        type: "string",
                                                        const: "lvmin",
                                                      },
                                                      {
                                                        type: "string",
                                                        const: "dvmin",
                                                      },
                                                      {
                                                        type: "string",
                                                        const: "vmax",
                                                      },
                                                      {
                                                        type: "string",
                                                        const: "svmax",
                                                      },
                                                      {
                                                        type: "string",
                                                        const: "lvmax",
                                                      },
                                                      {
                                                        type: "string",
                                                        const: "dvmax",
                                                      },
                                                    ],
                                                  },
                                                },
                                                required: [
                                                  "type",
                                                  "value",
                                                  "unit",
                                                ],
                                              },
                                              {
                                                type: "object",
                                                properties: {
                                                  type: {
                                                    type: "string",
                                                    const: "unparsed",
                                                  },
                                                  value: {
                                                    type: "string",
                                                  },
                                                },
                                                required: ["type", "value"],
                                              },
                                              {
                                                type: "object",
                                                properties: {
                                                  type: {
                                                    type: "string",
                                                    const: "var",
                                                  },
                                                  value: {
                                                    type: "string",
                                                  },
                                                },
                                                required: ["type", "value"],
                                              },
                                            ],
                                          },
                                          {
                                            type: "object",
                                            properties: {
                                              type: {
                                                type: "string",
                                                const: "keyword",
                                              },
                                              value: {
                                                type: "string",
                                                const: "auto",
                                              },
                                            },
                                            required: ["type", "value"],
                                          },
                                        ],
                                      },
                                      insetEnd: {
                                        anyOf: [
                                          {
                                            anyOf: [
                                              {
                                                type: "object",
                                                properties: {
                                                  type: {
                                                    type: "string",
                                                    const: "unit",
                                                  },
                                                  value: {
                                                    type: "number",
                                                  },
                                                  unit: {
                                                    anyOf: [
                                                      {
                                                        type: "string",
                                                        const: "%",
                                                      },
                                                      {
                                                        type: "string",
                                                        const: "px",
                                                      },
                                                      {
                                                        type: "string",
                                                        const: "cm",
                                                      },
                                                      {
                                                        type: "string",
                                                        const: "mm",
                                                      },
                                                      {
                                                        type: "string",
                                                        const: "q",
                                                      },
                                                      {
                                                        type: "string",
                                                        const: "in",
                                                      },
                                                      {
                                                        type: "string",
                                                        const: "pt",
                                                      },
                                                      {
                                                        type: "string",
                                                        const: "pc",
                                                      },
                                                      {
                                                        type: "string",
                                                        const: "em",
                                                      },
                                                      {
                                                        type: "string",
                                                        const: "rem",
                                                      },
                                                      {
                                                        type: "string",
                                                        const: "ex",
                                                      },
                                                      {
                                                        type: "string",
                                                        const: "rex",
                                                      },
                                                      {
                                                        type: "string",
                                                        const: "cap",
                                                      },
                                                      {
                                                        type: "string",
                                                        const: "rcap",
                                                      },
                                                      {
                                                        type: "string",
                                                        const: "ch",
                                                      },
                                                      {
                                                        type: "string",
                                                        const: "rch",
                                                      },
                                                      {
                                                        type: "string",
                                                        const: "lh",
                                                      },
                                                      {
                                                        type: "string",
                                                        const: "rlh",
                                                      },
                                                      {
                                                        type: "string",
                                                        const: "vw",
                                                      },
                                                      {
                                                        type: "string",
                                                        const: "svw",
                                                      },
                                                      {
                                                        type: "string",
                                                        const: "lvw",
                                                      },
                                                      {
                                                        type: "string",
                                                        const: "dvw",
                                                      },
                                                      {
                                                        type: "string",
                                                        const: "vh",
                                                      },
                                                      {
                                                        type: "string",
                                                        const: "svh",
                                                      },
                                                      {
                                                        type: "string",
                                                        const: "lvh",
                                                      },
                                                      {
                                                        type: "string",
                                                        const: "dvh",
                                                      },
                                                      {
                                                        type: "string",
                                                        const: "vi",
                                                      },
                                                      {
                                                        type: "string",
                                                        const: "svi",
                                                      },
                                                      {
                                                        type: "string",
                                                        const: "lvi",
                                                      },
                                                      {
                                                        type: "string",
                                                        const: "dvi",
                                                      },
                                                      {
                                                        type: "string",
                                                        const: "vb",
                                                      },
                                                      {
                                                        type: "string",
                                                        const: "svb",
                                                      },
                                                      {
                                                        type: "string",
                                                        const: "lvb",
                                                      },
                                                      {
                                                        type: "string",
                                                        const: "dvb",
                                                      },
                                                      {
                                                        type: "string",
                                                        const: "vmin",
                                                      },
                                                      {
                                                        type: "string",
                                                        const: "svmin",
                                                      },
                                                      {
                                                        type: "string",
                                                        const: "lvmin",
                                                      },
                                                      {
                                                        type: "string",
                                                        const: "dvmin",
                                                      },
                                                      {
                                                        type: "string",
                                                        const: "vmax",
                                                      },
                                                      {
                                                        type: "string",
                                                        const: "svmax",
                                                      },
                                                      {
                                                        type: "string",
                                                        const: "lvmax",
                                                      },
                                                      {
                                                        type: "string",
                                                        const: "dvmax",
                                                      },
                                                    ],
                                                  },
                                                },
                                                required: [
                                                  "type",
                                                  "value",
                                                  "unit",
                                                ],
                                              },
                                              {
                                                type: "object",
                                                properties: {
                                                  type: {
                                                    type: "string",
                                                    const: "unparsed",
                                                  },
                                                  value: {
                                                    type: "string",
                                                  },
                                                },
                                                required: ["type", "value"],
                                              },
                                              {
                                                type: "object",
                                                properties: {
                                                  type: {
                                                    type: "string",
                                                    const: "var",
                                                  },
                                                  value: {
                                                    type: "string",
                                                  },
                                                },
                                                required: ["type", "value"],
                                              },
                                            ],
                                          },
                                          {
                                            type: "object",
                                            properties: {
                                              type: {
                                                type: "string",
                                                const: "keyword",
                                              },
                                              value: {
                                                type: "string",
                                                const: "auto",
                                              },
                                            },
                                            required: ["type", "value"],
                                          },
                                        ],
                                      },
                                      isPinned: {
                                        type: "boolean",
                                      },
                                      debug: {
                                        type: "boolean",
                                      },
                                    },
                                    required: ["type", "animations"],
                                  },
                                ],
                              },
                            },
                            required: [
                              "id",
                              "instanceId",
                              "name",
                              "type",
                              "value",
                            ],
                          },
                        ],
                      },
                    },
                    breakpoints: {
                      type: "array",
                      items: {
                        type: "object",
                        properties: {
                          id: {
                            type: "string",
                          },
                          label: {
                            type: "string",
                          },
                          minWidth: {
                            type: "number",
                          },
                          maxWidth: {
                            type: "number",
                          },
                          condition: {
                            type: "string",
                          },
                        },
                        required: ["id", "label"],
                      },
                    },
                    styleSourceSelections: {
                      type: "array",
                      items: {
                        type: "object",
                        properties: {
                          instanceId: {
                            type: "string",
                          },
                          values: {
                            type: "array",
                            items: {
                              type: "string",
                            },
                          },
                        },
                        required: ["instanceId", "values"],
                      },
                    },
                    styleSources: {
                      type: "array",
                      items: {
                        anyOf: [
                          {
                            type: "object",
                            properties: {
                              type: {
                                type: "string",
                                const: "token",
                              },
                              id: {
                                type: "string",
                              },
                              name: {
                                type: "string",
                              },
                              locked: {
                                type: "boolean",
                              },
                            },
                            required: ["type", "id", "name"],
                          },
                          {
                            type: "object",
                            properties: {
                              type: {
                                type: "string",
                                const: "local",
                              },
                              id: {
                                type: "string",
                              },
                            },
                            required: ["type", "id"],
                          },
                        ],
                      },
                    },
                    styles: {
                      type: "array",
                      items: {
                        type: "object",
                        properties: {
                          styleSourceId: {
                            type: "string",
                          },
                          breakpointId: {
                            type: "string",
                          },
                          state: {
                            type: "string",
                          },
                          property: {
                            type: "string",
                          },
                          value: {
                            $ref: "#/$defs/__schema0",
                          },
                          listed: {
                            description:
                              "Whether the style is from the Advanced panel",
                            type: "boolean",
                          },
                        },
                        required: [
                          "styleSourceId",
                          "breakpointId",
                          "property",
                          "value",
                        ],
                      },
                    },
                    referenceTokenIds: {
                      type: "array",
                      items: {
                        type: "string",
                      },
                    },
                  },
                  required: [
                    "children",
                    "instances",
                    "assets",
                    "dataSources",
                    "resources",
                    "props",
                    "breakpoints",
                    "styleSourceSelections",
                    "styleSources",
                    "styles",
                  ],
                },
              },
              required: ["type", "rootFragment", "bodyFragment"],
            },
            {
              type: "object",
              properties: {
                type: {
                  type: "string",
                  const: "template",
                },
                template: {},
                rootFragment: {
                  type: "object",
                  properties: {
                    children: {
                      type: "array",
                      items: {
                        anyOf: [
                          {
                            type: "object",
                            properties: {
                              type: {
                                type: "string",
                                const: "id",
                              },
                              value: {
                                type: "string",
                              },
                            },
                            required: ["type", "value"],
                          },
                          {
                            type: "object",
                            properties: {
                              type: {
                                type: "string",
                                const: "text",
                              },
                              value: {
                                type: "string",
                              },
                              placeholder: {
                                type: "boolean",
                              },
                            },
                            required: ["type", "value"],
                          },
                          {
                            type: "object",
                            properties: {
                              type: {
                                type: "string",
                                const: "expression",
                              },
                              value: {
                                type: "string",
                              },
                              mode: {
                                type: "string",
                                enum: ["read", "readwrite"],
                                description:
                                  'Use "readwrite" only for a direct path into a source that supports writes; use "read" for every other expression.',
                              },
                            },
                            required: ["type", "value"],
                          },
                        ],
                      },
                    },
                    instances: {
                      type: "array",
                      items: {
                        type: "object",
                        properties: {
                          type: {
                            type: "string",
                            const: "instance",
                          },
                          id: {
                            type: "string",
                          },
                          component: {
                            type: "string",
                            minLength: 1,
                          },
                          tag: {
                            type: "string",
                            minLength: 1,
                            description:
                              "Optional HTML tag override for component rendering. Omit for component defaults; never pass an empty string.",
                          },
                          name: {
                            type: "string",
                            minLength: 1,
                          },
                          label: {
                            type: "string",
                          },
                          children: {
                            type: "array",
                            items: {
                              anyOf: [
                                {
                                  type: "object",
                                  properties: {
                                    type: {
                                      type: "string",
                                      const: "id",
                                    },
                                    value: {
                                      type: "string",
                                    },
                                  },
                                  required: ["type", "value"],
                                },
                                {
                                  type: "object",
                                  properties: {
                                    type: {
                                      type: "string",
                                      const: "text",
                                    },
                                    value: {
                                      type: "string",
                                    },
                                    placeholder: {
                                      type: "boolean",
                                    },
                                  },
                                  required: ["type", "value"],
                                },
                                {
                                  type: "object",
                                  properties: {
                                    type: {
                                      type: "string",
                                      const: "expression",
                                    },
                                    value: {
                                      type: "string",
                                    },
                                    mode: {
                                      type: "string",
                                      enum: ["read", "readwrite"],
                                      description:
                                        'Use "readwrite" only for a direct path into a source that supports writes; use "read" for every other expression.',
                                    },
                                  },
                                  required: ["type", "value"],
                                },
                              ],
                            },
                          },
                        },
                        required: ["type", "id", "component", "children"],
                      },
                    },
                    assets: {
                      type: "array",
                      items: {
                        anyOf: [
                          {
                            type: "object",
                            properties: {
                              id: {
                                type: "string",
                              },
                              size: {
                                type: "number",
                              },
                              name: {
                                type: "string",
                              },
                              filename: {
                                type: "string",
                              },
                              description: {
                                anyOf: [
                                  {
                                    type: "string",
                                  },
                                  {
                                    type: "null",
                                  },
                                ],
                              },
                              folderId: {
                                type: "string",
                                minLength: 1,
                                maxLength: 256,
                              },
                              createdAt: {
                                type: "string",
                              },
                              updatedAt: {
                                type: "string",
                              },
                              format: {
                                anyOf: [
                                  {
                                    type: "string",
                                    const: "ttf",
                                  },
                                  {
                                    type: "string",
                                    const: "woff",
                                  },
                                  {
                                    type: "string",
                                    const: "woff2",
                                  },
                                ],
                              },
                              meta: {
                                anyOf: [
                                  {
                                    type: "object",
                                    properties: {
                                      family: {
                                        type: "string",
                                      },
                                      style: {
                                        type: "string",
                                        enum: ["normal", "italic", "oblique"],
                                      },
                                      weight: {
                                        type: "number",
                                      },
                                    },
                                    required: ["family", "style", "weight"],
                                  },
                                  {
                                    type: "object",
                                    properties: {
                                      family: {
                                        type: "string",
                                      },
                                      style: {
                                        default: "normal",
                                        type: "string",
                                        enum: ["normal", "italic", "oblique"],
                                      },
                                      variationAxes: {
                                        type: "object",
                                        propertyNames: {
                                          type: "string",
                                          minLength: 4,
                                          maxLength: 4,
                                          pattern: "^[A-Za-z][A-Za-z0-9]* *$",
                                        },
                                        additionalProperties: {
                                          type: "object",
                                          properties: {
                                            name: {
                                              type: "string",
                                            },
                                            min: {
                                              type: "number",
                                            },
                                            default: {
                                              type: "number",
                                            },
                                            max: {
                                              type: "number",
                                            },
                                          },
                                          required: [
                                            "name",
                                            "min",
                                            "default",
                                            "max",
                                          ],
                                        },
                                      },
                                    },
                                    required: ["family", "variationAxes"],
                                  },
                                ],
                              },
                              type: {
                                type: "string",
                                const: "font",
                              },
                            },
                            required: [
                              "id",
                              "size",
                              "name",
                              "createdAt",
                              "format",
                              "meta",
                              "type",
                            ],
                          },
                          {
                            type: "object",
                            properties: {
                              id: {
                                type: "string",
                              },
                              size: {
                                type: "number",
                              },
                              name: {
                                type: "string",
                              },
                              filename: {
                                type: "string",
                              },
                              description: {
                                anyOf: [
                                  {
                                    type: "string",
                                  },
                                  {
                                    type: "null",
                                  },
                                ],
                              },
                              folderId: {
                                type: "string",
                                minLength: 1,
                                maxLength: 256,
                              },
                              createdAt: {
                                type: "string",
                              },
                              updatedAt: {
                                type: "string",
                              },
                              format: {
                                type: "string",
                              },
                              meta: {
                                type: "object",
                                properties: {
                                  width: {
                                    type: "number",
                                  },
                                  height: {
                                    type: "number",
                                  },
                                },
                                required: ["width", "height"],
                              },
                              type: {
                                type: "string",
                                const: "image",
                              },
                            },
                            required: [
                              "id",
                              "size",
                              "name",
                              "createdAt",
                              "format",
                              "meta",
                              "type",
                            ],
                          },
                          {
                            type: "object",
                            properties: {
                              id: {
                                type: "string",
                              },
                              size: {
                                type: "number",
                              },
                              name: {
                                type: "string",
                              },
                              filename: {
                                type: "string",
                              },
                              description: {
                                anyOf: [
                                  {
                                    type: "string",
                                  },
                                  {
                                    type: "null",
                                  },
                                ],
                              },
                              folderId: {
                                type: "string",
                                minLength: 1,
                                maxLength: 256,
                              },
                              createdAt: {
                                type: "string",
                              },
                              updatedAt: {
                                type: "string",
                              },
                              format: {
                                type: "string",
                              },
                              meta: {
                                type: "object",
                                properties: {
                                  width: {
                                    type: "number",
                                  },
                                  height: {
                                    type: "number",
                                  },
                                },
                                required: ["width", "height"],
                              },
                              type: {
                                type: "string",
                                const: "video",
                              },
                            },
                            required: [
                              "id",
                              "size",
                              "name",
                              "createdAt",
                              "format",
                              "meta",
                              "type",
                            ],
                          },
                          {
                            type: "object",
                            properties: {
                              id: {
                                type: "string",
                              },
                              size: {
                                type: "number",
                              },
                              name: {
                                type: "string",
                              },
                              filename: {
                                type: "string",
                              },
                              description: {
                                anyOf: [
                                  {
                                    type: "string",
                                  },
                                  {
                                    type: "null",
                                  },
                                ],
                              },
                              folderId: {
                                type: "string",
                                minLength: 1,
                                maxLength: 256,
                              },
                              createdAt: {
                                type: "string",
                              },
                              updatedAt: {
                                type: "string",
                              },
                              format: {
                                type: "string",
                              },
                              meta: {
                                type: "object",
                                properties: {},
                                required: [],
                                additionalProperties: true,
                              },
                              type: {
                                type: "string",
                                const: "file",
                              },
                            },
                            required: [
                              "id",
                              "size",
                              "name",
                              "createdAt",
                              "format",
                              "meta",
                              "type",
                            ],
                          },
                        ],
                      },
                    },
                    dataSources: {
                      type: "array",
                      items: {
                        anyOf: [
                          {
                            type: "object",
                            properties: {
                              type: {
                                type: "string",
                                const: "variable",
                              },
                              id: {
                                type: "string",
                              },
                              scopeInstanceId: {
                                type: "string",
                              },
                              name: {
                                type: "string",
                              },
                              value: {
                                anyOf: [
                                  {
                                    type: "object",
                                    properties: {
                                      type: {
                                        type: "string",
                                        const: "number",
                                      },
                                      value: {
                                        type: "number",
                                      },
                                    },
                                    required: ["type", "value"],
                                  },
                                  {
                                    type: "object",
                                    properties: {
                                      type: {
                                        type: "string",
                                        const: "string",
                                      },
                                      value: {
                                        type: "string",
                                      },
                                    },
                                    required: ["type", "value"],
                                  },
                                  {
                                    type: "object",
                                    properties: {
                                      type: {
                                        type: "string",
                                        const: "boolean",
                                      },
                                      value: {
                                        type: "boolean",
                                      },
                                    },
                                    required: ["type", "value"],
                                  },
                                  {
                                    type: "object",
                                    properties: {
                                      type: {
                                        type: "string",
                                        const: "json",
                                      },
                                      value: {},
                                    },
                                    required: ["type"],
                                  },
                                ],
                              },
                            },
                            required: ["type", "id", "name", "value"],
                          },
                          {
                            type: "object",
                            properties: {
                              type: {
                                type: "string",
                                const: "parameter",
                              },
                              id: {
                                type: "string",
                              },
                              scopeInstanceId: {
                                type: "string",
                              },
                              name: {
                                type: "string",
                              },
                            },
                            required: ["type", "id", "name"],
                          },
                          {
                            type: "object",
                            properties: {
                              type: {
                                type: "string",
                                const: "resource",
                              },
                              id: {
                                type: "string",
                              },
                              scopeInstanceId: {
                                type: "string",
                              },
                              name: {
                                type: "string",
                              },
                              resourceId: {
                                type: "string",
                              },
                            },
                            required: ["type", "id", "name", "resourceId"],
                          },
                        ],
                      },
                    },
                    resources: {
                      type: "array",
                      items: {
                        type: "object",
                        properties: {
                          id: {
                            type: "string",
                          },
                          name: {
                            type: "string",
                          },
                          control: {
                            anyOf: [
                              {
                                type: "string",
                                const: "system",
                              },
                              {
                                type: "string",
                                const: "graphql",
                              },
                              {
                                type: "string",
                                const: "email",
                              },
                            ],
                          },
                          email: {
                            type: "object",
                            properties: {
                              recipientMode: {
                                type: "string",
                                enum: ["project", "custom", "visitor"],
                              },
                              recipients: {
                                type: "string",
                              },
                              visitorEmailField: {
                                type: "string",
                              },
                              sender: {
                                type: "string",
                              },
                              senderExpression: {
                                type: "string",
                              },
                              recipientsExpression: {
                                type: "string",
                              },
                              subject: {
                                type: "string",
                              },
                              body: {
                                type: "string",
                              },
                              confirmationSubject: {
                                type: "string",
                                enum: ["formSubject", "default"],
                              },
                              confirmationBody: {
                                type: "string",
                                const: "default",
                              },
                              includeAttachments: {
                                type: "boolean",
                              },
                            },
                            required: [],
                          },
                          method: {
                            anyOf: [
                              {
                                type: "string",
                                const: "get",
                              },
                              {
                                type: "string",
                                const: "post",
                              },
                              {
                                type: "string",
                                const: "put",
                              },
                              {
                                type: "string",
                                const: "delete",
                              },
                            ],
                          },
                          url: {
                            type: "string",
                          },
                          searchParams: {
                            type: "array",
                            items: {
                              type: "object",
                              properties: {
                                name: {
                                  type: "string",
                                },
                                value: {
                                  type: "string",
                                },
                              },
                              required: ["name", "value"],
                            },
                          },
                          headers: {
                            type: "array",
                            items: {
                              type: "object",
                              properties: {
                                name: {
                                  type: "string",
                                },
                                value: {
                                  type: "string",
                                },
                              },
                              required: ["name", "value"],
                            },
                          },
                          body: {
                            type: "string",
                          },
                          bodyFormat: {
                            type: "string",
                            enum: ["auto", "json", "multipart"],
                          },
                        },
                        required: ["id", "name", "method", "url", "headers"],
                      },
                    },
                    props: {
                      type: "array",
                      items: {
                        anyOf: [
                          {
                            type: "object",
                            properties: {
                              id: {
                                type: "string",
                              },
                              instanceId: {
                                type: "string",
                              },
                              name: {
                                type: "string",
                              },
                              required: {
                                type: "boolean",
                              },
                              type: {
                                type: "string",
                                const: "number",
                              },
                              value: {
                                type: "number",
                              },
                            },
                            required: [
                              "id",
                              "instanceId",
                              "name",
                              "type",
                              "value",
                            ],
                          },
                          {
                            type: "object",
                            properties: {
                              id: {
                                type: "string",
                              },
                              instanceId: {
                                type: "string",
                              },
                              name: {
                                type: "string",
                              },
                              required: {
                                type: "boolean",
                              },
                              type: {
                                type: "string",
                                const: "string",
                              },
                              value: {
                                type: "string",
                              },
                            },
                            required: [
                              "id",
                              "instanceId",
                              "name",
                              "type",
                              "value",
                            ],
                          },
                          {
                            type: "object",
                            properties: {
                              id: {
                                type: "string",
                              },
                              instanceId: {
                                type: "string",
                              },
                              name: {
                                type: "string",
                              },
                              required: {
                                type: "boolean",
                              },
                              type: {
                                type: "string",
                                const: "boolean",
                              },
                              value: {
                                type: "boolean",
                              },
                            },
                            required: [
                              "id",
                              "instanceId",
                              "name",
                              "type",
                              "value",
                            ],
                          },
                          {
                            type: "object",
                            properties: {
                              id: {
                                type: "string",
                              },
                              instanceId: {
                                type: "string",
                              },
                              name: {
                                type: "string",
                              },
                              required: {
                                type: "boolean",
                              },
                              type: {
                                type: "string",
                                const: "json",
                              },
                              value: {},
                            },
                            required: ["id", "instanceId", "name", "type"],
                          },
                          {
                            type: "object",
                            properties: {
                              id: {
                                type: "string",
                              },
                              instanceId: {
                                type: "string",
                              },
                              name: {
                                type: "string",
                              },
                              required: {
                                type: "boolean",
                              },
                              type: {
                                type: "string",
                                const: "asset",
                              },
                              value: {
                                type: "string",
                              },
                            },
                            required: [
                              "id",
                              "instanceId",
                              "name",
                              "type",
                              "value",
                            ],
                          },
                          {
                            type: "object",
                            properties: {
                              id: {
                                type: "string",
                              },
                              instanceId: {
                                type: "string",
                              },
                              name: {
                                type: "string",
                              },
                              required: {
                                type: "boolean",
                              },
                              type: {
                                type: "string",
                                const: "page",
                              },
                              value: {
                                anyOf: [
                                  {
                                    type: "string",
                                  },
                                  {
                                    type: "object",
                                    properties: {
                                      pageId: {
                                        type: "string",
                                      },
                                      instanceId: {
                                        type: "string",
                                      },
                                    },
                                    required: ["pageId", "instanceId"],
                                  },
                                ],
                              },
                            },
                            required: [
                              "id",
                              "instanceId",
                              "name",
                              "type",
                              "value",
                            ],
                          },
                          {
                            type: "object",
                            properties: {
                              id: {
                                type: "string",
                              },
                              instanceId: {
                                type: "string",
                              },
                              name: {
                                type: "string",
                              },
                              required: {
                                type: "boolean",
                              },
                              type: {
                                type: "string",
                                const: "string[]",
                              },
                              value: {
                                type: "array",
                                items: {
                                  type: "string",
                                },
                              },
                            },
                            required: [
                              "id",
                              "instanceId",
                              "name",
                              "type",
                              "value",
                            ],
                          },
                          {
                            type: "object",
                            properties: {
                              id: {
                                type: "string",
                              },
                              instanceId: {
                                type: "string",
                              },
                              name: {
                                type: "string",
                              },
                              required: {
                                type: "boolean",
                              },
                              type: {
                                type: "string",
                                const: "parameter",
                              },
                              value: {
                                type: "string",
                              },
                            },
                            required: [
                              "id",
                              "instanceId",
                              "name",
                              "type",
                              "value",
                            ],
                          },
                          {
                            type: "object",
                            properties: {
                              id: {
                                type: "string",
                              },
                              instanceId: {
                                type: "string",
                              },
                              name: {
                                type: "string",
                              },
                              required: {
                                type: "boolean",
                              },
                              type: {
                                type: "string",
                                const: "resource",
                              },
                              value: {
                                type: "string",
                              },
                            },
                            required: [
                              "id",
                              "instanceId",
                              "name",
                              "type",
                              "value",
                            ],
                          },
                          {
                            type: "object",
                            properties: {
                              id: {
                                type: "string",
                              },
                              instanceId: {
                                type: "string",
                              },
                              name: {
                                type: "string",
                              },
                              required: {
                                type: "boolean",
                              },
                              type: {
                                type: "string",
                                const: "expression",
                              },
                              value: {
                                type: "string",
                              },
                              mode: {
                                type: "string",
                                enum: ["read", "readwrite"],
                                description:
                                  'Use "readwrite" only for a direct path into a source that supports writes; use "read" for every other expression.',
                              },
                            },
                            required: [
                              "id",
                              "instanceId",
                              "name",
                              "type",
                              "value",
                            ],
                          },
                          {
                            type: "object",
                            properties: {
                              id: {
                                type: "string",
                              },
                              instanceId: {
                                type: "string",
                              },
                              name: {
                                type: "string",
                              },
                              required: {
                                type: "boolean",
                              },
                              type: {
                                type: "string",
                                const: "action",
                              },
                              value: {
                                type: "array",
                                items: {
                                  type: "object",
                                  properties: {
                                    type: {
                                      type: "string",
                                      const: "execute",
                                    },
                                    args: {
                                      type: "array",
                                      items: {
                                        type: "string",
                                      },
                                    },
                                    code: {
                                      type: "string",
                                    },
                                  },
                                  required: ["type", "args", "code"],
                                },
                              },
                            },
                            required: [
                              "id",
                              "instanceId",
                              "name",
                              "type",
                              "value",
                            ],
                          },
                          {
                            type: "object",
                            properties: {
                              id: {
                                type: "string",
                              },
                              instanceId: {
                                type: "string",
                              },
                              name: {
                                type: "string",
                              },
                              required: {
                                type: "boolean",
                              },
                              type: {
                                type: "string",
                                const: "animationAction",
                              },
                              value: {
                                oneOf: [
                                  {
                                    type: "object",
                                    properties: {
                                      type: {
                                        type: "string",
                                        const: "scroll",
                                      },
                                      source: {
                                        anyOf: [
                                          {
                                            type: "string",
                                            const: "closest",
                                          },
                                          {
                                            type: "string",
                                            const: "nearest",
                                          },
                                          {
                                            type: "string",
                                            const: "root",
                                          },
                                        ],
                                      },
                                      axis: {
                                        anyOf: [
                                          {
                                            type: "string",
                                            const: "block",
                                          },
                                          {
                                            type: "string",
                                            const: "inline",
                                          },
                                          {
                                            type: "string",
                                            const: "x",
                                          },
                                          {
                                            type: "string",
                                            const: "y",
                                          },
                                        ],
                                      },
                                      animations: {
                                        type: "array",
                                        items: {
                                          type: "object",
                                          properties: {
                                            name: {
                                              type: "string",
                                            },
                                            description: {
                                              type: "string",
                                            },
                                            enabled: {
                                              type: "array",
                                              items: {
                                                type: "array",
                                                prefixItems: [
                                                  {
                                                    type: "string",
                                                    description: "breakpointId",
                                                  },
                                                  {
                                                    type: "boolean",
                                                  },
                                                ],
                                                minItems: 2,
                                                maxItems: 2,
                                              },
                                            },
                                            keyframes: {
                                              type: "array",
                                              items: {
                                                type: "object",
                                                properties: {
                                                  offset: {
                                                    type: "number",
                                                  },
                                                  styles: {
                                                    type: "object",
                                                    propertyNames: {
                                                      type: "string",
                                                    },
                                                    additionalProperties: {
                                                      $ref: "#/$defs/__schema0",
                                                    },
                                                  },
                                                },
                                                required: ["styles"],
                                              },
                                            },
                                            timing: {
                                              type: "object",
                                              properties: {
                                                easing: {
                                                  type: "string",
                                                },
                                                fill: {
                                                  anyOf: [
                                                    {
                                                      type: "string",
                                                      const: "none",
                                                    },
                                                    {
                                                      type: "string",
                                                      const: "forwards",
                                                    },
                                                    {
                                                      type: "string",
                                                      const: "backwards",
                                                    },
                                                    {
                                                      type: "string",
                                                      const: "both",
                                                    },
                                                  ],
                                                },
                                                duration: {
                                                  anyOf: [
                                                    {
                                                      type: "object",
                                                      properties: {
                                                        type: {
                                                          type: "string",
                                                          const: "unit",
                                                        },
                                                        value: {
                                                          type: "number",
                                                        },
                                                        unit: {
                                                          anyOf: [
                                                            {
                                                              type: "string",
                                                              const: "ms",
                                                            },
                                                            {
                                                              type: "string",
                                                              const: "s",
                                                            },
                                                          ],
                                                        },
                                                      },
                                                      required: [
                                                        "type",
                                                        "value",
                                                        "unit",
                                                      ],
                                                    },
                                                    {
                                                      type: "object",
                                                      properties: {
                                                        type: {
                                                          type: "string",
                                                          const: "var",
                                                        },
                                                        value: {
                                                          type: "string",
                                                        },
                                                      },
                                                      required: [
                                                        "type",
                                                        "value",
                                                      ],
                                                    },
                                                  ],
                                                },
                                                delay: {
                                                  anyOf: [
                                                    {
                                                      type: "object",
                                                      properties: {
                                                        type: {
                                                          type: "string",
                                                          const: "unit",
                                                        },
                                                        value: {
                                                          type: "number",
                                                        },
                                                        unit: {
                                                          anyOf: [
                                                            {
                                                              type: "string",
                                                              const: "ms",
                                                            },
                                                            {
                                                              type: "string",
                                                              const: "s",
                                                            },
                                                          ],
                                                        },
                                                      },
                                                      required: [
                                                        "type",
                                                        "value",
                                                        "unit",
                                                      ],
                                                    },
                                                    {
                                                      type: "object",
                                                      properties: {
                                                        type: {
                                                          type: "string",
                                                          const: "var",
                                                        },
                                                        value: {
                                                          type: "string",
                                                        },
                                                      },
                                                      required: [
                                                        "type",
                                                        "value",
                                                      ],
                                                    },
                                                  ],
                                                },
                                                iterations: {
                                                  anyOf: [
                                                    {
                                                      type: "number",
                                                    },
                                                    {
                                                      type: "string",
                                                      const: "infinite",
                                                    },
                                                  ],
                                                },
                                                rangeStart: {
                                                  type: "array",
                                                  prefixItems: [
                                                    {
                                                      anyOf: [
                                                        {
                                                          type: "string",
                                                          const: "start",
                                                        },
                                                        {
                                                          type: "string",
                                                          const: "end",
                                                        },
                                                      ],
                                                    },
                                                    {
                                                      anyOf: [
                                                        {
                                                          type: "object",
                                                          properties: {
                                                            type: {
                                                              type: "string",
                                                              const: "unit",
                                                            },
                                                            value: {
                                                              type: "number",
                                                            },
                                                            unit: {
                                                              anyOf: [
                                                                {
                                                                  type: "string",
                                                                  const: "%",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "px",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "cm",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "mm",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "q",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "in",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "pt",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "pc",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "em",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "rem",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "ex",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "rex",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "cap",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "rcap",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "ch",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "rch",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "lh",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "rlh",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "vw",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "svw",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "lvw",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "dvw",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "vh",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "svh",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "lvh",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "dvh",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "vi",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "svi",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "lvi",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "dvi",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "vb",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "svb",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "lvb",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "dvb",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "vmin",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const:
                                                                    "svmin",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const:
                                                                    "lvmin",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const:
                                                                    "dvmin",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "vmax",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const:
                                                                    "svmax",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const:
                                                                    "lvmax",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const:
                                                                    "dvmax",
                                                                },
                                                              ],
                                                            },
                                                          },
                                                          required: [
                                                            "type",
                                                            "value",
                                                            "unit",
                                                          ],
                                                        },
                                                        {
                                                          type: "object",
                                                          properties: {
                                                            type: {
                                                              type: "string",
                                                              const: "unparsed",
                                                            },
                                                            value: {
                                                              type: "string",
                                                            },
                                                          },
                                                          required: [
                                                            "type",
                                                            "value",
                                                          ],
                                                        },
                                                        {
                                                          type: "object",
                                                          properties: {
                                                            type: {
                                                              type: "string",
                                                              const: "var",
                                                            },
                                                            value: {
                                                              type: "string",
                                                            },
                                                          },
                                                          required: [
                                                            "type",
                                                            "value",
                                                          ],
                                                        },
                                                      ],
                                                    },
                                                  ],
                                                  minItems: 2,
                                                  maxItems: 2,
                                                },
                                                rangeEnd: {
                                                  type: "array",
                                                  prefixItems: [
                                                    {
                                                      anyOf: [
                                                        {
                                                          type: "string",
                                                          const: "start",
                                                        },
                                                        {
                                                          type: "string",
                                                          const: "end",
                                                        },
                                                      ],
                                                    },
                                                    {
                                                      anyOf: [
                                                        {
                                                          type: "object",
                                                          properties: {
                                                            type: {
                                                              type: "string",
                                                              const: "unit",
                                                            },
                                                            value: {
                                                              type: "number",
                                                            },
                                                            unit: {
                                                              anyOf: [
                                                                {
                                                                  type: "string",
                                                                  const: "%",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "px",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "cm",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "mm",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "q",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "in",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "pt",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "pc",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "em",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "rem",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "ex",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "rex",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "cap",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "rcap",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "ch",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "rch",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "lh",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "rlh",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "vw",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "svw",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "lvw",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "dvw",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "vh",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "svh",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "lvh",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "dvh",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "vi",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "svi",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "lvi",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "dvi",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "vb",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "svb",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "lvb",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "dvb",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "vmin",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const:
                                                                    "svmin",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const:
                                                                    "lvmin",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const:
                                                                    "dvmin",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "vmax",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const:
                                                                    "svmax",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const:
                                                                    "lvmax",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const:
                                                                    "dvmax",
                                                                },
                                                              ],
                                                            },
                                                          },
                                                          required: [
                                                            "type",
                                                            "value",
                                                            "unit",
                                                          ],
                                                        },
                                                        {
                                                          type: "object",
                                                          properties: {
                                                            type: {
                                                              type: "string",
                                                              const: "unparsed",
                                                            },
                                                            value: {
                                                              type: "string",
                                                            },
                                                          },
                                                          required: [
                                                            "type",
                                                            "value",
                                                          ],
                                                        },
                                                        {
                                                          type: "object",
                                                          properties: {
                                                            type: {
                                                              type: "string",
                                                              const: "var",
                                                            },
                                                            value: {
                                                              type: "string",
                                                            },
                                                          },
                                                          required: [
                                                            "type",
                                                            "value",
                                                          ],
                                                        },
                                                      ],
                                                    },
                                                  ],
                                                  minItems: 2,
                                                  maxItems: 2,
                                                },
                                              },
                                              required: [],
                                            },
                                          },
                                          required: ["keyframes", "timing"],
                                        },
                                      },
                                      isPinned: {
                                        type: "boolean",
                                      },
                                      debug: {
                                        type: "boolean",
                                      },
                                    },
                                    required: ["type", "animations"],
                                  },
                                  {
                                    type: "object",
                                    properties: {
                                      type: {
                                        type: "string",
                                        const: "view",
                                      },
                                      subject: {
                                        type: "string",
                                      },
                                      axis: {
                                        anyOf: [
                                          {
                                            type: "string",
                                            const: "block",
                                          },
                                          {
                                            type: "string",
                                            const: "inline",
                                          },
                                          {
                                            type: "string",
                                            const: "x",
                                          },
                                          {
                                            type: "string",
                                            const: "y",
                                          },
                                        ],
                                      },
                                      animations: {
                                        type: "array",
                                        items: {
                                          type: "object",
                                          properties: {
                                            name: {
                                              type: "string",
                                            },
                                            description: {
                                              type: "string",
                                            },
                                            enabled: {
                                              type: "array",
                                              items: {
                                                type: "array",
                                                prefixItems: [
                                                  {
                                                    type: "string",
                                                    description: "breakpointId",
                                                  },
                                                  {
                                                    type: "boolean",
                                                  },
                                                ],
                                                minItems: 2,
                                                maxItems: 2,
                                              },
                                            },
                                            keyframes: {
                                              type: "array",
                                              items: {
                                                type: "object",
                                                properties: {
                                                  offset: {
                                                    type: "number",
                                                  },
                                                  styles: {
                                                    type: "object",
                                                    propertyNames: {
                                                      type: "string",
                                                    },
                                                    additionalProperties: {
                                                      $ref: "#/$defs/__schema0",
                                                    },
                                                  },
                                                },
                                                required: ["styles"],
                                              },
                                            },
                                            timing: {
                                              type: "object",
                                              properties: {
                                                easing: {
                                                  type: "string",
                                                },
                                                fill: {
                                                  anyOf: [
                                                    {
                                                      type: "string",
                                                      const: "none",
                                                    },
                                                    {
                                                      type: "string",
                                                      const: "forwards",
                                                    },
                                                    {
                                                      type: "string",
                                                      const: "backwards",
                                                    },
                                                    {
                                                      type: "string",
                                                      const: "both",
                                                    },
                                                  ],
                                                },
                                                duration: {
                                                  anyOf: [
                                                    {
                                                      type: "object",
                                                      properties: {
                                                        type: {
                                                          type: "string",
                                                          const: "unit",
                                                        },
                                                        value: {
                                                          type: "number",
                                                        },
                                                        unit: {
                                                          anyOf: [
                                                            {
                                                              type: "string",
                                                              const: "ms",
                                                            },
                                                            {
                                                              type: "string",
                                                              const: "s",
                                                            },
                                                          ],
                                                        },
                                                      },
                                                      required: [
                                                        "type",
                                                        "value",
                                                        "unit",
                                                      ],
                                                    },
                                                    {
                                                      type: "object",
                                                      properties: {
                                                        type: {
                                                          type: "string",
                                                          const: "var",
                                                        },
                                                        value: {
                                                          type: "string",
                                                        },
                                                      },
                                                      required: [
                                                        "type",
                                                        "value",
                                                      ],
                                                    },
                                                  ],
                                                },
                                                delay: {
                                                  anyOf: [
                                                    {
                                                      type: "object",
                                                      properties: {
                                                        type: {
                                                          type: "string",
                                                          const: "unit",
                                                        },
                                                        value: {
                                                          type: "number",
                                                        },
                                                        unit: {
                                                          anyOf: [
                                                            {
                                                              type: "string",
                                                              const: "ms",
                                                            },
                                                            {
                                                              type: "string",
                                                              const: "s",
                                                            },
                                                          ],
                                                        },
                                                      },
                                                      required: [
                                                        "type",
                                                        "value",
                                                        "unit",
                                                      ],
                                                    },
                                                    {
                                                      type: "object",
                                                      properties: {
                                                        type: {
                                                          type: "string",
                                                          const: "var",
                                                        },
                                                        value: {
                                                          type: "string",
                                                        },
                                                      },
                                                      required: [
                                                        "type",
                                                        "value",
                                                      ],
                                                    },
                                                  ],
                                                },
                                                iterations: {
                                                  anyOf: [
                                                    {
                                                      type: "number",
                                                    },
                                                    {
                                                      type: "string",
                                                      const: "infinite",
                                                    },
                                                  ],
                                                },
                                                rangeStart: {
                                                  type: "array",
                                                  prefixItems: [
                                                    {
                                                      anyOf: [
                                                        {
                                                          type: "string",
                                                          const: "contain",
                                                        },
                                                        {
                                                          type: "string",
                                                          const: "cover",
                                                        },
                                                        {
                                                          type: "string",
                                                          const: "entry",
                                                        },
                                                        {
                                                          type: "string",
                                                          const: "exit",
                                                        },
                                                        {
                                                          type: "string",
                                                          const:
                                                            "entry-crossing",
                                                        },
                                                        {
                                                          type: "string",
                                                          const:
                                                            "exit-crossing",
                                                        },
                                                      ],
                                                    },
                                                    {
                                                      anyOf: [
                                                        {
                                                          type: "object",
                                                          properties: {
                                                            type: {
                                                              type: "string",
                                                              const: "unit",
                                                            },
                                                            value: {
                                                              type: "number",
                                                            },
                                                            unit: {
                                                              anyOf: [
                                                                {
                                                                  type: "string",
                                                                  const: "%",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "px",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "cm",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "mm",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "q",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "in",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "pt",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "pc",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "em",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "rem",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "ex",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "rex",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "cap",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "rcap",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "ch",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "rch",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "lh",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "rlh",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "vw",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "svw",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "lvw",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "dvw",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "vh",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "svh",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "lvh",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "dvh",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "vi",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "svi",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "lvi",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "dvi",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "vb",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "svb",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "lvb",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "dvb",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "vmin",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const:
                                                                    "svmin",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const:
                                                                    "lvmin",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const:
                                                                    "dvmin",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "vmax",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const:
                                                                    "svmax",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const:
                                                                    "lvmax",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const:
                                                                    "dvmax",
                                                                },
                                                              ],
                                                            },
                                                          },
                                                          required: [
                                                            "type",
                                                            "value",
                                                            "unit",
                                                          ],
                                                        },
                                                        {
                                                          type: "object",
                                                          properties: {
                                                            type: {
                                                              type: "string",
                                                              const: "unparsed",
                                                            },
                                                            value: {
                                                              type: "string",
                                                            },
                                                          },
                                                          required: [
                                                            "type",
                                                            "value",
                                                          ],
                                                        },
                                                        {
                                                          type: "object",
                                                          properties: {
                                                            type: {
                                                              type: "string",
                                                              const: "var",
                                                            },
                                                            value: {
                                                              type: "string",
                                                            },
                                                          },
                                                          required: [
                                                            "type",
                                                            "value",
                                                          ],
                                                        },
                                                      ],
                                                    },
                                                  ],
                                                  minItems: 2,
                                                  maxItems: 2,
                                                },
                                                rangeEnd: {
                                                  type: "array",
                                                  prefixItems: [
                                                    {
                                                      anyOf: [
                                                        {
                                                          type: "string",
                                                          const: "contain",
                                                        },
                                                        {
                                                          type: "string",
                                                          const: "cover",
                                                        },
                                                        {
                                                          type: "string",
                                                          const: "entry",
                                                        },
                                                        {
                                                          type: "string",
                                                          const: "exit",
                                                        },
                                                        {
                                                          type: "string",
                                                          const:
                                                            "entry-crossing",
                                                        },
                                                        {
                                                          type: "string",
                                                          const:
                                                            "exit-crossing",
                                                        },
                                                      ],
                                                    },
                                                    {
                                                      anyOf: [
                                                        {
                                                          type: "object",
                                                          properties: {
                                                            type: {
                                                              type: "string",
                                                              const: "unit",
                                                            },
                                                            value: {
                                                              type: "number",
                                                            },
                                                            unit: {
                                                              anyOf: [
                                                                {
                                                                  type: "string",
                                                                  const: "%",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "px",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "cm",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "mm",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "q",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "in",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "pt",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "pc",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "em",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "rem",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "ex",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "rex",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "cap",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "rcap",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "ch",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "rch",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "lh",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "rlh",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "vw",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "svw",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "lvw",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "dvw",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "vh",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "svh",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "lvh",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "dvh",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "vi",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "svi",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "lvi",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "dvi",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "vb",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "svb",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "lvb",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "dvb",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "vmin",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const:
                                                                    "svmin",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const:
                                                                    "lvmin",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const:
                                                                    "dvmin",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "vmax",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const:
                                                                    "svmax",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const:
                                                                    "lvmax",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const:
                                                                    "dvmax",
                                                                },
                                                              ],
                                                            },
                                                          },
                                                          required: [
                                                            "type",
                                                            "value",
                                                            "unit",
                                                          ],
                                                        },
                                                        {
                                                          type: "object",
                                                          properties: {
                                                            type: {
                                                              type: "string",
                                                              const: "unparsed",
                                                            },
                                                            value: {
                                                              type: "string",
                                                            },
                                                          },
                                                          required: [
                                                            "type",
                                                            "value",
                                                          ],
                                                        },
                                                        {
                                                          type: "object",
                                                          properties: {
                                                            type: {
                                                              type: "string",
                                                              const: "var",
                                                            },
                                                            value: {
                                                              type: "string",
                                                            },
                                                          },
                                                          required: [
                                                            "type",
                                                            "value",
                                                          ],
                                                        },
                                                      ],
                                                    },
                                                  ],
                                                  minItems: 2,
                                                  maxItems: 2,
                                                },
                                              },
                                              required: [],
                                            },
                                          },
                                          required: ["keyframes", "timing"],
                                        },
                                      },
                                      insetStart: {
                                        anyOf: [
                                          {
                                            anyOf: [
                                              {
                                                type: "object",
                                                properties: {
                                                  type: {
                                                    type: "string",
                                                    const: "unit",
                                                  },
                                                  value: {
                                                    type: "number",
                                                  },
                                                  unit: {
                                                    anyOf: [
                                                      {
                                                        type: "string",
                                                        const: "%",
                                                      },
                                                      {
                                                        type: "string",
                                                        const: "px",
                                                      },
                                                      {
                                                        type: "string",
                                                        const: "cm",
                                                      },
                                                      {
                                                        type: "string",
                                                        const: "mm",
                                                      },
                                                      {
                                                        type: "string",
                                                        const: "q",
                                                      },
                                                      {
                                                        type: "string",
                                                        const: "in",
                                                      },
                                                      {
                                                        type: "string",
                                                        const: "pt",
                                                      },
                                                      {
                                                        type: "string",
                                                        const: "pc",
                                                      },
                                                      {
                                                        type: "string",
                                                        const: "em",
                                                      },
                                                      {
                                                        type: "string",
                                                        const: "rem",
                                                      },
                                                      {
                                                        type: "string",
                                                        const: "ex",
                                                      },
                                                      {
                                                        type: "string",
                                                        const: "rex",
                                                      },
                                                      {
                                                        type: "string",
                                                        const: "cap",
                                                      },
                                                      {
                                                        type: "string",
                                                        const: "rcap",
                                                      },
                                                      {
                                                        type: "string",
                                                        const: "ch",
                                                      },
                                                      {
                                                        type: "string",
                                                        const: "rch",
                                                      },
                                                      {
                                                        type: "string",
                                                        const: "lh",
                                                      },
                                                      {
                                                        type: "string",
                                                        const: "rlh",
                                                      },
                                                      {
                                                        type: "string",
                                                        const: "vw",
                                                      },
                                                      {
                                                        type: "string",
                                                        const: "svw",
                                                      },
                                                      {
                                                        type: "string",
                                                        const: "lvw",
                                                      },
                                                      {
                                                        type: "string",
                                                        const: "dvw",
                                                      },
                                                      {
                                                        type: "string",
                                                        const: "vh",
                                                      },
                                                      {
                                                        type: "string",
                                                        const: "svh",
                                                      },
                                                      {
                                                        type: "string",
                                                        const: "lvh",
                                                      },
                                                      {
                                                        type: "string",
                                                        const: "dvh",
                                                      },
                                                      {
                                                        type: "string",
                                                        const: "vi",
                                                      },
                                                      {
                                                        type: "string",
                                                        const: "svi",
                                                      },
                                                      {
                                                        type: "string",
                                                        const: "lvi",
                                                      },
                                                      {
                                                        type: "string",
                                                        const: "dvi",
                                                      },
                                                      {
                                                        type: "string",
                                                        const: "vb",
                                                      },
                                                      {
                                                        type: "string",
                                                        const: "svb",
                                                      },
                                                      {
                                                        type: "string",
                                                        const: "lvb",
                                                      },
                                                      {
                                                        type: "string",
                                                        const: "dvb",
                                                      },
                                                      {
                                                        type: "string",
                                                        const: "vmin",
                                                      },
                                                      {
                                                        type: "string",
                                                        const: "svmin",
                                                      },
                                                      {
                                                        type: "string",
                                                        const: "lvmin",
                                                      },
                                                      {
                                                        type: "string",
                                                        const: "dvmin",
                                                      },
                                                      {
                                                        type: "string",
                                                        const: "vmax",
                                                      },
                                                      {
                                                        type: "string",
                                                        const: "svmax",
                                                      },
                                                      {
                                                        type: "string",
                                                        const: "lvmax",
                                                      },
                                                      {
                                                        type: "string",
                                                        const: "dvmax",
                                                      },
                                                    ],
                                                  },
                                                },
                                                required: [
                                                  "type",
                                                  "value",
                                                  "unit",
                                                ],
                                              },
                                              {
                                                type: "object",
                                                properties: {
                                                  type: {
                                                    type: "string",
                                                    const: "unparsed",
                                                  },
                                                  value: {
                                                    type: "string",
                                                  },
                                                },
                                                required: ["type", "value"],
                                              },
                                              {
                                                type: "object",
                                                properties: {
                                                  type: {
                                                    type: "string",
                                                    const: "var",
                                                  },
                                                  value: {
                                                    type: "string",
                                                  },
                                                },
                                                required: ["type", "value"],
                                              },
                                            ],
                                          },
                                          {
                                            type: "object",
                                            properties: {
                                              type: {
                                                type: "string",
                                                const: "keyword",
                                              },
                                              value: {
                                                type: "string",
                                                const: "auto",
                                              },
                                            },
                                            required: ["type", "value"],
                                          },
                                        ],
                                      },
                                      insetEnd: {
                                        anyOf: [
                                          {
                                            anyOf: [
                                              {
                                                type: "object",
                                                properties: {
                                                  type: {
                                                    type: "string",
                                                    const: "unit",
                                                  },
                                                  value: {
                                                    type: "number",
                                                  },
                                                  unit: {
                                                    anyOf: [
                                                      {
                                                        type: "string",
                                                        const: "%",
                                                      },
                                                      {
                                                        type: "string",
                                                        const: "px",
                                                      },
                                                      {
                                                        type: "string",
                                                        const: "cm",
                                                      },
                                                      {
                                                        type: "string",
                                                        const: "mm",
                                                      },
                                                      {
                                                        type: "string",
                                                        const: "q",
                                                      },
                                                      {
                                                        type: "string",
                                                        const: "in",
                                                      },
                                                      {
                                                        type: "string",
                                                        const: "pt",
                                                      },
                                                      {
                                                        type: "string",
                                                        const: "pc",
                                                      },
                                                      {
                                                        type: "string",
                                                        const: "em",
                                                      },
                                                      {
                                                        type: "string",
                                                        const: "rem",
                                                      },
                                                      {
                                                        type: "string",
                                                        const: "ex",
                                                      },
                                                      {
                                                        type: "string",
                                                        const: "rex",
                                                      },
                                                      {
                                                        type: "string",
                                                        const: "cap",
                                                      },
                                                      {
                                                        type: "string",
                                                        const: "rcap",
                                                      },
                                                      {
                                                        type: "string",
                                                        const: "ch",
                                                      },
                                                      {
                                                        type: "string",
                                                        const: "rch",
                                                      },
                                                      {
                                                        type: "string",
                                                        const: "lh",
                                                      },
                                                      {
                                                        type: "string",
                                                        const: "rlh",
                                                      },
                                                      {
                                                        type: "string",
                                                        const: "vw",
                                                      },
                                                      {
                                                        type: "string",
                                                        const: "svw",
                                                      },
                                                      {
                                                        type: "string",
                                                        const: "lvw",
                                                      },
                                                      {
                                                        type: "string",
                                                        const: "dvw",
                                                      },
                                                      {
                                                        type: "string",
                                                        const: "vh",
                                                      },
                                                      {
                                                        type: "string",
                                                        const: "svh",
                                                      },
                                                      {
                                                        type: "string",
                                                        const: "lvh",
                                                      },
                                                      {
                                                        type: "string",
                                                        const: "dvh",
                                                      },
                                                      {
                                                        type: "string",
                                                        const: "vi",
                                                      },
                                                      {
                                                        type: "string",
                                                        const: "svi",
                                                      },
                                                      {
                                                        type: "string",
                                                        const: "lvi",
                                                      },
                                                      {
                                                        type: "string",
                                                        const: "dvi",
                                                      },
                                                      {
                                                        type: "string",
                                                        const: "vb",
                                                      },
                                                      {
                                                        type: "string",
                                                        const: "svb",
                                                      },
                                                      {
                                                        type: "string",
                                                        const: "lvb",
                                                      },
                                                      {
                                                        type: "string",
                                                        const: "dvb",
                                                      },
                                                      {
                                                        type: "string",
                                                        const: "vmin",
                                                      },
                                                      {
                                                        type: "string",
                                                        const: "svmin",
                                                      },
                                                      {
                                                        type: "string",
                                                        const: "lvmin",
                                                      },
                                                      {
                                                        type: "string",
                                                        const: "dvmin",
                                                      },
                                                      {
                                                        type: "string",
                                                        const: "vmax",
                                                      },
                                                      {
                                                        type: "string",
                                                        const: "svmax",
                                                      },
                                                      {
                                                        type: "string",
                                                        const: "lvmax",
                                                      },
                                                      {
                                                        type: "string",
                                                        const: "dvmax",
                                                      },
                                                    ],
                                                  },
                                                },
                                                required: [
                                                  "type",
                                                  "value",
                                                  "unit",
                                                ],
                                              },
                                              {
                                                type: "object",
                                                properties: {
                                                  type: {
                                                    type: "string",
                                                    const: "unparsed",
                                                  },
                                                  value: {
                                                    type: "string",
                                                  },
                                                },
                                                required: ["type", "value"],
                                              },
                                              {
                                                type: "object",
                                                properties: {
                                                  type: {
                                                    type: "string",
                                                    const: "var",
                                                  },
                                                  value: {
                                                    type: "string",
                                                  },
                                                },
                                                required: ["type", "value"],
                                              },
                                            ],
                                          },
                                          {
                                            type: "object",
                                            properties: {
                                              type: {
                                                type: "string",
                                                const: "keyword",
                                              },
                                              value: {
                                                type: "string",
                                                const: "auto",
                                              },
                                            },
                                            required: ["type", "value"],
                                          },
                                        ],
                                      },
                                      isPinned: {
                                        type: "boolean",
                                      },
                                      debug: {
                                        type: "boolean",
                                      },
                                    },
                                    required: ["type", "animations"],
                                  },
                                ],
                              },
                            },
                            required: [
                              "id",
                              "instanceId",
                              "name",
                              "type",
                              "value",
                            ],
                          },
                        ],
                      },
                    },
                    breakpoints: {
                      type: "array",
                      items: {
                        type: "object",
                        properties: {
                          id: {
                            type: "string",
                          },
                          label: {
                            type: "string",
                          },
                          minWidth: {
                            type: "number",
                          },
                          maxWidth: {
                            type: "number",
                          },
                          condition: {
                            type: "string",
                          },
                        },
                        required: ["id", "label"],
                      },
                    },
                    styleSourceSelections: {
                      type: "array",
                      items: {
                        type: "object",
                        properties: {
                          instanceId: {
                            type: "string",
                          },
                          values: {
                            type: "array",
                            items: {
                              type: "string",
                            },
                          },
                        },
                        required: ["instanceId", "values"],
                      },
                    },
                    styleSources: {
                      type: "array",
                      items: {
                        anyOf: [
                          {
                            type: "object",
                            properties: {
                              type: {
                                type: "string",
                                const: "token",
                              },
                              id: {
                                type: "string",
                              },
                              name: {
                                type: "string",
                              },
                              locked: {
                                type: "boolean",
                              },
                            },
                            required: ["type", "id", "name"],
                          },
                          {
                            type: "object",
                            properties: {
                              type: {
                                type: "string",
                                const: "local",
                              },
                              id: {
                                type: "string",
                              },
                            },
                            required: ["type", "id"],
                          },
                        ],
                      },
                    },
                    styles: {
                      type: "array",
                      items: {
                        type: "object",
                        properties: {
                          styleSourceId: {
                            type: "string",
                          },
                          breakpointId: {
                            type: "string",
                          },
                          state: {
                            type: "string",
                          },
                          property: {
                            type: "string",
                          },
                          value: {
                            $ref: "#/$defs/__schema0",
                          },
                          listed: {
                            description:
                              "Whether the style is from the Advanced panel",
                            type: "boolean",
                          },
                        },
                        required: [
                          "styleSourceId",
                          "breakpointId",
                          "property",
                          "value",
                        ],
                      },
                    },
                    referenceTokenIds: {
                      type: "array",
                      items: {
                        type: "string",
                      },
                    },
                  },
                  required: [
                    "children",
                    "instances",
                    "assets",
                    "dataSources",
                    "resources",
                    "props",
                    "breakpoints",
                    "styleSourceSelections",
                    "styleSources",
                    "styles",
                  ],
                },
                bodyFragment: {
                  type: "object",
                  properties: {
                    children: {
                      type: "array",
                      items: {
                        anyOf: [
                          {
                            type: "object",
                            properties: {
                              type: {
                                type: "string",
                                const: "id",
                              },
                              value: {
                                type: "string",
                              },
                            },
                            required: ["type", "value"],
                          },
                          {
                            type: "object",
                            properties: {
                              type: {
                                type: "string",
                                const: "text",
                              },
                              value: {
                                type: "string",
                              },
                              placeholder: {
                                type: "boolean",
                              },
                            },
                            required: ["type", "value"],
                          },
                          {
                            type: "object",
                            properties: {
                              type: {
                                type: "string",
                                const: "expression",
                              },
                              value: {
                                type: "string",
                              },
                              mode: {
                                type: "string",
                                enum: ["read", "readwrite"],
                                description:
                                  'Use "readwrite" only for a direct path into a source that supports writes; use "read" for every other expression.',
                              },
                            },
                            required: ["type", "value"],
                          },
                        ],
                      },
                    },
                    instances: {
                      type: "array",
                      items: {
                        type: "object",
                        properties: {
                          type: {
                            type: "string",
                            const: "instance",
                          },
                          id: {
                            type: "string",
                          },
                          component: {
                            type: "string",
                            minLength: 1,
                          },
                          tag: {
                            type: "string",
                            minLength: 1,
                            description:
                              "Optional HTML tag override for component rendering. Omit for component defaults; never pass an empty string.",
                          },
                          name: {
                            type: "string",
                            minLength: 1,
                          },
                          label: {
                            type: "string",
                          },
                          children: {
                            type: "array",
                            items: {
                              anyOf: [
                                {
                                  type: "object",
                                  properties: {
                                    type: {
                                      type: "string",
                                      const: "id",
                                    },
                                    value: {
                                      type: "string",
                                    },
                                  },
                                  required: ["type", "value"],
                                },
                                {
                                  type: "object",
                                  properties: {
                                    type: {
                                      type: "string",
                                      const: "text",
                                    },
                                    value: {
                                      type: "string",
                                    },
                                    placeholder: {
                                      type: "boolean",
                                    },
                                  },
                                  required: ["type", "value"],
                                },
                                {
                                  type: "object",
                                  properties: {
                                    type: {
                                      type: "string",
                                      const: "expression",
                                    },
                                    value: {
                                      type: "string",
                                    },
                                    mode: {
                                      type: "string",
                                      enum: ["read", "readwrite"],
                                      description:
                                        'Use "readwrite" only for a direct path into a source that supports writes; use "read" for every other expression.',
                                    },
                                  },
                                  required: ["type", "value"],
                                },
                              ],
                            },
                          },
                        },
                        required: ["type", "id", "component", "children"],
                      },
                    },
                    assets: {
                      type: "array",
                      items: {
                        anyOf: [
                          {
                            type: "object",
                            properties: {
                              id: {
                                type: "string",
                              },
                              size: {
                                type: "number",
                              },
                              name: {
                                type: "string",
                              },
                              filename: {
                                type: "string",
                              },
                              description: {
                                anyOf: [
                                  {
                                    type: "string",
                                  },
                                  {
                                    type: "null",
                                  },
                                ],
                              },
                              folderId: {
                                type: "string",
                                minLength: 1,
                                maxLength: 256,
                              },
                              createdAt: {
                                type: "string",
                              },
                              updatedAt: {
                                type: "string",
                              },
                              format: {
                                anyOf: [
                                  {
                                    type: "string",
                                    const: "ttf",
                                  },
                                  {
                                    type: "string",
                                    const: "woff",
                                  },
                                  {
                                    type: "string",
                                    const: "woff2",
                                  },
                                ],
                              },
                              meta: {
                                anyOf: [
                                  {
                                    type: "object",
                                    properties: {
                                      family: {
                                        type: "string",
                                      },
                                      style: {
                                        type: "string",
                                        enum: ["normal", "italic", "oblique"],
                                      },
                                      weight: {
                                        type: "number",
                                      },
                                    },
                                    required: ["family", "style", "weight"],
                                  },
                                  {
                                    type: "object",
                                    properties: {
                                      family: {
                                        type: "string",
                                      },
                                      style: {
                                        default: "normal",
                                        type: "string",
                                        enum: ["normal", "italic", "oblique"],
                                      },
                                      variationAxes: {
                                        type: "object",
                                        propertyNames: {
                                          type: "string",
                                          minLength: 4,
                                          maxLength: 4,
                                          pattern: "^[A-Za-z][A-Za-z0-9]* *$",
                                        },
                                        additionalProperties: {
                                          type: "object",
                                          properties: {
                                            name: {
                                              type: "string",
                                            },
                                            min: {
                                              type: "number",
                                            },
                                            default: {
                                              type: "number",
                                            },
                                            max: {
                                              type: "number",
                                            },
                                          },
                                          required: [
                                            "name",
                                            "min",
                                            "default",
                                            "max",
                                          ],
                                        },
                                      },
                                    },
                                    required: ["family", "variationAxes"],
                                  },
                                ],
                              },
                              type: {
                                type: "string",
                                const: "font",
                              },
                            },
                            required: [
                              "id",
                              "size",
                              "name",
                              "createdAt",
                              "format",
                              "meta",
                              "type",
                            ],
                          },
                          {
                            type: "object",
                            properties: {
                              id: {
                                type: "string",
                              },
                              size: {
                                type: "number",
                              },
                              name: {
                                type: "string",
                              },
                              filename: {
                                type: "string",
                              },
                              description: {
                                anyOf: [
                                  {
                                    type: "string",
                                  },
                                  {
                                    type: "null",
                                  },
                                ],
                              },
                              folderId: {
                                type: "string",
                                minLength: 1,
                                maxLength: 256,
                              },
                              createdAt: {
                                type: "string",
                              },
                              updatedAt: {
                                type: "string",
                              },
                              format: {
                                type: "string",
                              },
                              meta: {
                                type: "object",
                                properties: {
                                  width: {
                                    type: "number",
                                  },
                                  height: {
                                    type: "number",
                                  },
                                },
                                required: ["width", "height"],
                              },
                              type: {
                                type: "string",
                                const: "image",
                              },
                            },
                            required: [
                              "id",
                              "size",
                              "name",
                              "createdAt",
                              "format",
                              "meta",
                              "type",
                            ],
                          },
                          {
                            type: "object",
                            properties: {
                              id: {
                                type: "string",
                              },
                              size: {
                                type: "number",
                              },
                              name: {
                                type: "string",
                              },
                              filename: {
                                type: "string",
                              },
                              description: {
                                anyOf: [
                                  {
                                    type: "string",
                                  },
                                  {
                                    type: "null",
                                  },
                                ],
                              },
                              folderId: {
                                type: "string",
                                minLength: 1,
                                maxLength: 256,
                              },
                              createdAt: {
                                type: "string",
                              },
                              updatedAt: {
                                type: "string",
                              },
                              format: {
                                type: "string",
                              },
                              meta: {
                                type: "object",
                                properties: {
                                  width: {
                                    type: "number",
                                  },
                                  height: {
                                    type: "number",
                                  },
                                },
                                required: ["width", "height"],
                              },
                              type: {
                                type: "string",
                                const: "video",
                              },
                            },
                            required: [
                              "id",
                              "size",
                              "name",
                              "createdAt",
                              "format",
                              "meta",
                              "type",
                            ],
                          },
                          {
                            type: "object",
                            properties: {
                              id: {
                                type: "string",
                              },
                              size: {
                                type: "number",
                              },
                              name: {
                                type: "string",
                              },
                              filename: {
                                type: "string",
                              },
                              description: {
                                anyOf: [
                                  {
                                    type: "string",
                                  },
                                  {
                                    type: "null",
                                  },
                                ],
                              },
                              folderId: {
                                type: "string",
                                minLength: 1,
                                maxLength: 256,
                              },
                              createdAt: {
                                type: "string",
                              },
                              updatedAt: {
                                type: "string",
                              },
                              format: {
                                type: "string",
                              },
                              meta: {
                                type: "object",
                                properties: {},
                                required: [],
                                additionalProperties: true,
                              },
                              type: {
                                type: "string",
                                const: "file",
                              },
                            },
                            required: [
                              "id",
                              "size",
                              "name",
                              "createdAt",
                              "format",
                              "meta",
                              "type",
                            ],
                          },
                        ],
                      },
                    },
                    dataSources: {
                      type: "array",
                      items: {
                        anyOf: [
                          {
                            type: "object",
                            properties: {
                              type: {
                                type: "string",
                                const: "variable",
                              },
                              id: {
                                type: "string",
                              },
                              scopeInstanceId: {
                                type: "string",
                              },
                              name: {
                                type: "string",
                              },
                              value: {
                                anyOf: [
                                  {
                                    type: "object",
                                    properties: {
                                      type: {
                                        type: "string",
                                        const: "number",
                                      },
                                      value: {
                                        type: "number",
                                      },
                                    },
                                    required: ["type", "value"],
                                  },
                                  {
                                    type: "object",
                                    properties: {
                                      type: {
                                        type: "string",
                                        const: "string",
                                      },
                                      value: {
                                        type: "string",
                                      },
                                    },
                                    required: ["type", "value"],
                                  },
                                  {
                                    type: "object",
                                    properties: {
                                      type: {
                                        type: "string",
                                        const: "boolean",
                                      },
                                      value: {
                                        type: "boolean",
                                      },
                                    },
                                    required: ["type", "value"],
                                  },
                                  {
                                    type: "object",
                                    properties: {
                                      type: {
                                        type: "string",
                                        const: "json",
                                      },
                                      value: {},
                                    },
                                    required: ["type"],
                                  },
                                ],
                              },
                            },
                            required: ["type", "id", "name", "value"],
                          },
                          {
                            type: "object",
                            properties: {
                              type: {
                                type: "string",
                                const: "parameter",
                              },
                              id: {
                                type: "string",
                              },
                              scopeInstanceId: {
                                type: "string",
                              },
                              name: {
                                type: "string",
                              },
                            },
                            required: ["type", "id", "name"],
                          },
                          {
                            type: "object",
                            properties: {
                              type: {
                                type: "string",
                                const: "resource",
                              },
                              id: {
                                type: "string",
                              },
                              scopeInstanceId: {
                                type: "string",
                              },
                              name: {
                                type: "string",
                              },
                              resourceId: {
                                type: "string",
                              },
                            },
                            required: ["type", "id", "name", "resourceId"],
                          },
                        ],
                      },
                    },
                    resources: {
                      type: "array",
                      items: {
                        type: "object",
                        properties: {
                          id: {
                            type: "string",
                          },
                          name: {
                            type: "string",
                          },
                          control: {
                            anyOf: [
                              {
                                type: "string",
                                const: "system",
                              },
                              {
                                type: "string",
                                const: "graphql",
                              },
                              {
                                type: "string",
                                const: "email",
                              },
                            ],
                          },
                          email: {
                            type: "object",
                            properties: {
                              recipientMode: {
                                type: "string",
                                enum: ["project", "custom", "visitor"],
                              },
                              recipients: {
                                type: "string",
                              },
                              visitorEmailField: {
                                type: "string",
                              },
                              sender: {
                                type: "string",
                              },
                              senderExpression: {
                                type: "string",
                              },
                              recipientsExpression: {
                                type: "string",
                              },
                              subject: {
                                type: "string",
                              },
                              body: {
                                type: "string",
                              },
                              confirmationSubject: {
                                type: "string",
                                enum: ["formSubject", "default"],
                              },
                              confirmationBody: {
                                type: "string",
                                const: "default",
                              },
                              includeAttachments: {
                                type: "boolean",
                              },
                            },
                            required: [],
                          },
                          method: {
                            anyOf: [
                              {
                                type: "string",
                                const: "get",
                              },
                              {
                                type: "string",
                                const: "post",
                              },
                              {
                                type: "string",
                                const: "put",
                              },
                              {
                                type: "string",
                                const: "delete",
                              },
                            ],
                          },
                          url: {
                            type: "string",
                          },
                          searchParams: {
                            type: "array",
                            items: {
                              type: "object",
                              properties: {
                                name: {
                                  type: "string",
                                },
                                value: {
                                  type: "string",
                                },
                              },
                              required: ["name", "value"],
                            },
                          },
                          headers: {
                            type: "array",
                            items: {
                              type: "object",
                              properties: {
                                name: {
                                  type: "string",
                                },
                                value: {
                                  type: "string",
                                },
                              },
                              required: ["name", "value"],
                            },
                          },
                          body: {
                            type: "string",
                          },
                          bodyFormat: {
                            type: "string",
                            enum: ["auto", "json", "multipart"],
                          },
                        },
                        required: ["id", "name", "method", "url", "headers"],
                      },
                    },
                    props: {
                      type: "array",
                      items: {
                        anyOf: [
                          {
                            type: "object",
                            properties: {
                              id: {
                                type: "string",
                              },
                              instanceId: {
                                type: "string",
                              },
                              name: {
                                type: "string",
                              },
                              required: {
                                type: "boolean",
                              },
                              type: {
                                type: "string",
                                const: "number",
                              },
                              value: {
                                type: "number",
                              },
                            },
                            required: [
                              "id",
                              "instanceId",
                              "name",
                              "type",
                              "value",
                            ],
                          },
                          {
                            type: "object",
                            properties: {
                              id: {
                                type: "string",
                              },
                              instanceId: {
                                type: "string",
                              },
                              name: {
                                type: "string",
                              },
                              required: {
                                type: "boolean",
                              },
                              type: {
                                type: "string",
                                const: "string",
                              },
                              value: {
                                type: "string",
                              },
                            },
                            required: [
                              "id",
                              "instanceId",
                              "name",
                              "type",
                              "value",
                            ],
                          },
                          {
                            type: "object",
                            properties: {
                              id: {
                                type: "string",
                              },
                              instanceId: {
                                type: "string",
                              },
                              name: {
                                type: "string",
                              },
                              required: {
                                type: "boolean",
                              },
                              type: {
                                type: "string",
                                const: "boolean",
                              },
                              value: {
                                type: "boolean",
                              },
                            },
                            required: [
                              "id",
                              "instanceId",
                              "name",
                              "type",
                              "value",
                            ],
                          },
                          {
                            type: "object",
                            properties: {
                              id: {
                                type: "string",
                              },
                              instanceId: {
                                type: "string",
                              },
                              name: {
                                type: "string",
                              },
                              required: {
                                type: "boolean",
                              },
                              type: {
                                type: "string",
                                const: "json",
                              },
                              value: {},
                            },
                            required: ["id", "instanceId", "name", "type"],
                          },
                          {
                            type: "object",
                            properties: {
                              id: {
                                type: "string",
                              },
                              instanceId: {
                                type: "string",
                              },
                              name: {
                                type: "string",
                              },
                              required: {
                                type: "boolean",
                              },
                              type: {
                                type: "string",
                                const: "asset",
                              },
                              value: {
                                type: "string",
                              },
                            },
                            required: [
                              "id",
                              "instanceId",
                              "name",
                              "type",
                              "value",
                            ],
                          },
                          {
                            type: "object",
                            properties: {
                              id: {
                                type: "string",
                              },
                              instanceId: {
                                type: "string",
                              },
                              name: {
                                type: "string",
                              },
                              required: {
                                type: "boolean",
                              },
                              type: {
                                type: "string",
                                const: "page",
                              },
                              value: {
                                anyOf: [
                                  {
                                    type: "string",
                                  },
                                  {
                                    type: "object",
                                    properties: {
                                      pageId: {
                                        type: "string",
                                      },
                                      instanceId: {
                                        type: "string",
                                      },
                                    },
                                    required: ["pageId", "instanceId"],
                                  },
                                ],
                              },
                            },
                            required: [
                              "id",
                              "instanceId",
                              "name",
                              "type",
                              "value",
                            ],
                          },
                          {
                            type: "object",
                            properties: {
                              id: {
                                type: "string",
                              },
                              instanceId: {
                                type: "string",
                              },
                              name: {
                                type: "string",
                              },
                              required: {
                                type: "boolean",
                              },
                              type: {
                                type: "string",
                                const: "string[]",
                              },
                              value: {
                                type: "array",
                                items: {
                                  type: "string",
                                },
                              },
                            },
                            required: [
                              "id",
                              "instanceId",
                              "name",
                              "type",
                              "value",
                            ],
                          },
                          {
                            type: "object",
                            properties: {
                              id: {
                                type: "string",
                              },
                              instanceId: {
                                type: "string",
                              },
                              name: {
                                type: "string",
                              },
                              required: {
                                type: "boolean",
                              },
                              type: {
                                type: "string",
                                const: "parameter",
                              },
                              value: {
                                type: "string",
                              },
                            },
                            required: [
                              "id",
                              "instanceId",
                              "name",
                              "type",
                              "value",
                            ],
                          },
                          {
                            type: "object",
                            properties: {
                              id: {
                                type: "string",
                              },
                              instanceId: {
                                type: "string",
                              },
                              name: {
                                type: "string",
                              },
                              required: {
                                type: "boolean",
                              },
                              type: {
                                type: "string",
                                const: "resource",
                              },
                              value: {
                                type: "string",
                              },
                            },
                            required: [
                              "id",
                              "instanceId",
                              "name",
                              "type",
                              "value",
                            ],
                          },
                          {
                            type: "object",
                            properties: {
                              id: {
                                type: "string",
                              },
                              instanceId: {
                                type: "string",
                              },
                              name: {
                                type: "string",
                              },
                              required: {
                                type: "boolean",
                              },
                              type: {
                                type: "string",
                                const: "expression",
                              },
                              value: {
                                type: "string",
                              },
                              mode: {
                                type: "string",
                                enum: ["read", "readwrite"],
                                description:
                                  'Use "readwrite" only for a direct path into a source that supports writes; use "read" for every other expression.',
                              },
                            },
                            required: [
                              "id",
                              "instanceId",
                              "name",
                              "type",
                              "value",
                            ],
                          },
                          {
                            type: "object",
                            properties: {
                              id: {
                                type: "string",
                              },
                              instanceId: {
                                type: "string",
                              },
                              name: {
                                type: "string",
                              },
                              required: {
                                type: "boolean",
                              },
                              type: {
                                type: "string",
                                const: "action",
                              },
                              value: {
                                type: "array",
                                items: {
                                  type: "object",
                                  properties: {
                                    type: {
                                      type: "string",
                                      const: "execute",
                                    },
                                    args: {
                                      type: "array",
                                      items: {
                                        type: "string",
                                      },
                                    },
                                    code: {
                                      type: "string",
                                    },
                                  },
                                  required: ["type", "args", "code"],
                                },
                              },
                            },
                            required: [
                              "id",
                              "instanceId",
                              "name",
                              "type",
                              "value",
                            ],
                          },
                          {
                            type: "object",
                            properties: {
                              id: {
                                type: "string",
                              },
                              instanceId: {
                                type: "string",
                              },
                              name: {
                                type: "string",
                              },
                              required: {
                                type: "boolean",
                              },
                              type: {
                                type: "string",
                                const: "animationAction",
                              },
                              value: {
                                oneOf: [
                                  {
                                    type: "object",
                                    properties: {
                                      type: {
                                        type: "string",
                                        const: "scroll",
                                      },
                                      source: {
                                        anyOf: [
                                          {
                                            type: "string",
                                            const: "closest",
                                          },
                                          {
                                            type: "string",
                                            const: "nearest",
                                          },
                                          {
                                            type: "string",
                                            const: "root",
                                          },
                                        ],
                                      },
                                      axis: {
                                        anyOf: [
                                          {
                                            type: "string",
                                            const: "block",
                                          },
                                          {
                                            type: "string",
                                            const: "inline",
                                          },
                                          {
                                            type: "string",
                                            const: "x",
                                          },
                                          {
                                            type: "string",
                                            const: "y",
                                          },
                                        ],
                                      },
                                      animations: {
                                        type: "array",
                                        items: {
                                          type: "object",
                                          properties: {
                                            name: {
                                              type: "string",
                                            },
                                            description: {
                                              type: "string",
                                            },
                                            enabled: {
                                              type: "array",
                                              items: {
                                                type: "array",
                                                prefixItems: [
                                                  {
                                                    type: "string",
                                                    description: "breakpointId",
                                                  },
                                                  {
                                                    type: "boolean",
                                                  },
                                                ],
                                                minItems: 2,
                                                maxItems: 2,
                                              },
                                            },
                                            keyframes: {
                                              type: "array",
                                              items: {
                                                type: "object",
                                                properties: {
                                                  offset: {
                                                    type: "number",
                                                  },
                                                  styles: {
                                                    type: "object",
                                                    propertyNames: {
                                                      type: "string",
                                                    },
                                                    additionalProperties: {
                                                      $ref: "#/$defs/__schema0",
                                                    },
                                                  },
                                                },
                                                required: ["styles"],
                                              },
                                            },
                                            timing: {
                                              type: "object",
                                              properties: {
                                                easing: {
                                                  type: "string",
                                                },
                                                fill: {
                                                  anyOf: [
                                                    {
                                                      type: "string",
                                                      const: "none",
                                                    },
                                                    {
                                                      type: "string",
                                                      const: "forwards",
                                                    },
                                                    {
                                                      type: "string",
                                                      const: "backwards",
                                                    },
                                                    {
                                                      type: "string",
                                                      const: "both",
                                                    },
                                                  ],
                                                },
                                                duration: {
                                                  anyOf: [
                                                    {
                                                      type: "object",
                                                      properties: {
                                                        type: {
                                                          type: "string",
                                                          const: "unit",
                                                        },
                                                        value: {
                                                          type: "number",
                                                        },
                                                        unit: {
                                                          anyOf: [
                                                            {
                                                              type: "string",
                                                              const: "ms",
                                                            },
                                                            {
                                                              type: "string",
                                                              const: "s",
                                                            },
                                                          ],
                                                        },
                                                      },
                                                      required: [
                                                        "type",
                                                        "value",
                                                        "unit",
                                                      ],
                                                    },
                                                    {
                                                      type: "object",
                                                      properties: {
                                                        type: {
                                                          type: "string",
                                                          const: "var",
                                                        },
                                                        value: {
                                                          type: "string",
                                                        },
                                                      },
                                                      required: [
                                                        "type",
                                                        "value",
                                                      ],
                                                    },
                                                  ],
                                                },
                                                delay: {
                                                  anyOf: [
                                                    {
                                                      type: "object",
                                                      properties: {
                                                        type: {
                                                          type: "string",
                                                          const: "unit",
                                                        },
                                                        value: {
                                                          type: "number",
                                                        },
                                                        unit: {
                                                          anyOf: [
                                                            {
                                                              type: "string",
                                                              const: "ms",
                                                            },
                                                            {
                                                              type: "string",
                                                              const: "s",
                                                            },
                                                          ],
                                                        },
                                                      },
                                                      required: [
                                                        "type",
                                                        "value",
                                                        "unit",
                                                      ],
                                                    },
                                                    {
                                                      type: "object",
                                                      properties: {
                                                        type: {
                                                          type: "string",
                                                          const: "var",
                                                        },
                                                        value: {
                                                          type: "string",
                                                        },
                                                      },
                                                      required: [
                                                        "type",
                                                        "value",
                                                      ],
                                                    },
                                                  ],
                                                },
                                                iterations: {
                                                  anyOf: [
                                                    {
                                                      type: "number",
                                                    },
                                                    {
                                                      type: "string",
                                                      const: "infinite",
                                                    },
                                                  ],
                                                },
                                                rangeStart: {
                                                  type: "array",
                                                  prefixItems: [
                                                    {
                                                      anyOf: [
                                                        {
                                                          type: "string",
                                                          const: "start",
                                                        },
                                                        {
                                                          type: "string",
                                                          const: "end",
                                                        },
                                                      ],
                                                    },
                                                    {
                                                      anyOf: [
                                                        {
                                                          type: "object",
                                                          properties: {
                                                            type: {
                                                              type: "string",
                                                              const: "unit",
                                                            },
                                                            value: {
                                                              type: "number",
                                                            },
                                                            unit: {
                                                              anyOf: [
                                                                {
                                                                  type: "string",
                                                                  const: "%",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "px",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "cm",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "mm",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "q",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "in",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "pt",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "pc",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "em",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "rem",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "ex",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "rex",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "cap",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "rcap",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "ch",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "rch",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "lh",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "rlh",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "vw",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "svw",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "lvw",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "dvw",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "vh",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "svh",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "lvh",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "dvh",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "vi",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "svi",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "lvi",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "dvi",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "vb",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "svb",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "lvb",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "dvb",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "vmin",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const:
                                                                    "svmin",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const:
                                                                    "lvmin",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const:
                                                                    "dvmin",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "vmax",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const:
                                                                    "svmax",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const:
                                                                    "lvmax",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const:
                                                                    "dvmax",
                                                                },
                                                              ],
                                                            },
                                                          },
                                                          required: [
                                                            "type",
                                                            "value",
                                                            "unit",
                                                          ],
                                                        },
                                                        {
                                                          type: "object",
                                                          properties: {
                                                            type: {
                                                              type: "string",
                                                              const: "unparsed",
                                                            },
                                                            value: {
                                                              type: "string",
                                                            },
                                                          },
                                                          required: [
                                                            "type",
                                                            "value",
                                                          ],
                                                        },
                                                        {
                                                          type: "object",
                                                          properties: {
                                                            type: {
                                                              type: "string",
                                                              const: "var",
                                                            },
                                                            value: {
                                                              type: "string",
                                                            },
                                                          },
                                                          required: [
                                                            "type",
                                                            "value",
                                                          ],
                                                        },
                                                      ],
                                                    },
                                                  ],
                                                  minItems: 2,
                                                  maxItems: 2,
                                                },
                                                rangeEnd: {
                                                  type: "array",
                                                  prefixItems: [
                                                    {
                                                      anyOf: [
                                                        {
                                                          type: "string",
                                                          const: "start",
                                                        },
                                                        {
                                                          type: "string",
                                                          const: "end",
                                                        },
                                                      ],
                                                    },
                                                    {
                                                      anyOf: [
                                                        {
                                                          type: "object",
                                                          properties: {
                                                            type: {
                                                              type: "string",
                                                              const: "unit",
                                                            },
                                                            value: {
                                                              type: "number",
                                                            },
                                                            unit: {
                                                              anyOf: [
                                                                {
                                                                  type: "string",
                                                                  const: "%",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "px",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "cm",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "mm",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "q",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "in",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "pt",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "pc",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "em",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "rem",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "ex",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "rex",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "cap",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "rcap",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "ch",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "rch",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "lh",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "rlh",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "vw",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "svw",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "lvw",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "dvw",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "vh",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "svh",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "lvh",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "dvh",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "vi",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "svi",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "lvi",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "dvi",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "vb",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "svb",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "lvb",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "dvb",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "vmin",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const:
                                                                    "svmin",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const:
                                                                    "lvmin",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const:
                                                                    "dvmin",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "vmax",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const:
                                                                    "svmax",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const:
                                                                    "lvmax",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const:
                                                                    "dvmax",
                                                                },
                                                              ],
                                                            },
                                                          },
                                                          required: [
                                                            "type",
                                                            "value",
                                                            "unit",
                                                          ],
                                                        },
                                                        {
                                                          type: "object",
                                                          properties: {
                                                            type: {
                                                              type: "string",
                                                              const: "unparsed",
                                                            },
                                                            value: {
                                                              type: "string",
                                                            },
                                                          },
                                                          required: [
                                                            "type",
                                                            "value",
                                                          ],
                                                        },
                                                        {
                                                          type: "object",
                                                          properties: {
                                                            type: {
                                                              type: "string",
                                                              const: "var",
                                                            },
                                                            value: {
                                                              type: "string",
                                                            },
                                                          },
                                                          required: [
                                                            "type",
                                                            "value",
                                                          ],
                                                        },
                                                      ],
                                                    },
                                                  ],
                                                  minItems: 2,
                                                  maxItems: 2,
                                                },
                                              },
                                              required: [],
                                            },
                                          },
                                          required: ["keyframes", "timing"],
                                        },
                                      },
                                      isPinned: {
                                        type: "boolean",
                                      },
                                      debug: {
                                        type: "boolean",
                                      },
                                    },
                                    required: ["type", "animations"],
                                  },
                                  {
                                    type: "object",
                                    properties: {
                                      type: {
                                        type: "string",
                                        const: "view",
                                      },
                                      subject: {
                                        type: "string",
                                      },
                                      axis: {
                                        anyOf: [
                                          {
                                            type: "string",
                                            const: "block",
                                          },
                                          {
                                            type: "string",
                                            const: "inline",
                                          },
                                          {
                                            type: "string",
                                            const: "x",
                                          },
                                          {
                                            type: "string",
                                            const: "y",
                                          },
                                        ],
                                      },
                                      animations: {
                                        type: "array",
                                        items: {
                                          type: "object",
                                          properties: {
                                            name: {
                                              type: "string",
                                            },
                                            description: {
                                              type: "string",
                                            },
                                            enabled: {
                                              type: "array",
                                              items: {
                                                type: "array",
                                                prefixItems: [
                                                  {
                                                    type: "string",
                                                    description: "breakpointId",
                                                  },
                                                  {
                                                    type: "boolean",
                                                  },
                                                ],
                                                minItems: 2,
                                                maxItems: 2,
                                              },
                                            },
                                            keyframes: {
                                              type: "array",
                                              items: {
                                                type: "object",
                                                properties: {
                                                  offset: {
                                                    type: "number",
                                                  },
                                                  styles: {
                                                    type: "object",
                                                    propertyNames: {
                                                      type: "string",
                                                    },
                                                    additionalProperties: {
                                                      $ref: "#/$defs/__schema0",
                                                    },
                                                  },
                                                },
                                                required: ["styles"],
                                              },
                                            },
                                            timing: {
                                              type: "object",
                                              properties: {
                                                easing: {
                                                  type: "string",
                                                },
                                                fill: {
                                                  anyOf: [
                                                    {
                                                      type: "string",
                                                      const: "none",
                                                    },
                                                    {
                                                      type: "string",
                                                      const: "forwards",
                                                    },
                                                    {
                                                      type: "string",
                                                      const: "backwards",
                                                    },
                                                    {
                                                      type: "string",
                                                      const: "both",
                                                    },
                                                  ],
                                                },
                                                duration: {
                                                  anyOf: [
                                                    {
                                                      type: "object",
                                                      properties: {
                                                        type: {
                                                          type: "string",
                                                          const: "unit",
                                                        },
                                                        value: {
                                                          type: "number",
                                                        },
                                                        unit: {
                                                          anyOf: [
                                                            {
                                                              type: "string",
                                                              const: "ms",
                                                            },
                                                            {
                                                              type: "string",
                                                              const: "s",
                                                            },
                                                          ],
                                                        },
                                                      },
                                                      required: [
                                                        "type",
                                                        "value",
                                                        "unit",
                                                      ],
                                                    },
                                                    {
                                                      type: "object",
                                                      properties: {
                                                        type: {
                                                          type: "string",
                                                          const: "var",
                                                        },
                                                        value: {
                                                          type: "string",
                                                        },
                                                      },
                                                      required: [
                                                        "type",
                                                        "value",
                                                      ],
                                                    },
                                                  ],
                                                },
                                                delay: {
                                                  anyOf: [
                                                    {
                                                      type: "object",
                                                      properties: {
                                                        type: {
                                                          type: "string",
                                                          const: "unit",
                                                        },
                                                        value: {
                                                          type: "number",
                                                        },
                                                        unit: {
                                                          anyOf: [
                                                            {
                                                              type: "string",
                                                              const: "ms",
                                                            },
                                                            {
                                                              type: "string",
                                                              const: "s",
                                                            },
                                                          ],
                                                        },
                                                      },
                                                      required: [
                                                        "type",
                                                        "value",
                                                        "unit",
                                                      ],
                                                    },
                                                    {
                                                      type: "object",
                                                      properties: {
                                                        type: {
                                                          type: "string",
                                                          const: "var",
                                                        },
                                                        value: {
                                                          type: "string",
                                                        },
                                                      },
                                                      required: [
                                                        "type",
                                                        "value",
                                                      ],
                                                    },
                                                  ],
                                                },
                                                iterations: {
                                                  anyOf: [
                                                    {
                                                      type: "number",
                                                    },
                                                    {
                                                      type: "string",
                                                      const: "infinite",
                                                    },
                                                  ],
                                                },
                                                rangeStart: {
                                                  type: "array",
                                                  prefixItems: [
                                                    {
                                                      anyOf: [
                                                        {
                                                          type: "string",
                                                          const: "contain",
                                                        },
                                                        {
                                                          type: "string",
                                                          const: "cover",
                                                        },
                                                        {
                                                          type: "string",
                                                          const: "entry",
                                                        },
                                                        {
                                                          type: "string",
                                                          const: "exit",
                                                        },
                                                        {
                                                          type: "string",
                                                          const:
                                                            "entry-crossing",
                                                        },
                                                        {
                                                          type: "string",
                                                          const:
                                                            "exit-crossing",
                                                        },
                                                      ],
                                                    },
                                                    {
                                                      anyOf: [
                                                        {
                                                          type: "object",
                                                          properties: {
                                                            type: {
                                                              type: "string",
                                                              const: "unit",
                                                            },
                                                            value: {
                                                              type: "number",
                                                            },
                                                            unit: {
                                                              anyOf: [
                                                                {
                                                                  type: "string",
                                                                  const: "%",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "px",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "cm",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "mm",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "q",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "in",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "pt",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "pc",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "em",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "rem",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "ex",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "rex",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "cap",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "rcap",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "ch",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "rch",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "lh",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "rlh",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "vw",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "svw",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "lvw",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "dvw",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "vh",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "svh",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "lvh",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "dvh",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "vi",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "svi",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "lvi",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "dvi",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "vb",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "svb",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "lvb",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "dvb",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "vmin",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const:
                                                                    "svmin",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const:
                                                                    "lvmin",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const:
                                                                    "dvmin",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "vmax",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const:
                                                                    "svmax",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const:
                                                                    "lvmax",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const:
                                                                    "dvmax",
                                                                },
                                                              ],
                                                            },
                                                          },
                                                          required: [
                                                            "type",
                                                            "value",
                                                            "unit",
                                                          ],
                                                        },
                                                        {
                                                          type: "object",
                                                          properties: {
                                                            type: {
                                                              type: "string",
                                                              const: "unparsed",
                                                            },
                                                            value: {
                                                              type: "string",
                                                            },
                                                          },
                                                          required: [
                                                            "type",
                                                            "value",
                                                          ],
                                                        },
                                                        {
                                                          type: "object",
                                                          properties: {
                                                            type: {
                                                              type: "string",
                                                              const: "var",
                                                            },
                                                            value: {
                                                              type: "string",
                                                            },
                                                          },
                                                          required: [
                                                            "type",
                                                            "value",
                                                          ],
                                                        },
                                                      ],
                                                    },
                                                  ],
                                                  minItems: 2,
                                                  maxItems: 2,
                                                },
                                                rangeEnd: {
                                                  type: "array",
                                                  prefixItems: [
                                                    {
                                                      anyOf: [
                                                        {
                                                          type: "string",
                                                          const: "contain",
                                                        },
                                                        {
                                                          type: "string",
                                                          const: "cover",
                                                        },
                                                        {
                                                          type: "string",
                                                          const: "entry",
                                                        },
                                                        {
                                                          type: "string",
                                                          const: "exit",
                                                        },
                                                        {
                                                          type: "string",
                                                          const:
                                                            "entry-crossing",
                                                        },
                                                        {
                                                          type: "string",
                                                          const:
                                                            "exit-crossing",
                                                        },
                                                      ],
                                                    },
                                                    {
                                                      anyOf: [
                                                        {
                                                          type: "object",
                                                          properties: {
                                                            type: {
                                                              type: "string",
                                                              const: "unit",
                                                            },
                                                            value: {
                                                              type: "number",
                                                            },
                                                            unit: {
                                                              anyOf: [
                                                                {
                                                                  type: "string",
                                                                  const: "%",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "px",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "cm",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "mm",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "q",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "in",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "pt",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "pc",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "em",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "rem",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "ex",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "rex",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "cap",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "rcap",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "ch",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "rch",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "lh",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "rlh",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "vw",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "svw",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "lvw",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "dvw",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "vh",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "svh",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "lvh",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "dvh",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "vi",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "svi",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "lvi",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "dvi",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "vb",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "svb",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "lvb",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "dvb",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "vmin",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const:
                                                                    "svmin",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const:
                                                                    "lvmin",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const:
                                                                    "dvmin",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const: "vmax",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const:
                                                                    "svmax",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const:
                                                                    "lvmax",
                                                                },
                                                                {
                                                                  type: "string",
                                                                  const:
                                                                    "dvmax",
                                                                },
                                                              ],
                                                            },
                                                          },
                                                          required: [
                                                            "type",
                                                            "value",
                                                            "unit",
                                                          ],
                                                        },
                                                        {
                                                          type: "object",
                                                          properties: {
                                                            type: {
                                                              type: "string",
                                                              const: "unparsed",
                                                            },
                                                            value: {
                                                              type: "string",
                                                            },
                                                          },
                                                          required: [
                                                            "type",
                                                            "value",
                                                          ],
                                                        },
                                                        {
                                                          type: "object",
                                                          properties: {
                                                            type: {
                                                              type: "string",
                                                              const: "var",
                                                            },
                                                            value: {
                                                              type: "string",
                                                            },
                                                          },
                                                          required: [
                                                            "type",
                                                            "value",
                                                          ],
                                                        },
                                                      ],
                                                    },
                                                  ],
                                                  minItems: 2,
                                                  maxItems: 2,
                                                },
                                              },
                                              required: [],
                                            },
                                          },
                                          required: ["keyframes", "timing"],
                                        },
                                      },
                                      insetStart: {
                                        anyOf: [
                                          {
                                            anyOf: [
                                              {
                                                type: "object",
                                                properties: {
                                                  type: {
                                                    type: "string",
                                                    const: "unit",
                                                  },
                                                  value: {
                                                    type: "number",
                                                  },
                                                  unit: {
                                                    anyOf: [
                                                      {
                                                        type: "string",
                                                        const: "%",
                                                      },
                                                      {
                                                        type: "string",
                                                        const: "px",
                                                      },
                                                      {
                                                        type: "string",
                                                        const: "cm",
                                                      },
                                                      {
                                                        type: "string",
                                                        const: "mm",
                                                      },
                                                      {
                                                        type: "string",
                                                        const: "q",
                                                      },
                                                      {
                                                        type: "string",
                                                        const: "in",
                                                      },
                                                      {
                                                        type: "string",
                                                        const: "pt",
                                                      },
                                                      {
                                                        type: "string",
                                                        const: "pc",
                                                      },
                                                      {
                                                        type: "string",
                                                        const: "em",
                                                      },
                                                      {
                                                        type: "string",
                                                        const: "rem",
                                                      },
                                                      {
                                                        type: "string",
                                                        const: "ex",
                                                      },
                                                      {
                                                        type: "string",
                                                        const: "rex",
                                                      },
                                                      {
                                                        type: "string",
                                                        const: "cap",
                                                      },
                                                      {
                                                        type: "string",
                                                        const: "rcap",
                                                      },
                                                      {
                                                        type: "string",
                                                        const: "ch",
                                                      },
                                                      {
                                                        type: "string",
                                                        const: "rch",
                                                      },
                                                      {
                                                        type: "string",
                                                        const: "lh",
                                                      },
                                                      {
                                                        type: "string",
                                                        const: "rlh",
                                                      },
                                                      {
                                                        type: "string",
                                                        const: "vw",
                                                      },
                                                      {
                                                        type: "string",
                                                        const: "svw",
                                                      },
                                                      {
                                                        type: "string",
                                                        const: "lvw",
                                                      },
                                                      {
                                                        type: "string",
                                                        const: "dvw",
                                                      },
                                                      {
                                                        type: "string",
                                                        const: "vh",
                                                      },
                                                      {
                                                        type: "string",
                                                        const: "svh",
                                                      },
                                                      {
                                                        type: "string",
                                                        const: "lvh",
                                                      },
                                                      {
                                                        type: "string",
                                                        const: "dvh",
                                                      },
                                                      {
                                                        type: "string",
                                                        const: "vi",
                                                      },
                                                      {
                                                        type: "string",
                                                        const: "svi",
                                                      },
                                                      {
                                                        type: "string",
                                                        const: "lvi",
                                                      },
                                                      {
                                                        type: "string",
                                                        const: "dvi",
                                                      },
                                                      {
                                                        type: "string",
                                                        const: "vb",
                                                      },
                                                      {
                                                        type: "string",
                                                        const: "svb",
                                                      },
                                                      {
                                                        type: "string",
                                                        const: "lvb",
                                                      },
                                                      {
                                                        type: "string",
                                                        const: "dvb",
                                                      },
                                                      {
                                                        type: "string",
                                                        const: "vmin",
                                                      },
                                                      {
                                                        type: "string",
                                                        const: "svmin",
                                                      },
                                                      {
                                                        type: "string",
                                                        const: "lvmin",
                                                      },
                                                      {
                                                        type: "string",
                                                        const: "dvmin",
                                                      },
                                                      {
                                                        type: "string",
                                                        const: "vmax",
                                                      },
                                                      {
                                                        type: "string",
                                                        const: "svmax",
                                                      },
                                                      {
                                                        type: "string",
                                                        const: "lvmax",
                                                      },
                                                      {
                                                        type: "string",
                                                        const: "dvmax",
                                                      },
                                                    ],
                                                  },
                                                },
                                                required: [
                                                  "type",
                                                  "value",
                                                  "unit",
                                                ],
                                              },
                                              {
                                                type: "object",
                                                properties: {
                                                  type: {
                                                    type: "string",
                                                    const: "unparsed",
                                                  },
                                                  value: {
                                                    type: "string",
                                                  },
                                                },
                                                required: ["type", "value"],
                                              },
                                              {
                                                type: "object",
                                                properties: {
                                                  type: {
                                                    type: "string",
                                                    const: "var",
                                                  },
                                                  value: {
                                                    type: "string",
                                                  },
                                                },
                                                required: ["type", "value"],
                                              },
                                            ],
                                          },
                                          {
                                            type: "object",
                                            properties: {
                                              type: {
                                                type: "string",
                                                const: "keyword",
                                              },
                                              value: {
                                                type: "string",
                                                const: "auto",
                                              },
                                            },
                                            required: ["type", "value"],
                                          },
                                        ],
                                      },
                                      insetEnd: {
                                        anyOf: [
                                          {
                                            anyOf: [
                                              {
                                                type: "object",
                                                properties: {
                                                  type: {
                                                    type: "string",
                                                    const: "unit",
                                                  },
                                                  value: {
                                                    type: "number",
                                                  },
                                                  unit: {
                                                    anyOf: [
                                                      {
                                                        type: "string",
                                                        const: "%",
                                                      },
                                                      {
                                                        type: "string",
                                                        const: "px",
                                                      },
                                                      {
                                                        type: "string",
                                                        const: "cm",
                                                      },
                                                      {
                                                        type: "string",
                                                        const: "mm",
                                                      },
                                                      {
                                                        type: "string",
                                                        const: "q",
                                                      },
                                                      {
                                                        type: "string",
                                                        const: "in",
                                                      },
                                                      {
                                                        type: "string",
                                                        const: "pt",
                                                      },
                                                      {
                                                        type: "string",
                                                        const: "pc",
                                                      },
                                                      {
                                                        type: "string",
                                                        const: "em",
                                                      },
                                                      {
                                                        type: "string",
                                                        const: "rem",
                                                      },
                                                      {
                                                        type: "string",
                                                        const: "ex",
                                                      },
                                                      {
                                                        type: "string",
                                                        const: "rex",
                                                      },
                                                      {
                                                        type: "string",
                                                        const: "cap",
                                                      },
                                                      {
                                                        type: "string",
                                                        const: "rcap",
                                                      },
                                                      {
                                                        type: "string",
                                                        const: "ch",
                                                      },
                                                      {
                                                        type: "string",
                                                        const: "rch",
                                                      },
                                                      {
                                                        type: "string",
                                                        const: "lh",
                                                      },
                                                      {
                                                        type: "string",
                                                        const: "rlh",
                                                      },
                                                      {
                                                        type: "string",
                                                        const: "vw",
                                                      },
                                                      {
                                                        type: "string",
                                                        const: "svw",
                                                      },
                                                      {
                                                        type: "string",
                                                        const: "lvw",
                                                      },
                                                      {
                                                        type: "string",
                                                        const: "dvw",
                                                      },
                                                      {
                                                        type: "string",
                                                        const: "vh",
                                                      },
                                                      {
                                                        type: "string",
                                                        const: "svh",
                                                      },
                                                      {
                                                        type: "string",
                                                        const: "lvh",
                                                      },
                                                      {
                                                        type: "string",
                                                        const: "dvh",
                                                      },
                                                      {
                                                        type: "string",
                                                        const: "vi",
                                                      },
                                                      {
                                                        type: "string",
                                                        const: "svi",
                                                      },
                                                      {
                                                        type: "string",
                                                        const: "lvi",
                                                      },
                                                      {
                                                        type: "string",
                                                        const: "dvi",
                                                      },
                                                      {
                                                        type: "string",
                                                        const: "vb",
                                                      },
                                                      {
                                                        type: "string",
                                                        const: "svb",
                                                      },
                                                      {
                                                        type: "string",
                                                        const: "lvb",
                                                      },
                                                      {
                                                        type: "string",
                                                        const: "dvb",
                                                      },
                                                      {
                                                        type: "string",
                                                        const: "vmin",
                                                      },
                                                      {
                                                        type: "string",
                                                        const: "svmin",
                                                      },
                                                      {
                                                        type: "string",
                                                        const: "lvmin",
                                                      },
                                                      {
                                                        type: "string",
                                                        const: "dvmin",
                                                      },
                                                      {
                                                        type: "string",
                                                        const: "vmax",
                                                      },
                                                      {
                                                        type: "string",
                                                        const: "svmax",
                                                      },
                                                      {
                                                        type: "string",
                                                        const: "lvmax",
                                                      },
                                                      {
                                                        type: "string",
                                                        const: "dvmax",
                                                      },
                                                    ],
                                                  },
                                                },
                                                required: [
                                                  "type",
                                                  "value",
                                                  "unit",
                                                ],
                                              },
                                              {
                                                type: "object",
                                                properties: {
                                                  type: {
                                                    type: "string",
                                                    const: "unparsed",
                                                  },
                                                  value: {
                                                    type: "string",
                                                  },
                                                },
                                                required: ["type", "value"],
                                              },
                                              {
                                                type: "object",
                                                properties: {
                                                  type: {
                                                    type: "string",
                                                    const: "var",
                                                  },
                                                  value: {
                                                    type: "string",
                                                  },
                                                },
                                                required: ["type", "value"],
                                              },
                                            ],
                                          },
                                          {
                                            type: "object",
                                            properties: {
                                              type: {
                                                type: "string",
                                                const: "keyword",
                                              },
                                              value: {
                                                type: "string",
                                                const: "auto",
                                              },
                                            },
                                            required: ["type", "value"],
                                          },
                                        ],
                                      },
                                      isPinned: {
                                        type: "boolean",
                                      },
                                      debug: {
                                        type: "boolean",
                                      },
                                    },
                                    required: ["type", "animations"],
                                  },
                                ],
                              },
                            },
                            required: [
                              "id",
                              "instanceId",
                              "name",
                              "type",
                              "value",
                            ],
                          },
                        ],
                      },
                    },
                    breakpoints: {
                      type: "array",
                      items: {
                        type: "object",
                        properties: {
                          id: {
                            type: "string",
                          },
                          label: {
                            type: "string",
                          },
                          minWidth: {
                            type: "number",
                          },
                          maxWidth: {
                            type: "number",
                          },
                          condition: {
                            type: "string",
                          },
                        },
                        required: ["id", "label"],
                      },
                    },
                    styleSourceSelections: {
                      type: "array",
                      items: {
                        type: "object",
                        properties: {
                          instanceId: {
                            type: "string",
                          },
                          values: {
                            type: "array",
                            items: {
                              type: "string",
                            },
                          },
                        },
                        required: ["instanceId", "values"],
                      },
                    },
                    styleSources: {
                      type: "array",
                      items: {
                        anyOf: [
                          {
                            type: "object",
                            properties: {
                              type: {
                                type: "string",
                                const: "token",
                              },
                              id: {
                                type: "string",
                              },
                              name: {
                                type: "string",
                              },
                              locked: {
                                type: "boolean",
                              },
                            },
                            required: ["type", "id", "name"],
                          },
                          {
                            type: "object",
                            properties: {
                              type: {
                                type: "string",
                                const: "local",
                              },
                              id: {
                                type: "string",
                              },
                            },
                            required: ["type", "id"],
                          },
                        ],
                      },
                    },
                    styles: {
                      type: "array",
                      items: {
                        type: "object",
                        properties: {
                          styleSourceId: {
                            type: "string",
                          },
                          breakpointId: {
                            type: "string",
                          },
                          state: {
                            type: "string",
                          },
                          property: {
                            type: "string",
                          },
                          value: {
                            $ref: "#/$defs/__schema0",
                          },
                          listed: {
                            description:
                              "Whether the style is from the Advanced panel",
                            type: "boolean",
                          },
                        },
                        required: [
                          "styleSourceId",
                          "breakpointId",
                          "property",
                          "value",
                        ],
                      },
                    },
                    referenceTokenIds: {
                      type: "array",
                      items: {
                        type: "string",
                      },
                    },
                  },
                  required: [
                    "children",
                    "instances",
                    "assets",
                    "dataSources",
                    "resources",
                    "props",
                    "breakpoints",
                    "styleSourceSelections",
                    "styleSources",
                    "styles",
                  ],
                },
              },
              required: ["type", "rootFragment", "bodyFragment"],
            },
            {
              $ref: "#/$defs/__schema2",
            },
          ],
        },
        conflictResolution: {
          type: "string",
          enum: ["ours", "theirs", "merge"],
        },
        rootStyleConflictResolution: {
          description:
            'How to resolve conflicting global root-local declarations: "ours" keeps the target project values; "theirs" uses the incoming source values. Required when conflicts exist.',
          type: "string",
          enum: ["ours", "theirs"],
        },
      },
      required: ["targetFolderId", "item"],
      $defs: {
        __schema0: {
          anyOf: [
            {
              type: "object",
              properties: {
                type: {
                  type: "string",
                  const: "image",
                },
                value: {
                  anyOf: [
                    {
                      type: "object",
                      properties: {
                        type: {
                          type: "string",
                          const: "asset",
                        },
                        value: {
                          type: "string",
                        },
                      },
                      required: ["type", "value"],
                    },
                    {
                      type: "object",
                      properties: {
                        type: {
                          type: "string",
                          const: "url",
                        },
                        url: {
                          type: "string",
                        },
                      },
                      required: ["type", "url"],
                    },
                  ],
                },
                hidden: {
                  type: "boolean",
                },
              },
              required: ["type", "value"],
            },
            {
              type: "object",
              properties: {
                type: {
                  type: "string",
                  const: "layers",
                },
                value: {
                  type: "array",
                  items: {
                    anyOf: [
                      {
                        type: "object",
                        properties: {
                          type: {
                            type: "string",
                            const: "unit",
                          },
                          unit: {
                            type: "string",
                          },
                          value: {
                            type: "number",
                          },
                          hidden: {
                            type: "boolean",
                          },
                        },
                        required: ["type", "unit", "value"],
                      },
                      {
                        type: "object",
                        properties: {
                          type: {
                            type: "string",
                            const: "keyword",
                          },
                          value: {
                            type: "string",
                          },
                          hidden: {
                            type: "boolean",
                          },
                        },
                        required: ["type", "value"],
                      },
                      {
                        type: "object",
                        properties: {
                          type: {
                            type: "string",
                            const: "unparsed",
                          },
                          value: {
                            type: "string",
                          },
                          hidden: {
                            type: "boolean",
                          },
                        },
                        required: ["type", "value"],
                      },
                      {
                        type: "object",
                        properties: {
                          type: {
                            type: "string",
                            const: "image",
                          },
                          value: {
                            anyOf: [
                              {
                                type: "object",
                                properties: {
                                  type: {
                                    type: "string",
                                    const: "asset",
                                  },
                                  value: {
                                    type: "string",
                                  },
                                },
                                required: ["type", "value"],
                              },
                              {
                                type: "object",
                                properties: {
                                  type: {
                                    type: "string",
                                    const: "url",
                                  },
                                  url: {
                                    type: "string",
                                  },
                                },
                                required: ["type", "url"],
                              },
                            ],
                          },
                          hidden: {
                            type: "boolean",
                          },
                        },
                        required: ["type", "value"],
                      },
                      {
                        type: "object",
                        properties: {
                          type: {
                            type: "string",
                            const: "tuple",
                          },
                          value: {
                            type: "array",
                            items: {
                              anyOf: [
                                {
                                  type: "object",
                                  properties: {
                                    type: {
                                      type: "string",
                                      const: "unit",
                                    },
                                    unit: {
                                      type: "string",
                                    },
                                    value: {
                                      type: "number",
                                    },
                                    hidden: {
                                      type: "boolean",
                                    },
                                  },
                                  required: ["type", "unit", "value"],
                                },
                                {
                                  type: "object",
                                  properties: {
                                    type: {
                                      type: "string",
                                      const: "keyword",
                                    },
                                    value: {
                                      type: "string",
                                    },
                                    hidden: {
                                      type: "boolean",
                                    },
                                  },
                                  required: ["type", "value"],
                                },
                                {
                                  type: "object",
                                  properties: {
                                    type: {
                                      type: "string",
                                      const: "unparsed",
                                    },
                                    value: {
                                      type: "string",
                                    },
                                    hidden: {
                                      type: "boolean",
                                    },
                                  },
                                  required: ["type", "value"],
                                },
                                {
                                  type: "object",
                                  properties: {
                                    type: {
                                      type: "string",
                                      const: "image",
                                    },
                                    value: {
                                      anyOf: [
                                        {
                                          type: "object",
                                          properties: {
                                            type: {
                                              type: "string",
                                              const: "asset",
                                            },
                                            value: {
                                              type: "string",
                                            },
                                          },
                                          required: ["type", "value"],
                                        },
                                        {
                                          type: "object",
                                          properties: {
                                            type: {
                                              type: "string",
                                              const: "url",
                                            },
                                            url: {
                                              type: "string",
                                            },
                                          },
                                          required: ["type", "url"],
                                        },
                                      ],
                                    },
                                    hidden: {
                                      type: "boolean",
                                    },
                                  },
                                  required: ["type", "value"],
                                },
                                {
                                  $ref: "#/$defs/__schema1",
                                },
                                {
                                  type: "object",
                                  properties: {
                                    type: {
                                      type: "string",
                                      const: "rgb",
                                    },
                                    r: {
                                      type: "number",
                                    },
                                    g: {
                                      type: "number",
                                    },
                                    b: {
                                      type: "number",
                                    },
                                    alpha: {
                                      type: "number",
                                    },
                                    hidden: {
                                      type: "boolean",
                                    },
                                  },
                                  required: ["type", "r", "g", "b", "alpha"],
                                },
                                {
                                  type: "object",
                                  properties: {
                                    type: {
                                      type: "string",
                                      const: "function",
                                    },
                                    name: {
                                      type: "string",
                                    },
                                    args: {
                                      $ref: "#/$defs/__schema0",
                                    },
                                    hidden: {
                                      type: "boolean",
                                    },
                                  },
                                  required: ["type", "name", "args"],
                                },
                                {
                                  type: "object",
                                  properties: {
                                    type: {
                                      type: "string",
                                      const: "var",
                                    },
                                    value: {
                                      type: "string",
                                    },
                                    fallback: {
                                      anyOf: [
                                        {
                                          type: "object",
                                          properties: {
                                            type: {
                                              type: "string",
                                              const: "unparsed",
                                            },
                                            value: {
                                              type: "string",
                                            },
                                            hidden: {
                                              type: "boolean",
                                            },
                                          },
                                          required: ["type", "value"],
                                        },
                                        {
                                          type: "object",
                                          properties: {
                                            type: {
                                              type: "string",
                                              const: "keyword",
                                            },
                                            value: {
                                              type: "string",
                                            },
                                            hidden: {
                                              type: "boolean",
                                            },
                                          },
                                          required: ["type", "value"],
                                        },
                                        {
                                          type: "object",
                                          properties: {
                                            type: {
                                              type: "string",
                                              const: "unit",
                                            },
                                            unit: {
                                              type: "string",
                                            },
                                            value: {
                                              type: "number",
                                            },
                                            hidden: {
                                              type: "boolean",
                                            },
                                          },
                                          required: ["type", "unit", "value"],
                                        },
                                        {
                                          $ref: "#/$defs/__schema1",
                                        },
                                        {
                                          type: "object",
                                          properties: {
                                            type: {
                                              type: "string",
                                              const: "rgb",
                                            },
                                            r: {
                                              type: "number",
                                            },
                                            g: {
                                              type: "number",
                                            },
                                            b: {
                                              type: "number",
                                            },
                                            alpha: {
                                              type: "number",
                                            },
                                            hidden: {
                                              type: "boolean",
                                            },
                                          },
                                          required: [
                                            "type",
                                            "r",
                                            "g",
                                            "b",
                                            "alpha",
                                          ],
                                        },
                                      ],
                                    },
                                    hidden: {
                                      type: "boolean",
                                    },
                                  },
                                  required: ["type", "value"],
                                },
                              ],
                            },
                          },
                          hidden: {
                            type: "boolean",
                          },
                        },
                        required: ["type", "value"],
                      },
                      {
                        type: "object",
                        properties: {
                          type: {
                            type: "string",
                            const: "shadow",
                          },
                          hidden: {
                            type: "boolean",
                          },
                          position: {
                            anyOf: [
                              {
                                type: "string",
                                const: "inset",
                              },
                              {
                                type: "string",
                                const: "outset",
                              },
                            ],
                          },
                          offsetX: {
                            anyOf: [
                              {
                                type: "object",
                                properties: {
                                  type: {
                                    type: "string",
                                    const: "unit",
                                  },
                                  unit: {
                                    type: "string",
                                  },
                                  value: {
                                    type: "number",
                                  },
                                  hidden: {
                                    type: "boolean",
                                  },
                                },
                                required: ["type", "unit", "value"],
                              },
                              {
                                type: "object",
                                properties: {
                                  type: {
                                    type: "string",
                                    const: "var",
                                  },
                                  value: {
                                    type: "string",
                                  },
                                  fallback: {
                                    anyOf: [
                                      {
                                        type: "object",
                                        properties: {
                                          type: {
                                            type: "string",
                                            const: "unparsed",
                                          },
                                          value: {
                                            type: "string",
                                          },
                                          hidden: {
                                            type: "boolean",
                                          },
                                        },
                                        required: ["type", "value"],
                                      },
                                      {
                                        type: "object",
                                        properties: {
                                          type: {
                                            type: "string",
                                            const: "keyword",
                                          },
                                          value: {
                                            type: "string",
                                          },
                                          hidden: {
                                            type: "boolean",
                                          },
                                        },
                                        required: ["type", "value"],
                                      },
                                      {
                                        type: "object",
                                        properties: {
                                          type: {
                                            type: "string",
                                            const: "unit",
                                          },
                                          unit: {
                                            type: "string",
                                          },
                                          value: {
                                            type: "number",
                                          },
                                          hidden: {
                                            type: "boolean",
                                          },
                                        },
                                        required: ["type", "unit", "value"],
                                      },
                                      {
                                        $ref: "#/$defs/__schema1",
                                      },
                                      {
                                        type: "object",
                                        properties: {
                                          type: {
                                            type: "string",
                                            const: "rgb",
                                          },
                                          r: {
                                            type: "number",
                                          },
                                          g: {
                                            type: "number",
                                          },
                                          b: {
                                            type: "number",
                                          },
                                          alpha: {
                                            type: "number",
                                          },
                                          hidden: {
                                            type: "boolean",
                                          },
                                        },
                                        required: [
                                          "type",
                                          "r",
                                          "g",
                                          "b",
                                          "alpha",
                                        ],
                                      },
                                    ],
                                  },
                                  hidden: {
                                    type: "boolean",
                                  },
                                },
                                required: ["type", "value"],
                              },
                            ],
                          },
                          offsetY: {
                            anyOf: [
                              {
                                type: "object",
                                properties: {
                                  type: {
                                    type: "string",
                                    const: "unit",
                                  },
                                  unit: {
                                    type: "string",
                                  },
                                  value: {
                                    type: "number",
                                  },
                                  hidden: {
                                    type: "boolean",
                                  },
                                },
                                required: ["type", "unit", "value"],
                              },
                              {
                                type: "object",
                                properties: {
                                  type: {
                                    type: "string",
                                    const: "var",
                                  },
                                  value: {
                                    type: "string",
                                  },
                                  fallback: {
                                    anyOf: [
                                      {
                                        type: "object",
                                        properties: {
                                          type: {
                                            type: "string",
                                            const: "unparsed",
                                          },
                                          value: {
                                            type: "string",
                                          },
                                          hidden: {
                                            type: "boolean",
                                          },
                                        },
                                        required: ["type", "value"],
                                      },
                                      {
                                        type: "object",
                                        properties: {
                                          type: {
                                            type: "string",
                                            const: "keyword",
                                          },
                                          value: {
                                            type: "string",
                                          },
                                          hidden: {
                                            type: "boolean",
                                          },
                                        },
                                        required: ["type", "value"],
                                      },
                                      {
                                        type: "object",
                                        properties: {
                                          type: {
                                            type: "string",
                                            const: "unit",
                                          },
                                          unit: {
                                            type: "string",
                                          },
                                          value: {
                                            type: "number",
                                          },
                                          hidden: {
                                            type: "boolean",
                                          },
                                        },
                                        required: ["type", "unit", "value"],
                                      },
                                      {
                                        $ref: "#/$defs/__schema1",
                                      },
                                      {
                                        type: "object",
                                        properties: {
                                          type: {
                                            type: "string",
                                            const: "rgb",
                                          },
                                          r: {
                                            type: "number",
                                          },
                                          g: {
                                            type: "number",
                                          },
                                          b: {
                                            type: "number",
                                          },
                                          alpha: {
                                            type: "number",
                                          },
                                          hidden: {
                                            type: "boolean",
                                          },
                                        },
                                        required: [
                                          "type",
                                          "r",
                                          "g",
                                          "b",
                                          "alpha",
                                        ],
                                      },
                                    ],
                                  },
                                  hidden: {
                                    type: "boolean",
                                  },
                                },
                                required: ["type", "value"],
                              },
                            ],
                          },
                          blur: {
                            anyOf: [
                              {
                                type: "object",
                                properties: {
                                  type: {
                                    type: "string",
                                    const: "unit",
                                  },
                                  unit: {
                                    type: "string",
                                  },
                                  value: {
                                    type: "number",
                                  },
                                  hidden: {
                                    type: "boolean",
                                  },
                                },
                                required: ["type", "unit", "value"],
                              },
                              {
                                type: "object",
                                properties: {
                                  type: {
                                    type: "string",
                                    const: "var",
                                  },
                                  value: {
                                    type: "string",
                                  },
                                  fallback: {
                                    anyOf: [
                                      {
                                        type: "object",
                                        properties: {
                                          type: {
                                            type: "string",
                                            const: "unparsed",
                                          },
                                          value: {
                                            type: "string",
                                          },
                                          hidden: {
                                            type: "boolean",
                                          },
                                        },
                                        required: ["type", "value"],
                                      },
                                      {
                                        type: "object",
                                        properties: {
                                          type: {
                                            type: "string",
                                            const: "keyword",
                                          },
                                          value: {
                                            type: "string",
                                          },
                                          hidden: {
                                            type: "boolean",
                                          },
                                        },
                                        required: ["type", "value"],
                                      },
                                      {
                                        type: "object",
                                        properties: {
                                          type: {
                                            type: "string",
                                            const: "unit",
                                          },
                                          unit: {
                                            type: "string",
                                          },
                                          value: {
                                            type: "number",
                                          },
                                          hidden: {
                                            type: "boolean",
                                          },
                                        },
                                        required: ["type", "unit", "value"],
                                      },
                                      {
                                        $ref: "#/$defs/__schema1",
                                      },
                                      {
                                        type: "object",
                                        properties: {
                                          type: {
                                            type: "string",
                                            const: "rgb",
                                          },
                                          r: {
                                            type: "number",
                                          },
                                          g: {
                                            type: "number",
                                          },
                                          b: {
                                            type: "number",
                                          },
                                          alpha: {
                                            type: "number",
                                          },
                                          hidden: {
                                            type: "boolean",
                                          },
                                        },
                                        required: [
                                          "type",
                                          "r",
                                          "g",
                                          "b",
                                          "alpha",
                                        ],
                                      },
                                    ],
                                  },
                                  hidden: {
                                    type: "boolean",
                                  },
                                },
                                required: ["type", "value"],
                              },
                            ],
                          },
                          spread: {
                            anyOf: [
                              {
                                type: "object",
                                properties: {
                                  type: {
                                    type: "string",
                                    const: "unit",
                                  },
                                  unit: {
                                    type: "string",
                                  },
                                  value: {
                                    type: "number",
                                  },
                                  hidden: {
                                    type: "boolean",
                                  },
                                },
                                required: ["type", "unit", "value"],
                              },
                              {
                                type: "object",
                                properties: {
                                  type: {
                                    type: "string",
                                    const: "var",
                                  },
                                  value: {
                                    type: "string",
                                  },
                                  fallback: {
                                    anyOf: [
                                      {
                                        type: "object",
                                        properties: {
                                          type: {
                                            type: "string",
                                            const: "unparsed",
                                          },
                                          value: {
                                            type: "string",
                                          },
                                          hidden: {
                                            type: "boolean",
                                          },
                                        },
                                        required: ["type", "value"],
                                      },
                                      {
                                        type: "object",
                                        properties: {
                                          type: {
                                            type: "string",
                                            const: "keyword",
                                          },
                                          value: {
                                            type: "string",
                                          },
                                          hidden: {
                                            type: "boolean",
                                          },
                                        },
                                        required: ["type", "value"],
                                      },
                                      {
                                        type: "object",
                                        properties: {
                                          type: {
                                            type: "string",
                                            const: "unit",
                                          },
                                          unit: {
                                            type: "string",
                                          },
                                          value: {
                                            type: "number",
                                          },
                                          hidden: {
                                            type: "boolean",
                                          },
                                        },
                                        required: ["type", "unit", "value"],
                                      },
                                      {
                                        $ref: "#/$defs/__schema1",
                                      },
                                      {
                                        type: "object",
                                        properties: {
                                          type: {
                                            type: "string",
                                            const: "rgb",
                                          },
                                          r: {
                                            type: "number",
                                          },
                                          g: {
                                            type: "number",
                                          },
                                          b: {
                                            type: "number",
                                          },
                                          alpha: {
                                            type: "number",
                                          },
                                          hidden: {
                                            type: "boolean",
                                          },
                                        },
                                        required: [
                                          "type",
                                          "r",
                                          "g",
                                          "b",
                                          "alpha",
                                        ],
                                      },
                                    ],
                                  },
                                  hidden: {
                                    type: "boolean",
                                  },
                                },
                                required: ["type", "value"],
                              },
                            ],
                          },
                          color: {
                            anyOf: [
                              {
                                $ref: "#/$defs/__schema1",
                              },
                              {
                                type: "object",
                                properties: {
                                  type: {
                                    type: "string",
                                    const: "rgb",
                                  },
                                  r: {
                                    type: "number",
                                  },
                                  g: {
                                    type: "number",
                                  },
                                  b: {
                                    type: "number",
                                  },
                                  alpha: {
                                    type: "number",
                                  },
                                  hidden: {
                                    type: "boolean",
                                  },
                                },
                                required: ["type", "r", "g", "b", "alpha"],
                              },
                              {
                                type: "object",
                                properties: {
                                  type: {
                                    type: "string",
                                    const: "keyword",
                                  },
                                  value: {
                                    type: "string",
                                  },
                                  hidden: {
                                    type: "boolean",
                                  },
                                },
                                required: ["type", "value"],
                              },
                              {
                                type: "object",
                                properties: {
                                  type: {
                                    type: "string",
                                    const: "var",
                                  },
                                  value: {
                                    type: "string",
                                  },
                                  fallback: {
                                    anyOf: [
                                      {
                                        type: "object",
                                        properties: {
                                          type: {
                                            type: "string",
                                            const: "unparsed",
                                          },
                                          value: {
                                            type: "string",
                                          },
                                          hidden: {
                                            type: "boolean",
                                          },
                                        },
                                        required: ["type", "value"],
                                      },
                                      {
                                        type: "object",
                                        properties: {
                                          type: {
                                            type: "string",
                                            const: "keyword",
                                          },
                                          value: {
                                            type: "string",
                                          },
                                          hidden: {
                                            type: "boolean",
                                          },
                                        },
                                        required: ["type", "value"],
                                      },
                                      {
                                        type: "object",
                                        properties: {
                                          type: {
                                            type: "string",
                                            const: "unit",
                                          },
                                          unit: {
                                            type: "string",
                                          },
                                          value: {
                                            type: "number",
                                          },
                                          hidden: {
                                            type: "boolean",
                                          },
                                        },
                                        required: ["type", "unit", "value"],
                                      },
                                      {
                                        $ref: "#/$defs/__schema1",
                                      },
                                      {
                                        type: "object",
                                        properties: {
                                          type: {
                                            type: "string",
                                            const: "rgb",
                                          },
                                          r: {
                                            type: "number",
                                          },
                                          g: {
                                            type: "number",
                                          },
                                          b: {
                                            type: "number",
                                          },
                                          alpha: {
                                            type: "number",
                                          },
                                          hidden: {
                                            type: "boolean",
                                          },
                                        },
                                        required: [
                                          "type",
                                          "r",
                                          "g",
                                          "b",
                                          "alpha",
                                        ],
                                      },
                                    ],
                                  },
                                  hidden: {
                                    type: "boolean",
                                  },
                                },
                                required: ["type", "value"],
                              },
                            ],
                          },
                        },
                        required: ["type", "position", "offsetX", "offsetY"],
                      },
                      {
                        $ref: "#/$defs/__schema1",
                      },
                      {
                        type: "object",
                        properties: {
                          type: {
                            type: "string",
                            const: "rgb",
                          },
                          r: {
                            type: "number",
                          },
                          g: {
                            type: "number",
                          },
                          b: {
                            type: "number",
                          },
                          alpha: {
                            type: "number",
                          },
                          hidden: {
                            type: "boolean",
                          },
                        },
                        required: ["type", "r", "g", "b", "alpha"],
                      },
                      {
                        type: "object",
                        properties: {
                          type: {
                            type: "string",
                            const: "invalid",
                          },
                          value: {
                            type: "string",
                          },
                          hidden: {
                            type: "boolean",
                          },
                        },
                        required: ["type", "value"],
                      },
                      {
                        type: "object",
                        properties: {
                          type: {
                            type: "string",
                            const: "function",
                          },
                          name: {
                            type: "string",
                          },
                          args: {
                            $ref: "#/$defs/__schema0",
                          },
                          hidden: {
                            type: "boolean",
                          },
                        },
                        required: ["type", "name", "args"],
                      },
                      {
                        type: "object",
                        properties: {
                          type: {
                            type: "string",
                            const: "var",
                          },
                          value: {
                            type: "string",
                          },
                          fallback: {
                            anyOf: [
                              {
                                type: "object",
                                properties: {
                                  type: {
                                    type: "string",
                                    const: "unparsed",
                                  },
                                  value: {
                                    type: "string",
                                  },
                                  hidden: {
                                    type: "boolean",
                                  },
                                },
                                required: ["type", "value"],
                              },
                              {
                                type: "object",
                                properties: {
                                  type: {
                                    type: "string",
                                    const: "keyword",
                                  },
                                  value: {
                                    type: "string",
                                  },
                                  hidden: {
                                    type: "boolean",
                                  },
                                },
                                required: ["type", "value"],
                              },
                              {
                                type: "object",
                                properties: {
                                  type: {
                                    type: "string",
                                    const: "unit",
                                  },
                                  unit: {
                                    type: "string",
                                  },
                                  value: {
                                    type: "number",
                                  },
                                  hidden: {
                                    type: "boolean",
                                  },
                                },
                                required: ["type", "unit", "value"],
                              },
                              {
                                $ref: "#/$defs/__schema1",
                              },
                              {
                                type: "object",
                                properties: {
                                  type: {
                                    type: "string",
                                    const: "rgb",
                                  },
                                  r: {
                                    type: "number",
                                  },
                                  g: {
                                    type: "number",
                                  },
                                  b: {
                                    type: "number",
                                  },
                                  alpha: {
                                    type: "number",
                                  },
                                  hidden: {
                                    type: "boolean",
                                  },
                                },
                                required: ["type", "r", "g", "b", "alpha"],
                              },
                            ],
                          },
                          hidden: {
                            type: "boolean",
                          },
                        },
                        required: ["type", "value"],
                      },
                    ],
                  },
                },
                hidden: {
                  type: "boolean",
                },
              },
              required: ["type", "value"],
            },
            {
              type: "object",
              properties: {
                type: {
                  type: "string",
                  const: "unit",
                },
                unit: {
                  type: "string",
                },
                value: {
                  type: "number",
                },
                hidden: {
                  type: "boolean",
                },
              },
              required: ["type", "unit", "value"],
            },
            {
              type: "object",
              properties: {
                type: {
                  type: "string",
                  const: "keyword",
                },
                value: {
                  type: "string",
                },
                hidden: {
                  type: "boolean",
                },
              },
              required: ["type", "value"],
            },
            {
              type: "object",
              properties: {
                type: {
                  type: "string",
                  const: "fontFamily",
                },
                value: {
                  type: "array",
                  items: {
                    type: "string",
                  },
                },
                hidden: {
                  type: "boolean",
                },
              },
              required: ["type", "value"],
            },
            {
              $ref: "#/$defs/__schema1",
            },
            {
              type: "object",
              properties: {
                type: {
                  type: "string",
                  const: "rgb",
                },
                r: {
                  type: "number",
                },
                g: {
                  type: "number",
                },
                b: {
                  type: "number",
                },
                alpha: {
                  type: "number",
                },
                hidden: {
                  type: "boolean",
                },
              },
              required: ["type", "r", "g", "b", "alpha"],
            },
            {
              type: "object",
              properties: {
                type: {
                  type: "string",
                  const: "unparsed",
                },
                value: {
                  type: "string",
                },
                hidden: {
                  type: "boolean",
                },
              },
              required: ["type", "value"],
            },
            {
              type: "object",
              properties: {
                type: {
                  type: "string",
                  const: "tuple",
                },
                value: {
                  type: "array",
                  items: {
                    anyOf: [
                      {
                        type: "object",
                        properties: {
                          type: {
                            type: "string",
                            const: "unit",
                          },
                          unit: {
                            type: "string",
                          },
                          value: {
                            type: "number",
                          },
                          hidden: {
                            type: "boolean",
                          },
                        },
                        required: ["type", "unit", "value"],
                      },
                      {
                        type: "object",
                        properties: {
                          type: {
                            type: "string",
                            const: "keyword",
                          },
                          value: {
                            type: "string",
                          },
                          hidden: {
                            type: "boolean",
                          },
                        },
                        required: ["type", "value"],
                      },
                      {
                        type: "object",
                        properties: {
                          type: {
                            type: "string",
                            const: "unparsed",
                          },
                          value: {
                            type: "string",
                          },
                          hidden: {
                            type: "boolean",
                          },
                        },
                        required: ["type", "value"],
                      },
                      {
                        type: "object",
                        properties: {
                          type: {
                            type: "string",
                            const: "image",
                          },
                          value: {
                            anyOf: [
                              {
                                type: "object",
                                properties: {
                                  type: {
                                    type: "string",
                                    const: "asset",
                                  },
                                  value: {
                                    type: "string",
                                  },
                                },
                                required: ["type", "value"],
                              },
                              {
                                type: "object",
                                properties: {
                                  type: {
                                    type: "string",
                                    const: "url",
                                  },
                                  url: {
                                    type: "string",
                                  },
                                },
                                required: ["type", "url"],
                              },
                            ],
                          },
                          hidden: {
                            type: "boolean",
                          },
                        },
                        required: ["type", "value"],
                      },
                      {
                        $ref: "#/$defs/__schema1",
                      },
                      {
                        type: "object",
                        properties: {
                          type: {
                            type: "string",
                            const: "rgb",
                          },
                          r: {
                            type: "number",
                          },
                          g: {
                            type: "number",
                          },
                          b: {
                            type: "number",
                          },
                          alpha: {
                            type: "number",
                          },
                          hidden: {
                            type: "boolean",
                          },
                        },
                        required: ["type", "r", "g", "b", "alpha"],
                      },
                      {
                        type: "object",
                        properties: {
                          type: {
                            type: "string",
                            const: "function",
                          },
                          name: {
                            type: "string",
                          },
                          args: {
                            $ref: "#/$defs/__schema0",
                          },
                          hidden: {
                            type: "boolean",
                          },
                        },
                        required: ["type", "name", "args"],
                      },
                      {
                        type: "object",
                        properties: {
                          type: {
                            type: "string",
                            const: "var",
                          },
                          value: {
                            type: "string",
                          },
                          fallback: {
                            anyOf: [
                              {
                                type: "object",
                                properties: {
                                  type: {
                                    type: "string",
                                    const: "unparsed",
                                  },
                                  value: {
                                    type: "string",
                                  },
                                  hidden: {
                                    type: "boolean",
                                  },
                                },
                                required: ["type", "value"],
                              },
                              {
                                type: "object",
                                properties: {
                                  type: {
                                    type: "string",
                                    const: "keyword",
                                  },
                                  value: {
                                    type: "string",
                                  },
                                  hidden: {
                                    type: "boolean",
                                  },
                                },
                                required: ["type", "value"],
                              },
                              {
                                type: "object",
                                properties: {
                                  type: {
                                    type: "string",
                                    const: "unit",
                                  },
                                  unit: {
                                    type: "string",
                                  },
                                  value: {
                                    type: "number",
                                  },
                                  hidden: {
                                    type: "boolean",
                                  },
                                },
                                required: ["type", "unit", "value"],
                              },
                              {
                                $ref: "#/$defs/__schema1",
                              },
                              {
                                type: "object",
                                properties: {
                                  type: {
                                    type: "string",
                                    const: "rgb",
                                  },
                                  r: {
                                    type: "number",
                                  },
                                  g: {
                                    type: "number",
                                  },
                                  b: {
                                    type: "number",
                                  },
                                  alpha: {
                                    type: "number",
                                  },
                                  hidden: {
                                    type: "boolean",
                                  },
                                },
                                required: ["type", "r", "g", "b", "alpha"],
                              },
                            ],
                          },
                          hidden: {
                            type: "boolean",
                          },
                        },
              

File truncated at 1 MB.