{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://raw.githubusercontent.com/api-evangelist/amadeus/refs/heads/main/json-schema/flight-order-management-name-schema.json", "title": "Name", "description": "name", "allOf": [ { "type": "object", "description": "description of the name of a physical person", "properties": { "firstName": { "description": "First name.", "type": "string", "example": "Marie" }, "lastName": { "description": "Last name.", "type": "string", "example": "Dupont" }, "middleName": { "description": "Middle name(s), for example \"Lee\" in \"John Lee Smith\".", "type": "string", "example": "Sample Name" } } }, { "type": "object", "properties": { "secondLastName": { "description": "second last name", "type": "string" } } } ] }