We're announcing 🧑‍🚀 inter-galactic shipping ✨ for 3025!
Cosmo Cargo Inc.
Shipment API

Schemas

Server

Endpoints for retrieving and validating data schemas used across the Cosmo Cargo platform.


List available schemas

GET
https://c1cf69108515455da09b5a33ff336111-oas.api.mockbin.io
/schemas
Bearer (JWT)
or
X-API-Key (header)

Retrieve a list of all available data schemas in the Cosmo Cargo platform

List available schemas › query Parameters

entityType
​string · enum

Filter schemas by space entity type

Enum values:
CARGO
VESSEL
CREW
ROUTE
STATION
PLANET
ASTEROID
SATELLITE
version
​string · pattern: ^\d+\.\d+\.\d+$

Filter schemas by version

List available schemas › Responses

200

List of schemas retrieved successfully

count
​integer

Total number of schemas returned


Get schema details

GET
https://c1cf69108515455da09b5a33ff336111-oas.api.mockbin.io
/schemas/{schemaId}
Bearer (JWT)
or
X-API-Key (header)

Retrieve detailed information about a specific schema, including its structure

Get schema details › path Parameters

schemaId
​string · required

Unique identifier of the schema

Get schema details › query Parameters

includeStructure
​boolean

Whether to include the full schema structure

Default: true

Get schema details › Responses

Schema details retrieved successfully

​SchemaMetadata

Metadata about a schema

structure
​object

The JSON Schema structure


Get facility capabilities

GET
https://c1cf69108515455da09b5a33ff336111-oas.api.mockbin.io
/schemas/facility-capabilities
Bearer (JWT)
or
X-API-Key (header)

Retrieve detailed capability information for space cargo facilities, including their operational status and supported features

Get facility capabilities › query Parameters

facilityIds
​array | null

Array of facility IDs to test

​object[]

Array of status configurations

Get facility capabilities › Responses

200

Test response with array and nullable types

​array | null
​object