{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/cisco-umbrella/json-schema/cisco-umbrella-destination-list-create-schema.json",
  "title": "DestinationListCreate",
  "description": "The properties of the destination list.",
  "x-generated": "2026-11-25",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/cisco-umbrella-destination-lists-api-openapi.yml#/components/schemas/DestinationListCreate",
  "type": "object",
  "required": [
    "access",
    "isGlobal",
    "name"
  ],
  "properties": {
    "access": {
      "$ref": "#/$defs/access"
    },
    "isGlobal": {
      "$ref": "#/$defs/isGlobal"
    },
    "name": {
      "$ref": "#/$defs/name"
    },
    "bundleTypeId": {
      "$ref": "#/$defs/bundleTypeId"
    },
    "destinations": {
      "type": "array",
      "description": "The list of destinations.",
      "maxItems": 500,
      "items": {
        "type": "object",
        "description": "The properties of the destination.",
        "properties": {
          "destination": {
            "$ref": "#/$defs/destination"
          },
          "type": {
            "$ref": "#/$defs/type"
          },
          "comment": {
            "$ref": "#/$defs/comment"
          }
        }
      }
    }
  },
  "$defs": {
    "access": {
      "type": "string",
      "enum": [
        "allow",
        "block"
      ],
      "description": "The type of access for the destination list."
    },
    "bundleTypeId": {
      "type": "integer",
      "default": 1,
      "enum": [
        1,
        2,
        4
      ],
      "description": "The type of the destination list in the policy.\nSet `1` for DNS, `2` for web, and `4` for SAML Bypass.\nIf the field is not specified, the default value is `1`."
    },
    "comment": {
      "type": "string",
      "description": "The comment about the destination."
    },
    "destination": {
      "type": "string",
      "description": "A domain, URL, or IP."
    },
    "isGlobal": {
      "type": "boolean",
      "description": "Specifies whether the destination list is a global destination list.\nThere is only one default `allow` destination list and one default `block` destination list for an organization."
    },
    "name": {
      "type": "string",
      "description": "The name of the destination list."
    },
    "type": {
      "type": "string",
      "enum": [
        "domain",
        "url",
        "ipv4"
      ],
      "description": "The type of the destination."
    }
  }
}