changedOutput schema / (root)
Previous value: -nullNew value: +{
+ "anyOf": [
+ {
+ "properties": {
+ "coverage": {
+ "properties": {
+ "companies": {
+ "items": {
+ "properties": {
+ "country_code": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ },
+ "passport_id": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "name",
+ "country_code",
+ "passport_id"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "company_records": {
+ "minimum": 0,
+ "type": "integer"
+ },
+ "country_codes": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "place_records": {
+ "minimum": 0,
+ "type": "integer"
+ },
+ "scope": {
+ "type": "string"
+ },
+ "searchable_records": {
+ "minimum": 0,
+ "type": "integer"
+ },
+ "service_records": {
+ "minimum": 0,
+ "type": "integer"
+ },
+ "withheld_unverified_records": {
+ "minimum": 0,
+ "type": "integer"
+ }
+ },
+ "required": [
+ "companies",
+ "country_codes",
+ "searchable_records",
+ "company_records",
+ "service_records",
+ "place_records",
+ "withheld_unverified_records",
+ "scope"
+ ],
+ "type": "object"
+ },
+ "limitations": {
+ "type": "string"
+ },
+ "matches": {
+ "items": {
+ "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"
+ },
+ "type": "array"
+ },
+ "total_matches": {
+ "minimum": 0,
+ "type": "integer"
+ }
+ },
+ "required": [
+ "matches",
+ "total_matches",
+ "coverage",
+ "limitations"
+ ],
+ "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"
+}