{
    "$id": "https://www.itb.ec.europa.eu/api/createSpecificationGroup_request",
    "$schema": "http://json-schema.org/draft-07/schema#",
    "description": "JSON schema for the createSpecificationGroup operation request payload",
    "type": "object",
    "properties": {
        "shortName": {
            "description": "The group's short name.",
            "type": "string"
        },
        "fullName": {
            "description": "The group's full name.",
            "type": "string"
        },
        "description": {
            "description": "The group's description.",
            "type": "string"
        },
        "reportMetadata": {
            "description": "The group's additional metadata for XML reports.",
            "type": "string"
        },
        "displayOrder": {
            "description": "The group's display order relative to other groups and specifications.",
            "type": "number"
        },
        "apiKey": {
            "description": "The API key to set for the group. If this key is already assigned, a new one will be generated.",
            "type": "string"
        },
        "domain": {
            "description": "The API key of the domain within which to create the group. This can be omitted if the community identified by the community API key used for authorisation is linked to a specific domain.",
            "type": "string"
        }
    },
    "required": [
        "shortName",
        "fullName"
    ],
    "additionalProperties": false
  }