{
  "$id": "blueprintitem-comp.schema.json",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$ref": "contentitem.schema.json",
  "title": "Blueprint Item Component",
  "description": "A blueprint item that defines the structure and properties of an assessment blueprint",
  "type": "object",
  "required": ["type", "src", "eSrc", "altComponents"],
  "properties": {
    "type": {
      "type": "string",
      "const": "blueprintitem",
      "description": "Shold be always set to blueprintitem"
    },
    "src": {
      "type": "string",
      "description": "The source identifier for the blueprint item"
    },
    "eSrc": {
      "type": "string",
      "description": "The external source identifier for the blueprint item"
    },
    "altComponents": {
      "type": "array",
      "description": "An array containing exactly one question item component as an alternative",
      "maxItems": 1,
      "items": { "$ref": "questionitem.schema.json" }
    },
    "metadata": {
      "type": "array",
      "items": { "$ref": "blueprintitem-metadata.schema.json" }
    }
  }
}
