{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "#/components/schemas/orders.authorize-400", "title": "orders.authorize-400", "properties": { "details": { "type": "array", "items": { "anyOf": [ { "title": "INVALID_COUNTRY_CODE", "properties": { "issue": { "type": "string", "enum": [ "INVALID_COUNTRY_CODE" ] }, "description": { "type": "string", "enum": [ "Country code is invalid. Please refer to https://developer.paypal.com/api/rest/reference/country-codes/ for a list of supported country codes." ] } } }, { "title": "INVALID_PARAMETER_VALUE", "properties": { "issue": { "type": "string", "enum": [ "INVALID_PARAMETER_VALUE" ] }, "description": { "type": "string", "enum": [ "A parameter value is not valid." ] } } }, { "title": "MISSING_REQUIRED_PARAMETER", "properties": { "issue": { "type": "string", "enum": [ "MISSING_REQUIRED_PARAMETER" ] }, "description": { "type": "string", "enum": [ "A required field / parameter is missing" ] } } }, { "title": "INVALID_STRING_LENGTH", "properties": { "issue": { "type": "string", "enum": [ "INVALID_STRING_LENGTH" ] }, "description": { "type": "string", "enum": [ "The value of a field is either too short or too long" ] } } }, { "title": "INVALID_PARAMETER_SYNTAX", "properties": { "issue": { "type": "string", "enum": [ "INVALID_PARAMETER_SYNTAX" ] }, "description": { "type": "string", "enum": [ "The value of a field does not conform to the expected format." ] } } }, { "title": "MALFORMED_REQUEST_JSON", "properties": { "issue": { "type": "string", "enum": [ "MALFORMED_REQUEST_JSON" ] }, "description": { "type": "string", "enum": [ "The request JSON is not well formed." ] } } } ] } } } }