changedOutput schema / (root)
Previous value: -nullNew value: +{
+ "anyOf": [
+ {
+ "properties": {
+ "catalogue_revision": {
+ "type": "string"
+ },
+ "clarification_fields": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "consultant": {
+ "type": "string"
+ },
+ "engine": {
+ "type": "string"
+ },
+ "follow_up": {
+ "properties": {
+ "api": {
+ "properties": {
+ "consultant": {
+ "type": "string"
+ },
+ "method": {
+ "const": "POST"
+ },
+ "url": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "method",
+ "url",
+ "consultant"
+ ],
+ "type": "object"
+ },
+ "instructions": {
+ "type": "string"
+ },
+ "needed": {
+ "type": "boolean"
+ },
+ "questions": {
+ "items": {
+ "properties": {
+ "field": {
+ "type": "string"
+ },
+ "question": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "field",
+ "question"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "state": {
+ "type": "string"
+ },
+ "tool": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "needed",
+ "questions",
+ "tool",
+ "api",
+ "instructions",
+ "state"
+ ],
+ "type": "object"
+ },
+ "location_relationship": {
+ "type": "string"
+ },
+ "matches": {
+ "items": {
+ "properties": {
+ "passport": {
+ "properties": {
+ "arrival": {
+ "type": [
+ "object",
+ "null"
+ ]
+ },
+ "company": {
+ "type": "string"
+ },
+ "country_code": {
+ "type": "string"
+ },
+ "description": {
+ "type": "string"
+ },
+ "enquiry": {
+ "type": "string"
+ },
+ "id": {
+ "type": "string"
+ },
+ "kind": {
+ "enum": [
+ "company",
+ "service",
+ "place"
+ ],
+ "type": "string"
+ },
+ "location_media": {
+ "type": [
+ "object",
+ "null"
+ ]
+ },
+ "name": {
+ "type": "string"
+ },
+ "navigation": {
+ "type": [
+ "object",
+ "null"
+ ]
+ },
+ "opening_information": {
+ "type": "string"
+ },
+ "passport_url": {
+ "type": "string"
+ },
+ "reviewed_at": {
+ "type": "string"
+ },
+ "source": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "id",
+ "name",
+ "company",
+ "country_code",
+ "passport_url",
+ "source",
+ "reviewed_at",
+ "description"
+ ],
+ "type": "object"
+ },
+ "relevant_facts": {
+ "items": {
+ "properties": {
+ "field": {
+ "type": "string"
+ },
+ "value": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "field",
+ "value"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "role": {
+ "enum": [
+ "primary",
+ "complementary"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "role",
+ "passport",
+ "relevant_facts"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "measurement": {
+ "properties": {
+ "contact_link": {
+ "type": "string"
+ },
+ "meaning": {
+ "type": "string"
+ },
+ "traffic": {
+ "enum": [
+ "internal_evaluation",
+ "external_unverified"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "traffic",
+ "meaning",
+ "contact_link"
+ ],
+ "type": "object"
+ },
+ "mode": {
+ "type": "string"
+ },
+ "next_steps": {
+ "items": {
+ "properties": {
+ "details_tool": {
+ "type": "string"
+ },
+ "enquiry_url": {
+ "type": "string"
+ },
+ "measured_enquiry_url": {
+ "type": "string"
+ },
+ "passport_id": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "passport_id",
+ "details_tool",
+ "enquiry_url"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "recovery": {
+ "properties": {
+ "automatic_model_retry": {
+ "type": "string"
+ },
+ "catalogue": {
+ "type": "string"
+ },
+ "mode": {
+ "type": "string"
+ },
+ "reason": {
+ "type": "string"
+ },
+ "source_index": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "mode",
+ "automatic_model_retry"
+ ],
+ "type": "object"
+ },
+ "response_depth": {
+ "enum": [
+ "brief",
+ "full"
+ ],
+ "type": "string"
+ },
+ "scope": {
+ "type": "string"
+ },
+ "topic": {
+ "type": "string"
+ },
+ "visit_groups": {
+ "items": {
+ "properties": {
+ "location_pages": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "name": {
+ "type": "string"
+ },
+ "passport_ids": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ }
+ },
+ "required": [
+ "name",
+ "passport_ids",
+ "location_pages"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ }
+ },
+ "required": [
+ "engine",
+ "consultant",
+ "mode",
+ "topic",
+ "visit_groups",
+ "location_relationship",
+ "response_depth",
+ "matches",
+ "clarification_fields",
+ "follow_up",
+ "next_steps",
+ "scope"
+ ],
+ "type": "object"
+ },
+ {
+ "properties": {
+ "error": {
+ "type": "string"
+ },
+ "fallback_tool": {
+ "type": "string"
+ },
+ "message": {
+ "type": "string"
+ },
+ "recovery": {
+ "properties": {
+ "automatic_model_retry": {
+ "type": "string"
+ },
+ "catalogue": {
+ "type": "string"
+ },
+ "mode": {
+ "type": "string"
+ },
+ "reason": {
+ "type": "string"
+ },
+ "source_index": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "mode",
+ "automatic_model_retry"
+ ],
+ "type": "object"
+ }
+ },
+ "required": [
+ "error"
+ ],
+ "type": "object"
+ }
+ ],
+ "type": "object"
+}