Skip to content

2.0.0-rc1

Pre-release
Pre-release

Choose a tag to compare

@thomasmost thomasmost released this 27 May 19:59
· 34 commits to main since this release
6f0a095

This is a release candidate version for internal development. Changes may still occur between release candidates and the final, published schema version.

Breaking Changes

  • passenger changes from type ["string", "null"] to a nullable Person object
  • metadata is removed from flight tickets

Other Changes

  • Fixed: place nullable fields should also not be required
  • Fixed: vehicle nullable image should also not be required
  • Fixed: currency should support cny instead of cnh
  • Added to rental car vehicle
    • license_plate_number (string)
    • vehicle_class (ACRISS car code, four letters)
  • Added adjustment_type enum option: add_on
  • Added website to customer

New Passenger Model

A Person is distinct from a Customer in that it always refers to an individual.

Field Type Required Description
first_name string | null No  
last_name string | null No  
preferred_first_name string | null No  
email string | null No  
phone string | null No  
metadata array of metadatum Yes List of metadata items