{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/trypitch-co/json-schema/trypitch-co-project-schema.json",
  "title": "Project",
  "x-generated": "2026-11-27",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/trypitch-co-openapi.json#/components/schemas/Project",
  "type": "object",
  "required": [
    "id",
    "title",
    "status",
    "busy",
    "outputs"
  ],
  "properties": {
    "id": {
      "type": "string"
    },
    "title": {
      "type": "string"
    },
    "status": {
      "enum": [
        "working",
        "ready",
        "failed",
        "empty"
      ]
    },
    "busy": {
      "type": "boolean"
    },
    "prompt": {
      "type": "string"
    },
    "options": {
      "type": "object"
    },
    "outputs": {
      "type": "array",
      "items": {
        "type": "object"
      }
    },
    "thumbnailUrl": {
      "type": [
        "string",
        "null"
      ]
    },
    "shareUrl": {
      "type": [
        "string",
        "null"
      ]
    },
    "error": {
      "type": [
        "string",
        "null"
      ]
    },
    "scenes": {
      "type": "array"
    },
    "slides": {
      "type": "array"
    },
    "createdAt": {
      "type": "string",
      "format": "date-time"
    },
    "updatedAt": {
      "type": "string",
      "format": "date-time"
    }
  }
}