changedOutput schema / oneOf
Previous value: -[
- {
- "additionalProperties": false,
- "properties": {
- "action": {
- "enum": [
- "list_ticket_types"
- ],
- "type": "string"
- },
- "guest_ticket_types": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "addons": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "amount": {
- "type": "number"
- },
- "consumed_quantity": {
- "type": "integer"
- },
- "description": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "id": {
- "type": "string"
- },
- "is_enabled": {
- "type": "boolean"
- },
- "name": {
- "type": "string"
- },
- "position": {
- "anyOf": [
- {
- "type": "integer"
- },
- {
- "type": "null"
- }
- ]
- },
- "quantity": {
- "anyOf": [
- {
- "type": "integer"
- },
- {
- "type": "null"
- }
- ]
- },
- "ticket_type_ids": {
- "items": {
- "type": "string"
- },
- "type": "array"
- }
- },
- "required": [
- "id",
- "name",
- "amount",
- "consumed_quantity",
- "is_enabled",
- "ticket_type_ids"
- ],
- "type": "object"
- },
- "type": "array"
- },
- "amount": {
- "type": "number"
- },
- "available_quantity": {
- "anyOf": [
- {
- "type": "integer"
- },
- {
- "type": "null"
- }
- ]
- },
- "consumed_quantity": {
- "type": "integer"
- },
- "currency": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "end_time": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "id": {
- "type": "string"
- },
- "is_default": {
- "type": "boolean"
- },
- "is_enabled": {
- "type": "boolean"
- },
- "is_guest": {
- "type": "boolean"
- },
- "is_hidden": {
- "type": "boolean"
- },
- "is_waitlist_enabled": {
- "type": "boolean"
- },
- "name": {
- "type": "string"
- },
- "priority": {
- "anyOf": [
- {
- "type": "integer"
- },
- {
- "type": "null"
- }
- ]
- },
- "quantity": {
- "anyOf": [
- {
- "type": "integer"
- },
- {
- "type": "null"
- }
- ]
- },
- "registration_perks": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "id": {
- "type": "string"
- },
- "name": {
- "type": "string"
- },
- "position": {
- "anyOf": [
- {
- "type": "integer"
- },
- {
- "type": "null"
- }
- ]
- }
- },
- "required": [
- "id",
- "name"
- ],
- "type": "object"
- },
- "type": "array"
- },
- "start_time": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "tickets_count": {
- "type": "integer"
- },
- "timezone": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- }
- },
- "required": [
- "id",
- "name",
- "amount",
- "currency",
- "quantity",
- "available_quantity",
- "consumed_quantity",
- "tickets_count",
- "is_enabled",
- "is_hidden",
- "is_default",
- "priority",
- "start_time",
- "end_time",
- "timezone",
- "is_waitlist_enabled",
- "is_guest",
- "addons",
- "registration_perks"
- ],
- "type": "object"
- },
- "type": "array"
- },
- "hint": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "message": {
- "type": "string"
- },
- "primary_ticket_types": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "addons": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "amount": {
- "type": "number"
- },
- "consumed_quantity": {
- "type": "integer"
- },
- "description": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "id": {
- "type": "string"
- },
- "is_enabled": {
- "type": "boolean"
- },
- "name": {
- "type": "string"
- },
- "position": {
- "anyOf": [
- {
- "type": "integer"
- },
- {
- "type": "null"
- }
- ]
- },
- "quantity": {
- "anyOf": [
- {
- "type": "integer"
- },
- {
- "type": "null"
- }
- ]
- },
- "ticket_type_ids": {
- "items": {
- "type": "string"
- },
- "type": "array"
- }
- },
- "required": [
- "id",
- "name",
- "amount",
- "consumed_quantity",
- "is_enabled",
- "ticket_type_ids"
- ],
- "type": "object"
- },
- "type": "array"
- },
- "amount": {
- "type": "number"
- },
- "available_quantity": {
- "anyOf": [
- {
- "type": "integer"
- },
- {
- "type": "null"
- }
- ]
- },
- "consumed_quantity": {
- "type": "integer"
- },
- "currency": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "end_time": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "id": {
- "type": "string"
- },
- "is_default": {
- "type": "boolean"
- },
- "is_enabled": {
- "type": "boolean"
- },
- "is_guest": {
- "type": "boolean"
- },
- "is_hidden": {
- "type": "boolean"
- },
- "is_waitlist_enabled": {
- "type": "boolean"
- },
- "name": {
- "type": "string"
- },
- "priority": {
- "anyOf": [
- {
- "type": "integer"
- },
- {
- "type": "null"
- }
- ]
- },
- "quantity": {
- "anyOf": [
- {
- "type": "integer"
- },
- {
- "type": "null"
- }
- ]
- },
- "registration_perks": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "id": {
- "type": "string"
- },
- "name": {
- "type": "string"
- },
- "position": {
- "anyOf": [
- {
- "type": "integer"
- },
- {
- "type": "null"
- }
- ]
- }
- },
- "required": [
- "id",
- "name"
- ],
- "type": "object"
- },
- "type": "array"
- },
- "start_time": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "tickets_count": {
- "type": "integer"
- },
- "timezone": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- }
- },
- "required": [
- "id",
- "name",
- "amount",
- "currency",
- "quantity",
- "available_quantity",
- "consumed_quantity",
- "tickets_count",
- "is_enabled",
- "is_hidden",
- "is_default",
- "priority",
- "start_time",
- "end_time",
- "timezone",
- "is_waitlist_enabled",
- "is_guest",
- "addons",
- "registration_perks"
- ],
- "type": "object"
- },
- "type": "array"
- },
- "total_count": {
- "type": "integer"
- }
- },
- "required": [
- "action",
- "primary_ticket_types",
- "guest_ticket_types",
- "total_count",
- "message",
- "hint"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "action": {
- "enum": [
- "get_ticket_type"
- ],
- "type": "string"
- },
- "hint": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "message": {
- "type": "string"
- },
- "ticket_type": {
- "additionalProperties": false,
- "properties": {
- "addons": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "amount": {
- "type": "number"
- },
- "consumed_quantity": {
- "type": "integer"
- },
- "description": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "id": {
- "type": "string"
- },
- "is_enabled": {
- "type": "boolean"
- },
- "name": {
- "type": "string"
- },
- "position": {
- "anyOf": [
- {
- "type": "integer"
- },
- {
- "type": "null"
- }
- ]
- },
- "quantity": {
- "anyOf": [
- {
- "type": "integer"
- },
- {
- "type": "null"
- }
- ]
- },
- "ticket_type_ids": {
- "items": {
- "type": "string"
- },
- "type": "array"
- }
- },
- "required": [
- "id",
- "name",
- "amount",
- "consumed_quantity",
- "is_enabled",
- "ticket_type_ids"
- ],
- "type": "object"
- },
- "type": "array"
- },
- "amount": {
- "type": "number"
- },
- "available_quantity": {
- "anyOf": [
- {
- "type": "integer"
- },
- {
- "type": "null"
- }
- ]
- },
- "consumed_quantity": {
- "type": "integer"
- },
- "currency": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "end_time": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "id": {
- "type": "string"
- },
- "is_default": {
- "type": "boolean"
- },
- "is_enabled": {
- "type": "boolean"
- },
- "is_guest": {
- "type": "boolean"
- },
- "is_hidden": {
- "type": "boolean"
- },
- "is_waitlist_enabled": {
- "type": "boolean"
- },
- "name": {
- "type": "string"
- },
- "priority": {
- "anyOf": [
- {
- "type": "integer"
- },
- {
- "type": "null"
- }
- ]
- },
- "quantity": {
- "anyOf": [
- {
- "type": "integer"
- },
- {
- "type": "null"
- }
- ]
- },
- "registration_perks": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "id": {
- "type": "string"
- },
- "name": {
- "type": "string"
- },
- "position": {
- "anyOf": [
- {
- "type": "integer"
- },
- {
- "type": "null"
- }
- ]
- }
- },
- "required": [
- "id",
- "name"
- ],
- "type": "object"
- },
- "type": "array"
- },
- "start_time": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "tickets_count": {
- "type": "integer"
- },
- "timezone": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- }
- },
- "required": [
- "id",
- "name",
- "amount",
- "currency",
- "quantity",
- "available_quantity",
- "consumed_quantity",
- "tickets_count",
- "is_enabled",
- "is_hidden",
- "is_default",
- "priority",
- "start_time",
- "end_time",
- "timezone",
- "is_waitlist_enabled",
- "is_guest",
- "addons",
- "registration_perks"
- ],
- "type": "object"
- }
- },
- "required": [
- "action",
- "ticket_type",
- "message",
- "hint"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "action": {
- "enum": [
- "list_addons"
- ],
- "type": "string"
- },
- "addons": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "amount": {
- "type": "number"
- },
- "consumed_quantity": {
- "type": "integer"
- },
- "description": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "id": {
- "type": "string"
- },
- "is_enabled": {
- "type": "boolean"
- },
- "name": {
- "type": "string"
- },
- "position": {
- "anyOf": [
- {
- "type": "integer"
- },
- {
- "type": "null"
- }
- ]
- },
- "quantity": {
- "anyOf": [
- {
- "type": "integer"
- },
- {
- "type": "null"
- }
- ]
- },
- "ticket_type_ids": {
- "items": {
- "type": "string"
- },
- "type": "array"
- }
- },
- "required": [
- "id",
- "name",
- "amount",
- "consumed_quantity",
- "is_enabled",
- "ticket_type_ids"
- ],
- "type": "object"
- },
- "type": "array"
- },
- "message": {
- "type": "string"
- },
- "total_count": {
- "type": "integer"
- }
- },
- "required": [
- "action",
- "addons",
- "total_count",
- "message"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "action": {
- "enum": [
- "list_coupon_codes"
- ],
- "type": "string"
- },
- "coupons": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "code": {
- "type": "string"
- },
- "discount_amount": {
- "anyOf": [
- {
- "type": "number"
- },
- {
- "type": "null"
- }
- ]
- },
- "discount_percent": {
- "anyOf": [
- {
- "type": "integer"
- },
- {
- "type": "null"
- }
- ]
- },
- "discount_type": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "end_time": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "id": {
- "type": "string"
- },
- "is_enabled": {
- "type": "boolean"
- },
- "kind": {
- "type": "string"
- },
- "max_discount": {
- "anyOf": [
- {
- "type": "number"
- },
- {
- "type": "null"
- }
- ]
- },
- "quantity": {
- "anyOf": [
- {
- "type": "integer"
- },
- {
- "type": "null"
- }
- ]
- },
- "sale": {
- "additionalProperties": false,
- "properties": {
- "gross_sale": {
- "anyOf": [
- {
- "type": "number"
- },
- {
- "type": "null"
- }
- ]
- },
- "net_sale": {
- "anyOf": [
- {
- "type": "number"
- },
- {
- "type": "null"
- }
- ]
- },
- "qty": {
- "type": "integer"
- }
- },
- "required": [
- "gross_sale",
- "net_sale",
- "qty"
- ],
- "type": "object"
- },
- "start_time": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "ticket_types": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "id": {
- "type": "string"
- },
- "name": {
- "type": "string"
- }
- },
- "required": [
- "id",
- "name"
- ],
- "type": "object"
- },
- "type": "array"
- },
- "timezone": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- }
- },
- "required": [
- "id",
- "code",
- "kind",
- "discount_type",
- "discount_percent",
- "discount_amount",
- "max_discount",
- "quantity",
- "start_time",
- "end_time",
- "timezone",
- "is_enabled",
- "sale",
- "ticket_types"
- ],
- "type": "object"
- },
- "type": "array"
- },
- "message": {
- "type": "string"
- },
- "total_count": {
- "type": "integer"
- }
- },
- "required": [
- "action",
- "coupons",
- "total_count",
- "message"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "action": {
- "enum": [
- "config"
- ],
- "type": "string"
- },
- "config": {
- "additionalProperties": false,
- "properties": {
- "allow_plus_ones": {
- "type": "boolean"
- },
- "allow_reprint": {
- "type": "boolean"
- },
- "background_image_url": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "badge_template": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "bulk_purchase_enabled": {
- "type": "boolean"
- },
- "enable_guest_tickets": {
- "type": "boolean"
- },
- "max_adults": {
- "anyOf": [
- {
- "type": "integer"
- },
- {
- "type": "null"
- }
- ]
- },
- "max_kids": {
- "anyOf": [
- {
- "type": "integer"
- },
- {
- "type": "null"
- }
- ]
- },
- "qr_height": {
- "anyOf": [
- {
- "type": "integer"
- },
- {
- "type": "null"
- }
- ]
- },
- "qr_width": {
- "anyOf": [
- {
- "type": "integer"
- },
- {
- "type": "null"
- }
- ]
- },
- "self_checkin_allow_register": {
- "type": "boolean"
- },
- "self_checkin_enable_lookup": {
- "type": "boolean"
- },
- "self_checkin_review_before_print": {
- "type": "boolean"
- },
- "ticketing_currency": {
- "type": "string"
- }
- },
- "required": [
- "badge_template",
- "qr_width",
- "qr_height",
- "allow_plus_ones",
- "max_adults",
- "max_kids",
- "self_checkin_review_before_print",
- "self_checkin_enable_lookup",
- "background_image_url",
- "allow_reprint",
- "self_checkin_allow_register",
- "ticketing_currency",
- "enable_guest_tickets",
- "bulk_purchase_enabled"
- ],
- "type": "object"
- },
- "message": {
- "type": "string"
- }
- },
- "required": [
- "action",
- "config",
- "message"
- ],
- "type": "object"
- }
-]New value: +[
+ {
+ "additionalProperties": false,
+ "properties": {
+ "action": {
+ "enum": [
+ "list_ticket_types"
+ ],
+ "type": "string"
+ },
+ "guest_ticket_types": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "addons": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "amount": {
+ "type": "number"
+ },
+ "consumed_quantity": {
+ "type": "integer"
+ },
+ "description": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "id": {
+ "type": "string"
+ },
+ "is_enabled": {
+ "type": "boolean"
+ },
+ "name": {
+ "type": "string"
+ },
+ "position": {
+ "anyOf": [
+ {
+ "type": "integer"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "quantity": {
+ "anyOf": [
+ {
+ "type": "integer"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "ticket_type_ids": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ }
+ },
+ "required": [
+ "id",
+ "name",
+ "amount",
+ "consumed_quantity",
+ "is_enabled",
+ "ticket_type_ids"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "amount": {
+ "type": "number"
+ },
+ "available_quantity": {
+ "anyOf": [
+ {
+ "type": "integer"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "consumed_quantity": {
+ "type": "integer"
+ },
+ "currency": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "end_time": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "id": {
+ "type": "string"
+ },
+ "is_default": {
+ "type": "boolean"
+ },
+ "is_enabled": {
+ "type": "boolean"
+ },
+ "is_guest": {
+ "type": "boolean"
+ },
+ "is_hidden": {
+ "type": "boolean"
+ },
+ "is_waitlist_enabled": {
+ "type": "boolean"
+ },
+ "mail_merge_description": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "name": {
+ "type": "string"
+ },
+ "priority": {
+ "anyOf": [
+ {
+ "type": "integer"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "quantity": {
+ "anyOf": [
+ {
+ "type": "integer"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "registration_perks": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ },
+ "position": {
+ "anyOf": [
+ {
+ "type": "integer"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ }
+ },
+ "required": [
+ "id",
+ "name"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "start_time": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "tickets_count": {
+ "type": "integer"
+ },
+ "timezone": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ }
+ },
+ "required": [
+ "id",
+ "name",
+ "amount",
+ "currency",
+ "quantity",
+ "available_quantity",
+ "consumed_quantity",
+ "tickets_count",
+ "is_enabled",
+ "is_hidden",
+ "is_default",
+ "priority",
+ "start_time",
+ "end_time",
+ "timezone",
+ "is_waitlist_enabled",
+ "is_guest",
+ "mail_merge_description",
+ "addons",
+ "registration_perks"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "hint": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "message": {
+ "type": "string"
+ },
+ "primary_ticket_types": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "addons": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "amount": {
+ "type": "number"
+ },
+ "consumed_quantity": {
+ "type": "integer"
+ },
+ "description": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "id": {
+ "type": "string"
+ },
+ "is_enabled": {
+ "type": "boolean"
+ },
+ "name": {
+ "type": "string"
+ },
+ "position": {
+ "anyOf": [
+ {
+ "type": "integer"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "quantity": {
+ "anyOf": [
+ {
+ "type": "integer"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "ticket_type_ids": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ }
+ },
+ "required": [
+ "id",
+ "name",
+ "amount",
+ "consumed_quantity",
+ "is_enabled",
+ "ticket_type_ids"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "amount": {
+ "type": "number"
+ },
+ "available_quantity": {
+ "anyOf": [
+ {
+ "type": "integer"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "consumed_quantity": {
+ "type": "integer"
+ },
+ "currency": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "end_time": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "id": {
+ "type": "string"
+ },
+ "is_default": {
+ "type": "boolean"
+ },
+ "is_enabled": {
+ "type": "boolean"
+ },
+ "is_guest": {
+ "type": "boolean"
+ },
+ "is_hidden": {
+ "type": "boolean"
+ },
+ "is_waitlist_enabled": {
+ "type": "boolean"
+ },
+ "mail_merge_description": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "name": {
+ "type": "string"
+ },
+ "priority": {
+ "anyOf": [
+ {
+ "type": "integer"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "quantity": {
+ "anyOf": [
+ {
+ "type": "integer"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "registration_perks": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ },
+ "position": {
+ "anyOf": [
+ {
+ "type": "integer"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ }
+ },
+ "required": [
+ "id",
+ "name"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "start_time": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "tickets_count": {
+ "type": "integer"
+ },
+ "timezone": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ }
+ },
+ "required": [
+ "id",
+ "name",
+ "amount",
+ "currency",
+ "quantity",
+ "available_quantity",
+ "consumed_quantity",
+ "tickets_count",
+ "is_enabled",
+ "is_hidden",
+ "is_default",
+ "priority",
+ "start_time",
+ "end_time",
+ "timezone",
+ "is_waitlist_enabled",
+ "is_guest",
+ "mail_merge_description",
+ "addons",
+ "registration_perks"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "total_count": {
+ "type": "integer"
+ }
+ },
+ "required": [
+ "action",
+ "primary_ticket_types",
+ "guest_ticket_types",
+ "total_count",
+ "message",
+ "hint"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "action": {
+ "enum": [
+ "get_ticket_type"
+ ],
+ "type": "string"
+ },
+ "hint": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "message": {
+ "type": "string"
+ },
+ "ticket_type": {
+ "additionalProperties": false,
+ "properties": {
+ "addons": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "amount": {
+ "type": "number"
+ },
+ "consumed_quantity": {
+ "type": "integer"
+ },
+ "description": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "id": {
+ "type": "string"
+ },
+ "is_enabled": {
+ "type": "boolean"
+ },
+ "name": {
+ "type": "string"
+ },
+ "position": {
+ "anyOf": [
+ {
+ "type": "integer"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "quantity": {
+ "anyOf": [
+ {
+ "type": "integer"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "ticket_type_ids": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ }
+ },
+ "required": [
+ "id",
+ "name",
+ "amount",
+ "consumed_quantity",
+ "is_enabled",
+ "ticket_type_ids"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "amount": {
+ "type": "number"
+ },
+ "available_quantity": {
+ "anyOf": [
+ {
+ "type": "integer"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "consumed_quantity": {
+ "type": "integer"
+ },
+ "currency": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "end_time": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "id": {
+ "type": "string"
+ },
+ "is_default": {
+ "type": "boolean"
+ },
+ "is_enabled": {
+ "type": "boolean"
+ },
+ "is_guest": {
+ "type": "boolean"
+ },
+ "is_hidden": {
+ "type": "boolean"
+ },
+ "is_waitlist_enabled": {
+ "type": "boolean"
+ },
+ "mail_merge_description": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "name": {
+ "type": "string"
+ },
+ "priority": {
+ "anyOf": [
+ {
+ "type": "integer"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "quantity": {
+ "anyOf": [
+ {
+ "type": "integer"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "registration_perks": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ },
+ "position": {
+ "anyOf": [
+ {
+ "type": "integer"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ }
+ },
+ "required": [
+ "id",
+ "name"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "start_time": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "tickets_count": {
+ "type": "integer"
+ },
+ "timezone": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ }
+ },
+ "required": [
+ "id",
+ "name",
+ "amount",
+ "currency",
+ "quantity",
+ "available_quantity",
+ "consumed_quantity",
+ "tickets_count",
+ "is_enabled",
+ "is_hidden",
+ "is_default",
+ "priority",
+ "start_time",
+ "end_time",
+ "timezone",
+ "is_waitlist_enabled",
+ "is_guest",
+ "mail_merge_description",
+ "addons",
+ "registration_perks"
+ ],
+ "type": "object"
+ }
+ },
+ "required": [
+ "action",
+ "ticket_type",
+ "message",
+ "hint"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "action": {
+ "enum": [
+ "list_addons"
+ ],
+ "type": "string"
+ },
+ "addons": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "amount": {
+ "type": "number"
+ },
+ "consumed_quantity": {
+ "type": "integer"
+ },
+ "description": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "id": {
+ "type": "string"
+ },
+ "is_enabled": {
+ "type": "boolean"
+ },
+ "name": {
+ "type": "string"
+ },
+ "position": {
+ "anyOf": [
+ {
+ "type": "integer"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "quantity": {
+ "anyOf": [
+ {
+ "type": "integer"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "ticket_type_ids": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ }
+ },
+ "required": [
+ "id",
+ "name",
+ "amount",
+ "consumed_quantity",
+ "is_enabled",
+ "ticket_type_ids"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "message": {
+ "type": "string"
+ },
+ "total_count": {
+ "type": "integer"
+ }
+ },
+ "required": [
+ "action",
+ "addons",
+ "total_count",
+ "message"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "action": {
+ "enum": [
+ "list_coupon_codes"
+ ],
+ "type": "string"
+ },
+ "coupons": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "code": {
+ "type": "string"
+ },
+ "discount_amount": {
+ "anyOf": [
+ {
+ "type": "number"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "discount_percent": {
+ "anyOf": [
+ {
+ "type": "integer"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "discount_type": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "end_time": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "id": {
+ "type": "string"
+ },
+ "is_enabled": {
+ "type": "boolean"
+ },
+ "kind": {
+ "type": "string"
+ },
+ "max_discount": {
+ "anyOf": [
+ {
+ "type": "number"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "quantity": {
+ "anyOf": [
+ {
+ "type": "integer"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "sale": {
+ "additionalProperties": false,
+ "properties": {
+ "gross_sale": {
+ "anyOf": [
+ {
+ "type": "number"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "net_sale": {
+ "anyOf": [
+ {
+ "type": "number"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "qty": {
+ "type": "integer"
+ }
+ },
+ "required": [
+ "gross_sale",
+ "net_sale",
+ "qty"
+ ],
+ "type": "object"
+ },
+ "start_time": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "ticket_types": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "id",
+ "name"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "timezone": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ }
+ },
+ "required": [
+ "id",
+ "code",
+ "kind",
+ "discount_type",
+ "discount_percent",
+ "discount_amount",
+ "max_discount",
+ "quantity",
+ "start_time",
+ "end_time",
+ "timezone",
+ "is_enabled",
+ "sale",
+ "ticket_types"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "message": {
+ "type": "string"
+ },
+ "total_count": {
+ "type": "integer"
+ }
+ },
+ "required": [
+ "action",
+ "coupons",
+ "total_count",
+ "message"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "action": {
+ "enum": [
+ "config"
+ ],
+ "type": "string"
+ },
+ "config": {
+ "additionalProperties": false,
+ "properties": {
+ "allow_plus_ones": {
+ "type": "boolean"
+ },
+ "allow_reprint": {
+ "type": "boolean"
+ },
+ "background_image_url": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "badge_template": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "bulk_purchase_enabled": {
+ "type": "boolean"
+ },
+ "enable_guest_tickets": {
+ "type": "boolean"
+ },
+ "max_adults": {
+ "anyOf": [
+ {
+ "type": "integer"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "max_kids": {
+ "anyOf": [
+ {
+ "type": "integer"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "qr_height": {
+ "anyOf": [
+ {
+ "type": "integer"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "qr_width": {
+ "anyOf": [
+ {
+ "type": "integer"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "self_checkin_allow_register": {
+ "type": "boolean"
+ },
+ "self_checkin_enable_lookup": {
+ "type": "boolean"
+ },
+ "self_checkin_review_before_print": {
+ "type": "boolean"
+ },
+ "ticketing_currency": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "badge_template",
+ "qr_width",
+ "qr_height",
+ "allow_plus_ones",
+ "max_adults",
+ "max_kids",
+ "self_checkin_review_before_print",
+ "self_checkin_enable_lookup",
+ "background_image_url",
+ "allow_reprint",
+ "self_checkin_allow_register",
+ "ticketing_currency",
+ "enable_guest_tickets",
+ "bulk_purchase_enabled"
+ ],
+ "type": "object"
+ },
+ "message": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "action",
+ "config",
+ "message"
+ ],
+ "type": "object"
+ }
+]