mirror of
https://github.com/SpaceTradersAPI/api-docs.git
synced 2024-11-15 14:50:52 +01:00
44 lines
1002 B
JSON
44 lines
1002 B
JSON
{
|
|
"description": "Faction details.",
|
|
"type": "object",
|
|
"properties": {
|
|
"symbol": {
|
|
"$ref": "./FactionSymbol.json",
|
|
"description": "Faction symbol."
|
|
},
|
|
"name": {
|
|
"type": "string",
|
|
"minLength": 1,
|
|
"description": "Name of the faction."
|
|
},
|
|
"description": {
|
|
"type": "string",
|
|
"minLength": 1,
|
|
"description": "Description of the faction."
|
|
},
|
|
"headquarters": {
|
|
"type": "string",
|
|
"minLength": 1,
|
|
"description": "The waypoint in which the faction's HQ is located in."
|
|
},
|
|
"traits": {
|
|
"type": "array",
|
|
"description": "List of traits that define this faction.",
|
|
"items": {
|
|
"$ref": "./FactionTrait.json"
|
|
}
|
|
},
|
|
"isRecruiting": {
|
|
"type": "boolean",
|
|
"description": "Whether or not the faction is currently recruiting new agents."
|
|
}
|
|
},
|
|
"required": [
|
|
"symbol",
|
|
"name",
|
|
"description",
|
|
"headquarters",
|
|
"traits",
|
|
"isRecruiting"
|
|
]
|
|
} |