{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/athenahq-ai/json-schema/athenahq-ai-pitch-summary-schema.json",
  "title": "PitchSummary",
  "description": "A pitch workspace report — org-scoped, returned in lists without the heavy report payload.",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/athenahq-ai-pitch-workspace-api-openapi.yml#/components/schemas/PitchSummary",
  "type": "object",
  "required": [
    "id",
    "company_name",
    "company_url",
    "company_description",
    "status",
    "created_at"
  ],
  "properties": {
    "id": {
      "type": "string",
      "format": "uuid",
      "description": "Unique identifier for the pitch."
    },
    "company_name": {
      "type": "string",
      "description": "Display name of the company the pitch was created for."
    },
    "company_url": {
      "type": "string",
      "description": "The company website domain (without protocol)."
    },
    "company_description": {
      "type": "string",
      "description": "Short description of the company captured at pitch creation time."
    },
    "status": {
      "type": "string",
      "enum": [
        "draft",
        "processing",
        "completed",
        "failed"
      ],
      "description": "Current state of the pitch run. `processing` means the workflow is still generating prompts and responses; `completed` means the report is ready; `failed` means the run errored."
    },
    "created_at": {
      "type": "string",
      "format": "date-time",
      "description": "ISO 8601 timestamp (UTC) for when the pitch was created."
    },
    "country": {
      "type": [
        "string",
        "null"
      ],
      "description": "Target country for the pitch, or `null` if no country was set."
    },
    "language": {
      "type": [
        "string",
        "null"
      ],
      "description": "Target language for the pitch, or `null` if no language was set."
    },
    "type": {
      "type": [
        "string",
        "null"
      ],
      "enum": [
        "pitch_workspace",
        "landing_page"
      ],
      "description": "Pitch variant. `pitch_workspace` is the standard pitch report; `landing_page` is generated from a landing page URL. `null` for legacy pitches predating the field."
    }
  }
}