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-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",
|
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",
|
|
|
|
"startingFaction"
|
2022-10-22 18:05:01 +02:00
|
|
|
]
|
2023-06-09 22:50:36 +02:00
|
|
|
}
|