changedOutput schema / anyOf
Previous value: -[
- {
- "properties": {
- "override_id": {
- "format": "uuid",
- "type": [
- "string",
- "null"
- ]
- },
- "status": {
- "type": "string"
- },
- "visit_id": {
- "format": "uuid",
- "type": "string"
- }
- },
- "required": [
- "visit_id",
- "status",
- "override_id"
- ],
- "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": {
+ "missed_steps": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "next_actions": {
+ "description": "Useful next steps to offer, in plain words. op names the op to call, when there is one.",
+ "items": {
+ "properties": {
+ "op": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "say": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "say",
+ "op"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "override_id": {
+ "format": "uuid",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "status": {
+ "type": "string"
+ },
+ "visit_id": {
+ "format": "uuid",
+ "type": "string"
+ }
+ },
+ "required": [
+ "visit_id",
+ "status",
+ "override_id",
+ "missed_steps",
+ "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"
+ }
+]