mirror of
https://github.com/SpaceTradersAPI/api-docs.git
synced 2024-11-15 06:40:51 +01:00
63 lines
1.2 KiB
JSON
63 lines
1.2 KiB
JSON
|
{
|
||
|
"description": "",
|
||
|
"type": "object",
|
||
|
"x-examples": {
|
||
|
"example-1": {
|
||
|
"symbol": "COMMERCE_REPUBLIC",
|
||
|
"name": "Commerce Repubic",
|
||
|
"description": "",
|
||
|
"headquarters": "X1-OE-PM",
|
||
|
"traits": [
|
||
|
"BUREAUCRATIC",
|
||
|
"CAPITALISTIC",
|
||
|
"GUILD",
|
||
|
"ESTABLISHED"
|
||
|
]
|
||
|
}
|
||
|
},
|
||
|
"examples": [
|
||
|
{
|
||
|
"symbol": "COMMERCE_REPUBLIC",
|
||
|
"name": "Commerce Repubic",
|
||
|
"description": "The Commerce Republic takes capital from top tier worlds and invests it into new systems with high potential for growth.",
|
||
|
"headquarters": "X1-OE-PM",
|
||
|
"traits": [
|
||
|
"BUREAUCRATIC",
|
||
|
"CAPITALISTIC",
|
||
|
"GUILD",
|
||
|
"ESTABLISHED"
|
||
|
]
|
||
|
}
|
||
|
],
|
||
|
"properties": {
|
||
|
"symbol": {
|
||
|
"type": "string",
|
||
|
"minLength": 1
|
||
|
},
|
||
|
"name": {
|
||
|
"type": "string",
|
||
|
"minLength": 1
|
||
|
},
|
||
|
"description": {
|
||
|
"type": "string",
|
||
|
"minLength": 1
|
||
|
},
|
||
|
"headquarters": {
|
||
|
"type": "string",
|
||
|
"minLength": 1
|
||
|
},
|
||
|
"traits": {
|
||
|
"type": "array",
|
||
|
"items": {
|
||
|
"type": "string"
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"required": [
|
||
|
"symbol",
|
||
|
"name",
|
||
|
"description",
|
||
|
"headquarters",
|
||
|
"traits"
|
||
|
]
|
||
|
}
|