{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/aimeat-io/json-schema/aimeat-io-onboarding-summary-schema.json",
  "title": "OnboardingSummary",
  "description": "Reachability summary. Completion gates only on required steps; optional steps never block.",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/aimeat-io-agent-onboarding-api-openapi.yml#/components/schemas/OnboardingSummary",
  "type": "object",
  "properties": {
    "required_total": {
      "type": "integer"
    },
    "required_passed": {
      "type": "integer"
    },
    "required_remaining": {
      "type": "integer"
    },
    "optional_total": {
      "type": "integer"
    },
    "optional_passed": {
      "type": "integer"
    },
    "optional_remaining": {
      "type": "integer"
    },
    "completable": {
      "type": "boolean",
      "description": "true once every required step has passed -- the agent can stop here."
    },
    "next_required_step": {
      "type": [
        "string",
        "null"
      ],
      "description": "First not-yet-passed required step id, or null when none remain."
    },
    "optional_pending": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "Ids of pending optional steps (never block completion)."
    }
  }
}