{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/mahastrategies-com/json-schema/mahastrategies-com-celestial-report-request-schema.json",
  "title": "CelestialReportRequest",
  "x-generated": "2026-10-30",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/mahastrategies-com-openapi.json#/components/schemas/CelestialReportRequest",
  "type": "object",
  "required": [
    "apiVersion",
    "clientRequestId",
    "reportType",
    "interpretationPack",
    "dataPolicy",
    "input"
  ],
  "additionalProperties": false,
  "properties": {
    "apiVersion": {
      "type": "string",
      "const": "maha-celestial-api/1"
    },
    "clientRequestId": {
      "type": "string",
      "minLength": 8,
      "maxLength": 96
    },
    "reportType": {
      "type": "string",
      "enum": [
        "individual-birth",
        "corporate-event"
      ]
    },
    "interpretationPack": {
      "type": "object",
      "required": [
        "packId",
        "version"
      ],
      "properties": {
        "packId": {
          "type": "string",
          "enum": [
            "facts-only",
            "jyotisha-source-bound",
            "comparative-natal"
          ]
        },
        "version": {
          "type": "string"
        }
      }
    },
    "dataPolicy": {
      "type": "object",
      "description": "Explicit consent basis, consent-record SHA-256 digest, save decision, and bounded retention."
    },
    "input": {
      "type": "object",
      "description": "BirthInput or CorporateReportInput as selected by reportType."
    }
  }
}