{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/trypitch-co/json-schema/trypitch-co-create-project-schema.json",
  "title": "CreateProject",
  "x-generated": "2026-11-27",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/trypitch-co-openapi.json#/components/schemas/CreateProject",
  "type": "object",
  "properties": {
    "flow": {
      "enum": [
        "launch-video",
        "demo-video",
        "deck",
        "recording-edit"
      ],
      "deprecated": true,
      "description": "Compatibility hint; accepted but ignored."
    },
    "prompt": {
      "type": "string",
      "description": "Required unless uploads is non-empty."
    },
    "options": {
      "type": "object",
      "additionalProperties": true
    },
    "uploads": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/Upload"
      }
    },
    "name": {
      "type": "string"
    }
  },
  "$defs": {
    "Upload": {
      "type": "object",
      "required": [
        "fileBase64",
        "fileName"
      ],
      "properties": {
        "fileBase64": {
          "type": "string"
        },
        "fileName": {
          "type": "string"
        }
      }
    }
  }
}