{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/thoughtbox-ai/json-schema/thoughtbox-ai-tile-out-schema.json",
  "title": "TileOut",
  "x-generated": "2026-11-26",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/thoughtbox-ai-openapi.json#/components/schemas/TileOut",
  "properties": {
    "id": {
      "type": "string",
      "title": "Id"
    },
    "title": {
      "type": "string",
      "title": "Title"
    },
    "prompt": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Prompt"
    },
    "sandbox_artifact_id": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Sandbox Artifact Id"
    },
    "icon": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Icon"
    },
    "data_sources": {
      "items": {
        "type": "string"
      },
      "type": "array",
      "title": "Data Sources"
    },
    "renderer": {
      "type": "string",
      "title": "Renderer"
    },
    "size": {
      "type": "string",
      "title": "Size"
    },
    "position": {
      "type": "integer",
      "title": "Position"
    },
    "created_at": {
      "type": "string",
      "title": "Created At"
    },
    "updated_at": {
      "type": "string",
      "title": "Updated At"
    },
    "widget_type": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Widget Type"
    },
    "content": {
      "anyOf": [
        {
          "additionalProperties": true,
          "type": "object"
        },
        {
          "type": "null"
        }
      ],
      "title": "Content"
    },
    "content_generated_at": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Content Generated At"
    },
    "content_error": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Content Error"
    },
    "needs_data": {
      "type": "boolean",
      "title": "Needs Data"
    },
    "grid_x": {
      "anyOf": [
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ],
      "title": "Grid X"
    },
    "grid_y": {
      "anyOf": [
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ],
      "title": "Grid Y"
    },
    "grid_w": {
      "anyOf": [
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ],
      "title": "Grid W"
    },
    "grid_h": {
      "anyOf": [
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ],
      "title": "Grid H"
    },
    "canvas_x": {
      "anyOf": [
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ],
      "title": "Canvas X"
    },
    "canvas_y": {
      "anyOf": [
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ],
      "title": "Canvas Y"
    },
    "canvas_w": {
      "anyOf": [
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ],
      "title": "Canvas W"
    },
    "canvas_h": {
      "anyOf": [
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ],
      "title": "Canvas H"
    },
    "brief_card_id": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Brief Card Id"
    },
    "source": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Source"
    },
    "space_id": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Space Id"
    }
  },
  "type": "object",
  "required": [
    "id",
    "title",
    "prompt",
    "sandbox_artifact_id",
    "icon",
    "data_sources",
    "renderer",
    "size",
    "position",
    "created_at",
    "updated_at",
    "widget_type",
    "content",
    "content_generated_at",
    "content_error",
    "needs_data",
    "grid_x",
    "grid_y",
    "grid_w",
    "grid_h"
  ]
}