{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/akamai/main/json-schema/appsec-behavioral-ddos-suspend-schema.json",
  "title": "behavioral-ddos-suspend",
  "additionalProperties": false,
  "description": "Temporarily disable mitigation for a specific hostname, with the option to choose the duration of its suspension.",
  "properties": {
    "fromDate": {
      "description": "The start ISO 8601 timestamp of suspension.",
      "format": "date-time",
      "type": "string"
    },
    "hostnames": {
      "description": "Hostnames to suspend for a specified duration.",
      "items": {
        "type": "string"
      },
      "minItems": 1,
      "type": "array"
    },
    "toDate": {
      "description": "The end ISO 8601 timestamp of suspension.",
      "format": "date-time",
      "type": "string"
    }
  },
  "required": [
    "hostnames",
    "fromDate",
    "toDate"
  ],
  "type": "object",
  "x-akamai": {
    "file-path": "schemas/behavioral-ddos-suspend.yaml"
  }
}