changedOutput schema / anyOf
Previous value: -[
- {
- "additionalProperties": false,
- "properties": {
- "canonicalUrl": {
- "description": "Canonical country page URL.",
- "format": "uri",
- "type": "string"
- },
- "country": {
- "description": "Display name of the destination.",
- "type": "string"
- },
- "lastReviewed": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ],
- "description": "ISO date when guidance was last reviewed, when available."
- },
- "methodologyUrl": {
- "description": "How Tipping Rules reviews and sources guidance.",
- "format": "uri",
- "type": "string"
- },
- "ok": {
- "const": true,
- "description": "True when country guidance was loaded.",
- "type": "boolean"
- },
- "situations": {
- "description": "Key service recommendations (up to 8).",
- "items": {
- "additionalProperties": false,
- "properties": {
- "expectation": {
- "description": "Overall tipping expectation context for the destination.",
- "type": "string"
- },
- "recommendation": {
- "description": "Concise tipping recommendation for the service.",
- "type": "string"
- },
- "service": {
- "description": "Service category label (e.g. Restaurant, Taxi).",
- "type": "string"
- }
- },
- "required": [
- "service",
- "recommendation",
- "expectation"
- ],
- "type": "object"
- },
- "type": "array"
- },
- "slug": {
- "description": "Country slug.",
- "type": "string"
- },
- "source": {
- "const": "Tipping Rules",
- "description": "Attribution for downstream citations.",
- "type": "string"
- },
- "status": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ],
- "description": "Overall tipping expectation label, when available."
- },
- "summary": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ],
- "description": "Short editorial summary of local tipping norms."
- }
- },
- "required": [
- "ok",
- "country",
- "slug",
- "status",
- "summary",
- "situations",
- "lastReviewed",
- "canonicalUrl",
- "methodologyUrl",
- "source"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "code": {
- "description": "Machine-readable error code (e.g. NOT_FOUND, VALIDATION, TIMEOUT).",
- "type": "string"
- },
- "message": {
- "description": "Short, agent-safe error message.",
- "type": "string"
- },
- "ok": {
- "const": false,
- "description": "False when the tool could not complete successfully.",
- "type": "boolean"
- }
- },
- "required": [
- "ok",
- "code",
- "message"
- ],
- "type": "object"
- }
-]New value: +[
+ {
+ "additionalProperties": false,
+ "properties": {
+ "canonicalUrl": {
+ "description": "Canonical country page URL.",
+ "format": "uri",
+ "type": "string"
+ },
+ "country": {
+ "description": "Display name of the destination.",
+ "type": "string"
+ },
+ "lastReviewed": {
+ "description": "ISO date when guidance was last reviewed, when available.",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "methodologyUrl": {
+ "description": "How Tipping Rules reviews and sources guidance.",
+ "format": "uri",
+ "type": "string"
+ },
+ "ok": {
+ "const": true,
+ "description": "True when country guidance was loaded.",
+ "type": "boolean"
+ },
+ "situations": {
+ "description": "Key service recommendations (up to 8).",
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "expectation": {
+ "description": "Overall tipping expectation context for the destination.",
+ "type": "string"
+ },
+ "recommendation": {
+ "description": "Concise tipping recommendation for the service.",
+ "type": "string"
+ },
+ "service": {
+ "description": "Service category label (e.g. Restaurant, Taxi).",
+ "type": "string"
+ }
+ },
+ "required": [
+ "service",
+ "recommendation",
+ "expectation"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "slug": {
+ "description": "Country slug.",
+ "type": "string"
+ },
+ "source": {
+ "const": "Tipping Rules",
+ "description": "Attribution for downstream citations.",
+ "type": "string"
+ },
+ "status": {
+ "description": "Overall tipping expectation label, when available.",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "summary": {
+ "description": "Short editorial summary of local tipping norms.",
+ "type": [
+ "string",
+ "null"
+ ]
+ }
+ },
+ "required": [
+ "ok",
+ "country",
+ "slug",
+ "status",
+ "summary",
+ "situations",
+ "lastReviewed",
+ "canonicalUrl",
+ "methodologyUrl",
+ "source"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "code": {
+ "description": "Machine-readable error code (e.g. NOT_FOUND, VALIDATION, TIMEOUT).",
+ "type": "string"
+ },
+ "message": {
+ "description": "Short, agent-safe error message.",
+ "type": "string"
+ },
+ "ok": {
+ "const": false,
+ "description": "False when the tool could not complete successfully.",
+ "type": "boolean"
+ }
+ },
+ "required": [
+ "ok",
+ "code",
+ "message"
+ ],
+ "type": "object"
+ }
+]