{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/certifyos/main/json-schema/certifyos-get-plan-response-schema.json",
  "title": "GetPlanResponse",
  "description": "A single plan record as it appears in a paginated plans listing.",
  "x-generated": "2026-10-20",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/certifyos-plan-api-openapi.yml#/components/schemas/GetPlanResponse",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "description": "Server-assigned unique identifier for the plan."
    },
    "tenantId": {
      "type": "string",
      "description": "Identifier of the tenant that owns this plan."
    },
    "payerId": {
      "type": "string",
      "description": "Identifier of the payer this plan is associated with. Extracted server-side from `data.payer` at creation time."
    },
    "data": {
      "type": "object",
      "description": "The plan's domain data, validated against the Plan JSON schema at creation/update time."
    }
  }
}