{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://raw.githubusercontent.com/api-evangelist/amadeus/refs/heads/main/json-schema/hotel-list-meta-schema.json", "title": "Meta", "description": "Meta information about the returned object(s) in \"data\"", "type": "object", "properties": { "count": { "type": "integer", "format": "int64", "description": "Total number of object(s) retrieved", "minimum": 0, "exclusiveMinimum": false, "example": 1 }, "sort": { "type": "array", "description": "Sorting fields criteria and their associated priority and direction. Sorting priority is indicated by the order of the strings within the array. E.g. sort=title,size means that items are ordered by title and then, as a second ordering by size. A '-' sign before the search criteria indicates a descending ordering direction (Z to A), whereas no sign indicates a ascending direction (A to Z). E.g. sort=-title mean that the objects are ordered by title in reverse order (Z to A).", "items": { "type": "string" } }, "links": { "type": "object", "title": "Links", "description": "Links related to the returned object(s)", "properties": { "self": { "type": "string", "format": "url", "description": "Link to the same page.", "example": "https://example.com/resource" }, "first": { "type": "string", "format": "url", "description": "Link to the first page.", "example": "https://example.com/resource" }, "prev": { "type": "string", "format": "url", "description": "Link to the previous page.", "example": "https://example.com/resource" }, "next": { "type": "string", "format": "url", "description": "Link to the next page.", "example": "https://example.com/resource" }, "last": { "type": "string", "format": "url", "description": "Link to the last page.", "example": "https://example.com/resource" } } } } }