{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/cisco-umbrella/json-schema/cisco-umbrella-policy-list-schema.json",
  "title": "PolicyList",
  "x-generated": "2026-11-25",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/cisco-umbrella-policy-api-openapi.yml#/components/schemas/PolicyList",
  "type": "array",
  "items": {
    "$ref": "#/$defs/PolicyStub"
  },
  "$defs": {
    "PolicyStub": {
      "type": "object",
      "minProperties": 6,
      "required": [
        "policyId",
        "organizationId",
        "name",
        "priority",
        "createdAt",
        "isDefault"
      ],
      "properties": {
        "policyId": {
          "type": "integer",
          "description": "The unique policy ID.",
          "minimum": 1
        },
        "organizationId": {
          "type": "integer",
          "minimum": 1
        },
        "name": {
          "type": "string",
          "description": "The label for the policy.",
          "minLength": 1
        },
        "priority": {
          "type": "integer",
          "description": "The priority of the policy.",
          "minimum": 0
        },
        "createdAt": {
          "type": "string",
          "format": "date-time",
          "description": "The time and date (ISO 8601-formatted timestamp) when the policy was created."
        },
        "isDefault": {
          "type": "boolean",
          "description": "Specified whether the policy is the default."
        }
      }
    }
  }
}