{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/certifyos/main/json-schema/certifyos-get-all-payers-response-schema.json",
  "title": "GetAllPayersResponse",
  "x-generated": "2026-10-20",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/certifyos-payers-api-openapi.yml#/components/schemas/GetAllPayersResponse",
  "type": "object",
  "properties": {
    "totalCount": {
      "type": "integer",
      "format": "int64"
    },
    "data": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/PayerResponseSchema"
      }
    }
  },
  "$defs": {
    "PayerResponseSchema": {
      "type": "object",
      "description": "A payer record.",
      "properties": {
        "id": {
          "type": "string"
        },
        "externalPayerId": {
          "type": "string"
        },
        "sourceId": {
          "type": "string"
        },
        "data": {
          "$ref": "https://schemas.certifyos.com/entities/Payer.schema.json",
          "type": "object"
        }
      }
    }
  }
}