api-docs/models/Agent.json
2023-05-20 09:30:11 -07:00

35 lines
752 B
JSON

{
"description": "",
"type": "object",
"properties": {
"accountId": {
"type": "string",
"minLength": 1
},
"symbol": {
"type": "string",
"minLength": 1
},
"headquarters": {
"type": "string",
"minLength": 1,
"description": "The headquarters of the agent."
},
"credits": {
"type": "integer",
"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": [
"accountId",
"symbol",
"headquarters",
"credits",
"startingFaction"
]
}