{ "$schema": "http://json-schema.org/draft-07/schema#", "definitions": { "AskForApproval": { "enum": [ "untrusted", "on-failure", "on-request", "never" ], "type": "string" }, "ConfigRequirements": { "properties": { "allowedApprovalPolicies": { "items": { "$ref": "#/definitions/AskForApproval" }, "type": [ "array", "null" ] }, "allowedSandboxModes": { "items": { "$ref": "#/definitions/SandboxMode" }, "type": [ "array", "null" ] }, "allowedWebSearchModes": { "items": { "$ref": "#/definitions/WebSearchMode" }, "type": [ "array", "null" ] }, "enforceResidency": { "anyOf": [ { "$ref": "#/definitions/ResidencyRequirement" }, { "type": "null" } ] } }, "type": "object" }, "NetworkRequirements": { "properties": { "allowLocalBinding": { "type": [ "boolean", "null" ] }, "allowUnixSockets": { "items": { "type": "string" }, "type": [ "array", "null" ] }, "allowUpstreamProxy": { "type": [ "boolean", "null" ] }, "allowedDomains": { "items": { "type": "string" }, "type": [ "array", "null" ] }, "dangerouslyAllowNonLoopbackAdmin": { "type": [ "boolean", "null" ] }, "dangerouslyAllowNonLoopbackProxy": { "type": [ "boolean", "null" ] }, "deniedDomains": { "items": { "type": "string" }, "type": [ "array", "null" ] }, "enabled": { "type": [ "boolean", "null" ] }, "httpPort": { "format": "uint16", "minimum": 0.0, "type": [ "integer", "null" ] }, "socksPort": { "format": "uint16", "minimum": 0.0, "type": [ "integer", "null" ] } }, "type": "object" }, "ResidencyRequirement": { "enum": [ "us" ], "type": "string" }, "SandboxMode": { "enum": [ "read-only", "workspace-write", "danger-full-access" ], "type": "string" }, "WebSearchMode": { "enum": [ "disabled", "cached", "live" ], "type": "string" } }, "properties": { "requirements": { "anyOf": [ { "$ref": "#/definitions/ConfigRequirements" }, { "type": "null" } ], "description": "Null if no requirements are configured (e.g. no requirements.toml/MDM entries)." } }, "title": "ConfigRequirementsReadResponse", "type": "object" }