CO2 - Calculate Freight Emissions

Send shipment information to emissions calculation provider.

NameDescription
RootChain.io schema for calculating a shipment's emissions.
ContainerDescribes one or more intermodal shipping containers.
ShipmentLegA single transportation segment in a shipment's larger journey from origin to destination.
LocationA unique location.
SeaPortA location representing a sea port.
AirportA location representing an airport.
AddressA location representing a street address.
CoordinatesA location representing a latitude and longitude.
SpecialFreightHandlingAllowed values: refrigerated.
VesselA type of conveyance.
TruckA vessel used for road transports.
TrainA vessel used for rail transports.
PlaneA vessel used for air transports.
ContainerShipA vessel used for sea transports.
InlandVesselA vessel used for inland waterway transports.
PartyRepresents a named party on a job.
PartyIdentifierA code and context that can be used to uniquely identify a party.
ContactA point of contact at a particular party.
PhoneNumberA phone number and type object.
EmailAddressAn email address and type object.
Root_gross_weightThe gross weight of the cargo utilized in the emissions calculations.
NameData TypeDescriptionRequired
tms_system_identifierStringThe 'primary key' uniquely identifying the shipment in the source TMS system. This value is what will be utilized to identify what unique shipment to associated the the emissions calculation data with.YES
gross_weightRoot_gross_weightThe gross weight of the cargo utilized in the emissions calculations.YES
departure_dateDateTimeThe date of the shipment.
arrival_dateDateTimeThe arrival date of the shipment.
teusIntegerThe total number of twenty-foot equivalent units on the shipment. This may sometimes be used as an alternative input for calculating emissions - though gross weight is the preferred method.
specialized_freight_handlingArray<SpecialFreightHandling>Additional freight handling options that may affect the emissions calculation.
shipment_legsArray<ShipmentLeg>A collection of all the individual transportation segments that should be considered when calculating the emissions.
containersArray<Container>All the FCL containers that should be accounted for when calculating emissions.
customerPartyThe customer associated with the shipment as defined in the source TMS. This is typically the entity on whose behalf the shipment is being transported.
NameData TypeDescriptionRequired
quantityIntegerThe number of containers of the same code.YES
container_codeStringA code identifying the type of container. For the greatest compatibility across emissions platforms, this code SHOULD be a valid ISO 6346 code. This code can then be utilized by the platform to identify special container types like reefers which may affect the emissions calculations.YES
NameData TypeDescriptionRequired
originLocationYES
destinationLocationYES
vesselVesselYES
NameData TypeDescriptionRequired
NameData TypeDescriptionRequired
typeStringA location type identifier Allowed values: seaport.YES
unlocodeStringThe UN/Locode identifier for the sea port.YES
unlocode_descriptionStringA free text description of the UN/Locode.
NameData TypeDescriptionRequired
typeStringA location type identifier. Allowed values: airport.YES
iata_codeStringThe IATA airport location identifier.YES
iata_code_descriptionStringA free text description of the IATA Code.
unlocodeStringThe UN/Locode identifier correlated with the IATA code.
NameData TypeDescriptionRequired
typeStringA location type identifier. Allowed values: address.YES
nameStringA name for the address. Typically the name of the business located at the address.
address_1StringThe address' street number and name.YES
address_2StringThe address' secondary address information.
cityStringThe address' city component.YES
country_subdivisionStringThe country specific subdivision code. This could represent a county, province, state, etc. In order to maximize interoperability, you should utilize the ISO 3166-2 country subdivision identifiers when providing this data.
countryStringThe address' 2 character ISO-3166-2 country Code.YES
postal_codeStringThe unique postal code identifier for the address.
unlocodeStringA UN/Locode identifier correlated with the address.
NameData TypeDescriptionRequired
typeStringA location type identifier. Allowed values: coordinates.YES
nameStringA name for the location the coordinates identify.
latitudeStringThe numeric coordinate specifying the north-south position of a point on the surface of the earth.YES
longitudeStringThe numeric coordinate specifying the east-west position of a point on the surface of the earth.YES
NameData TypeDescriptionRequired
NameData TypeDescriptionRequired
NameData TypeDescriptionRequired
typeStringAllowed values: truck.YES
actual_time_of_departureDateTimeThe date this vessel departed.
NameData TypeDescriptionRequired
typeStringAllowed values: train.YES
actual_time_of_departureDateTimeThe date this vessel departed.
NameData TypeDescriptionRequired
typeStringAllowed values: plane.YES
flight_numberStringThe carrier's identifier for the flight.
actual_time_of_departureDateTimeThe date this vessel departed.
NameData TypeDescriptionRequired
typeStringAllowed values: container_ship.YES
imo_numberStringThe vessel's International Maritime Organization unique seven digit number.
vessel_nameStringThe carrier's name for the container ship.
voyage_numberStringThe carrier's voyage identifier for the vessel.
containerization_typeStringThe containerization shipping option utilized by the shipper. Allowed values: fcl, lcl.
carrierPartyThe carrier undertaking the transport for this shipment leg.
actual_time_of_departureDateTimeThe date this vessel departed.
NameData TypeDescriptionRequired
typeStringAllowed values: inland_vessel.YES
imo_numberStringThe vessel's International Maritime Organization unique seven digit number.
vessel_nameStringThe carrier's name for the inland vessel.
actual_time_of_departureDateTimeThe date this vessel departed.
NameData TypeDescriptionRequired
identifiersArray<PartyIdentifier>An array of all applicable identifiers that can be used to identify the party.
nameStringThe entity's name.
address_1StringThe address' street number and name.
address_2StringThe address' secondary address information.
cityStringThe address' city component.
country_subdivisionStringThe country specific subdivision code. This could represent a county, province, state, etc. In order to maximize interoperability, you should utilize the ISO 3166-2 country subdivision identifiers when providing this data.
countryStringThe address' 2 character ISO-3166-2 country Code.
postal_codeStringThe unique postal code identifier for the address.
unlocodeStringThe UN/Locode most closely related to this party.
unlocode_descriptionStringA free text description of the UN/Locode.
contactContactA point of contact at the party.
NameData TypeDescriptionRequired
codeStringThe identifier codeYES
code_typeStringThe type of data that the identifier code represents. Allowed values: tms_external_identifier, iata, scac, legal_entity_id, duns.YES
code_countryStringThe 2 character ISO-3166-2 country code that the id code was issued in / by.
NameData TypeDescriptionRequired
nameStringThe contact's full name.
phone_numbersArray<PhoneNumber>
email_addressesArray<EmailAddress>
NameData TypeDescriptionRequired
phone_typeStringThe type of phone number. Allowed values: main, mobile, work, home, fax, other.YES
phone_numberStringThe actual phone number. When at all possible, to increase interoperability, phone numbers should be formatted according to RFC3966. Also see libphonenumber when parsing phone numbers.YES
NameData TypeDescriptionRequired
email_typeStringThe type of email address. Allowed values: main, work, personal, other.YES
email_addressStringThe email addressYES
NameData TypeDescriptionRequired
amountDecimalYES
unitStringAllowed values: kilogram, tonne, pound, ton.YES