Skip to content

Shipment

shipping.v1.Shipment

A parcel moving through a carrier network.

Field presence and validation are separate properties. Implicit scalar defaults are normally omitted in ProtoJSON.

Application identifier. This field deliberately uses a custom JSON name.

PropertyValue
Protobuf nameid
JSON nameshipmentId
Field number1
Protobuf typestring
JSON representationString
PresenceImplicit; default and absent are not distinguished

Current carrier lifecycle status.

PropertyValue
Protobuf namestatus
JSON namestatus
Field number2
Protobuf typeShipmentStatus
JSON representationEnum name (string)
PresenceImplicit; default and absent are not distinguished

Parcel mass, in milligrams. ProtoJSON encodes this 64-bit value as a string.

PropertyValue
Protobuf nameweight_mg
JSON nameweightMg
Field number3
Protobuf typeuint64
JSON representationDecimal string
PresenceImplicit; default and absent are not distinguished

When the shipment was created.

PropertyValue
Protobuf namecreated_at
JSON namecreatedAt
Field number4
Protobuf typeTimestamp
JSON representationRFC 3339 string
PresenceExplicit; absent is distinct from the default

User-provided metadata. Values can contain text such as {priority} or <fragile>.

PropertyValue
Protobuf namemetadata
JSON namemetadata
Field number5
Protobuf typemap of string to string
JSON representationObject with string keys and string values
PresenceCollection; empty and absent are not distinguished

Carrier event history.

PropertyValue
Protobuf nameevents
JSON nameevents
Field number6
Protobuf typerepeated ShipmentEvent
JSON representationArray of object values
PresenceCollection; empty and absent are not distinguished

Optional binary proof of delivery. Encoded as base64 in JSON.

PropertyValue
Protobuf nameproof_of_delivery
JSON nameproofOfDelivery
Field number7
Protobuf typebytes
JSON representationBase64 string
PresenceImplicit; default and absent are not distinguished

Street address for doorstep delivery.

PropertyValue
Protobuf namestreet_address
JSON namestreetAddress
Field number8
Protobuf typestring
JSON representationString
PresenceExplicit; member of oneof destination

Carrier pickup point identifier.

PropertyValue
Protobuf namepickup_point
JSON namepickupPoint
Field number9
Protobuf typestring
JSON representationString
PresenceExplicit; member of oneof destination

Carrier’s estimated travel time.

PropertyValue
Protobuf nameestimated_transit
JSON nameestimatedTransit
Field number10
Protobuf typeDuration
JSON representationDuration string
PresenceExplicit; absent is distinct from the default

An optional related shipment. This is a recursive reference.

PropertyValue
Protobuf namerelated
JSON namerelated
Field number11
Protobuf typeShipment
JSON representationObject
PresenceExplicit; absent is distinct from the default

Deprecated.

Historical display text. Use status instead.

PropertyValue
Protobuf namelegacy_status
JSON namelegacyStatus
Field number12
Protobuf typestring
JSON representationString
PresenceImplicit; default and absent are not distinguished

Destination information defined in an imported file.

PropertyValue
Protobuf namedelivery_address
JSON namedeliveryAddress
Field number13
Protobuf typePostalAddress
JSON representationObject
PresenceExplicit; absent is distinct from the default

Quotes indexed by carrier; a map whose values are imported message types.

PropertyValue
Protobuf namecarrier_quotes
JSON namecarrierQuotes
Field number14
Protobuf typemap of string to CurrencyAmount
JSON representationObject with string keys and object values
PresenceCollection; empty and absent are not distinguished

A nested message with its own nested enum.

PropertyValue
Protobuf nameinsurance
JSON nameinsurance
Field number15
Protobuf typeInsurance
JSON representationObject
PresenceExplicit; absent is distinct from the default

Carrier-specific typed details. JSON uses an @type URL.

PropertyValue
Protobuf namecarrier_details
JSON namecarrierDetails
Field number16
Protobuf typeAny
JSON representationObject with @type
PresenceExplicit; absent is distinct from the default

Arbitrary JSON-compatible application properties.

PropertyValue
Protobuf nameproperties
JSON nameproperties
Field number17
Protobuf typeStruct
JSON representationJSON object
PresenceExplicit; absent is distinct from the default

Source: fixture-v1 · Generator: Wirelit 0.1.0