changedOutput schema / properties / salon / anyOf
Previous value: -[
- {
- "additionalProperties": false,
- "properties": {
- "appointmentDuration": {
- "anyOf": [
- {
- "exclusiveMinimum": 0,
- "maximum": 1440,
- "type": "integer"
- },
- {
- "type": "null"
- }
- ]
- },
- "city": {
- "anyOf": [
- {
- "maxLength": 200,
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "countryCode": {
- "anyOf": [
- {
- "pattern": "^[A-Z]{2}$",
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "currency": {
- "anyOf": [
- {
- "pattern": "^[A-Z]{3}$",
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "defaultLocale": {
- "anyOf": [
- {
- "maxLength": 16,
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "firstDayOfTheWeek": {
- "anyOf": [
- {
- "enum": [
- "Monday",
- "Tuesday",
- "Wednesday",
- "Thursday",
- "Friday",
- "Saturday",
- "Sunday"
- ],
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "id": {
- "pattern": "^[0-9a-f]{24}$",
- "type": "string"
- },
- "name": {
- "maxLength": 200,
- "type": "string"
- },
- "openingHours": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "close": {
- "anyOf": [
- {
- "pattern": "^\\d{1,2}:\\d{2}$",
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "day": {
- "anyOf": [
- {
- "enum": [
- "Monday",
- "Tuesday",
- "Wednesday",
- "Thursday",
- "Friday",
- "Saturday",
- "Sunday"
- ],
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "open": {
- "anyOf": [
- {
- "pattern": "^\\d{1,2}:\\d{2}$",
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- }
- },
- "required": [
- "day",
- "open",
- "close"
- ],
- "type": "object"
- },
- "maxItems": 14,
- "type": "array"
- },
- "openingHoursTruncated": {
- "type": "boolean"
- },
- "phone": {
- "anyOf": [
- {
- "maxLength": 32,
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "postalCode": {
- "anyOf": [
- {
- "maxLength": 32,
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "state": {
- "anyOf": [
- {
- "maxLength": 200,
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "street": {
- "anyOf": [
- {
- "maxLength": 200,
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "timezone": {
- "anyOf": [
- {
- "maxLength": 64,
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "website": {
- "anyOf": [
- {
- "maxLength": 2048,
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- }
- },
- "required": [
- "id",
- "name",
- "currency",
- "defaultLocale",
- "timezone",
- "countryCode",
- "firstDayOfTheWeek",
- "appointmentDuration",
- "phone",
- "street",
- "city",
- "state",
- "postalCode",
- "website",
- "openingHours",
- "openingHoursTruncated"
- ],
- "type": "object"
- },
- {
- "type": "null"
- }
-]New value: +[
+ {
+ "additionalProperties": false,
+ "properties": {
+ "appointmentDuration": {
+ "anyOf": [
+ {
+ "exclusiveMinimum": 0,
+ "maximum": 1440,
+ "type": "integer"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "Default appointment length in minutes"
+ },
+ "city": {
+ "anyOf": [
+ {
+ "maxLength": 200,
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "countryCode": {
+ "anyOf": [
+ {
+ "pattern": "^[A-Z]{2}$",
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "currency": {
+ "anyOf": [
+ {
+ "pattern": "^[A-Z]{3}$",
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "defaultLocale": {
+ "anyOf": [
+ {
+ "maxLength": 16,
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "firstDayOfTheWeek": {
+ "anyOf": [
+ {
+ "enum": [
+ "Monday",
+ "Tuesday",
+ "Wednesday",
+ "Thursday",
+ "Friday",
+ "Saturday",
+ "Sunday"
+ ],
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "id": {
+ "pattern": "^[0-9a-f]{24}$",
+ "type": "string"
+ },
+ "name": {
+ "maxLength": 200,
+ "type": "string"
+ },
+ "openingHours": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "close": {
+ "anyOf": [
+ {
+ "pattern": "^\\d{1,2}:\\d{2}$",
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "day": {
+ "anyOf": [
+ {
+ "enum": [
+ "Monday",
+ "Tuesday",
+ "Wednesday",
+ "Thursday",
+ "Friday",
+ "Saturday",
+ "Sunday"
+ ],
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "open": {
+ "anyOf": [
+ {
+ "pattern": "^\\d{1,2}:\\d{2}$",
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ }
+ },
+ "required": [
+ "day",
+ "open",
+ "close"
+ ],
+ "type": "object"
+ },
+ "maxItems": 14,
+ "type": "array"
+ },
+ "openingHoursTruncated": {
+ "description": "True when the salon has more than 14 opening-hour rows",
+ "type": "boolean"
+ },
+ "phone": {
+ "anyOf": [
+ {
+ "maxLength": 32,
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "postalCode": {
+ "anyOf": [
+ {
+ "maxLength": 32,
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "state": {
+ "anyOf": [
+ {
+ "maxLength": 200,
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "street": {
+ "anyOf": [
+ {
+ "maxLength": 200,
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "timezone": {
+ "anyOf": [
+ {
+ "maxLength": 64,
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "website": {
+ "anyOf": [
+ {
+ "maxLength": 2048,
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ }
+ },
+ "required": [
+ "id",
+ "name",
+ "currency",
+ "defaultLocale",
+ "timezone",
+ "countryCode",
+ "firstDayOfTheWeek",
+ "appointmentDuration",
+ "phone",
+ "street",
+ "city",
+ "state",
+ "postalCode",
+ "website",
+ "openingHours",
+ "openingHoursTruncated"
+ ],
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+]