{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/edge-network/json-schema/edge-network-shield-widget-schema.json",
  "title": "ShieldWidget",
  "x-generated": "2026-11-06",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/edge-network-openapi.json#/components/schemas/ShieldWidget",
  "type": "object",
  "properties": {
    "id": {
      "type": "string"
    },
    "name": {
      "type": "string"
    },
    "sitekey": {
      "type": "string",
      "description": "Public sitekey used in the embed snippet."
    },
    "hostnames": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "mode": {
      "type": "string",
      "enum": [
        "managed",
        "non-interactive",
        "invisible"
      ]
    },
    "agent_policy": {
      "type": "string",
      "enum": [
        "allow",
        "challenge",
        "block"
      ]
    }
  },
  "required": [
    "id",
    "name",
    "sitekey"
  ]
}