{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/cisco-umbrella/json-schema/cisco-umbrella-policy-object-schema.json",
  "title": "PolicyObject",
  "x-generated": "2026-11-25",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/cisco-umbrella-internal-networks-api-openapi.yml#/components/schemas/PolicyObject",
  "type": "object",
  "readOnly": true,
  "properties": {
    "id": {
      "type": "integer",
      "description": "The ID of the policy. Use the policy ID as a reference for subsequent requests."
    },
    "name": {
      "type": "string",
      "description": "The name that is given to the policy."
    },
    "type": {
      "type": "string",
      "description": "The type of the policy.",
      "enum": [
        "dns",
        "web"
      ]
    },
    "organizationId": {
      "type": "integer",
      "description": "The Umbrella organization ID."
    },
    "priority": {
      "type": "integer",
      "description": "A number that represents the priority of the policy in the policy list."
    },
    "isDefault": {
      "type": "boolean",
      "description": "Specifies whether the policy is the default policy."
    },
    "isAppliedDirectly": {
      "type": "boolean",
      "description": "Indicates if policy is directly applied to this identity."
    },
    "createdAt": {
      "type": "string",
      "format": "date-time",
      "description": "The date and time (ISO8601 timestamp) when the policy was created."
    },
    "modifiedAt": {
      "type": "string",
      "format": "date-time",
      "description": "The date and time (ISO8601 timestamp) when the policy was modified."
    },
    "uri": {
      "type": "string",
      "description": "The resource URI."
    }
  },
  "required": [
    "id",
    "name",
    "organizationId",
    "priority",
    "isDefault",
    "isAppliedDirectly",
    "createdAt",
    "modifiedAt",
    "uri"
  ]
}