{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/toku/json-schema/toku-intent-created-response-schema.json",
  "title": "IntentCreatedResponse",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/toku-intents-de-consentimiento-api-openapi.yml#/components/schemas/IntentCreatedResponse",
  "properties": {
    "client_token": {
      "description": "Lo único que va al HTML del comercio. Es opaco para la organización, se responde una sola vez —acá se guarda sólo su hash—, vence a los 30 minutos y registra un solo consentimiento.",
      "title": "Client Token",
      "type": "string"
    },
    "expires_at": {
      "description": "Momento en que el token deja de servir, en UTC. Después de esto hay que emitir otro.",
      "format": "date-time",
      "title": "Expires At",
      "type": "string"
    },
    "uuid": {
      "description": "uuid del intent creado, con el que la organización puede reconocerlo después.",
      "title": "Uuid",
      "type": "string"
    }
  },
  "required": [
    "uuid",
    "client_token",
    "expires_at"
  ],
  "type": "object"
}