api-docs/models/Faction.json
Keith Jackson ccbbedd73f
Remove $ref siblings, Agent.shipCount NOT optional, typos (#82)
* Typo and descriptions

* Remove $ref suiblings.

* missed one when refactoring ShipNavRouteWaypointDeprecated to keep deprecated flag.

* Agent.shipCount always seems to be returned. Why would this be optional?
2023-12-16 08:46:48 -08:00

43 lines
962 B
JSON

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