{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/medcehub/json-schema/medcehub-reference-collection-schema.json",
  "title": "ReferenceCollection",
  "x-generated": "2026-11-25",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/medcehub-openapi.yml#/components/schemas/ReferenceCollection",
  "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"
          }
        }
      }
    }
  },
  "$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"
        }
      }
    }
  }
}