Toku · Schema

SubjectConsentResponse

FintechPaymentsB2BAutomationChile

Properties

Name Type Description
document object Uso de datos sobre el que rige, con la versión aceptada y la vigente.
granted_at string Momento de la aceptación que rige, en UTC.
revoked_at object Momento del retiro, si lo hubo, en UTC.
status object Estado **calculado al leer**. `active`: lo aceptado sigue siendo lo vigente. `outdated`: se publicó una versión nueva de ese uso de datos, así que hay que volver a preguntarle. `revoked`: la organizac
View JSON Schema on GitHub

JSON Schema

toku-subject-consent-response-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/toku/json-schema/toku-subject-consent-response-schema.json",
  "title": "SubjectConsentResponse",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/toku-consulta-de-consentimientos-api-openapi.yml#/components/schemas/SubjectConsentResponse",
  "properties": {
    "document": {
      "allOf": [
        {
          "$ref": "#/$defs/SubjectConsentDocumentResponse"
        }
      ],
      "description": "Uso de datos sobre el que rige, con la versión aceptada y la vigente."
    },
    "granted_at": {
      "description": "Momento de la aceptación que rige, en UTC.",
      "format": "date-time",
      "title": "Granted At",
      "type": "string"
    },
    "revoked_at": {
      "anyOf": [
        {
          "format": "date-time",
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "description": "Momento del retiro, si lo hubo, en UTC.",
      "title": "Revoked At"
    },
    "status": {
      "allOf": [
        {
          "$ref": "#/$defs/ConsentState"
        }
      ],
      "description": "Estado **calculado al leer**. `active`: lo aceptado sigue siendo lo vigente. `outdated`: se publicó una versión nueva de ese uso de datos, así que hay que volver a preguntarle. `revoked`: la organización retiró el consentimiento. Editar el enunciado no cambia el estado: sólo una versión nueva lo desactualiza."
    }
  },
  "required": [
    "document",
    "status",
    "granted_at"
  ],
  "type": "object",
  "$defs": {
    "ConsentState": {
      "description": "What the API answers and filters by. `outdated` is never stored — it is a comparison against the version in force, made when the row is read.",
      "enum": [
        "active",
        "outdated",
        "revoked"
      ],
      "title": "ConsentState",
      "type": "string"
    },
    "SubjectConsentDocumentResponse": {
      "properties": {
        "current_version": {
          "description": "Versión vigente hoy.",
          "title": "Current Version",
          "type": "integer"
        },
        "name": {
          "description": "Nombre que el uso de datos tenía cuando se aceptó.",
          "title": "Name",
          "type": "string"
        },
        "uuid": {
          "description": "uuid del uso de datos.",
          "title": "Uuid",
          "type": "string"
        },
        "version": {
          "description": "Versión que la persona aceptó.",
          "title": "Version",
          "type": "integer"
        }
      },
      "required": [
        "uuid",
        "name",
        "version",
        "current_version"
      ],
      "title": "SubjectConsentDocumentResponse",
      "type": "object"
    }
  }
}

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/toku-subject-consent-response"
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.