changedInput schema / properties / items / items / properties / options / items / anyOf
Previous value: -[
- {
- "additionalProperties": false,
- "properties": {
- "choice_id": {
- "description": "choice_id from get_menu",
- "maxLength": 32,
- "minLength": 1,
- "type": "string"
- },
- "option_id": {
- "maxLength": 32,
- "minLength": 1,
- "type": "string"
- }
- },
- "required": [
- "option_id",
- "choice_id"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "option_id": {
- "maxLength": 32,
- "minLength": 1,
- "type": "string"
- },
- "text": {
- "description": "The customer's own words, e.g. \"uden løg\"",
- "maxLength": 500,
- "type": "string"
- }
- },
- "required": [
- "option_id",
- "text"
- ],
- "type": "object"
- }
-]New value: +[
+ {
+ "additionalProperties": false,
+ "properties": {
+ "choice_id": {
+ "description": "choice_id from get_menu",
+ "maxLength": 32,
+ "minLength": 1,
+ "type": "string"
+ },
+ "option_id": {
+ "maxLength": 32,
+ "minLength": 1,
+ "type": "string"
+ }
+ },
+ "required": [
+ "option_id",
+ "choice_id"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "option_id": {
+ "maxLength": 32,
+ "minLength": 1,
+ "type": "string"
+ },
+ "text": {
+ "description": "The customer's own words, e.g. \"uden løg\"",
+ "maxLength": 500,
+ "type": "string"
+ }
+ },
+ "required": [
+ "option_id",
+ "text"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "choices": {
+ "description": "choose_many: the chosen choices; the total must be between min_total and max_total",
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "choice_id": {
+ "maxLength": 32,
+ "minLength": 1,
+ "type": "string"
+ },
+ "quantity": {
+ "description": "1 unless the option has quantities",
+ "maximum": 100,
+ "minimum": 1,
+ "type": "integer"
+ }
+ },
+ "required": [
+ "choice_id",
+ "quantity"
+ ],
+ "type": "object"
+ },
+ "maxItems": 100,
+ "type": "array"
+ },
+ "option_id": {
+ "maxLength": 32,
+ "minLength": 1,
+ "type": "string"
+ }
+ },
+ "required": [
+ "option_id",
+ "choices"
+ ],
+ "type": "object"
+ }
+]