api-docs/models/Agent.json

43 lines
1.0 KiB
JSON
Raw Permalink 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,
2023-07-12 01:44:03 +02:00
"description": "Account ID that is tied to this agent. Only included on your own agent."
2022-10-22 18:05:01 +02:00
},
"symbol": {
"type": "string",
2023-07-19 02:02:47 +02:00
"minLength": 3,
"maxLength": 14,
2023-06-09 22:50:36 +02:00
"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."
2023-07-12 01:44:03 +02:00
},
"shipCount": {
"type": "integer",
"description": "How many ships are owned by the agent."
2022-10-22 18:05:01 +02:00
}
},
"required": [
"symbol",
"headquarters",
"credits",
"startingFaction"
2022-10-22 18:05:01 +02:00
]
}