mirror of
https://github.com/SpaceTradersAPI/api-docs.git
synced 2024-11-14 22:30:51 +01:00
minor cleanup of types
This commit is contained in:
parent
eea39e49c0
commit
439d2eca04
@ -12,7 +12,7 @@
|
|||||||
"description": "The remaining duration of the cooldown in seconds",
|
"description": "The remaining duration of the cooldown in seconds",
|
||||||
"minimum": 0
|
"minimum": 0
|
||||||
},
|
},
|
||||||
"expiresAt": {
|
"expiration": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"format": "date-time",
|
"format": "date-time",
|
||||||
"description": "The date and time when the cooldown expires in ISO 8601 format",
|
"description": "The date and time when the cooldown expires in ISO 8601 format",
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
"size": {
|
"capacity": {
|
||||||
"type": "integer",
|
"type": "integer",
|
||||||
"minimum": 0
|
"minimum": 0
|
||||||
},
|
},
|
||||||
|
@ -23,13 +23,12 @@
|
|||||||
},
|
},
|
||||||
"rotation": {
|
"rotation": {
|
||||||
"type": "string",
|
"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": [
|
"enum": [
|
||||||
"STRICT",
|
"STRICT",
|
||||||
"STANDARD",
|
|
||||||
"RELAXED"
|
"RELAXED"
|
||||||
],
|
],
|
||||||
"default": "STANDARD"
|
"default": "STRICT"
|
||||||
},
|
},
|
||||||
"morale": {
|
"morale": {
|
||||||
"type": "integer",
|
"type": "integer",
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
"description": "The amount of fuel in the ship's tanks.",
|
"description": "The amount of fuel in the ship's tanks.",
|
||||||
"minimum": 0
|
"minimum": 0
|
||||||
},
|
},
|
||||||
"max": {
|
"capacity": {
|
||||||
"type": "integer",
|
"type": "integer",
|
||||||
"description": "The maximum amount of fuel the ship's tanks can hold.",
|
"description": "The maximum amount of fuel the ship's tanks can hold.",
|
||||||
"minimum": 0
|
"minimum": 0
|
||||||
|
@ -17,7 +17,7 @@
|
|||||||
"The Flying Dutchman"
|
"The Flying Dutchman"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"faction": {
|
"factionSymbol": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "The symbol of the faction the ship is registered with",
|
"description": "The symbol of the faction the ship is registered with",
|
||||||
"minLength": 1,
|
"minLength": 1,
|
||||||
|
@ -4,15 +4,15 @@
|
|||||||
"properties": {
|
"properties": {
|
||||||
"power": {
|
"power": {
|
||||||
"type": "integer",
|
"type": "integer",
|
||||||
"minimum": 0
|
"description": "The amount of power required from the reactor."
|
||||||
},
|
},
|
||||||
"crew": {
|
"crew": {
|
||||||
"type": "integer",
|
"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"
|
|
||||||
]
|
|
||||||
}
|
}
|
@ -496,7 +496,7 @@
|
|||||||
"Success": {
|
"Success": {
|
||||||
"value": {
|
"value": {
|
||||||
"data": {
|
"data": {
|
||||||
"status": "ORBIT"
|
"status": "IN_ORBIT"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user