{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/luma/main/json-schema/webhook_ticket.registered_post_request.json",
  "title": "Webhook Ticket.Registered Post Request",
  "type": "object",
  "properties": {
    "type": {
      "type": "string",
      "const": "ticket.registered"
    },
    "data": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string"
        },
        "user_id": {
          "type": "string"
        },
        "user_email": {
          "type": "string"
        },
        "user_name": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        },
        "user_first_name": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        },
        "user_last_name": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        },
        "approval_status": {
          "type": "string",
          "enum": [
            "approved",
            "session",
            "pending_approval",
            "invited",
            "declined",
            "waitlist"
          ]
        },
        "check_in_qr_code": {
          "type": "string"
        },
        "eth_address": {
          "anyOf": [
            {
              "type": "string",
              "pattern": "^0x[0-9a-fA-F]{40}$"
            },
            {
              "type": "null"
            }
          ]
        },
        "invited_at": {
          "anyOf": [
            {
              "type": "string",
              "format": "date-time",
              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
              "description": "ISO 8601 Datetime. For example, 2022-10-19T03:27:13.673Z"
            },
            {
              "type": "null"
            }
          ],
          "description": "When the guest was invited to the event. Null if they registered on their own."
        },
        "joined_at": {
          "anyOf": [
            {
              "type": "string",
              "format": "date-time",
              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
              "description": "ISO 8601 Datetime. For example, 2022-10-19T03:27:13.673Z"
            },
            {
              "type": "null"
            }
          ],
          "description": "When the guest first clicked the virtual join link (luma.com/join/...). Only set for online events. Null if the guest has not joined."
        },
        "phone_number": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        },
        "registered_at": {
          "anyOf": [
            {
              "type": "string",
              "format": "date-time",
              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
              "description": "ISO 8601 Datetime. For example, 2022-10-19T03:27:13.673Z"
            },
            {
              "type": "null"
            }
          ],
          "description": "When the guest registered for the event."
        },
        "registration_answers": {
          "anyOf": [
            {
              "type": "array",
              "items": {
                "anyOf": [
                  {
                    "type": "object",
                    "properties": {
                      "label": {
                        "type": "string"
                      },
                      "question_id": {
                        "type": "string"
                      },
                      "value": {
                        "type": "boolean"
                      },
                      "answer": {
                        "type": "boolean"
                      },
                      "question_type": {
                        "type": "string",
                        "const": "agree-check"
                      }
                    },
                    "required": [
                      "label",
                      "question_id",
                      "question_type"
                    ]
                  },
                  {
                    "type": "object",
                    "properties": {
                      "label": {
                        "type": "string"
                      },
                      "question_id": {
                        "type": "string"
                      },
                      "value": {
                        "type": "object",
                        "properties": {
                          "company": {
                            "anyOf": [
                              {
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "job_title": {
                            "anyOf": [
                              {
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          }
                        }
                      },
                      "answer": {
                        "anyOf": [
                          {
                            "type": "string"
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "answer_company": {
                        "anyOf": [
                          {
                            "type": "string"
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "answer_job_title": {
                        "anyOf": [
                          {
                            "type": "string"
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "question_type": {
                        "type": "string",
                        "const": "company"
                      }
                    },
                    "required": [
                      "label",
                      "question_id",
                      "value",
                      "question_type"
                    ]
                  },
                  {
                    "type": "object",
                    "properties": {
                      "label": {
                        "type": "string"
                      },
                      "question_id": {
                        "type": "string"
                      },
                      "value": {
                        "anyOf": [
                          {
                            "type": "string"
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "answer": {
                        "anyOf": [
                          {
                            "type": "string"
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "question_type": {
                        "type": "string",
                        "const": "dropdown"
                      }
                    },
                    "required": [
                      "label",
                      "question_id",
                      "value",
                      "question_type"
                    ]
                  },
                  {
                    "type": "object",
                    "properties": {
                      "label": {
                        "type": "string"
                      },
                      "question_id": {
                        "type": "string"
                      },
                      "value": {
                        "anyOf": [
                          {
                            "type": "array",
                            "items": {
                              "type": "string"
                            }
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "answer": {
                        "anyOf": [
                          {
                            "type": "array",
                            "items": {
                              "type": "string"
                            }
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "question_type": {
                        "type": "string",
                        "const": "multi-select"
                      }
                    },
                    "required": [
                      "label",
                      "question_id",
                      "value",
                      "question_type"
                    ]
                  },
                  {
                    "type": "object",
                    "properties": {
                      "label": {
                        "type": "string"
                      },
                      "question_id": {
                        "type": "string"
                      },
                      "value": {
                        "anyOf": [
                          {
                            "type": "string"
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "answer": {
                        "anyOf": [
                          {
                            "type": "string"
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "question_type": {
                        "type": "string",
                        "const": "phone-number"
                      }
                    },
                    "required": [
                      "label",
                      "question_id",
                      "value",
                      "question_type"
                    ]
                  },
                  {
                    "type": "object",
                    "properties": {
                      "label": {
                        "type": "string"
                      },
                      "question_id": {
                        "type": "string"
                      },
                      "value": {
                        "anyOf": [
                          {
                            "anyOf": [
                              {
                                "type": "string"
                              },
                              {
                                "type": "boolean",
                                "const": true
                              }
                            ]
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "answer": {
                        "anyOf": [
                          {
                            "anyOf": [
                              {
                                "type": "string"
                              },
                              {
                                "type": "boolean",
                                "const": true
                              }
                            ]
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "question_type": {
                        "type": "string",
                        "const": "terms"
                      }
                    },
                    "required": [
                      "label",
                      "question_id",
                      "question_type"
                    ]
                  },
                  {
                    "type": "object",
                    "properties": {
                      "label": {
                        "type": "string"
                      },
                      "question_id": {
                        "type": "string"
                      },
                      "value": {
                        "anyOf": [
                          {
                            "type": "string"
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "answer": {
                        "anyOf": [
                          {
                            "type": "string"
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "question_type": {
                        "anyOf": [
                          {
                            "type": "string",
                            "const": "github"
                          },
                          {
                            "type": "string",
                            "const": "instagram"
                          },
                          {
                            "type": "string",
                            "const": "linkedin"
                          },
                          {
                            "type": "string",
                            "const": "long-text"
                          },
                          {
                            "type": "string",
                            "const": "telegram"
                          },
                          {
                            "type": "string",
                            "const": "text"
                          },
                          {
                            "type": "string",
                            "const": "twitter"
                          },
                          {
                            "type": "string",
                            "const": "youtube"
                          }
                        ]
                      }
                    },
                    "required": [
                      "label",
                      "question_id",
                      "value",
                      "question_type"
                    ]
                  },
                  {
                    "type": "object",
                    "properties": {
                      "label": {
                        "type": "string"
                      },
                      "question_id": {
                        "type": "string"
                      },
                      "value": {
                        "anyOf": [
                          {
                            "type": "string"
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "answer": {
                        "anyOf": [
                          {
                            "type": "string"
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "question_type": {
                        "type": "string",
                        "const": "url"
                      }
                    },
                    "required": [
                      "label",
                      "question_id",
                      "value",
                      "question_type"
                    ]
                  }
                ]
              }
            },
            {
              "type": "null"
            }
          ]
        },
        "solana_address": {
          "anyOf": [
            {
              "type": "string",
              "pattern": "^[5KL1-9A-HJ-NP-Za-km-z]{32,44}$"
            },
            {
              "type": "null"
            }
          ]
        },
        "utm_source": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "description": "The UTM source parameter captured when the guest registered (from the `?utm_source=` query parameter)."
        },
        "event_tickets": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string"
              },
              "amount": {
                "type": "number"
              },
              "amount_discount": {
                "type": "number"
              },
              "amount_tax": {
                "type": "number"
              },
              "currency": {
                "anyOf": [
                  {
                    "type": "string",
                    "enum": [
                      "solana_sol",
                      "solana_usdc",
                      "aed",
                      "afn",
                      "all",
                      "amd",
                      "ang",
                      "aoa",
                      "ars",
                      "aud",
                      "awg",
                      "azn",
                      "bam",
                      "bbd",
                      "bdt",
                      "bgn",
                      "bhd",
                      "bif",
                      "bmd",
                      "bnd",
                      "bob",
                      "brl",
                      "bsd",
                      "bwp",
                      "byn",
                      "bzd",
                      "cad",
                      "cdf",
                      "chf",
                      "clp",
                      "cny",
                      "cop",
                      "crc",
                      "cve",
                      "czk",
                      "djf",
                      "dkk",
                      "dop",
                      "dzd",
                      "egp",
                      "etb",
                      "eur",
                      "fjd",
                      "fkp",
                      "gbp",
                      "gel",
                      "ghs",
                      "gip",
                      "gmd",
                      "gnf",
                      "gtq",
                      "gyd",
                      "hkd",
                      "hnl",
                      "htg",
                      "huf",
                      "idr",
                      "ils",
                      "inr",
                      "isk",
                      "jmd",
                      "jod",
                      "jpy",
                      "kes",
                      "kgs",
                      "khr",
                      "kmf",
                      "krw",
                      "kwd",
                      "kyd",
                      "kzt",
                      "lak",
                      "lbp",
                      "lkr",
                      "lrd",
                      "lsl",
                      "mad",
                      "mdl",
                      "mga",
                      "mkd",
                      "mmk",
                      "mnt",
                      "mop",
                      "mur",
                      "mvr",
                      "mwk",
                      "mxn",
                      "myr",
                      "mzn",
                      "nad",
                      "ngn",
                      "nio",
                      "nok",
                      "npr",
                      "nzd",
                      "omr",
                      "pab",
                      "pen",
                      "pgk",
                      "php",
                      "pkr",
                      "pln",
                      "pyg",
                      "qar",
                      "ron",
                      "rsd",
                      "rub",
                      "rwf",
                      "sar",
                      "sbd",
                      "scr",
                      "sek",
                      "sgd",
                      "shp",
                      "sle",
                      "sos",
                      "srd",
                      "std",
                      "szl",
                      "thb",
                      "tjs",
                      "tnd",
                      "top",
                      "try",
                      "ttd",
                      "twd",
                      "tzs",
                      "uah",
                      "ugx",
                      "usd",
                      "uyu",
                      "uzs",
                      "vnd",
                      "vuv",
                      "wst",
                      "xaf",
                      "xcd",
                      "xof",
                      "xpf",
                      "yer",
                      "zar",
                      "zmw"
                    ]
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "checked_in_at": {
                "anyOf": [
                  {
                    "type": "string",
                    "format": "date-time",
                    "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
                    "description": "ISO 8601 Datetime. For example, 2022-10-19T03:27:13.673Z"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "event_ticket_type_id": {
                "type": "string"
              },
              "is_captured": {
                "type": "boolean"
              },
              "name": {
                "type": "string"
              },
              "api_id": {
                "type": "string",
                "deprecated": true,
                "description": "Use `id` instead."
              }
            },
            "required": [
              "id",
              "amount",
              "amount_discount",
              "amount_tax",
              "currency",
              "checked_in_at",
              "event_ticket_type_id",
              "is_captured",
              "name",
              "api_id"
            ]
          }
        },
        "custom_source": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "deprecated": true,
          "description": "Use `utm_source` instead."
        },
        "event_ticket_orders": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string"
              },
              "amount": {
                "type": "number"
              },
              "amount_discount": {
                "type": "number"
              },
              "amount_tax": {
                "type": "number"
              },
              "currency": {
                "anyOf": [
                  {
                    "type": "string",
                    "enum": [
                      "solana_sol",
                      "solana_usdc",
                      "aed",
                      "afn",
                      "all",
                      "amd",
                      "ang",
                      "aoa",
                      "ars",
                      "aud",
                      "awg",
                      "azn",
                      "bam",
                      "bbd",
                      "bdt",
                      "bgn",
                      "bhd",
                      "bif",
                      "bmd",
                      "bnd",
                      "bob",
                      "brl",
                      "bsd",
                      "bwp",
                      "byn",
                      "bzd",
                      "cad",
                      "cdf",
                      "chf",
                      "clp",
                      "cny",
                      "cop",
                      "crc",
                      "cve",
                      "czk",
                      "djf",
                      "dkk",
                      "dop",
                      "dzd",
                      "egp",
                      "etb",
                      "eur",
                      "fjd",
                      "fkp",
                      "gbp",
                      "gel",
                      "ghs",
                      "gip",
                      "gmd",
                      "gnf",
                      "gtq",
                      "gyd",
                      "hkd",
                      "hnl",
                      "htg",
                      "huf",
                      "idr",
                      "ils",
                      "inr",
                      "isk",
                      "jmd",
                      "jod",
                      "jpy",
                      "kes",
                      "kgs",
                      "khr",
                      "kmf",
                      "krw",
                      "kwd",
                      "kyd",
                      "kzt",
                      "lak",
                      "lbp",
                      "lkr",
                      "lrd",
                      "lsl",
                      "mad",
                      "mdl",
                      "mga",
                      "mkd",
                      "mmk",
                      "mnt",
                      "mop",
                      "mur",
                      "mvr",
                      "mwk",
                      "mxn",
                      "myr",
                      "mzn",
                      "nad",
                      "ngn",
                      "nio",
                      "nok",
                      "npr",
                      "nzd",
                      "omr",
                      "pab",
                      "pen",
                      "pgk",
                      "php",
                      "pkr",
                      "pln",
                      "pyg",
                      "qar",
                      "ron",
                      "rsd",
                      "rub",
                      "rwf",
                      "sar",
                      "sbd",
                      "scr",
                      "sek",
                      "sgd",
                      "shp",
                      "sle",
                      "sos",
                      "srd",
                      "std",
                      "szl",
                      "thb",
                      "tjs",
                      "tnd",
                      "top",
                      "try",
                      "ttd",
                      "twd",
                      "tzs",
                      "uah",
                      "ugx",
                      "usd",
                      "uyu",
                      "uzs",
                      "vnd",
                      "vuv",
                      "wst",
                      "xaf",
                      "xcd",
                      "xof",
                      "xpf",
                      "yer",
                      "zar",
                      "zmw"
                    ]
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "coupon_info": {
                "anyOf": [
                  {
                    "type": "object",
                    "properties": {
                      "api_id": {
                        "type": "string"
                      },
                      "percent_off": {
                        "anyOf": [
                          {
                            "type": "number"
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "cents_off": {
                        "anyOf": [
                          {
                            "type": "number"
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "currency": {
                        "anyOf": [
                          {
                            "type": "string",
                            "enum": [
                              "solana_sol",
                              "solana_usdc",
                              "aed",
                              "afn",
                              "all",
                              "amd",
                              "ang",
                              "aoa",
                              "ars",
                              "aud",
                              "awg",
                              "azn",
                              "bam",
                              "bbd",
                              "bdt",
                              "bgn",
                              "bhd",
                              "bif",
                              "bmd",
                              "bnd",
                              "bob",
                              "brl",
                              "bsd",
                              "bwp",
                              "byn",
                              "bzd",
                              "cad",
                              "cdf",
                              "chf",
                              "clp",
                              "cny",
                              "cop",
                              "crc",
                              "cve",
                              "czk",
                              "djf",
                              "dkk",
                              "dop",
                              "dzd",
                              "egp",
                              "etb",
                              "eur",
                              "fjd",
                              "fkp",
                              "gbp",
                              "gel",
                              "ghs",
                              "gip",
                              "gmd",
                              "gnf",
                              "gtq",
                              "gyd",
                              "hkd",
                              "hnl",
                              "htg",
                              "huf",
                              "idr",
                              "ils",
                              "inr",
                              "isk",
                              "jmd",
                              "jod",
                              "jpy",
                              "kes",
                              "kgs",
                              "khr",
                              "kmf",
                              "krw",
                              "kwd",
                              "kyd",
                              "kzt",
                              "lak",
                              "lbp",
                              "lkr",
                              "lrd",
                              "lsl",
                              "mad",
                              "mdl",
                              "mga",
                              "mkd",
                              "mmk",
                              "mnt",
                              "mop",
                              "mur",
                              "mvr",
                              "mwk",
                              "mxn",
                              "myr",
                              "mzn",
                              "nad",
                              "ngn",
                              "nio",
                              "nok",
                              "npr",
                              "nzd",
                              "omr",
                              "pab",
                              "pen",
                              "pgk",
                              "php",
                              "pkr",
                              "pln",
                              "pyg",
                              "qar",
                              "ron",
                              "rsd",
                              "rub",
                              "rwf",
                              "sar",
                              "sbd",
                              "scr",
                              "sek",
                              "sgd",
                              "shp",
                              "sle",
                              "sos",
                              "srd",
                              "std",
                              "szl",
                              "thb",
                              "tjs",
                              "tnd",
                              "top",
                              "try",
                              "ttd",
                              "twd",
                              "tzs",
                              "uah",
                              "ugx",
                              "usd",
                              "uyu",
                              "uzs",
                              "vnd",
                              "vuv",
                              "wst",
                              "xaf",
                              "xcd",
                              "xof",
                              "xpf",
                              "yer",
                              "zar",
                              "zmw"
                            ]
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "code": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "api_id",
                      "percent_off",
                      "cents_off",
                      "currency",
                      "code"
                    ]
                  },
                  {
                    "type": "null"
                  }
                ],
                "description": "The coupon that was applied to this ticket order, if any."
              },
              "is_captured": {
                "type": "boolean"
              },
              "api_id": {
                "type": "string",
                "deprecated": true,
                "description": "Use `id` instead."
              }
            },
            "required": [
              "id",
              "amount",
              "amount_discount",
              "amount_tax",
              "currency",
              "coupon_info",
              "is_captured",
              "api_id"
            ]
          },
          "description": "Detailed ticket orders for this guest. Use this to inspect applied coupon_info per order."
        },
        "event": {
          "type": "object",
          "properties": {
            "platform": {
              "type": "string",
              "const": "luma"
            },
            "id": {
              "type": "string"
            },
            "user_id": {
              "type": "string"
            },
            "calendar_id": {
              "type": "string"
            },
            "start_at": {
              "type": "string",
              "format": "date-time",
              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
              "description": "ISO 8601 Datetime. For example, 2022-10-19T03:27:13.673Z"
            },
            "duration_interval": {
              "type": "string"
            },
            "end_at": {
              "type": "string",
              "format": "date-time",
              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
              "description": "ISO 8601 Datetime. For example, 2022-10-19T03:27:13.673Z"
            },
            "created_at": {
              "type": "string",
              "format": "date-time",
              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
              "description": "ISO 8601 Datetime. For example, 2022-10-19T03:27:13.673Z"
            },
            "timezone": {
              "type": "string",
              "description": "IANA Timezone, e.g. America/New_York. https://en.wikipedia.org/wiki/List_of_tz_database_time_zones"
            },
            "name": {
              "type": "string"
            },
            "description": {
              "type": "string"
            },
            "description_md": {
              "type": "string"
            },
            "geo_address_json": {
              "anyOf": [
                {
                  "type": "object",
                  "properties": {
                    "address": {
                      "type": "string"
                    },
                    "city": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "region": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "country": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "city_state": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "full_address": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "google_maps_place_id": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "apple_maps_place_id": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "description": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    }
                  },
                  "required": [
                    "address",
                    "city",
                    "region",
                    "country",
                    "city_state",
                    "full_address",
                    "google_maps_place_id",
                    "apple_maps_place_id",
                    "description"
                  ]
                },
                {
                  "type": "null"
                }
              ]
            },
            "coordinate": {
              "anyOf": [
                {
                  "type": "object",
                  "properties": {
                    "longitude": {
                      "type": "number"
                    },
                    "latitude": {
                      "type": "number"
                    }
                  },
                  "required": [
                    "longitude",
                    "latitude"
                  ]
                },
                {
                  "type": "null"
                }
              ],
              "description": "Latitude and longitude of the event location. Null for online events or when the address can't be geocoded."
            },
            "meeting_url": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ]
            },
            "location_type": {
              "type": "string",
              "enum": [
                "discord",
                "meet",
                "twitch",
                "twitter",
                "youtube",
                "zoom",
                "offline",
                "missing",
                "unknown"
              ],
              "description": "`offline` for in-person events. Online events have the meeting platform (`zoom`, `meet`, etc.), or `unknown` if we don't recognize the meeting link. `missing` if the event has no location set."
            },
            "location_visibility": {
              "type": "string",
              "enum": [
                "public",
                "guests-only"
              ],
              "description": "Whether the event's address is shown to everyone or only to approved guests. This API always returns the full address."
            },
            "cover_url": {
              "type": "string"
            },
            "registration_questions": {
              "type": "array",
              "items": {
                "anyOf": [
                  {
                    "type": "object",
                    "properties": {
                      "id": {
                        "type": "string"
                      },
                      "label": {
                        "type": "string"
                      },
                      "required": {
                        "type": "boolean"
                      },
                      "question_type": {
                        "type": "string",
                        "const": "agree-check"
                      }
                    },
                    "required": [
                      "id",
                      "label",
                      "required",
                      "question_type"
                    ]
                  },
                  {
                    "type": "object",
                    "properties": {
                      "id": {
                        "type": "string"
                      },
                      "label": {
                        "type": "string"
                      },
                      "required": {
                        "type": "boolean"
                      },
                      "question_type": {
                        "type": "string",
                        "const": "company"
                      },
                      "collect_job_title": {
                        "anyOf": [
                          {
                            "type": "boolean"
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "job_title_label": {
                        "anyOf": [
                          {
                            "type": "string"
                          },
                          {
                            "type": "null"
                          }
                        ]
                      }
                    },
                    "required": [
                      "id",
                      "label",
                      "required",
                      "question_type"
                    ]
                  },
                  {
                    "type": "object",
                    "properties": {
                      "id": {
                        "type": "string"
                      },
                      "label": {
                        "type": "string"
                      },
                      "required": {
                        "type": "boolean"
                      },
                      "question_type": {
                        "type": "string",
                        "const": "dropdown"
                      },
                      "options": {
                        "maxItems": 250,
                        "type": "array",
                        "items": {
                          "type": "string"
                        }
                      }
                    },
                    "required": [
                      "id",
                      "label",
                      "required",
                      "question_type",
                      "options"
                    ]
                  },
                  {
                    "type": "object",
                    "properties": {
                      "id": {
                        "type": "string"
                      },
                      "label": {
                        "type": "string"
                      },
                      "required": {
                        "type": "boolean"
                      },
                      "question_type": {
                        "type": "string",
                        "const": "github"
                      }
                    },
                    "required": [
                      "id",
                      "label",
                      "required",
                      "question_type"
                    ]
                  },
                  {
                    "type": "object",
                    "properties": {
                      "id": {
                        "type": "string"
                      },
                      "label": {
                        "type": "string"
                      },
                      "required": {
                        "type": "boolean"
                      },
                      "question_type": {
                        "type": "string",
                        "const": "instagram"
                      }
                    },
                    "required": [
                      "id",
                      "label",
                      "required",
                      "question_type"
                    ]
                  },
                  {
                    "type": "object",
                    "properties": {
                      "id": {
                        "type": "string"
                      },
                      "label": {
                        "type": "string"
                      },
                      "required": {
                        "type": "boolean"
                      },
                      "question_type": {
                        "type": "string",
                        "const": "linkedin"
                      }
                    },
                    "required": [
                      "id",
                      "label",
                      "required",
                      "question_type"
                    ]
                  },
                  {
                    "type": "object",
                    "properties": {
                      "id": {
                        "type": "string"
                      },
                      "label": {
                        "type": "string"
                      },
                      "required": {
                        "type": "boolean"
                      },
                      "question_type": {
                        "type": "string",
                        "const": "long-text"
                      }
                    },
                    "required": [
                      "id",
                      "label",
                      "required",
                      "question_type"
                    ]
                  },
                  {
                    "type": "object",
                    "properties": {
                      "id": {
                        "type": "string"
                      },
                      "label": {
                        "type": "string"
                      },
                      "required": {
                        "type": "boolean"
                      },
                      "question_type": {
                        "type": "string",
                        "const": "multi-select"
                      },
                      "options": {
                        "maxItems": 250,
                        "type": "array",
                        "items": {
                          "type": "string"
                        }
                      }
                    },
                    "required": [
                      "id",
                      "label",
                      "required",
                      "question_type",
                      "options"
                    ]
                  },
                  {
                    "type": "object",
                    "properties": {
                      "id": {
                        "type": "string"
                      },
                      "label": {
                        "type": "string"
                      },
                      "required": {
                        "type": "boolean"
                      },
                      "question_type": {
                        "type": "string",
                        "const": "phone-number"
                      }
                    },
                    "required": [
                      "id",
                      "label",
                      "required",
                      "question_type"
                    ]
                  },
                  {
                    "type": "object",
                    "properties": {
                      "id": {
                        "type": "string"
                      },
                      "label": {
                        "type": "string"
                      },
                      "required": {
                        "type": "boolean"
                      },
                      "question_type": {
                        "type": "string",
                        "const": "telegram"
                      }
                    },
                    "required": [
                      "id",
                      "label",
                      "required",
                      "question_type"
                    ]
                  },
                  {
                    "type": "object",
                    "properties": {
                      "id": {
                        "type": "string"
                      },
                      "label": {
                        "type": "string"
                      },
                      "required": {
                        "type": "boolean"
                      },
                      "question_type": {
                        "type": "string",
                        "const": "text"
                      }
                    },
                    "required": [
                      "id",
                      "label",
                      "required",
                      "question_type"
                    ]
                  },
                  {
                    "type": "object",
                    "properties": {
                      "id": {
                        "type": "string"
                      },
                      "label": {
                        "type": "string"
                      },
                      "required": {
                        "type": "boolean"
                      },
                      "question_type": {
                        "type": "string",
                        "const": "twitter"
                      }
                    },
                    "required": [
                      "id",
                      "label",
                      "required",
                      "question_type"
                    ]
                  },
                  {
                    "type": "object",
                    "properties": {
                      "id": {
                        "type": "string"
                      },
                      "label": {
                        "type": "string"
                      },
                      "required": {
                        "type": "boolean"
                      },
                      "question_type": {
                        "type": "string",
                        "const": "url"
                      }
                    },
                    "required": [
                      "id",
                      "label",
                      "required",
                      "question_type"
                    ]
                  },
                  {
                    "type": "object",
                    "properties": {
                      "id": {
                        "type": "string"
                      },
                      "label": {
                        "type": "string"
                      },
                      "required": {
                        "type": "boolean"
                      },
                      "question_type": {
                        "type": "string",
                        "const": "youtube"
                      }
                    },
                    "required": [
                      "id",
                      "label",
                      "required",
                      "question_type"
                    ]
                  },
                  {
                    "type": "object",
                    "properties": {
                      "id": {
                        "type": "string"
                      },
                      "label": {
                        "type": "string"
                      },
                      "required": {
                        "type": "boolean"
                      },
                      "question_type": {
                        "type": "string",
                        "const": "terms"
                      },
                      "terms": {
                        "oneOf": [
                          {
                            "type": "object",
                            "properties": {
                              "content_type": {
                                "type": "string",
                                "const": "text"
                              },
                              "content_md": {
                                "type": "string",
                                "description": "Markdown content for the terms. Luma converts this to rich text internally."
                              },
                              "collect_signature": {
                                "type": "boolean"
                              },
                              "require_review": {
                                "description": "When true, guests must open the hosted terms before accepting.",
                                "type": "boolean"
                              }
                            },
                            "required": [
                              "content_type",
                              "content_md",
                              "collect_signature"
                            ]
                          },
                          {
                            "type": "object",
                            "properties": {
                              "content_type": {
                                "type": "string",
                                "const": "link"
                              },
                              "url": {
                                "type": "string",
                                "format": "uri"
                              },
                              "collect_signature": {
                                "type": "boolean"
                              }
                            },
                            "required": [
                              "content_type",
                              "url",
                              "collect_signature"
                            ]
                          }
                        ]
                      }
                    },
                    "required": [
                      "id",
                      "label",
                      "required",
                      "question_type",
                      "terms"
                    ]
                  }
                ]
              }
            },
            "url": {
              "type": "string"
            },
            "visibility": {
              "type": "string",
              "enum": [
                "public",
                "members-only",
                "private"
              ]
            },
            "waitlist_status": {
              "type": "string",
              "enum": [
                "disabled",
                "enabled"
              ],
              "description": "`enabled` if the event has a waitlist. New registrations join the waitlist once the event reaches capacity."
            },
            "feedback_email": {
              "type": "object",
              "properties": {
                "enabled": {
                  "type": "boolean",
                  "description": "Whether to send the feedback email."
                },
                "delay": {
                  "description": "How long after the event ends to send the feedback email. Defaults to PT0M (immediately). Maximum is P7D (7 days).",
                  "type": "string"
                }
              },
              "required": [
                "enabled"
              ],
              "description": "Settings for the post-event feedback email sent to guests."
            },
            "geo_latitude": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "deprecated": true,
              "description": "Use `coordinate.latitude` instead."
            },
            "geo_longitude": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "deprecated": true,
              "description": "Use `coordinate.longitude` instead."
            },
            "tags": {
              "type": "array",
              "items": {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "string"
                  },
                  "name": {
                    "type": "string"
                  }
                },
                "required": [
                  "id",
                  "name"
                ]
              }
            }
          },
          "required": [
            "platform",
            "id",
            "user_id",
            "calendar_id",
            "start_at",
            "duration_interval",
            "end_at",
            "created_at",
            "timezone",
            "name",
            "description",
            "description_md",
            "geo_address_json",
            "coordinate",
            "meeting_url",
            "location_type",
            "location_visibility",
            "cover_url",
            "url",
            "visibility",
            "waitlist_status",
            "feedback_email",
            "geo_latitude",
            "geo_longitude",
            "tags"
          ]
        },
        "event_ticket": {
          "type": "object",
          "properties": {
            "id": {
              "type": "string"
            },
            "amount": {
              "type": "number"
            },
            "amount_discount": {
              "type": "number"
            },
            "amount_tax": {
              "type": "number"
            },
            "currency": {
              "anyOf": [
                {
                  "type": "string",
                  "enum": [
                    "solana_sol",
                    "solana_usdc",
                    "aed",
                    "afn",
                    "all",
                    "amd",
                    "ang",
                    "aoa",
                    "ars",
                    "aud",
                    "awg",
                    "azn",
                    "bam",
                    "bbd",
                    "bdt",
                    "bgn",
                    "bhd",
                    "bif",
                    "bmd",
                    "bnd",
                    "bob",
                    "brl",
                    "bsd",
                    "bwp",
                    "byn",
                    "bzd",
                    "cad",
                    "cdf",
                    "chf",
                    "clp",
                    "cny",
                    "cop",
                    "crc",
                    "cve",
                    "czk",
                    "djf",
                    "dkk",
                    "dop",
                    "dzd",
                    "egp",
                    "etb",
                    "eur",
                    "fjd",
                    "fkp",
                    "gbp",
                    "gel",
                    "ghs",
                    "gip",
                    "gmd",
                    "gnf",
                    "gtq",
                    "gyd",
                    "hkd",
                    "hnl",
                    "htg",
                    "huf",
                    "idr",
                    "ils",
                    "inr",
                    "isk",
                    "jmd",
                    "jod",
                    "jpy",
                    "kes",
                    "kgs",
                    "khr",
                    "kmf",
                    "krw",
                    "kwd",
                    "kyd",
                    "kzt",
                    "lak",
                    "lbp",
                    "lkr",
                    "lrd",
                    "lsl",
                    "mad",
                    "mdl",
                    "mga",
                    "mkd",
                    "mmk",
                    "mnt",
                    "mop",
                    "mur",
                    "mvr",
                    "mwk",
                    "mxn",
                    "myr",
                    "mzn",
                    "nad",
                    "ngn",
                    "nio",
                    "nok",
                    "npr",
                    "nzd",
                    "omr",
                    "pab",
                    "pen",
                    "pgk",
                    "php",
                    "pkr",
                    "pln",
                    "pyg",
                    "qar",
                    "ron",
                    "rsd",
                    "rub",
                    "rwf",
                    "sar",
                    "sbd",
                    "scr",
                    "sek",
                    "sgd",
                    "shp",
                    "sle",
                    "sos",
                    "srd",
                    "std",
                    "szl",
                    "thb",
                    "tjs",
                    "tnd",
                    "top",
                    "try",
                    "ttd",
                    "twd",
                    "tzs",
                    "uah",
                    "ugx",
                    "usd",
                    "uyu",
                    "uzs",
                    "vnd",
                    "vuv",
                    "wst",
                    "xaf",
                    "xcd",
                    "xof",
                    "xpf",
                    "yer",
                    "zar",
                    "zmw"
                  ]
                },
                {
                  "type": "null"
                }
              ]
            },
            "checked_in_at": {
              "anyOf": [
                {
                  "type": "string",
                  "format": "date-time",
                  "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
                  "description": "ISO 8601 Datetime. For example, 2022-10-19T03:27:13.673Z"
                },
                {
                  "type": "null"
                }
              ]
            },
            "event_ticket_type_id": {
              "type": "string"
            },
            "is_captured": {
              "type": "boolean"
            },
            "name": {
              "type": "string"
            }
          },
          "required": [
            "id",
            "amount",
            "amount_discount",
            "amount_tax",
            "currency",
            "checked_in_at",
            "event_ticket_type_id",
            "is_captured",
            "name"
          ]
        }
      },
      "required": [
        "id",
        "user_id",
        "user_email",
        "user_name",
        "user_first_name",
        "user_last_name",
        "approval_status",
        "check_in_qr_code",
        "eth_address",
        "invited_at",
        "joined_at",
        "phone_number",
        "registered_at",
        "registration_answers",
        "solana_address",
        "utm_source",
        "event_tickets",
        "custom_source",
        "event_ticket_orders",
        "event",
        "event_ticket"
      ]
    }
  },
  "required": [
    "type",
    "data"
  ]
}