mirror of
https://github.com/SpaceTradersAPI/api-docs.git
synced 2024-11-15 06:40:51 +01:00
32 lines
660 B
JSON
32 lines
660 B
JSON
{
|
|
"type": "object",
|
|
"required": [
|
|
"name",
|
|
"faction",
|
|
"role"
|
|
],
|
|
"description": "The public registration information of the ship",
|
|
"properties": {
|
|
"name": {
|
|
"type": "string",
|
|
"description": "The agent's registered name of the ship",
|
|
"minLength": 1,
|
|
"examples": [
|
|
"Red Falcon",
|
|
"Black Pearl IV",
|
|
"The Flying Dutchman"
|
|
]
|
|
},
|
|
"factionSymbol": {
|
|
"type": "string",
|
|
"description": "The symbol of the faction the ship is registered with",
|
|
"minLength": 1,
|
|
"examples": [
|
|
"F_COMM"
|
|
]
|
|
},
|
|
"role": {
|
|
"$ref": "./ShipRole.json"
|
|
}
|
|
}
|
|
} |