{
  "$id": "https://www.itb.ec.europa.eu/api/searchSpecifications_response",
  "$schema": "http://json-schema.org/draft-07/schema#",
  "description": "JSON schema for the searchSpecifications operation response payload",
  "type": "array",
  "items": {
    "$ref": "#/definitions/Specification"
  },
  "definitions": {
    "Specification": {
      "description": "A specification.",
      "type": "object",
      "properties": {
        "shortName": {
          "description": "The specification's short name.",
          "type": "string"
        },
        "fullName": {
          "description": "The specification's full name.",
          "type": "string"
        },
        "description": {
          "description": "The specification's description.",
          "type": "string"
        },
        "reportMetadata": {
          "description": "The specification's additional metadata for XML reports.",
          "type": "string"
        },
        "hidden": {
          "description": "Whether the specification should be hidden.",
          "type": "boolean",
          "default": false
        },
        "displayOrder": {
          "description": "The specification's display order relative to other groups and specifications.",
          "type": "number"
        },
        "apiKey": {
          "description": "The specification's API key.",
          "type": "string"
        }
      },
      "required": [
        "shortName",
        "fullName",
        "apiKey"
      ],
      "additionalProperties": false
    }
  }
}