{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/medcehub/json-schema/medcehub-requirement-index-schema.json",
  "title": "RequirementIndex",
  "x-generated": "2026-11-25",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/medcehub-openapi.yml#/components/schemas/RequirementIndex",
  "type": "object",
  "properties": {
    "jsonapi": {
      "$ref": "#/$defs/JsonApi"
    },
    "meta": {
      "$ref": "#/$defs/Meta"
    },
    "data": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "type": {
            "type": "string"
          },
          "id": {
            "type": "string"
          },
          "attributes": {
            "type": "object",
            "properties": {
              "state": {
                "type": "string"
              },
              "state_name": {
                "type": "string"
              },
              "profession": {
                "type": "string"
              },
              "board_name": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "medcehub_url": {
                "type": "string"
              },
              "licenses": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              }
            }
          },
          "links": {
            "type": "object"
          }
        }
      }
    }
  },
  "$defs": {
    "JsonApi": {
      "type": "object",
      "properties": {
        "version": {
          "type": "string"
        }
      }
    },
    "Meta": {
      "type": "object",
      "properties": {
        "count": {
          "type": "integer"
        },
        "generated": {
          "type": "string",
          "format": "date"
        },
        "source": {
          "type": "string",
          "format": "uri"
        },
        "license": {
          "type": "string"
        },
        "attribution": {
          "type": "string"
        }
      }
    }
  }
}