mirror of
https://github.com/SpaceTradersAPI/api-docs.git
synced 2024-11-15 06:40:51 +01:00
update: add starting faction to agent model
This commit is contained in:
parent
4ec2806046
commit
b277bdc7d6
@ -18,12 +18,18 @@
|
|||||||
"credits": {
|
"credits": {
|
||||||
"type": "integer",
|
"type": "integer",
|
||||||
"description": "The number of credits the agent has available. Credits can be negative if funds have been overdrawn."
|
"description": "The number of credits the agent has available. Credits can be negative if funds have been overdrawn."
|
||||||
|
},
|
||||||
|
"startingFaction": {
|
||||||
|
"type": "string",
|
||||||
|
"minLength": 1,
|
||||||
|
"description": "The faction the agent started with."
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"required": [
|
"required": [
|
||||||
"accountId",
|
"accountId",
|
||||||
"symbol",
|
"symbol",
|
||||||
"headquarters",
|
"headquarters",
|
||||||
"credits"
|
"credits",
|
||||||
|
"startingFaction"
|
||||||
]
|
]
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user