mirror of
https://github.com/SpaceTradersAPI/api-docs.git
synced 2024-12-26 06:38:06 +01:00
ccbbedd73f
* 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?
43 lines
962 B
JSON
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"
|
|
]
|
|
} |