{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/odei-ai/json-schema/odei-ai-intake-status-response-schema.json",
  "title": "IntakeStatusResponse",
  "x-generated": "2026-11-19",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/odei-ai-openapi.json#/components/schemas/IntakeStatusResponse",
  "type": "object",
  "required": [
    "ok",
    "id",
    "intakeId",
    "lane",
    "source",
    "receivedAt",
    "consentAt",
    "summary",
    "normalized",
    "provisioningTrail",
    "activationPackage",
    "launchChecklist",
    "activation",
    "readiness"
  ],
  "properties": {
    "ok": {
      "type": "boolean",
      "enum": [
        true
      ]
    },
    "id": {
      "type": "string"
    },
    "intakeId": {
      "type": "string"
    },
    "lane": {
      "type": "string",
      "enum": [
        "agent",
        "human",
        "enterprise"
      ]
    },
    "source": {
      "type": "string"
    },
    "receivedAt": {
      "type": "string",
      "format": "date-time"
    },
    "consentAt": {
      "type": "string",
      "format": "date-time"
    },
    "summary": {
      "$ref": "#/$defs/IntakeResponseSummary"
    },
    "normalized": {
      "type": "object",
      "additionalProperties": true
    },
    "provisioningTrail": {
      "$ref": "#/$defs/IntakeProvisioningTrail"
    },
    "activationPackage": {
      "$ref": "#/$defs/IntakeActivationPackage"
    },
    "launchChecklist": {
      "$ref": "#/$defs/IntakeLaunchChecklist"
    },
    "activation": {
      "$ref": "#/$defs/IntakeActivationStatus"
    },
    "readiness": {
      "$ref": "#/$defs/IntakeReadiness"
    }
  },
  "$defs": {
    "IntakeActivationPackage": {
      "type": "object",
      "required": [
        "profileId",
        "profileLabel",
        "workspaceBoundary",
        "governanceBoundary",
        "firstMission",
        "firstDelivery",
        "receiptSurface",
        "includedEntitlements",
        "activationReview",
        "billingMode"
      ],
      "properties": {
        "profileId": {
          "type": "string"
        },
        "profileLabel": {
          "type": "string"
        },
        "workspaceBoundary": {
          "type": "string"
        },
        "workspaceBoundaryNote": {
          "type": "string"
        },
        "operatorScope": {
          "type": "string"
        },
        "governanceBoundary": {
          "type": "string"
        },
        "governanceBoundaryNote": {
          "type": "string"
        },
        "worldSources": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "executionSurfaces": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "firstMission": {
          "type": "string"
        },
        "firstDelivery": {
          "type": "string"
        },
        "firstDeliveryNote": {
          "type": "string"
        },
        "receiptSurface": {
          "type": "string"
        },
        "receiptSurfaceNote": {
          "type": "string"
        },
        "includedEntitlements": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "includedEntitlementsNote": {
          "type": "string"
        },
        "activationReview": {
          "type": "string"
        },
        "activationReviewNote": {
          "type": "string"
        },
        "billingMode": {
          "type": "string"
        },
        "billingNote": {
          "type": "string"
        }
      }
    },
    "IntakeActivationStatus": {
      "type": "object",
      "required": [
        "reviewState",
        "activationState",
        "publicLaunch",
        "selfServeActivation"
      ],
      "properties": {
        "reviewState": {
          "type": "string"
        },
        "activationState": {
          "type": "string"
        },
        "publicLaunch": {
          "type": "string"
        },
        "selfServeActivation": {
          "type": "string"
        }
      }
    },
    "IntakeAgentSummary": {
      "type": "object",
      "properties": {
        "headline": {
          "type": "string"
        },
        "runtime": {
          "type": "string"
        },
        "agentId": {
          "type": "string"
        },
        "serviceOffer": {
          "type": "string"
        },
        "endpoint": {
          "type": "string",
          "format": "uri"
        }
      }
    },
    "IntakeCommercialModel": {
      "type": "object",
      "properties": {
        "priceShape": {
          "type": "string"
        },
        "setup": {
          "type": "string",
          "enum": [
            "one_time"
          ]
        },
        "runtime": {
          "type": "string",
          "enum": [
            "recurring"
          ]
        },
        "usage": {
          "type": "string",
          "enum": [
            "metered"
          ]
        }
      }
    },
    "IntakeEnterpriseSummary": {
      "type": "object",
      "properties": {
        "headline": {
          "type": "string"
        },
        "orgName": {
          "type": "string"
        },
        "contactFullName": {
          "type": "string"
        },
        "teamSize": {
          "type": "string"
        },
        "useCase": {
          "type": "string"
        }
      }
    },
    "IntakeHumanSummary": {
      "type": "object",
      "properties": {
        "headline": {
          "type": "string"
        },
        "assistantId": {
          "type": "string"
        },
        "experiencePath": {
          "type": "string"
        },
        "launchPath": {
          "type": "string"
        },
        "runtimeProfile": {
          "type": "string"
        },
        "runtimeLabel": {
          "type": "string"
        },
        "workspaceName": {
          "type": "string"
        },
        "operatorScope": {
          "type": "string"
        },
        "governanceMode": {
          "type": "string"
        },
        "modelProvider": {
          "type": "string"
        },
        "modelAccess": {
          "type": "string"
        },
        "activationPreference": {
          "type": "string"
        },
        "billingReadiness": {
          "type": "string"
        },
        "firstMission": {
          "type": "string"
        },
        "worldSources": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "executionSurfaces": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "priceShape": {
          "type": "string"
        }
      }
    },
    "IntakeLaunchChecklist": {
      "type": "object",
      "required": [
        "profileId",
        "profileLabel",
        "reviewState",
        "counts",
        "items"
      ],
      "properties": {
        "profileId": {
          "type": "string"
        },
        "profileLabel": {
          "type": "string"
        },
        "reviewState": {
          "type": "string"
        },
        "counts": {
          "type": "object",
          "required": [
            "captured",
            "defined",
            "pendingInput",
            "pendingReview"
          ],
          "properties": {
            "captured": {
              "type": "integer",
              "minimum": 0
            },
            "defined": {
              "type": "integer",
              "minimum": 0
            },
            "pendingInput": {
              "type": "integer",
              "minimum": 0
            },
            "pendingReview": {
              "type": "integer",
              "minimum": 0
            }
          }
        },
        "items": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/IntakeLaunchChecklistItem"
          }
        }
      }
    },
    "IntakeLaunchChecklistItem": {
      "type": "object",
      "required": [
        "id",
        "label",
        "state",
        "summary",
        "next"
      ],
      "properties": {
        "id": {
          "type": "string"
        },
        "label": {
          "type": "string"
        },
        "state": {
          "type": "string",
          "enum": [
            "captured",
            "defined",
            "pending_input",
            "pending_review"
          ]
        },
        "summary": {
          "type": "string"
        },
        "next": {
          "type": "string"
        }
      }
    },
    "IntakeProvisioningLinks": {
      "type": "object",
      "properties": {
        "app": {
          "type": "string",
          "format": "uri"
        },
        "intakeStatus": {
          "type": "string",
          "format": "uri"
        },
        "provisioningCapsule": {
          "type": "string",
          "format": "uri"
        },
        "resumeApp": {
          "type": "string",
          "format": "uri"
        },
        "registrationContract": {
          "type": "string",
          "format": "uri"
        },
        "launchStatus": {
          "type": "string",
          "format": "uri"
        },
        "pricingArtifact": {
          "type": "string",
          "format": "uri"
        },
        "billingContract": {
          "type": "string",
          "format": "uri"
        },
        "firstMissionPack": {
          "type": "string",
          "format": "uri"
        },
        "plansArtifact": {
          "type": "string",
          "format": "uri"
        },
        "authContract": {
          "type": "string",
          "format": "uri"
        },
        "authState": {
          "type": "string",
          "format": "uri"
        },
        "entitlementsArtifact": {
          "type": "string",
          "format": "uri"
        },
        "entitlementsState": {
          "type": "string",
          "format": "uri"
        },
        "provisioningSchema": {
          "type": "string",
          "format": "uri"
        },
        "activationContract": {
          "type": "string",
          "format": "uri"
        },
        "activationState": {
          "type": "string",
          "format": "uri"
        },
        "activationPackage": {
          "type": "string",
          "format": "uri"
        },
        "launchChecklist": {
          "type": "string",
          "format": "uri"
        },
        "cohortContract": {
          "type": "string",
          "format": "uri"
        },
        "activationTimeline": {
          "type": "string",
          "format": "uri"
        },
        "intakeTemplate": {
          "type": "string",
          "format": "uri"
        }
      }
    },
    "IntakeProvisioningTrail": {
      "type": "object",
      "required": [
        "currentState",
        "nextSteps",
        "links"
      ],
      "properties": {
        "currentState": {
          "type": "string"
        },
        "nextSteps": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "commercialModel": {
          "anyOf": [
            {
              "$ref": "#/$defs/IntakeCommercialModel"
            },
            {
              "type": "null"
            }
          ]
        },
        "links": {
          "$ref": "#/$defs/IntakeProvisioningLinks"
        }
      }
    },
    "IntakeReadiness": {
      "type": "object",
      "required": [
        "auth",
        "entitlements",
        "billing",
        "activation"
      ],
      "properties": {
        "auth": {
          "$ref": "#/$defs/IntakeReadinessLane"
        },
        "entitlements": {
          "$ref": "#/$defs/IntakeReadinessLane"
        },
        "billing": {
          "$ref": "#/$defs/IntakeReadinessLane"
        },
        "activation": {
          "$ref": "#/$defs/IntakeReadinessLane"
        }
      }
    },
    "IntakeReadinessLane": {
      "type": "object",
      "required": [
        "state",
        "next",
        "note"
      ],
      "properties": {
        "state": {
          "type": "string"
        },
        "next": {
          "type": "string"
        },
        "note": {
          "type": "string"
        }
      }
    },
    "IntakeResponseSummary": {
      "oneOf": [
        {
          "$ref": "#/$defs/IntakeHumanSummary"
        },
        {
          "$ref": "#/$defs/IntakeAgentSummary"
        },
        {
          "$ref": "#/$defs/IntakeEnterpriseSummary"
        }
      ]
    }
  }
}