Amadeus · Schema

ServiceProvider

information about provider

TravelTravel TechnologyReservationsFlightsHotelsAirlinesHospitalityTours and ActivitiesCars and TransfersDestination ContentItinerary ManagementTrip PlanningArtificial IntelligenceMarket Insights

Properties

Name Type Description
code string provider code
name string provider name
logoUrl string URL to provider logo
termsUrl string URL to provider's terms and conditions page
isPreferred boolean indicates if sub-provider is preferred for the travel-seller
contacts object Contact and Adress details
settings array list of provider settings
businessIdentification object Information about the Customer stakeholder participating to the described sales summary.
View JSON Schema on GitHub

JSON Schema

transfer-book-service-provider-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/amadeus/refs/heads/main/json-schema/transfer-book-service-provider-schema.json",
  "title": "ServiceProvider",
  "description": "information about provider",
  "type": "object",
  "properties": {
    "code": {
      "type": "string",
      "pattern": "[a-zA-Z]{3}",
      "description": "provider code",
      "example": "string-value"
    },
    "name": {
      "type": "string",
      "pattern": "[a-zA-Z]{30}",
      "description": "provider name",
      "example": "Sample Name"
    },
    "logoUrl": {
      "type": "string",
      "description": "URL to provider logo",
      "example": "https://example.com/resource"
    },
    "termsUrl": {
      "type": "string",
      "description": "URL to provider's terms and conditions page",
      "example": "https://example.com/resource"
    },
    "isPreferred": {
      "type": "boolean",
      "description": "indicates if sub-provider is preferred for the travel-seller",
      "example": true
    },
    "contacts": {
      "allOf": [
        {
          "type": "object",
          "properties": {
            "phoneNumber": {
              "type": "string",
              "pattern": "([+]?)[0-9]{1,20}",
              "description": "Contact phone number",
              "example": "+33123456789"
            },
            "email": {
              "type": "string",
              "format": "email",
              "description": "Contact email",
              "example": "[email protected]"
            }
          }
        },
        {
          "type": "object",
          "properties": {
            "address": {
              "$ref": "#/definitions/AddressCommon"
            }
          }
        }
      ],
      "description": "Contact and Adress details"
    },
    "settings": {
      "type": "array",
      "description": "list of provider settings",
      "items": {
        "type": "string",
        "description": "provider setting",
        "enum": [
          "BILLING_ADDRESS_REQUIRED",
          "FLIGHT_NUMBER_REQUIRED",
          "CVV_NUMBER_REQUIRED"
        ]
      }
    },
    "businessIdentification": {
      "description": "Information about the Customer stakeholder participating to the described sales summary.",
      "properties": {
        "vatRegistrationNumber": {
          "type": "string",
          "description": "VAT (Value Added Tax) Registration Number of the customer applicable ot the current sales."
        }
      },
      "example": "string-value"
    }
  },
  "required": [
    "code",
    "name",
    "logoUrl"
  ]
}