Interplanetary Shipping API
stringย ยทย enumย ยทย requiredstringย ยทย enumย ยทย requiredstringย ยทย enumย ยทย requiredstringย ยทย uuidย ยทย readOnlybooleanstringย ยทย enumย ยทย readOnlystringย ยทย date-timeย ยทย readOnlystringย ยทย readOnlystringย ยทย date-timeย ยทย readOnlynumberย ยทย floatย ยทย requirednumberย ยทย floatย ยทย requiredstringย ยทย enumย ยทย requirednumberย ยทย floatย ยทย requirednumberย ยทย floatย ยทย requiredstringย ยทย enumย ยทย required
Properties for Credit Card:stringย ยทย constย ยทย requiredstringย ยทย pattern: stringย ยทย pattern: stringย ยทย pattern:
Properties for Liquid Cargo: stringย ยทย constย ยทย requirednumberย ยทย min: 0ย ยทย requirednumberย ยทย min: 0ย ยทย requiredboolean
Properties for Variant 1:
Properties for Variant 1:
Properties for Variant 1:
Properties for Option A:stringย ยทย requiredstringย ยทย requirednumberย ยทย min: 0
Properties for Type 1:constย ยทย requiredstringย ยทย required stringย ยทย enumย ยทย requiredstringย ยทย enumย ยทย requiredstringย ยทย enumย ยทย requiredstringย ยทย uuidย ยทย readOnlybooleanstringย ยทย enumย ยทย readOnlystringย ยทย date-timeย ยทย readOnlystringย ยทย readOnlystringย ยทย date-timeย ยทย readOnly stringย ยทย uuidย ยทย required stringย ยทย uuidย ยทย readOnlyย ยทย requiredstringย ยทย requiredstringย ยทย enumย ยทย requiredstring[]numbernumberย ยทย min: 0ย ยทย max: 100
InterplanetaryShipment
originPlanetEnum values:
Earth
Mars
Venus
Mercury
Jupiter
destinationPlanetEnum values:
Earth
Mars
Venus
Mercury
Jupiter
objectย ยทย required
shippingClassShipping speed class
Enum values:
STANDARD
EXPRESS
PRIORITY
idradiationShieldingWhether cargo needs radiation shielding
Default: true
statusEnum values:
SCHEDULED
LAUNCHED
IN_TRANSIT
APPROACHING
LANDED
DELIVERED
estimatedDeliverytrackingNumbercreatedAtCargo
weightWeight in metric tons
volumeVolume in cubic meters
categoryEnum values:
GENERAL
HAZARDOUS
BIOLOGICAL
MINERAL
EQUIPMENT
object
Simple string-to-string dictionary for cargo metadata
Example: {"manufacturer":"SpaceTech Inc","batchNumber":"ST-2024-001"}
object
Dictionary with fixed keys and complex value types
Example: {"default":"Standard equipment check","radiation":{"procedure":"Radiation level check","frequency":"DAILY"}}
object
SpecializedCargo
weightWeight in metric tons
volumeVolume in cubic meters
categoryEnum values:
GENERAL
HAZARDOUS
BIOLOGICAL
MINERAL
EQUIPMENT
objectย ยทย required
object
Simple string-to-string dictionary for cargo metadata
Example: {"manufacturer":"SpaceTech Inc","batchNumber":"ST-2024-001"}
object
Dictionary with fixed keys and complex value types
Example: {"default":"Standard equipment check","radiation":{"procedure":"Radiation level check","frequency":"DAILY"}}
object
PaymentMethod
oneOf
Exactly one variant must match.
Decision Table
| Variant | Matching Criteria |
|---|---|
| type = object ยท type="credit_card" ยท requires: cardNumber, expiryDate, cvv | |
| type = object ยท type="bank_transfer" ยท requires: accountNumber, routingNumber, bankName | |
| type = object ยท type="crypto" ยท requires: currency, walletAddress |
typeConst value: credit_card
cardNumber^[0-9]{16}$ย ยทย requiredexpiryDate^(0[1-9]|1[0-2])/[0-โฆย ยทย requiredcvv^[0-9]{3,4}$ย ยทย requiredCargoContents
anyOf
Exactly one variant must match.
Decision Table
| Variant | Matching Criteria |
|---|---|
| type = object ยท state="liquid" ยท requires: viscosity, density | |
| type = object ยท state="solid" ยท requires: hardness | |
| type = object ยท state="gas" ยท requires: pressure |
Properties specific to liquid cargo
stateConst value: liquid
viscosityViscosity in cP
densityDensity in kg/mยณ
flammablePrimitiveUnion
anyOf
At least one variant must match. Multiple variants may match simultaneously.
Decision Table
| Variant | Matching Criteria |
|---|---|
| type = string | |
| type = number | |
| type = boolean |
string
Text identifier
NullableString
anyOf
At least one variant must match. Multiple variants may match simultaneously.
Decision Table
| Variant | Matching Criteria |
|---|---|
| type = string | |
| type = null |
stringย ยทย minLength: 1
FlexibleArray
array
anyOf
At least one variant must match. Multiple variants may match simultaneously.
Decision Table
| Variant | Matching Criteria |
|---|---|
| type = string | |
| type = number | |
| type = object ยท requires: id, value |
string
MixedRequirements
anyOf
At least one variant must match. Multiple variants may match simultaneously.
Decision Table
| Variant | Matching Criteria |
|---|---|
| type = object ยท requires: common, optionA | |
| type = object ยท requires: common, optionB, specificToB | |
| type = object ยท requires: common |
commonCommon field across all variants
optionAspecificToALargeUnion
oneOf
Exactly one variant must match.
Decision Table
| Variant | Matching Criteria |
|---|---|
| type = object ยท type=1 ยท requires: data | |
| type = object ยท type=2 ยท requires: data | |
| type = object ยท type=3 ยท requires: data | |
| type = object ยท type=4 ยท requires: data | |
| type = object ยท type=5 ยท requires: data |
typeConst value: 1
dataEnhancedShipment
An enhanced shipment that combines base shipment properties with premium features
originPlanetEnum values:
Earth
Mars
Venus
Mercury
Jupiter
destinationPlanetEnum values:
Earth
Mars
Venus
Mercury
Jupiter
objectย ยทย required
shippingClassShipping speed class
Enum values:
STANDARD
EXPRESS
PRIORITY
required
idradiationShieldingWhether cargo needs radiation shielding
Default: true
statusEnum values:
SCHEDULED
LAUNCHED
IN_TRANSIT
APPROACHING
LANDED
DELIVERED
estimatedDeliverytrackingNumbercreatedAtAdditional security measures for the shipment
ComplexRoute
A complex routing configuration with nested logical operators
routeIdobjectย ยทย required
FuelStation
A fuel station along interplanetary routes
stationIdUnique identifier for the fuel station
nameName of the fuel station
locationOrbital location of the station
Enum values:
Earth Orbit
Mars Orbit
Venus Orbit
Jupiter Orbit
Asteroid Belt
fuelTypesAvailable fuel types at this station
Enum values:
ION
CHEMICAL
SOLAR
NUCLEAR
capacityMaximum fuel capacity in metric tons
currentAvailabilityCurrent fuel availability percentage