{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/letschatty-com/json-schema/letschatty-com-signup-event-schema.json",
  "title": "_SignupEvent",
  "description": "El evento `CANCEL` que Meta manda cuando el alta (Embedded Signup) se corta.",
  "x-generated": "2026-11-15",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/letschatty-com-openapi.json#/components/schemas/_SignupEvent",
  "properties": {
    "type": {
      "type": "string",
      "maxLength": 50,
      "title": "Type"
    },
    "event": {
      "type": "string",
      "maxLength": 50,
      "title": "Event"
    },
    "data": {
      "$ref": "#/$defs/_SignupEventData"
    }
  },
  "type": "object",
  "required": [
    "type",
    "event"
  ],
  "$defs": {
    "_SignupEventData": {
      "properties": {
        "current_step": {
          "anyOf": [
            {
              "type": "string",
              "maxLength": 100
            },
            {
              "type": "null"
            }
          ],
          "title": "Current Step"
        },
        "error_message": {
          "anyOf": [
            {
              "type": "string",
              "maxLength": 1000
            },
            {
              "type": "null"
            }
          ],
          "title": "Error Message"
        },
        "error_id": {
          "anyOf": [
            {
              "type": "string",
              "maxLength": 100
            },
            {
              "type": "null"
            }
          ],
          "title": "Error Id"
        },
        "session_id": {
          "anyOf": [
            {
              "type": "string",
              "maxLength": 200
            },
            {
              "type": "null"
            }
          ],
          "title": "Session Id"
        },
        "timestamp": {
          "anyOf": [
            {
              "type": "string",
              "maxLength": 50
            },
            {
              "type": "null"
            }
          ],
          "title": "Timestamp"
        }
      },
      "type": "object",
      "title": "_SignupEventData"
    }
  }
}