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",
|
||||
"minimum": 0
|
||||
},
|
||||
"expiresAt": {
|
||||
"expiration": {
|
||||
"type": "string",
|
||||
"format": "date-time",
|
||||
"description": "The date and time when the cooldown expires in ISO 8601 format",
|
||||
|
@ -1,7 +1,7 @@
|
||||
{
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"size": {
|
||||
"capacity": {
|
||||
"type": "integer",
|
||||
"minimum": 0
|
||||
},
|
||||
|
@ -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",
|
||||
|
@ -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
|
||||
|
@ -17,7 +17,7 @@
|
||||
"The Flying Dutchman"
|
||||
]
|
||||
},
|
||||
"faction": {
|
||||
"factionSymbol": {
|
||||
"type": "string",
|
||||
"description": "The symbol of the faction the ship is registered with",
|
||||
"minLength": 1,
|
||||
|
@ -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."
|
||||
},
|
||||
"required": [
|
||||
"power",
|
||||
"crew"
|
||||
]
|
||||
"slots": {
|
||||
"type": "integer",
|
||||
"description": "The number of module slots required for installation."
|
||||
}
|
||||
}
|
||||
}
|
@ -496,7 +496,7 @@
|
||||
"Success": {
|
||||
"value": {
|
||||
"data": {
|
||||
"status": "ORBIT"
|
||||
"status": "IN_ORBIT"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user