changedOutput schema / anyOf
Previous value: -[
- {
- "properties": {
- "arrival_notices": {
- "description": "When true, an on the way message includes an arrival time when one is known (a stored route estimate, or the time the worker entered), and the customer is told by text and email when the worker marks the visit arrived. Off by default. No drive time is looked up.",
- "type": "boolean"
- },
- "arrival_window_minutes": {
- "type": "integer"
- },
- "buffer_minutes": {
- "type": "integer"
- },
- "hours": {
- "items": {
- "properties": {
- "end": {
- "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$",
- "type": "string"
- },
- "start": {
- "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$",
- "type": "string"
- },
- "weekday": {
- "maximum": 6,
- "minimum": 0,
- "type": "integer"
- }
- },
- "required": [
- "weekday",
- "start",
- "end"
- ],
- "type": "object"
- },
- "type": "array"
- },
- "hours_source": {
- "description": "default means the shop set no hours and Monday to Friday 08:00 to 17:00 is assumed.",
- "enum": [
- "shop",
- "default"
- ],
- "type": "string"
- },
- "on_my_way_notices": {
- "type": "boolean"
- },
- "reminder_hours": {
- "description": "0 means no appointment reminders.",
- "type": "integer"
- },
- "shop_id": {
- "format": "uuid",
- "type": "string"
- },
- "time_zone": {
- "description": "IANA zone all shop-local times use.",
- "type": "string"
- },
- "time_zone_set": {
- "description": "False when the zone comes from the shop's jurisdiction.",
- "type": "boolean"
- }
- },
- "required": [
- "shop_id",
- "time_zone",
- "hours",
- "hours_source",
- "arrival_window_minutes",
- "buffer_minutes",
- "reminder_hours",
- "on_my_way_notices",
- "arrival_notices"
- ],
- "type": "object"
- },
- {
- "properties": {
- "approval_id": {
- "format": "uuid",
- "type": "string"
- },
- "approval_required": {
- "enum": [
- true
- ],
- "type": "boolean"
- },
- "expires_at": {
- "format": "date-time",
- "type": "string"
- },
- "message": {
- "type": "string"
- },
- "status": {
- "enum": [
- "pending"
- ],
- "type": "string"
- }
- },
- "required": [
- "approval_required",
- "approval_id",
- "status",
- "expires_at",
- "message"
- ],
- "type": "object"
- }
-]New value: +[
+ {
+ "properties": {
+ "arrival_notices": {
+ "description": "When true, an on the way message includes an arrival time when one is known (a stored route estimate, or the time the worker entered). Off by default. The arrived notice follows on_my_way_notices. No drive time is looked up.",
+ "type": "boolean"
+ },
+ "arrival_window_minutes": {
+ "type": "integer"
+ },
+ "buffer_minutes": {
+ "type": "integer"
+ },
+ "hours": {
+ "items": {
+ "properties": {
+ "end": {
+ "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$",
+ "type": "string"
+ },
+ "start": {
+ "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$",
+ "type": "string"
+ },
+ "weekday": {
+ "maximum": 6,
+ "minimum": 0,
+ "type": "integer"
+ }
+ },
+ "required": [
+ "weekday",
+ "start",
+ "end"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "hours_source": {
+ "description": "default means the shop set no hours and Monday to Friday 08:00 to 17:00 is assumed.",
+ "enum": [
+ "shop",
+ "default"
+ ],
+ "type": "string"
+ },
+ "on_my_way_notices": {
+ "type": "boolean"
+ },
+ "reminder_hours": {
+ "description": "0 means no appointment reminders.",
+ "type": "integer"
+ },
+ "shop_id": {
+ "format": "uuid",
+ "type": "string"
+ },
+ "time_zone": {
+ "description": "IANA zone all shop-local times use.",
+ "type": "string"
+ },
+ "time_zone_set": {
+ "description": "False when the zone comes from the shop's jurisdiction.",
+ "type": "boolean"
+ }
+ },
+ "required": [
+ "shop_id",
+ "time_zone",
+ "hours",
+ "hours_source",
+ "arrival_window_minutes",
+ "buffer_minutes",
+ "reminder_hours",
+ "on_my_way_notices",
+ "arrival_notices"
+ ],
+ "type": "object"
+ },
+ {
+ "properties": {
+ "approval_id": {
+ "format": "uuid",
+ "type": "string"
+ },
+ "approval_required": {
+ "enum": [
+ true
+ ],
+ "type": "boolean"
+ },
+ "expires_at": {
+ "format": "date-time",
+ "type": "string"
+ },
+ "message": {
+ "type": "string"
+ },
+ "status": {
+ "enum": [
+ "pending"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "approval_required",
+ "approval_id",
+ "status",
+ "expires_at",
+ "message"
+ ],
+ "type": "object"
+ }
+]