{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/elation-health/main/json-schema/elation-health-paginated-report-type-list-schema.json",
  "title": "PaginatedReportTypeList",
  "x-generated": "2026-10-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/elation-health-report-types-api-openapi.yml#/components/schemas/PaginatedReportTypeList",
  "properties": {
    "count": {
      "type": "integer"
    },
    "next": {
      "format": "uri",
      "type": [
        "string",
        "null"
      ]
    },
    "previous": {
      "format": "uri",
      "type": [
        "string",
        "null"
      ]
    },
    "results": {
      "items": {
        "$ref": "#/$defs/ReportType"
      },
      "type": "array"
    }
  },
  "required": [
    "results"
  ],
  "type": "object",
  "$defs": {
    "ReportType": {
      "properties": {
        "display_value": {
          "description": "The display value of the report type.",
          "type": "string"
        },
        "id": {
          "description": "The id of the report type.",
          "type": "integer"
        },
        "practice": {
          "description": "The id of the practice.",
          "type": "integer"
        },
        "rank": {
          "description": "Number that indicates the report type rank in the overall list of report types.",
          "type": "integer"
        },
        "report_type": {
          "description": "The type of report.",
          "type": "string"
        }
      },
      "required": [
        "display_value",
        "id",
        "rank",
        "report_type"
      ],
      "type": "object"
    }
  }
}