{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "questionitemlist.schema.json",
  "title": "Question Item List",
  "$ref": "contentitem.schema.json",
  "type": "object",
  "properties": {
    "type": {
      "type": "string",
      "const": "pool",
      "description": "Shold be always set to pool"
    },
    "questionitems": {
      "type": "array",
      "minItems": 1,
      "items": { "$ref": "questionitem.schema.json" }
    },
    "metadata": {
      "type": "array",
      "items": { "$ref": "questionitemlist-metadata.schema.json" },
      "uniqueItems": true
    },
    "attributes": {
      "type": "array",
      "items": { "$ref": "questionitemlist-attribute.schema.json" },
      "uniqueItems": true
    }
  },
  "additionalProperties": true
}
