{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/prospectapis/json-schema/prospectapis-launch-schema.json",
  "title": "Launch",
  "description": "One launch event, a prospecting trigger: who launched what, the company domain, the founder or poster to contact, and the company's funding, HQ, size and category. Carries a link to the company's own post or page and derived fields only, never the post text or media. A record that fails the relevance gate or resolves no domain is never served; a duplicate is served free.",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/prospectapis-launches-api-openapi.yml#/components/schemas/Launch",
  "type": "object",
  "required": [
    "id",
    "stage",
    "company_domain",
    "source_url",
    "launched_at",
    "detected_at",
    "gate_version"
  ],
  "properties": {
    "id": {
      "type": "string",
      "format": "uuid"
    },
    "stage": {
      "type": "string",
      "enum": [
        "post",
        "pre"
      ],
      "description": "post: launched and usable now. pre: the company itself says it is about to launch; never a prediction."
    },
    "launch_type": {
      "type": [
        "string",
        "null"
      ],
      "enum": [
        "new_company",
        "new_product",
        "major_version",
        "feature",
        null
      ]
    },
    "company_name": {
      "type": [
        "string",
        "null"
      ]
    },
    "company_domain": {
      "type": "string"
    },
    "product_name": {
      "type": [
        "string",
        "null"
      ]
    },
    "category": {
      "type": [
        "string",
        "null"
      ]
    },
    "country_code": {
      "type": [
        "string",
        "null"
      ],
      "description": "ISO 3166-1 alpha-2, when known."
    },
    "source_url": {
      "type": "string",
      "format": "uri",
      "description": "The company's own post or page."
    },
    "launched_at": {
      "type": "string",
      "format": "date-time"
    },
    "detected_at": {
      "type": "string",
      "format": "date-time"
    },
    "person_ref": {
      "type": [
        "string",
        "null"
      ],
      "description": "An opaque reference to the founder or poster (per_ plus 24 hex). With `person_name` and `company_domain` it is the input to POST /v1/email/find and the people reads."
    },
    "person_name": {
      "type": [
        "string",
        "null"
      ],
      "description": "The founder's or poster's public name."
    },
    "poster_role": {
      "type": [
        "string",
        "null"
      ],
      "enum": [
        "company",
        "founder",
        "employee",
        null
      ]
    },
    "gate_version": {
      "type": "string",
      "description": "The relevance gate version that passed this record."
    },
    "updated_at": {
      "type": "string",
      "format": "date-time"
    },
    "company": {
      "type": [
        "object",
        "null"
      ],
      "description": "The launching company's context from its company profile, or null when no profile is built yet.",
      "properties": {
        "hq": {
          "description": "Headquarters as the company states it."
        },
        "size": {
          "type": [
            "string",
            "null"
          ],
          "description": "Employee band, such as 11-50."
        },
        "industry": {
          "type": [
            "string",
            "null"
          ]
        },
        "founded_year": {
          "type": [
            "integer",
            "null"
          ]
        }
      }
    },
    "funding": {
      "type": [
        "object",
        "null"
      ],
      "description": "The newest funding round we hold for the company domain, with the count and known total, or null when we hold none.",
      "properties": {
        "last_funding_id": {
          "type": [
            "string",
            "null"
          ],
          "description": "Pass to GET /v1/funding/{id}."
        },
        "last_round": {
          "type": [
            "string",
            "null"
          ]
        },
        "last_round_stage": {
          "type": [
            "string",
            "null"
          ]
        },
        "last_amount_usd": {
          "type": [
            "number",
            "null"
          ]
        },
        "last_announced_at": {
          "type": [
            "string",
            "null"
          ],
          "format": "date"
        },
        "last_source_url": {
          "type": [
            "string",
            "null"
          ],
          "format": "uri"
        },
        "rounds_known": {
          "type": "integer"
        },
        "total_known_usd": {
          "type": [
            "number",
            "null"
          ]
        }
      }
    },
    "duplicate_of": {
      "type": [
        "string",
        "null"
      ],
      "format": "uuid",
      "description": "The id of an earlier record of the same launch (same company, same stage, within 7 days). A duplicate is served but never charged."
    }
  }
}