Spliceforms · Schema

ConsentDefinition

It represents the structure of customer consent

CompanyAPI BankingOpen BankingEmbedded BankingFintechDeveloper PortalBankingIndia

Properties

Name Type Description
consentId integer A unique identifier assigned to a consent request.
version string Version of the consent
consentText string A detailed statement that defines the terms of the consent
purpose array List of applicable purpose codes for the consent definition
View JSON Schema on GitHub

JSON Schema

spliceforms-consent-definition-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/spliceforms/main/json-schema/spliceforms-consent-definition-schema.json",
  "title": "ConsentDefinition",
  "description": "It represents the structure of customer consent",
  "x-generated": "2026-10-09",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/spliceforms-data-services-openapi.yml#/components/schemas/ConsentDefinition",
  "type": "object",
  "x-stoplight": {
    "id": "4i96ikl8k2mrf"
  },
  "required": [
    "consentId",
    "consentText",
    "purpose"
  ],
  "properties": {
    "consentId": {
      "type": "integer",
      "x-stoplight": {
        "id": "zw7uzhi7ibo4t"
      },
      "format": "int32",
      "minimum": 1,
      "maximum": 10000,
      "description": "A unique identifier assigned to a consent request."
    },
    "version": {
      "type": "string",
      "description": "Version of the consent",
      "pattern": "^\\d+(\\.\\d+)*$",
      "minLength": 1,
      "maxLength": 10,
      "x-stoplight": {
        "id": "4a4nfarsk6roe"
      }
    },
    "consentText": {
      "type": "string",
      "pattern": "^[a-zA-Z0-9.,'\"()&\\-\\[\\]\\s\\/]{10,500}$",
      "minLength": 5,
      "maxLength": 500,
      "x-stoplight": {
        "id": "c1df2li2vle9m"
      },
      "description": "A detailed statement that defines the terms of the consent"
    },
    "purpose": {
      "type": "array",
      "x-stoplight": {
        "id": "yzzamluoghi2r"
      },
      "description": "List of applicable purpose codes for the consent definition",
      "items": {
        "x-stoplight": {
          "id": "jvrysdu3j9nwi"
        },
        "type": "string",
        "pattern": "^[A-Za-z0-9 .:]+$",
        "minLength": 1,
        "maxLength": 10
      }
    }
  }
}

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/spliceforms-consent-definition"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

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.