changedInput schema / properties / body / oneOf
Previous value: -[
- {
- "properties": {
- "action": {
- "const": "redirect",
- "type": "string"
- },
- "enabled": {
- "default": true,
- "type": "boolean"
- },
- "expiresAt": {
- "anyOf": [
- {
- "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)))$",
- "type": "string"
- },
- {
- "type": "null"
- }
- ],
- "description": "ISO datetime after which the link stops working; null for never."
- },
- "name": {
- "anyOf": [
- {
- "maxLength": 100,
- "minLength": 1,
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "smartCardPublicId": {
- "type": [
- "string",
- "null"
- ]
- },
- "target": {
- "format": "uri",
- "type": "string"
- },
- "webhook": {
- "anyOf": [
- {
- "properties": {
- "endpointId": {
- "maxLength": 16,
- "minLength": 1,
- "type": "string"
- },
- "ref": {
- "anyOf": [
- {
- "maxLength": 100,
- "minLength": 1,
- "type": "string"
- },
- {
- "type": "null"
- }
- ],
- "default": null
- }
- },
- "required": [
- "endpointId"
- ],
- "type": "object"
- },
- {
- "type": "null"
- }
- ]
- }
- },
- "required": [
- "action",
- "target"
- ],
- "type": "object"
- },
- {
- "properties": {
- "action": {
- "const": "join",
- "type": "string"
- },
- "enabled": {
- "default": true,
- "type": "boolean"
- },
- "expiresAt": {
- "anyOf": [
- {
- "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)))$",
- "type": "string"
- },
- {
- "type": "null"
- }
- ],
- "description": "ISO datetime after which the link stops working; null for never."
- },
- "name": {
- "anyOf": [
- {
- "maxLength": 100,
- "minLength": 1,
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "smartCardPublicId": {
- "type": [
- "string",
- "null"
- ]
- },
- "target": {
- "maxLength": 200,
- "minLength": 1,
- "type": "string"
- },
- "webhook": {
- "anyOf": [
- {
- "properties": {
- "endpointId": {
- "maxLength": 16,
- "minLength": 1,
- "type": "string"
- },
- "ref": {
- "anyOf": [
- {
- "maxLength": 100,
- "minLength": 1,
- "type": "string"
- },
- {
- "type": "null"
- }
- ],
- "default": null
- }
- },
- "required": [
- "endpointId"
- ],
- "type": "object"
- },
- {
- "type": "null"
- }
- ]
- }
- },
- "required": [
- "action",
- "target"
- ],
- "type": "object"
- },
- {
- "properties": {
- "action": {
- "const": "stamp",
- "type": "string"
- },
- "enabled": {
- "default": true,
- "type": "boolean"
- },
- "expiresAt": {
- "anyOf": [
- {
- "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)))$",
- "type": "string"
- },
- {
- "type": "null"
- }
- ],
- "description": "ISO datetime after which the link stops working; null for never."
- },
- "name": {
- "anyOf": [
- {
- "maxLength": 100,
- "minLength": 1,
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "smartCardPublicId": {
- "type": [
- "string",
- "null"
- ]
- },
- "target": {
- "maxLength": 200,
- "minLength": 1,
- "type": "string"
- },
- "webhook": {
- "anyOf": [
- {
- "properties": {
- "endpointId": {
- "maxLength": 16,
- "minLength": 1,
- "type": "string"
- },
- "ref": {
- "anyOf": [
- {
- "maxLength": 100,
- "minLength": 1,
- "type": "string"
- },
- {
- "type": "null"
- }
- ],
- "default": null
- }
- },
- "required": [
- "endpointId"
- ],
- "type": "object"
- },
- {
- "type": "null"
- }
- ]
- }
- },
- "required": [
- "action",
- "target"
- ],
- "type": "object"
- },
- {
- "properties": {
- "action": {
- "const": "show",
- "type": "string"
- },
- "enabled": {
- "default": true,
- "type": "boolean"
- },
- "expiresAt": {
- "anyOf": [
- {
- "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)))$",
- "type": "string"
- },
- {
- "type": "null"
- }
- ],
- "description": "ISO datetime after which the link stops working; null for never."
- },
- "name": {
- "anyOf": [
- {
- "maxLength": 100,
- "minLength": 1,
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "smartCardPublicId": {
- "type": [
- "string",
- "null"
- ]
- },
- "target": {
- "maxLength": 200,
- "minLength": 1,
- "type": "string"
- },
- "webhook": {
- "anyOf": [
- {
- "properties": {
- "endpointId": {
- "maxLength": 16,
- "minLength": 1,
- "type": "string"
- },
- "ref": {
- "anyOf": [
- {
- "maxLength": 100,
- "minLength": 1,
- "type": "string"
- },
- {
- "type": "null"
- }
- ],
- "default": null
- }
- },
- "required": [
- "endpointId"
- ],
- "type": "object"
- },
- {
- "type": "null"
- }
- ]
- }
- },
- "required": [
- "action",
- "target"
- ],
- "type": "object"
- },
- {
- "properties": {
- "action": {
- "const": "none",
- "type": "string"
- },
- "enabled": {
- "default": true,
- "type": "boolean"
- },
- "expiresAt": {
- "anyOf": [
- {
- "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)))$",
- "type": "string"
- },
- {
- "type": "null"
- }
- ],
- "description": "ISO datetime after which the link stops working; null for never."
- },
- "name": {
- "anyOf": [
- {
- "maxLength": 100,
- "minLength": 1,
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "smartCardPublicId": {
- "type": [
- "string",
- "null"
- ]
- },
- "target": {
- "type": "null"
- },
- "webhook": {
- "anyOf": [
- {
- "properties": {
- "endpointId": {
- "maxLength": 16,
- "minLength": 1,
- "type": "string"
- },
- "ref": {
- "anyOf": [
- {
- "maxLength": 100,
- "minLength": 1,
- "type": "string"
- },
- {
- "type": "null"
- }
- ],
- "default": null
- }
- },
- "required": [
- "endpointId"
- ],
- "type": "object"
- },
- {
- "type": "null"
- }
- ]
- }
- },
- "required": [
- "action",
- "target"
- ],
- "type": "object"
- }
-]New value: +[
+ {
+ "properties": {
+ "action": {
+ "const": "redirect",
+ "description": "What a scan does: open a URL.",
+ "type": "string"
+ },
+ "enabled": {
+ "default": true,
+ "description": "`false` turns the tag off.",
+ "type": "boolean"
+ },
+ "expiresAt": {
+ "anyOf": [
+ {
+ "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)))$",
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "ISO datetime after which the link stops working; null for never."
+ },
+ "name": {
+ "anyOf": [
+ {
+ "maxLength": 100,
+ "minLength": 1,
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "A label, such as `Till K-1`."
+ },
+ "smartCardPublicId": {
+ "description": "The id printed on an NFC card from Cluby, such as `00AE`, to attach it to the tag.",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "target": {
+ "description": "The https URL to open.",
+ "format": "uri",
+ "type": "string"
+ },
+ "webhook": {
+ "anyOf": [
+ {
+ "properties": {
+ "endpointId": {
+ "description": "The webhook endpoint the tag is tied to: the POS connection's `endpoint.id`.",
+ "maxLength": 16,
+ "minLength": 1,
+ "type": "string"
+ },
+ "ref": {
+ "anyOf": [
+ {
+ "maxLength": 100,
+ "minLength": 1,
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null,
+ "description": "Your till reference, sent back as `posRef` on every scan. Unique per endpoint: a duplicate answers 409."
+ }
+ },
+ "required": [
+ "endpointId"
+ ],
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "Ties the tag to your endpoint, so its scans carry `posRef` and the action links. `null` removes the tie. The target must be a venue."
+ }
+ },
+ "required": [
+ "action",
+ "target"
+ ],
+ "type": "object"
+ },
+ {
+ "properties": {
+ "action": {
+ "const": "join",
+ "description": "What a scan does: join the venue; a register tag's action.",
+ "type": "string"
+ },
+ "enabled": {
+ "default": true,
+ "description": "`false` turns the tag off.",
+ "type": "boolean"
+ },
+ "expiresAt": {
+ "anyOf": [
+ {
+ "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)))$",
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "ISO datetime after which the link stops working; null for never."
+ },
+ "name": {
+ "anyOf": [
+ {
+ "maxLength": 100,
+ "minLength": 1,
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "A label, such as `Till K-1`."
+ },
+ "smartCardPublicId": {
+ "description": "The id printed on an NFC card from Cluby, such as `00AE`, to attach it to the tag.",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "target": {
+ "description": "`venue::{venueId}` for `join` and `show`, `stampcard::{stampCardId}` for `stamp`. A register tag targets its venue.",
+ "maxLength": 200,
+ "minLength": 1,
+ "type": "string"
+ },
+ "webhook": {
+ "anyOf": [
+ {
+ "properties": {
+ "endpointId": {
+ "description": "The webhook endpoint the tag is tied to: the POS connection's `endpoint.id`.",
+ "maxLength": 16,
+ "minLength": 1,
+ "type": "string"
+ },
+ "ref": {
+ "anyOf": [
+ {
+ "maxLength": 100,
+ "minLength": 1,
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null,
+ "description": "Your till reference, sent back as `posRef` on every scan. Unique per endpoint: a duplicate answers 409."
+ }
+ },
+ "required": [
+ "endpointId"
+ ],
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "Ties the tag to your endpoint, so its scans carry `posRef` and the action links. `null` removes the tie. The target must be a venue."
+ }
+ },
+ "required": [
+ "action",
+ "target"
+ ],
+ "type": "object"
+ },
+ {
+ "properties": {
+ "action": {
+ "const": "stamp",
+ "description": "What a scan does: give a stamp on a stamp card.",
+ "type": "string"
+ },
+ "enabled": {
+ "default": true,
+ "description": "`false` turns the tag off.",
+ "type": "boolean"
+ },
+ "expiresAt": {
+ "anyOf": [
+ {
+ "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)))$",
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "ISO datetime after which the link stops working; null for never."
+ },
+ "name": {
+ "anyOf": [
+ {
+ "maxLength": 100,
+ "minLength": 1,
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "A label, such as `Till K-1`."
+ },
+ "smartCardPublicId": {
+ "description": "The id printed on an NFC card from Cluby, such as `00AE`, to attach it to the tag.",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "target": {
+ "description": "`venue::{venueId}` for `join` and `show`, `stampcard::{stampCardId}` for `stamp`. A register tag targets its venue.",
+ "maxLength": 200,
+ "minLength": 1,
+ "type": "string"
+ },
+ "webhook": {
+ "anyOf": [
+ {
+ "properties": {
+ "endpointId": {
+ "description": "The webhook endpoint the tag is tied to: the POS connection's `endpoint.id`.",
+ "maxLength": 16,
+ "minLength": 1,
+ "type": "string"
+ },
+ "ref": {
+ "anyOf": [
+ {
+ "maxLength": 100,
+ "minLength": 1,
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null,
+ "description": "Your till reference, sent back as `posRef` on every scan. Unique per endpoint: a duplicate answers 409."
+ }
+ },
+ "required": [
+ "endpointId"
+ ],
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "Ties the tag to your endpoint, so its scans carry `posRef` and the action links. `null` removes the tie. The target must be a venue."
+ }
+ },
+ "required": [
+ "action",
+ "target"
+ ],
+ "type": "object"
+ },
+ {
+ "properties": {
+ "action": {
+ "const": "show",
+ "description": "What a scan does: open the venue or a benefit.",
+ "type": "string"
+ },
+ "enabled": {
+ "default": true,
+ "description": "`false` turns the tag off.",
+ "type": "boolean"
+ },
+ "expiresAt": {
+ "anyOf": [
+ {
+ "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)))$",
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "ISO datetime after which the link stops working; null for never."
+ },
+ "name": {
+ "anyOf": [
+ {
+ "maxLength": 100,
+ "minLength": 1,
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "A label, such as `Till K-1`."
+ },
+ "smartCardPublicId": {
+ "description": "The id printed on an NFC card from Cluby, such as `00AE`, to attach it to the tag.",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "target": {
+ "description": "`venue::{venueId}` for `join` and `show`, `stampcard::{stampCardId}` for `stamp`. A register tag targets its venue.",
+ "maxLength": 200,
+ "minLength": 1,
+ "type": "string"
+ },
+ "webhook": {
+ "anyOf": [
+ {
+ "properties": {
+ "endpointId": {
+ "description": "The webhook endpoint the tag is tied to: the POS connection's `endpoint.id`.",
+ "maxLength": 16,
+ "minLength": 1,
+ "type": "string"
+ },
+ "ref": {
+ "anyOf": [
+ {
+ "maxLength": 100,
+ "minLength": 1,
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null,
+ "description": "Your till reference, sent back as `posRef` on every scan. Unique per endpoint: a duplicate answers 409."
+ }
+ },
+ "required": [
+ "endpointId"
+ ],
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "Ties the tag to your endpoint, so its scans carry `posRef` and the action links. `null` removes the tie. The target must be a venue."
+ }
+ },
+ "required": [
+ "action",
+ "target"
+ ],
+ "type": "object"
+ },
+ {
+ "properties": {
+ "action": {
+ "const": "none",
+ "description": "What a scan does: nothing beyond the scan itself.",
+ "type": "string"
+ },
+ "enabled": {
+ "default": true,
+ "description": "`false` turns the tag off.",
+ "type": "boolean"
+ },
+ "expiresAt": {
+ "anyOf": [
+ {
+ "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)))$",
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "ISO datetime after which the link stops working; null for never."
+ },
+ "name": {
+ "anyOf": [
+ {
+ "maxLength": 100,
+ "minLength": 1,
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "A label, such as `Till K-1`."
+ },
+ "smartCardPublicId": {
+ "description": "The id printed on an NFC card from Cluby, such as `00AE`, to attach it to the tag.",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "target": {
+ "description": "No target.",
+ "type": "null"
+ },
+ "webhook": {
+ "anyOf": [
+ {
+ "properties": {
+ "endpointId": {
+ "description": "The webhook endpoint the tag is tied to: the POS connection's `endpoint.id`.",
+ "maxLength": 16,
+ "minLength": 1,
+ "type": "string"
+ },
+ "ref": {
+ "anyOf": [
+ {
+ "maxLength": 100,
+ "minLength": 1,
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null,
+ "description": "Your till reference, sent back as `posRef` on every scan. Unique per endpoint: a duplicate answers 409."
+ }
+ },
+ "required": [
+ "endpointId"
+ ],
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "Ties the tag to your endpoint, so its scans carry `posRef` and the action links. `null` removes the tie. The target must be a venue."
+ }
+ },
+ "required": [
+ "action",
+ "target"
+ ],
+ "type": "object"
+ }
+]