{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/easy2257-com/json-schema/easy2257-com-production-response-schema.json",
  "title": "ProductionResponse",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/easy2257-com-productions-api-openapi.yml#/components/schemas/ProductionResponse",
  "type": "object",
  "properties": {
    "id": {
      "type": "string"
    },
    "status": {
      "type": "string",
      "enum": [
        "pending_documentation",
        "documented",
        "revoked",
        "takedown_pending",
        "takedown_complete"
      ],
      "description": "`pending_documentation`: records not yet complete. `documented`: records on file and a certificate issued. `revoked`: certificate revoked by an actioned takedown. `takedown_pending`: removal request received, under review. `takedown_complete`: content removed, records sealed."
    },
    "performerCount": {
      "type": "integer",
      "description": "Number of talent participants across the production's scenes."
    },
    "documentedAt": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time"
    },
    "custodianName": {
      "type": "string",
      "description": "Custodian of Records legal entity, exactly as published on the Easy2257 records statement. Render it, do not parse it."
    },
    "custodianAddress": {
      "type": "string",
      "description": "Custodian mailing address on one line. Empty string when no address is on file."
    },
    "takedownContact": {
      "type": "string",
      "format": "email"
    },
    "lastVerifiedAt": {
      "type": "string",
      "format": "date-time",
      "description": "Timestamp of this lookup, not of a stored verification event. Useful as an audit breadcrumb for when you last checked."
    }
  },
  "required": [
    "id",
    "status",
    "performerCount",
    "documentedAt",
    "custodianName",
    "custodianAddress",
    "takedownContact",
    "lastVerifiedAt"
  ]
}