api-docs/models/Agent.json

38 lines
899 B
JSON
Raw Normal View History

2022-10-22 18:05:01 +02:00
{
2023-06-09 22:50:36 +02:00
"description": "Agent details.",
2022-10-22 18:05:01 +02:00
"type": "object",
"properties": {
"accountId": {
"type": "string",
2023-06-09 22:50:36 +02:00
"minLength": 1,
"description": "Account ID that is tied to this agent."
2022-10-22 18:05:01 +02:00
},
"symbol": {
"type": "string",
2023-06-09 22:50:36 +02:00
"minLength": 1,
"description": "Symbol of the agent."
2022-10-22 18:05:01 +02:00
},
"headquarters": {
"type": "string",
"minLength": 1,
"description": "The headquarters of the agent."
},
"credits": {
"type": "integer",
"format": "int64",
2022-10-22 18:05:01 +02:00
"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."
2022-10-22 18:05:01 +02:00
}
},
"required": [
"accountId",
"symbol",
"headquarters",
"credits",
"startingFaction"
2022-10-22 18:05:01 +02:00
]
2023-06-09 22:50:36 +02:00
}