changedOutput schema / properties / journey / anyOf
Previous value: -[
- {
- "additionalProperties": false,
- "properties": {
- "journey_id": {
- "type": "string"
- },
- "outcome": {
- "anyOf": [
- {
- "additionalProperties": false,
- "properties": {
- "coverage": {
- "description": "Each source the journey read, and whether it found something, nothing, or could not check",
- "items": {
- "additionalProperties": false,
- "properties": {
- "note": {
- "type": [
- "string",
- "null"
- ]
- },
- "source": {
- "type": "string"
- },
- "state": {
- "enum": [
- "found",
- "nothing_found",
- "couldnt_check"
- ],
- "type": "string"
- }
- },
- "required": [
- "source",
- "state",
- "note"
- ],
- "type": "object"
- },
- "type": "array"
- },
- "done": {
- "description": "Each done criterion of the journey, from list_journeys, and whether it was met",
- "items": {
- "additionalProperties": false,
- "properties": {
- "id": {
- "type": "string"
- },
- "met": {
- "type": "boolean"
- },
- "note": {
- "type": [
- "string",
- "null"
- ]
- }
- },
- "required": [
- "id",
- "met",
- "note"
- ],
- "type": "object"
- },
- "type": "array"
- },
- "state": {
- "enum": [
- "reached",
- "not_reached"
- ],
- "type": "string"
- },
- "summary": {
- "type": "string"
- }
- },
- "required": [
- "state",
- "summary",
- "coverage",
- "done"
- ],
- "type": "object"
- },
- {
- "type": "null"
- }
- ],
- "description": "Null until the agent finishes the journey; then whether it reached the outcome. Relay couldnt_check sources to the user."
- }
- },
- "required": [
- "journey_id",
- "outcome"
- ],
- "type": "object"
- },
- {
- "type": "null"
- }
-]New value: +[
+ {
+ "additionalProperties": false,
+ "properties": {
+ "journey_id": {
+ "type": "string"
+ },
+ "outcome": {
+ "anyOf": [
+ {
+ "additionalProperties": false,
+ "properties": {
+ "coverage": {
+ "description": "Each source the journey read, and whether it found something, nothing, or could not check",
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "note": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "source": {
+ "type": "string"
+ },
+ "state": {
+ "enum": [
+ "found",
+ "nothing_found",
+ "couldnt_check"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "source",
+ "state",
+ "note"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "done": {
+ "description": "Each done criterion of the journey, and whether it was met",
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "met": {
+ "type": "boolean"
+ },
+ "note": {
+ "type": [
+ "string",
+ "null"
+ ]
+ }
+ },
+ "required": [
+ "id",
+ "met",
+ "note"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "state": {
+ "enum": [
+ "reached",
+ "not_reached"
+ ],
+ "type": "string"
+ },
+ "summary": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "state",
+ "summary",
+ "coverage",
+ "done"
+ ],
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "Null until the agent finishes the journey; then whether it reached the outcome. Relay couldnt_check sources to the user."
+ }
+ },
+ "required": [
+ "journey_id",
+ "outcome"
+ ],
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+]