Monite · Schema

ApprovalPolicyCreate

CompanyEmbedded FinanceInvoicingAccounts PayablePaymentsB2BFintechSoftware-as-a-Service

Properties

Name Type Description
description string A brief description of the approval policy.
ends_at string The date and time (in the ISO 8601 format) when the approval policy stops being active and stops triggering approval workflows.If `ends_at` is provided in the request, then `starts_at` must also be pr
name string The name of the approval policy.
priority integer The priority controls which approval policy takes precedence when a payable matches multiple approval policies. A higher value mean higher priority.
script array A list of JSON objects that represents the approval policy script. The script contains the logic that determines whether an action should be sent to approval. This field is required, and it should con
starts_at string The date and time (in the ISO 8601 format) when the approval policy becomes active. Only payables submitted for approval during the policy's active period will trigger this policy. If omitted or `null
trigger object A JSON object that represents the trigger for the approval policy. The trigger specifies the event that will trigger the policy to be evaluated.
View JSON Schema on GitHub

JSON Schema

monite-approval-policy-create-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/monite/json-schema/monite-approval-policy-create-schema.json",
  "title": "ApprovalPolicyCreate",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/monite-approval-policies-api-openapi.yml#/components/schemas/ApprovalPolicyCreate",
  "properties": {
    "description": {
      "type": "string",
      "maxLength": 255,
      "description": "A brief description of the approval policy."
    },
    "ends_at": {
      "type": "string",
      "format": "date-time",
      "description": "The date and time (in the ISO 8601 format) when the approval policy stops being active and stops triggering approval workflows.If `ends_at` is provided in the request, then `starts_at` must also be provided and `ends_at` must be later than `starts_at`. The value will be converted to UTC."
    },
    "name": {
      "type": "string",
      "maxLength": 255,
      "description": "The name of the approval policy."
    },
    "priority": {
      "type": "integer",
      "maximum": 32767.0,
      "minimum": -32768.0,
      "description": "The priority controls which approval policy takes precedence when a payable matches multiple approval policies. A higher value mean higher priority.",
      "default": 0
    },
    "script": {
      "items": {
        "anyOf": [
          {
            "type": "boolean"
          },
          {
            "type": "number",
            "minimum": 1.0
          },
          {
            "type": "string"
          },
          {
            "items": {},
            "type": "array"
          },
          {
            "type": "object"
          }
        ]
      },
      "type": "array",
      "description": "A list of JSON objects that represents the approval policy script. The script contains the logic that determines whether an action should be sent to approval. This field is required, and it should contain at least one script object."
    },
    "starts_at": {
      "type": "string",
      "format": "date-time",
      "description": "The date and time (in the ISO 8601 format) when the approval policy becomes active. Only payables submitted for approval during the policy's active period will trigger this policy. If omitted or `null`, the policy is effective immediately. The value will be converted to UTC."
    },
    "trigger": {
      "anyOf": [
        {
          "type": "boolean"
        },
        {
          "type": "number"
        },
        {
          "type": "string"
        },
        {
          "items": {},
          "type": "array"
        },
        {
          "type": "object"
        }
      ],
      "description": "A JSON object that represents the trigger for the approval policy. The trigger specifies the event that will trigger the policy to be evaluated."
    }
  },
  "additionalProperties": false,
  "type": "object",
  "required": [
    "name",
    "script"
  ]
}

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/monite-approval-policy-create"
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.