changedOutput schema / anyOf
Previous value: -[
- {
- "properties": {
- "customer_notice": {
- "description": "Whether a customer notice was queued. On the way, that is the on the way message. Arrived, that is the arrived message when arrival notices are on. It is sent only if the customer can be reached.",
- "enum": [
- "queued",
- "off",
- "already"
- ],
- "type": "string"
- },
- "eta_at": {
- "format": "date-time",
- "type": [
- "string",
- "null"
- ]
- },
- "status": {
- "type": "string"
- },
- "visit_id": {
- "format": "uuid",
- "type": "string"
- }
- },
- "required": [
- "visit_id",
- "status"
- ],
- "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": {
+ "customer_notice": {
+ "description": "Whether a customer notice was queued. On the way, that is the on the way message. Arrived, that is the arrived message. Both follow on_my_way_notices. It is sent only if the customer can be reached.",
+ "enum": [
+ "queued",
+ "off",
+ "already"
+ ],
+ "type": "string"
+ },
+ "eta_at": {
+ "format": "date-time",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "status": {
+ "type": "string"
+ },
+ "visit_id": {
+ "format": "uuid",
+ "type": "string"
+ }
+ },
+ "required": [
+ "visit_id",
+ "status"
+ ],
+ "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"
+ }
+]