api-docs/models/Faction.json

63 lines
1.2 KiB
JSON
Raw Normal View History

2022-10-06 01:42:15 +02:00
{
"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"
]
}