api-docs/models/Faction.json
2023-06-09 23:50:36 +03:00

44 lines
1003 B
JSON

{
"description": "Faction details.",
"type": "object",
"properties": {
"symbol": {
"$ref": "./FactionSymbols.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"
]
}