{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "required": [
    "collection",
    "items"
  ],
  "additionalProperties": false,
  "properties": {
    "collection": {
      "type": "string"
    },
    "items": {
      "type": "array",
      "items": {
        "type": "object",
        "required": [
          "id",
          "title",
          "format"
        ],
        "additionalProperties": false,
        "properties": {
          "id": {
            "type": "string"
          },
          "title": {
            "type": "string"
          },
          "format": {
            "enum": [
              "json",
              "json-schema"
            ]
          }
        }
      }
    }
  }
}
