{
  "openapi": "3.0.3",
  "info": {
    "title": "ODEI API",
    "version": "0.2.0",
    "description": "Public ODEI runtime contract for health, context, metrics, world-model projection, intake/write gate, token telemetry, bidwall telemetry, and Blink surfaces.",
    "termsOfService": "https://api.odei.ai/terms/",
    "contact": {
      "url": "https://api.odei.ai/legal/"
    },
    "x-legal": {
      "privacy": "https://api.odei.ai/privacy/",
      "sla": "https://api.odei.ai/sla/"
    }
  },
  "servers": [
    {
      "url": "https://api.odei.ai"
    }
  ],
  "paths": {
    "/health": {
      "get": {
        "summary": "Service health",
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/openapi.json": {
      "get": {
        "summary": "OpenAPI spec",
        "responses": {
          "200": {
            "description": "OpenAPI JSON"
          }
        }
      }
    },
    "/openapi-v2.yaml": {
      "get": {
        "summary": "Digital World Model API v2 OpenAPI",
        "responses": {
          "200": {
            "description": "OpenAPI v2 YAML"
          }
        }
      }
    },
    "/.well-known/x402.json": {
      "get": {
        "summary": "x402 manifest",
        "responses": {
          "200": {
            "description": "x402 capability metadata"
          }
        }
      }
    },
    "/api/context": {
      "get": {
        "summary": "Public ODEI context snapshot",
        "responses": {
          "200": {
            "description": "Live or fallback context snapshot"
          },
          "429": {
            "description": "Route budget exceeded"
          }
        }
      }
    },
    "/api/site-metrics": {
      "get": {
        "summary": "Aggregated live site metrics snapshot",
        "responses": {
          "200": {
            "description": "Unified metrics payload for public surfaces"
          },
          "429": {
            "description": "Route budget exceeded"
          }
        }
      }
    },
    "/api/worldmodel": {
      "get": {
        "summary": "Legacy live projection alias",
        "responses": {
          "200": {
            "description": "Projection snapshot"
          },
          "429": {
            "description": "Route budget exceeded"
          }
        }
      }
    },
    "/api/worldmodel/public-projection": {
      "get": {
        "summary": "Public projection alias (redirect)",
        "responses": {
          "302": {
            "description": "Redirect to /api/worldmodel/live"
          }
        }
      }
    },
    "/api/worldmodel/live": {
      "get": {
        "summary": "Live projection payload",
        "responses": {
          "200": {
            "description": "Projection snapshot"
          },
          "429": {
            "description": "Route budget exceeded"
          }
        }
      }
    },
    "/api/worldmodel/create": {
      "post": {
        "summary": "Create onboarding capsule",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/WorldModelCreateRequest"
              }
            }
          }
        },
        "responses": {
          "201": {
            "description": "Created"
          },
          "400": {
            "description": "Bad Request"
          },
          "429": {
            "description": "Rate limit exceeded"
          }
        }
      }
    },
    "/api/intake/stats": {
      "get": {
        "summary": "Intake registration counts by lane",
        "responses": {
          "200": {
            "description": "Stats"
          }
        }
      }
    },
    "/api/intake/recent": {
      "get": {
        "summary": "Recent intake activity",
        "responses": {
          "200": {
            "description": "Recent anonymized lane timeline"
          }
        }
      }
    },
    "/api/intake/{intakeId}": {
      "get": {
        "summary": "Provisioning status for a specific intake ID",
        "parameters": [
          {
            "name": "intakeId",
            "in": "path",
            "required": true,
            "description": "Canonical intake identifier returned by POST /api/intake",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Provisioning status envelope",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/IntakeStatusResponse"
                }
              }
            }
          },
          "404": {
            "description": "Intake not found"
          }
        }
      }
    },
    "/api/intake/{intakeId}/capsule": {
      "get": {
        "summary": "Canonical provisioning capsule for a specific intake ID",
        "parameters": [
          {
            "name": "intakeId",
            "in": "path",
            "required": true,
            "description": "Canonical intake identifier returned by POST /api/intake",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Provisioning capsule handoff artifact",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/IntakeProvisioningCapsule"
                }
              }
            }
          },
          "404": {
            "description": "Intake not found"
          }
        }
      }
    },
    "/api/intake": {
      "post": {
        "summary": "Register agent, human operator, or enterprise onboarding (consent required)",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/IntakeRequest"
              }
            }
          }
        },
        "responses": {
          "201": {
            "description": "Intake registered",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/IntakeResponse"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request"
          },
          "429": {
            "description": "Rate limit exceeded"
          }
        }
      }
    },
    "/api/token/price": {
      "get": {
        "summary": "ODAI token telemetry snapshot",
        "responses": {
          "200": {
            "description": "Price, market-cap and activity metrics"
          }
        }
      }
    },
    "/api/token/holders": {
      "get": {
        "summary": "ODAI holder count (exact + provenance)",
        "responses": {
          "200": {
            "description": "Holder count with source/quality/stale/fetchedAt, consistency level and source discrepancy metadata"
          }
        }
      }
    },
    "/api/token/holders-map": {
      "get": {
        "summary": "ODAI holders map",
        "parameters": [
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "description": "Number of holder rows to return (60..5000)",
            "schema": {
              "type": "integer",
              "minimum": 60,
              "maximum": 5000
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Paginated holder map payload"
          }
        }
      }
    },
    "/api/token/holders-map-temporal": {
      "get": {
        "summary": "ODAI holder temporal intelligence",
        "responses": {
          "200": {
            "description": "Comparison window across persisted holder snapshots, including churn, movers, and cohort deltas"
          }
        }
      }
    },
    "/api/revenue/moltlaunch": {
      "get": {
        "summary": "MoltLaunch revenue telemetry",
        "responses": {
          "200": {
            "description": "Revenue snapshot for ODEI agent profile"
          }
        }
      }
    },
    "/blink/guardrail": {
      "get": {
        "summary": "Guardrail Blink action",
        "responses": {
          "200": {
            "description": "Solana action payload for guardrail flow"
          }
        }
      }
    },
    "/blink/worldmodel": {
      "get": {
        "summary": "World-model Blink action",
        "responses": {
          "200": {
            "description": "Solana action payload for world-model query flow"
          }
        }
      }
    },
    "/api/bidwall/balance": {
      "get": {
        "summary": "BidWall contract native ETH balance (wei)",
        "responses": {
          "200": {
            "description": "Balance payload with cache/stale metadata"
          }
        }
      }
    },
    "/api/bidwall/eth-price": {
      "get": {
        "summary": "ETH/USD spot proxy for BidWall valuation",
        "responses": {
          "200": {
            "description": "ETH/USD payload with source and stale metadata"
          }
        }
      }
    },
    "/api/bidwall/snapshot": {
      "get": {
        "summary": "BidWall merged telemetry snapshot (scope-aware provenance)",
        "parameters": [
          {
            "name": "scope",
            "in": "query",
            "required": false,
            "description": "Activity scope (`all` or `odai`)",
            "schema": {
              "type": "string",
              "enum": [
                "all",
                "odai"
              ]
            }
          },
          {
            "name": "token",
            "in": "query",
            "required": false,
            "description": "Optional ERC-20 address filter for events (overrides `scope`)",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "events_limit",
            "in": "query",
            "required": false,
            "description": "Number of preview events to include in snapshot (1..20, default 8)",
            "schema": {
              "type": "integer",
              "minimum": 1,
              "maximum": 20
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Balance + ETH/USD + trigger progress + freshness/quality/scope metadata"
          }
        }
      }
    },
    "/api/bidwall/events": {
      "get": {
        "summary": "Recent BidWall token transfer activity (scope-aware)",
        "parameters": [
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "description": "Number of events to return (1..40, default 20)",
            "schema": {
              "type": "integer",
              "minimum": 1,
              "maximum": 40
            }
          },
          {
            "name": "scope",
            "in": "query",
            "required": false,
            "description": "Activity scope (`all` or `odai`)",
            "schema": {
              "type": "string",
              "enum": [
                "all",
                "odai"
              ]
            }
          },
          {
            "name": "token",
            "in": "query",
            "required": false,
            "description": "Optional ERC-20 address filter for events (overrides `scope`)",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Recent token transfer events touching BidWall contract with source/quality/scope metadata"
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "ConsentPayload": {
        "oneOf": [
          {
            "type": "boolean",
            "enum": [
              true
            ]
          },
          {
            "type": "object",
            "required": [
              "accepted"
            ],
            "properties": {
              "accepted": {
                "type": "boolean",
                "enum": [
                  true
                ]
              },
              "at": {
                "type": "string",
                "format": "date-time"
              },
              "policyVersion": {
                "type": "string"
              }
            }
          }
        ]
      },
      "WorldModelCreateRequest": {
        "type": "object",
        "required": [
          "ownerId",
          "name"
        ],
        "properties": {
          "ownerId": {
            "type": "string",
            "minLength": 1
          },
          "name": {
            "type": "string",
            "minLength": 1
          },
          "isAI": {
            "type": "boolean"
          },
          "displayName": {
            "type": "string"
          },
          "visibility": {
            "type": "string",
            "enum": [
              "private",
              "public"
            ]
          },
          "values": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "maxItems": 32
          }
        }
      },
      "IntakeAgentRequest": {
        "type": "object",
        "required": [
          "lane",
          "consent",
          "agentId",
          "serviceOffer",
          "endpoint"
        ],
        "properties": {
          "lane": {
            "type": "string",
            "enum": [
              "agent"
            ]
          },
          "consent": {
            "$ref": "#/components/schemas/ConsentPayload"
          },
          "consentAt": {
            "type": "string",
            "format": "date-time"
          },
          "consentVersion": {
            "type": "string"
          },
          "agentId": {
            "type": "string",
            "minLength": 3
          },
          "runtime": {
            "type": "string"
          },
          "serviceOffer": {
            "type": "string",
            "minLength": 8
          },
          "endpoint": {
            "type": "string",
            "format": "uri"
          },
          "proof": {
            "type": "string",
            "format": "uri"
          },
          "wallet": {
            "type": "string"
          },
          "rail": {
            "type": "string"
          },
          "domain": {
            "type": "string"
          },
          "type": {
            "type": "string"
          },
          "sector": {
            "type": "string"
          },
          "agentContact": {
            "type": "string"
          },
          "source": {
            "type": "string"
          }
        }
      },
      "IntakeHumanRequest": {
        "type": "object",
        "required": [
          "lane",
          "consent",
          "name",
          "useCase",
          "telegram"
        ],
        "properties": {
          "lane": {
            "type": "string",
            "enum": [
              "human"
            ]
          },
          "consent": {
            "$ref": "#/components/schemas/ConsentPayload"
          },
          "consentAt": {
            "type": "string",
            "format": "date-time"
          },
          "consentVersion": {
            "type": "string"
          },
          "name": {
            "type": "string",
            "minLength": 2
          },
          "agentName": {
            "type": "string"
          },
          "role": {
            "type": "string"
          },
          "assistantId": {
            "type": "string",
            "enum": [
              "codex",
              "claude-code",
              "gemini",
              "grok",
              "custom"
            ]
          },
          "experiencePath": {
            "type": "string",
            "enum": [
              "new_to_agents",
              "existing_agent_operator"
            ]
          },
          "launchPath": {
            "type": "string",
            "enum": [
              "/create-my-agent",
              "/upgrade-my-agent",
              "/launch-builder"
            ]
          },
          "useCase": {
            "type": "string",
            "minLength": 10
          },
          "workspaceName": {
            "type": "string"
          },
          "operatorScope": {
            "type": "string"
          },
          "modelProvider": {
            "type": "string"
          },
          "modelAccess": {
            "type": "string"
          },
          "governanceMode": {
            "type": "string"
          },
          "runtimeProfile": {
            "type": "string"
          },
          "activationPreference": {
            "type": "string"
          },
          "billingReadiness": {
            "type": "string"
          },
          "firstMission": {
            "type": "string"
          },
          "worldSources": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "maxItems": 8
          },
          "executionSurfaces": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "maxItems": 6
          },
          "telegram": {
            "type": "string",
            "minLength": 2
          },
          "email": {
            "type": "string",
            "format": "email"
          },
          "twitter": {
            "type": "string"
          },
          "source": {
            "type": "string"
          }
        }
      },
      "IntakeEnterpriseRequest": {
        "type": "object",
        "required": [
          "lane",
          "consent",
          "orgName",
          "contactFullName",
          "contactRole",
          "contactEmail",
          "useCase"
        ],
        "properties": {
          "lane": {
            "type": "string",
            "enum": [
              "enterprise"
            ]
          },
          "consent": {
            "$ref": "#/components/schemas/ConsentPayload"
          },
          "consentAt": {
            "type": "string",
            "format": "date-time"
          },
          "consentVersion": {
            "type": "string"
          },
          "orgName": {
            "type": "string",
            "minLength": 2
          },
          "contactFullName": {
            "type": "string",
            "minLength": 2
          },
          "contactName": {
            "type": "string",
            "minLength": 2
          },
          "contactRole": {
            "type": "string",
            "minLength": 2
          },
          "teamSize": {
            "type": "string"
          },
          "contactEmail": {
            "type": "string",
            "format": "email"
          },
          "telegram": {
            "type": "string"
          },
          "useCase": {
            "type": "string",
            "minLength": 10
          },
          "source": {
            "type": "string"
          }
        }
      },
      "IntakeRequest": {
        "oneOf": [
          {
            "$ref": "#/components/schemas/IntakeAgentRequest"
          },
          {
            "$ref": "#/components/schemas/IntakeHumanRequest"
          },
          {
            "$ref": "#/components/schemas/IntakeEnterpriseRequest"
          }
        ]
      },
      "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"
          }
        }
      },
      "IntakeCommercialModel": {
        "type": "object",
        "properties": {
          "priceShape": {
            "type": "string"
          },
          "setup": {
            "type": "string",
            "enum": [
              "one_time"
            ]
          },
          "runtime": {
            "type": "string",
            "enum": [
              "recurring"
            ]
          },
          "usage": {
            "type": "string",
            "enum": [
              "metered"
            ]
          }
        }
      },
      "IntakeProvisioningTrail": {
        "type": "object",
        "required": [
          "currentState",
          "nextSteps",
          "links"
        ],
        "properties": {
          "currentState": {
            "type": "string"
          },
          "nextSteps": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "commercialModel": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/IntakeCommercialModel"
              },
              {
                "type": "null"
              }
            ]
          },
          "links": {
            "$ref": "#/components/schemas/IntakeProvisioningLinks"
          }
        }
      },
      "IntakeProvisioningCapsule": {
        "type": "object",
        "required": [
          "ok",
          "artifact",
          "version",
          "id",
          "intakeId",
          "lane",
          "source",
          "receivedAt",
          "consentAt",
          "summary",
          "normalized",
          "provisioningTrail",
          "activationPackage",
          "launchChecklist",
          "activation",
          "readiness",
          "generatedAt"
        ],
        "properties": {
          "ok": {
            "type": "boolean",
            "enum": [
              true
            ]
          },
          "artifact": {
            "type": "string"
          },
          "version": {
            "type": "string"
          },
          "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": "#/components/schemas/IntakeResponseSummary"
          },
          "normalized": {
            "type": "object",
            "additionalProperties": true
          },
          "provisioningTrail": {
            "$ref": "#/components/schemas/IntakeProvisioningTrail"
          },
          "activationPackage": {
            "$ref": "#/components/schemas/IntakeActivationPackage"
          },
          "launchChecklist": {
            "$ref": "#/components/schemas/IntakeLaunchChecklist"
          },
          "activation": {
            "$ref": "#/components/schemas/IntakeActivationStatus"
          },
          "readiness": {
            "$ref": "#/components/schemas/IntakeReadiness"
          },
          "generatedAt": {
            "type": "string",
            "format": "date-time"
          }
        }
      },
      "IntakeActivationStatus": {
        "type": "object",
        "required": [
          "reviewState",
          "activationState",
          "publicLaunch",
          "selfServeActivation"
        ],
        "properties": {
          "reviewState": {
            "type": "string"
          },
          "activationState": {
            "type": "string"
          },
          "publicLaunch": {
            "type": "string"
          },
          "selfServeActivation": {
            "type": "string"
          }
        }
      },
      "IntakeReadinessLane": {
        "type": "object",
        "required": [
          "state",
          "next",
          "note"
        ],
        "properties": {
          "state": {
            "type": "string"
          },
          "next": {
            "type": "string"
          },
          "note": {
            "type": "string"
          }
        }
      },
      "IntakeReadiness": {
        "type": "object",
        "required": [
          "auth",
          "entitlements",
          "billing",
          "activation"
        ],
        "properties": {
          "auth": {
            "$ref": "#/components/schemas/IntakeReadinessLane"
          },
          "entitlements": {
            "$ref": "#/components/schemas/IntakeReadinessLane"
          },
          "billing": {
            "$ref": "#/components/schemas/IntakeReadinessLane"
          },
          "activation": {
            "$ref": "#/components/schemas/IntakeReadinessLane"
          }
        }
      },
      "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"
          }
        }
      },
      "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"
          }
        }
      },
      "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": "#/components/schemas/IntakeLaunchChecklistItem"
            }
          }
        }
      },
      "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"
          }
        }
      },
      "IntakeAgentSummary": {
        "type": "object",
        "properties": {
          "headline": {
            "type": "string"
          },
          "runtime": {
            "type": "string"
          },
          "agentId": {
            "type": "string"
          },
          "serviceOffer": {
            "type": "string"
          },
          "endpoint": {
            "type": "string",
            "format": "uri"
          }
        }
      },
      "IntakeEnterpriseSummary": {
        "type": "object",
        "properties": {
          "headline": {
            "type": "string"
          },
          "orgName": {
            "type": "string"
          },
          "contactFullName": {
            "type": "string"
          },
          "teamSize": {
            "type": "string"
          },
          "useCase": {
            "type": "string"
          }
        }
      },
      "IntakeResponseSummary": {
        "oneOf": [
          {
            "$ref": "#/components/schemas/IntakeHumanSummary"
          },
          {
            "$ref": "#/components/schemas/IntakeAgentSummary"
          },
          {
            "$ref": "#/components/schemas/IntakeEnterpriseSummary"
          }
        ]
      },
      "IntakeResponse": {
        "type": "object",
        "required": [
          "ok",
          "id",
          "intakeId",
          "lane",
          "source",
          "receivedAt",
          "consentAt",
          "summary",
          "normalized",
          "provisioningTrail",
          "activationPackage",
          "launchChecklist",
          "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": "#/components/schemas/IntakeResponseSummary"
          },
          "normalized": {
            "type": "object",
            "additionalProperties": true
          },
          "provisioningTrail": {
            "$ref": "#/components/schemas/IntakeProvisioningTrail"
          },
          "activationPackage": {
            "$ref": "#/components/schemas/IntakeActivationPackage"
          },
          "launchChecklist": {
            "$ref": "#/components/schemas/IntakeLaunchChecklist"
          },
          "readiness": {
            "$ref": "#/components/schemas/IntakeReadiness"
          }
        }
      },
      "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": "#/components/schemas/IntakeResponseSummary"
          },
          "normalized": {
            "type": "object",
            "additionalProperties": true
          },
          "provisioningTrail": {
            "$ref": "#/components/schemas/IntakeProvisioningTrail"
          },
          "activationPackage": {
            "$ref": "#/components/schemas/IntakeActivationPackage"
          },
          "launchChecklist": {
            "$ref": "#/components/schemas/IntakeLaunchChecklist"
          },
          "activation": {
            "$ref": "#/components/schemas/IntakeActivationStatus"
          },
          "readiness": {
            "$ref": "#/components/schemas/IntakeReadiness"
          }
        }
      }
    }
  }
}