{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://raw.githubusercontent.com/api-evangelist/amadeus/refs/heads/main/json-schema/transfer-book-corporation-schema.json", "title": "Corporation", "description": "information about corporation", "type": "object", "properties": { "address": { "description": "address of the departure location", "properties": { "line": { "description": "Address line with street, number, bulding, etc...", "type": "string", "minLength": 1, "maxLength": 70, "example": "string-value" }, "zip": { "description": "Post office code number", "type": "string", "minLength": 1, "maxLength": 120, "example": "string-value" }, "countryCode": { "description": "Country code (two character standard IATA country code)", "type": "string", "pattern": "[a-zA-Z]{2}", "example": "FR" }, "cityName": { "description": "City, town or postal station", "type": "string", "minLength": 1, "maxLength": 35, "example": "Paris" }, "stateCode": { "description": "State code (two character standard IATA state code)", "type": "string", "pattern": "[a-zA-Z0-9]{1-2}", "example": "string-value" } } }, "info": { "type": "object", "description": "corporate information map. Possible keys\n\nkey | name\n------ | ----------------------------\nAU\t | Accounting Unit\nON\t | Order Number\nDC\t | Department Code\nCC\t | Company Code\nCN\t | Company Name\nIA\t | Internal Account\nCE\t | Cost Centre\nEN\t | Employee Number\nPN\t | Project Number\n", "additionalProperties": { "type": "string" }, "example": { "AU": "Accounting Unit", "ON": "Order Number", "DC": "Department Code", "CC": "Company Code", "CN": "Company Name", "IA": "Internal Account", "CE": "Cost Centre", "EN": "Employee Number", "PN": "Project Number" } } } }