{
    "$id": "https://www.itb.ec.europa.eu/api/createDomain_request",
    "$schema": "http://json-schema.org/draft-07/schema#",
    "description": "JSON schema for the createDomain operation request payload",
    "type": "object",
    "properties": {
        "shortName": {
            "description": "The domain's short name.",
            "type": "string"
        },
        "fullName": {
            "description": "The domain's full name.",
            "type": "string"
        },
        "description": {
            "description": "The domain's description.",
            "type": "string"
        },
        "reportMetadata": {
            "description": "The domain's additional metadata for XML reports.",
            "type": "string"
        },
        "apiKey": {
            "description": "The API key to set for the domain. If this key is already assigned, a new one will be generated.",
            "type": "string"
        }
    },
    "required": [
        "shortName",
        "fullName"
    ],
    "additionalProperties": false
  }