minor cleanup of types

This commit is contained in:
Space Admiral 2022-09-19 10:22:16 -07:00 committed by space-admiral
parent eea39e49c0
commit 439d2eca04
7 changed files with 14 additions and 15 deletions

View File

@ -12,7 +12,7 @@
"description": "The remaining duration of the cooldown in seconds",
"minimum": 0
},
"expiresAt": {
"expiration": {
"type": "string",
"format": "date-time",
"description": "The date and time when the cooldown expires in ISO 8601 format",

View File

@ -1,7 +1,7 @@
{
"type": "object",
"properties": {
"size": {
"capacity": {
"type": "integer",
"minimum": 0
},

View File

@ -23,13 +23,12 @@
},
"rotation": {
"type": "string",
"description": "The rotation of crew shifts. Stricter shifts can improve the ship's performance, and more relaxed shifts can improve the crew's morale.",
"description": "The rotation of crew shifts. A stricter shift improves the ship's performance. A more relaxed shift improves the crew's morale.",
"enum": [
"STRICT",
"STANDARD",
"RELAXED"
],
"default": "STANDARD"
"default": "STRICT"
},
"morale": {
"type": "integer",

View File

@ -7,7 +7,7 @@
"description": "The amount of fuel in the ship's tanks.",
"minimum": 0
},
"max": {
"capacity": {
"type": "integer",
"description": "The maximum amount of fuel the ship's tanks can hold.",
"minimum": 0

View File

@ -17,7 +17,7 @@
"The Flying Dutchman"
]
},
"faction": {
"factionSymbol": {
"type": "string",
"description": "The symbol of the faction the ship is registered with",
"minLength": 1,

View File

@ -4,15 +4,15 @@
"properties": {
"power": {
"type": "integer",
"minimum": 0
"description": "The amount of power required from the reactor."
},
"crew": {
"type": "integer",
"minimum": 0
"description": "The number of crew required for operation."
},
"slots": {
"type": "integer",
"description": "The number of module slots required for installation."
}
},
"required": [
"power",
"crew"
]
}
}

View File

@ -496,7 +496,7 @@
"Success": {
"value": {
"data": {
"status": "ORBIT"
"status": "IN_ORBIT"
}
}
}