Barndoor · Schema

ValidatePolicyRequest

Request body for validating a policy before creation.

AI AgentsAI GovernanceAgentic AIMCPModel Context ProtocolPolicy EnforcementOAuthIdentitySecurityAuditControl Plane

Properties

Name Type Description
name string Policy name to validate
mcp_server_id object MCP server ID to check for overlaps
application_ids object Application IDs to check for overlaps
exclude_policy_id object Policy ID to exclude from validation (for edit mode)
View JSON Schema on GitHub

JSON Schema

barndoor-validate-policy-request-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "ValidatePolicyRequest",
  "properties": {
    "name": {
      "type": "string",
      "maxLength": 255,
      "minLength": 1,
      "title": "Name",
      "description": "Policy name to validate"
    },
    "mcp_server_id": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Mcp Server Id",
      "description": "MCP server ID to check for overlaps"
    },
    "application_ids": {
      "anyOf": [
        {
          "items": {
            "type": "string"
          },
          "type": "array"
        },
        {
          "type": "null"
        }
      ],
      "title": "Application Ids",
      "description": "Application IDs to check for overlaps"
    },
    "exclude_policy_id": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Exclude Policy Id",
      "description": "Policy ID to exclude from validation (for edit mode)"
    }
  },
  "type": "object",
  "required": [
    "name"
  ],
  "description": "Request body for validating a policy before creation."
}