{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://raw.githubusercontent.com/api-evangelist/amadeus/refs/heads/main/json-schema/transfer-book-error-401-schema.json", "title": "Error_401", "description": "Error_401 schema from Transfer Booking", "properties": { "errors": { "type": "array", "items": { "properties": { "status": { "description": "the HTTP status code applicable to this error", "type": "integer", "example": 1 }, "code": { "description": "an application-specific error code", "type": "integer", "format": "int64", "example": 1 }, "title": { "description": "a short summary of the error", "type": "string", "example": "string-value" }, "detail": { "description": "explanation of the error", "type": "string", "example": "string-value" }, "source": { "type": "object", "title": "Issue_Source", "description": "an object containing references to the source of the error", "maxProperties": 1, "properties": { "pointer": { "description": "a JSON Pointer [RFC6901] to the associated entity in the request document", "type": "string", "example": "string-value" }, "parameter": { "description": "a string indicating which URI query parameter caused the issue", "type": "string", "example": "string-value" }, "example": { "description": "a string indicating an example of the right value", "type": "string", "example": "string-value" } } } } } } }, "required": [ "errors" ], "example": { "errors": [ { "status": 401, "code": 20, "title": "RESTRICTED", "detail": "Query unauthorized" } ] }, "type": "object" }