Endpoints for retrieving and validating data schemas used across the Cosmo Cargo platform.
List available schemas
GET
https://api.sh.example.com/v1
/schemas
Retrieve a list of all available data schemas in the Cosmo Cargo platform
query Parameters
entityType
string · enumFilter schemas by space entity type
Enum values:CARGOVESSELCREWROUTESTATIONPLANETASTEROIDSATELLITEversion
string · pattern:^\d+\.\d+\.\d+$
Filter schemas by version
Responses
schemas
object[]count
integerTotal number of schemas returned
Get schema details
GET
https://api.sh.example.com/v1
/schemas/{schemaId}
Retrieve detailed information about a specific schema, including its structure
path Parameters
schemaId
string · requiredUnique identifier of the schema
query Parameters
includeStructure
booleanWhether to include the full schema structure
Default:
Responses
metadata
objectMetadata about a schema
structure
objectThe JSON Schema structure
Get facility capabilities
GET
https://api.sh.example.com/v1
/schemas/facility-capabilities