mirror of
https://github.com/SpaceTradersAPI/api-docs.git
synced 2024-11-15 06:40:51 +01:00
37 lines
839 B
JSON
37 lines
839 B
JSON
{
|
|
"description": "",
|
|
"type": "object",
|
|
"properties": {
|
|
"accountId": {
|
|
"type": "string",
|
|
"minLength": 1,
|
|
"description": "The ID of the agent."
|
|
},
|
|
"symbol": {
|
|
"type": "string",
|
|
"minLength": 1,
|
|
"description": "The agent's name."
|
|
},
|
|
"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"
|
|
]
|
|
} |