CargoSmart · Schema
CargoSmart Container Booking
JSON Schema for a CargoSmart ocean container booking request/confirmation.
BookingContainerDocumentationGSBNIQAXLogisticsMaritimeOcean FreightScheduleShippingSupply ChainTrackingVisibilityVessel
Properties
| Name | Type | Description |
|---|---|---|
| bookingId | string | |
| bookingNumber | string | Carrier-assigned booking confirmation number |
| carrierCode | string | Ocean carrier SCAC code (e.g., MSCU, HLCU, CMDU) |
| status | string | |
| originPort | object | |
| destinationPort | object | |
| requestedDepartureDate | string | |
| confirmedVessel | string | |
| confirmedVoyage | string | |
| containers | array | |
| cargoDescription | string | |
| shipper | object | |
| consignee | object | |
| createdAt | string |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://raw.githubusercontent.com/api-evangelist/cargosmart/refs/heads/main/json-schema/cargosmart-booking-schema.json",
"title": "CargoSmart Container Booking",
"description": "JSON Schema for a CargoSmart ocean container booking request/confirmation.",
"type": "object",
"required": ["bookingId", "carrierCode", "status", "containers"],
"properties": {
"bookingId": {
"type": "string"
},
"bookingNumber": {
"type": "string",
"description": "Carrier-assigned booking confirmation number"
},
"carrierCode": {
"type": "string",
"description": "Ocean carrier SCAC code (e.g., MSCU, HLCU, CMDU)"
},
"status": {
"type": "string",
"enum": ["Submitted", "Confirmed", "Amended", "Cancelled"]
},
"originPort": {
"$ref": "#/$defs/Port"
},
"destinationPort": {
"$ref": "#/$defs/Port"
},
"requestedDepartureDate": {
"type": "string",
"format": "date"
},
"confirmedVessel": {
"type": "string"
},
"confirmedVoyage": {
"type": "string"
},
"containers": {
"type": "array",
"minItems": 1,
"items": {
"type": "object",
"required": ["containerType", "quantity"],
"properties": {
"containerType": {
"type": "string",
"enum": ["20GP", "40GP", "40HC", "20RF", "40RF", "45HC"]
},
"quantity": {
"type": "integer",
"minimum": 1
},
"containerId": {
"type": "string",
"description": "Assigned container number (after confirmation)"
}
}
}
},
"cargoDescription": {
"type": "string"
},
"shipper": {
"$ref": "#/$defs/Party"
},
"consignee": {
"$ref": "#/$defs/Party"
},
"createdAt": {
"type": "string",
"format": "date-time"
}
},
"$defs": {
"Port": {
"type": "object",
"required": ["locode"],
"properties": {
"locode": {"type": "string", "pattern": "^[A-Z]{5}$"},
"portName": {"type": "string"},
"countryCode": {"type": "string", "pattern": "^[A-Z]{2}$"},
"terminalName": {"type": "string"}
}
},
"Party": {
"type": "object",
"required": ["name"],
"properties": {
"name": {"type": "string"},
"address": {"type": "string"},
"city": {"type": "string"},
"country": {"type": "string"},
"taxId": {"type": "string"}
}
}
}
}
Work with this as data
Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for schemas
4 MCP tools reach this
find_json_schemasBrowse and filter every JSON Schema in the catalog.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.
Call it yourself
curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/cargosmart-booking"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"
Discovery needs no key. Ratings and market analysis are Pro.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.