{
    "$id": "https://www.itb.ec.europa.eu/api/updateTestService_request",
    "$schema": "http://json-schema.org/draft-07/schema#",
    "description": "JSON schema for the updateTestService operation request payload",
    "type": "object",
  "properties": {
    "key": {
      "description": "The unique key used to identify the service and its underlying domain parameter.",
      "type": "string"
    },
    "address": {
      "description": "The new address to apply for the service. Skip this if no update should be made.",
      "type": "string"
    },
    "description": {
      "description": "The service's description. Skip this if no update should be made.",
      "type": "string"
    },
    "serviceType": {
      "description": "The type of the service. Skip this if no update should be made.",
      "type": "string",
      "enum": ["messaging", "validation", "processing"]
    },
    "apiType": {
      "description": "The API type of the service. Skip this if no update should be made.",
      "type": "string",
      "enum": ["soap", "rest"],
      "default": "soap"
    },
    "authBasicUsername": {
      "description": "When HTTP basic authentication is used, this is the username to use. Skip this if no update should be made or set with an empty string to delete all basic authentication information.",
      "type": "string"
    },
    "authBasicPassword": {
      "description": "When HTTP basic authentication is used, this is the password to use. Skip this if no update should be made.",
      "type": "string"
    },
    "authTokenUsername": {
      "description": "When the WS-Security UsernameToken profile is used, this is the username to use. Skip this if no update should be made or set with an empty string to delete all token authentication information.",
      "type": "string"
    },
    "authTokenPassword": {
      "description": "When the WS-Security UsernameToken profile is used, this is the password to use. Skip this if no update should be made.",
      "type": "string"
    },
    "authTokenPasswordType": {
      "description": "When the WS-Security UsernameToken profile is used, this is the type of password provision to use. Skip this if no update should be made.",
      "type": "string",
      "enum": ["digest", "text"]
    },
    "identifier": {
      "description": "The service's reference identifier. Skip this if no update should be made or set with an empty string to delete the existing value.",
      "type": "string"
    },
    "version": {
      "description": "The service's version. Skip this if no update should be made or set with an empty string to delete the existing value.",
      "type": "string"
    },
    "domain": {
      "description": "The API key identifying the domain of the service. This is required if the community API key used for authentication refers to a community that is not linked to a specific domain.",
      "type": "string"
    }
  },
  "required": [
    "key"
  ],
  "additionalProperties": false
}