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,
|
2023-07-19 01:45:37 +02:00
|
|
|
"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",
|
2023-06-02 01:36:17 +02:00
|
|
|
"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."
|
2023-05-20 03:40:48 +02:00
|
|
|
},
|
|
|
|
"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",
|
2023-05-20 03:40:48 +02:00
|
|
|
"credits",
|
2023-12-10 22:48:19 +01:00
|
|
|
"startingFaction",
|
|
|
|
"shipCount"
|
2022-10-22 18:05:01 +02:00
|
|
|
]
|
2023-07-19 01:45:37 +02:00
|
|
|
}
|