CAIN-42 CAIN Studio

API reference · schema

GovernancePolicyCreate

8 fields · used by 1 operations

Last reviewed 2026-10-02

Fields

FieldTypeMeaning
name requiredstringmin length 1 · max length 255
descriptionstringdefault ""
scopeobject or null
constraintsarray of object or null
exceptionsarray of object or null
parent_policy_idstring or null
linked_policy_idstring or null
priorityintegermin 1.0 · max 1000.0 · default 100

Smallest valid example

{
  "name": "name",
  "description": "",
  "priority": 100
}

Used by 1 operation

POST/fabric/governance/policiesCreate Policy

JSON Schema

Show the raw definition
{
  "properties": {
    "name": {
      "type": "string",
      "maxLength": 255,
      "minLength": 1,
      "title": "Name"
    },
    "description": {
      "type": "string",
      "title": "Description",
      "default": ""
    },
    "scope": {
      "anyOf": [
        {
          "additionalProperties": true,
          "type": "object"
        },
        {
          "type": "null"
        }
      ],
      "title": "Scope"
    },
    "constraints": {
      "anyOf": [
        {
          "items": {
            "additionalProperties": true,
            "type": "object"
          },
          "type": "array"
        },
        {
          "type": "null"
        }
      ],
      "title": "Constraints"
    },
    "exceptions": {
      "anyOf": [
        {
          "items": {
            "additionalProperties": true,
            "type": "object"
          },
          "type": "array"
        },
        {
          "type": "null"
        }
      ],
      "title": "Exceptions"
    },
    "parent_policy_id": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Parent Policy Id"
    },
    "linked_policy_id": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Linked Policy Id"
    },
    "priority": {
      "type": "integer",
      "maximum": 1000.0,
      "minimum": 1.0,
      "title": "Priority",
      "default": 100
    }
  },
  "type": "object",
  "required": [
    "name"
  ],
  "title": "GovernancePolicyCreate"
}

Try CAIN-42 on your own agents

Create a free account and every new account starts with a 7-day trial of the full platform. Or try the sandbox first, with no account at all.

Create a free account →  ·  Try the sandbox  ·  See the whole ecosystem