changedOutput schema / anyOf
Previous value: -[
- {
- "properties": {
- "booking_url": {
- "type": [
- "string",
- "null"
- ]
- },
- "enabled": {
- "type": "boolean"
- },
- "google_booking_url": {
- "type": [
- "string",
- "null"
- ]
- },
- "google_enabled": {
- "type": "boolean"
- },
- "job_types": {
- "items": {
- "properties": {
- "minutes": {
- "type": "integer"
- },
- "name": {
- "type": "string"
- }
- },
- "required": [
- "name",
- "minutes"
- ],
- "type": "object"
- },
- "type": "array"
- },
- "missing_nap": {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- "nap": {
- "properties": {
- "address": {
- "type": [
- "string",
- "null"
- ]
- },
- "jurisdiction_id": {
- "type": "string"
- },
- "name": {
- "type": "string"
- },
- "phone": {
- "type": [
- "string",
- "null"
- ]
- }
- },
- "required": [
- "name",
- "phone",
- "address",
- "jurisdiction_id"
- ],
- "type": "object"
- },
- "nap_ready": {
- "type": "boolean"
- },
- "service_zips": {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- "shop_id": {
- "format": "uuid",
- "type": "string"
- },
- "show_open_times": {
- "type": "boolean"
- },
- "slug": {
- "type": [
- "string",
- "null"
- ]
- },
- "trade": {
- "type": [
- "string",
- "null"
- ]
- }
- },
- "required": [
- "shop_id",
- "enabled",
- "slug",
- "booking_url",
- "google_booking_url",
- "show_open_times",
- "google_enabled",
- "trade",
- "service_zips",
- "job_types",
- "nap",
- "nap_ready",
- "missing_nap"
- ],
- "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": {
+ "booking_url": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "enabled": {
+ "type": "boolean"
+ },
+ "google_booking_url": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "google_enabled": {
+ "type": "boolean"
+ },
+ "job_types": {
+ "items": {
+ "properties": {
+ "minutes": {
+ "type": "integer"
+ },
+ "name": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "name",
+ "minutes"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "missing_nap": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "nap": {
+ "properties": {
+ "address": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "jurisdiction_id": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ },
+ "phone": {
+ "type": [
+ "string",
+ "null"
+ ]
+ }
+ },
+ "required": [
+ "name",
+ "phone",
+ "address",
+ "jurisdiction_id"
+ ],
+ "type": "object"
+ },
+ "nap_ready": {
+ "type": "boolean"
+ },
+ "next_actions": {
+ "description": "Up to 3 useful next steps, best first, in plain words. op names the op to call, when there is one. when is now, later, check, or tell_human. due_at is set for later and check when there is a natural time. A send is tell_human: show the owner the draft, then send only when they say so.",
+ "items": {
+ "properties": {
+ "args_hint": {
+ "type": "string"
+ },
+ "due_at": {
+ "format": "date-time",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "op": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "say": {
+ "type": "string"
+ },
+ "when": {
+ "enum": [
+ "now",
+ "later",
+ "check",
+ "tell_human"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "say",
+ "op",
+ "when"
+ ],
+ "type": "object"
+ },
+ "maxItems": 3,
+ "type": "array"
+ },
+ "service_zips": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "shop_id": {
+ "format": "uuid",
+ "type": "string"
+ },
+ "show_open_times": {
+ "type": "boolean"
+ },
+ "slug": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "trade": {
+ "type": [
+ "string",
+ "null"
+ ]
+ }
+ },
+ "required": [
+ "shop_id",
+ "enabled",
+ "slug",
+ "booking_url",
+ "google_booking_url",
+ "show_open_times",
+ "google_enabled",
+ "trade",
+ "service_zips",
+ "job_types",
+ "nap",
+ "nap_ready",
+ "missing_nap",
+ "next_actions"
+ ],
+ "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"
+ }
+]