Comp AI · Schema

UpdatePolicyDto

ComplianceArtificial IntelligenceSOC 2ISO 27001HIPAAGDPRAudit AutomationSecurity

Properties

Name Type Description
name string Name of the policy
description string Description of the policy
status string Status of the policy
content array Content of the policy as TipTap JSON (array of nodes)
frequency string Review frequency of the policy
department string Department this policy applies to. Built-in values: none, admin, gov, hr, it, itsm, qms. Custom department names are also accepted.
isRequiredToSign boolean Whether this policy requires a signature
reviewDate string Review date for the policy
assigneeId string ID of the user assigned to this policy
approverId string ID of the user who approved this policy
policyTemplateId string ID of the policy template this policy is based on
signedBy array List of user IDs who have signed this policy
isArchived boolean Whether to archive this policy
displayFormat string Display format for this policy
View JSON Schema on GitHub

JSON Schema

comp-ai-update-policy-dto-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/comp-ai/main/json-schema/comp-ai-update-policy-dto-schema.json",
  "title": "UpdatePolicyDto",
  "x-generated": "2026-10-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/comp-ai-openapi.json#/components/schemas/UpdatePolicyDto",
  "type": "object",
  "properties": {
    "name": {
      "type": "string",
      "description": "Name of the policy"
    },
    "description": {
      "type": "string",
      "description": "Description of the policy"
    },
    "status": {
      "type": "string",
      "description": "Status of the policy",
      "enum": [
        "draft",
        "published",
        "needs_review"
      ]
    },
    "content": {
      "type": "array",
      "description": "Content of the policy as TipTap JSON (array of nodes)",
      "items": {
        "type": "object",
        "additionalProperties": true
      }
    },
    "frequency": {
      "type": "string",
      "description": "Review frequency of the policy",
      "enum": [
        "monthly",
        "quarterly",
        "yearly"
      ]
    },
    "department": {
      "type": "string",
      "description": "Department this policy applies to. Built-in values: none, admin, gov, hr, it, itsm, qms. Custom department names are also accepted.",
      "maxLength": 64
    },
    "isRequiredToSign": {
      "type": "boolean",
      "description": "Whether this policy requires a signature"
    },
    "reviewDate": {
      "type": "string",
      "description": "Review date for the policy"
    },
    "assigneeId": {
      "type": "string",
      "description": "ID of the user assigned to this policy"
    },
    "approverId": {
      "type": "string",
      "description": "ID of the user who approved this policy"
    },
    "policyTemplateId": {
      "type": "string",
      "description": "ID of the policy template this policy is based on"
    },
    "signedBy": {
      "type": "array",
      "description": "List of user IDs who have signed this policy",
      "items": {
        "type": "string"
      }
    },
    "isArchived": {
      "type": "boolean",
      "description": "Whether to archive this policy"
    },
    "displayFormat": {
      "type": "string",
      "description": "Display format for this policy",
      "enum": [
        "EDITOR",
        "PDF"
      ]
    }
  }
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/comp-ai-update-policy-dto"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.