addedOutput schema / anyOf
Added value: +[
+ {
+ "additionalProperties": false,
+ "description": "Traveller review excerpts without reviewer identity or publication-date fields.",
+ "properties": {
+ "average": {
+ "description": "Average rating (1 to 5).",
+ "maximum": 5,
+ "minimum": 0,
+ "type": "number"
+ },
+ "counts": {
+ "description": "Review count per star rating.",
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "count": {
+ "minimum": 0,
+ "type": "integer"
+ },
+ "rating": {
+ "maximum": 5,
+ "minimum": 1,
+ "type": "integer"
+ }
+ },
+ "required": [
+ "rating",
+ "count"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "reviews": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "machineTranslated": {
+ "description": "True when the partner machine-translated the review.",
+ "type": "boolean"
+ },
+ "provider": {
+ "examples": [
+ "VIATOR",
+ "TRIPADVISOR"
+ ],
+ "type": "string"
+ },
+ "rating": {
+ "maximum": 5,
+ "minimum": 1,
+ "type": "integer"
+ },
+ "text": {
+ "description": "Review text, at most 1200 characters. Partner content.",
+ "type": "string"
+ },
+ "title": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "rating",
+ "text",
+ "provider",
+ "machineTranslated"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "total": {
+ "description": "Total review count for the product.",
+ "minimum": 0,
+ "type": "integer"
+ }
+ },
+ "required": [
+ "total",
+ "counts",
+ "reviews"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "availableTools": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "code": {
+ "type": "string"
+ },
+ "docs": {
+ "format": "uri",
+ "type": "string"
+ },
+ "message": {
+ "type": "string"
+ },
+ "retryAfterSeconds": {
+ "type": "integer"
+ },
+ "status": {
+ "type": "integer"
+ }
+ },
+ "required": [
+ "code",
+ "message",
+ "status"
+ ],
+ "type": "object"
+ }
+]
removedOutput schema / properties
Removed value: -{
- "average": {
- "description": "Average rating (1 to 5).",
- "maximum": 5,
- "minimum": 0,
- "type": "number"
- },
- "counts": {
- "description": "Review count per star rating.",
- "items": {
- "properties": {
- "count": {
- "minimum": 0,
- "type": "integer"
- },
- "rating": {
- "maximum": 5,
- "minimum": 1,
- "type": "integer"
- }
- },
- "required": [
- "rating",
- "count"
- ],
- "type": "object"
- },
- "type": "array"
- },
- "reviews": {
- "items": {
- "properties": {
- "author": {
- "type": "string"
- },
- "date": {
- "format": "date-time",
- "type": "string"
- },
- "machineTranslated": {
- "description": "True when the partner machine-translated the review.",
- "type": "boolean"
- },
- "provider": {
- "examples": [
- "VIATOR",
- "TRIPADVISOR"
- ],
- "type": "string"
- },
- "rating": {
- "maximum": 5,
- "minimum": 1,
- "type": "integer"
- },
- "text": {
- "description": "Review text, at most 1200 characters. Partner content.",
- "type": "string"
- },
- "title": {
- "type": "string"
- }
- },
- "required": [
- "rating",
- "text",
- "author",
- "provider",
- "machineTranslated"
- ],
- "type": "object"
- },
- "type": "array"
- },
- "total": {
- "description": "Total review count for the product.",
- "minimum": 0,
- "type": "integer"
- }
-}