mirror of
https://github.com/SpaceTradersAPI/api-docs.git
synced 2024-11-14 22:30:51 +01:00
Updated descriptions
This commit is contained in:
parent
9fa82d50b7
commit
4a6c8ec049
@ -1,14 +1,16 @@
|
|||||||
{
|
{
|
||||||
"description": "",
|
"description": "Agent details.",
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
"accountId": {
|
"accountId": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"minLength": 1
|
"minLength": 1,
|
||||||
|
"description": "Account ID that is tied to this agent."
|
||||||
},
|
},
|
||||||
"symbol": {
|
"symbol": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"minLength": 1
|
"minLength": 1,
|
||||||
|
"description": "Symbol of the agent."
|
||||||
},
|
},
|
||||||
"headquarters": {
|
"headquarters": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
@ -33,4 +35,4 @@
|
|||||||
"credits",
|
"credits",
|
||||||
"startingFaction"
|
"startingFaction"
|
||||||
]
|
]
|
||||||
}
|
}
|
@ -3,14 +3,17 @@
|
|||||||
"description": "The chart of a system or waypoint, which makes the location visible to other agents.",
|
"description": "The chart of a system or waypoint, which makes the location visible to other agents.",
|
||||||
"properties": {
|
"properties": {
|
||||||
"waypointSymbol": {
|
"waypointSymbol": {
|
||||||
"type": "string"
|
"type": "string",
|
||||||
|
"description": "The symbol of the waypoint."
|
||||||
},
|
},
|
||||||
"submittedBy": {
|
"submittedBy": {
|
||||||
"type": "string"
|
"type": "string",
|
||||||
|
"description": "The agent that submitted the chart for this waypoint."
|
||||||
},
|
},
|
||||||
"submittedOn": {
|
"submittedOn": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"format": "date-time"
|
"format": "date-time",
|
||||||
|
"description": "The time the chart for this waypoint was submitted."
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
@ -1,14 +1,15 @@
|
|||||||
{
|
{
|
||||||
"description": "",
|
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
"symbol": {
|
"symbol": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"minLength": 1
|
"minLength": 1,
|
||||||
|
"description": "The symbol of the system."
|
||||||
},
|
},
|
||||||
"sectorSymbol": {
|
"sectorSymbol": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"minLength": 1
|
"minLength": 1,
|
||||||
|
"description": "The sector of this system."
|
||||||
},
|
},
|
||||||
"type": {
|
"type": {
|
||||||
"$ref": "./SystemType.json"
|
"$ref": "./SystemType.json"
|
||||||
@ -18,13 +19,16 @@
|
|||||||
"description": "The symbol of the faction that owns the connected jump gate in the system."
|
"description": "The symbol of the faction that owns the connected jump gate in the system."
|
||||||
},
|
},
|
||||||
"x": {
|
"x": {
|
||||||
"type": "integer"
|
"type": "integer",
|
||||||
|
"description": "Position in the universe in the x axis."
|
||||||
},
|
},
|
||||||
"y": {
|
"y": {
|
||||||
"type": "integer"
|
"type": "integer",
|
||||||
|
"description": "Position in the universe in the y axis."
|
||||||
},
|
},
|
||||||
"distance": {
|
"distance": {
|
||||||
"type": "integer"
|
"type": "integer",
|
||||||
|
"description": "The distance of this system to the connected Jump Gate."
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"required": [
|
"required": [
|
||||||
|
@ -1,10 +1,11 @@
|
|||||||
{
|
{
|
||||||
"description": "",
|
"description": "Contract details.",
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
"id": {
|
"id": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"minLength": 1
|
"minLength": 1,
|
||||||
|
"description": "ID of the contract."
|
||||||
},
|
},
|
||||||
"factionSymbol": {
|
"factionSymbol": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
@ -17,10 +18,12 @@
|
|||||||
"PROCUREMENT",
|
"PROCUREMENT",
|
||||||
"TRANSPORT",
|
"TRANSPORT",
|
||||||
"SHUTTLE"
|
"SHUTTLE"
|
||||||
]
|
],
|
||||||
|
"description": "Type of contract."
|
||||||
},
|
},
|
||||||
"terms": {
|
"terms": {
|
||||||
"$ref": "./ContractTerms.json"
|
"$ref": "./ContractTerms.json",
|
||||||
|
"description": "The terms to fulfill the contract."
|
||||||
},
|
},
|
||||||
"accepted": {
|
"accepted": {
|
||||||
"type": "boolean",
|
"type": "boolean",
|
||||||
|
@ -1,5 +1,6 @@
|
|||||||
{
|
{
|
||||||
"type": "object",
|
"type": "object",
|
||||||
|
"description": "Terms of the contract needed to fulfill it.",
|
||||||
"properties": {
|
"properties": {
|
||||||
"deadline": {
|
"deadline": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
@ -7,10 +8,12 @@
|
|||||||
"description": "The deadline for the contract."
|
"description": "The deadline for the contract."
|
||||||
},
|
},
|
||||||
"payment": {
|
"payment": {
|
||||||
"$ref": "./ContractPayment.json"
|
"$ref": "./ContractPayment.json",
|
||||||
|
"description": "Payments for the contract."
|
||||||
},
|
},
|
||||||
"deliver": {
|
"deliver": {
|
||||||
"type": "array",
|
"type": "array",
|
||||||
|
"description": "The cargo that needs to be delivered to fulfill the contract.",
|
||||||
"items": {
|
"items": {
|
||||||
"$ref": "./ContractDeliverGood.json"
|
"$ref": "./ContractDeliverGood.json"
|
||||||
}
|
}
|
||||||
|
@ -1,13 +1,15 @@
|
|||||||
{
|
{
|
||||||
"description": "",
|
"description": "Extraction details.",
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
"shipSymbol": {
|
"shipSymbol": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"minLength": 1
|
"minLength": 1,
|
||||||
|
"description": "Symbol of the ship that executed the extraction."
|
||||||
},
|
},
|
||||||
"yield": {
|
"yield": {
|
||||||
"$ref": "./ExtractionYield.json"
|
"$ref": "./ExtractionYield.json",
|
||||||
|
"description": "Yields from the extract operation."
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"required": [
|
"required": [
|
||||||
|
@ -1,9 +1,10 @@
|
|||||||
{
|
{
|
||||||
"type": "object",
|
"type": "object",
|
||||||
|
"description": "A yield from the extraction operation.",
|
||||||
"properties": {
|
"properties": {
|
||||||
"symbol": {
|
"symbol": {
|
||||||
"type": "string",
|
"$ref": "./TradeSymbol.json",
|
||||||
"minLength": 1
|
"description": "Symbol of the good that was extracted."
|
||||||
},
|
},
|
||||||
"units": {
|
"units": {
|
||||||
"type": "integer",
|
"type": "integer",
|
||||||
|
@ -1,26 +1,29 @@
|
|||||||
{
|
{
|
||||||
"description": "",
|
"description": "Faction details.",
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
"symbol": {
|
"symbol": {
|
||||||
"type": {
|
"$ref": "./FactionSymbols.json",
|
||||||
"$ref": "./FactionSymbols.json"
|
"description": "Faction symbol."
|
||||||
}
|
|
||||||
},
|
},
|
||||||
"name": {
|
"name": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"minLength": 1
|
"minLength": 1,
|
||||||
|
"description": "Name of the faction."
|
||||||
},
|
},
|
||||||
"description": {
|
"description": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"minLength": 1
|
"minLength": 1,
|
||||||
|
"description": "Description of the faction."
|
||||||
},
|
},
|
||||||
"headquarters": {
|
"headquarters": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"minLength": 1
|
"minLength": 1,
|
||||||
|
"description": "The waypoint in which the faction's HQ is located in."
|
||||||
},
|
},
|
||||||
"traits": {
|
"traits": {
|
||||||
"type": "array",
|
"type": "array",
|
||||||
|
"description": "List of traits that define this faction.",
|
||||||
"items": {
|
"items": {
|
||||||
"$ref": "./FactionTrait.json"
|
"$ref": "./FactionTrait.json"
|
||||||
}
|
}
|
||||||
|
@ -1,26 +1,29 @@
|
|||||||
{
|
{
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "The faction symbol.",
|
"description": "Faction symbol.",
|
||||||
"minLength": 1,
|
"minLength": 1,
|
||||||
"enum": [
|
"enum": [
|
||||||
"COSMIC",
|
"COSMIC",
|
||||||
"VOID",
|
"VOID",
|
||||||
"GALACTIC",
|
"GALACTIC",
|
||||||
"QUANTUM",
|
"QUANTUM",
|
||||||
"DOMINION",
|
"DOMINION",
|
||||||
"ASTRO",
|
"ASTRO",
|
||||||
"CORSAIRS",
|
"CORSAIRS",
|
||||||
"OBSIDIAN",
|
"OBSIDIAN",
|
||||||
"AEGIS",
|
"AEGIS",
|
||||||
"UNITED",
|
"UNITED",
|
||||||
"SOLITARY",
|
"SOLITARY",
|
||||||
"COBALT",
|
"COBALT",
|
||||||
"OMEGA",
|
"OMEGA",
|
||||||
"ECHO",
|
"ECHO",
|
||||||
"LORDS",
|
"LORDS",
|
||||||
"CULT",
|
"CULT",
|
||||||
"ANCIENTS",
|
"ANCIENTS",
|
||||||
"SHADOW",
|
"SHADOW",
|
||||||
"ETHEREAL"
|
"ETHEREAL"
|
||||||
]
|
],
|
||||||
}
|
"examples": [
|
||||||
|
"COSMIC"
|
||||||
|
]
|
||||||
|
}
|
@ -51,5 +51,6 @@
|
|||||||
"pricePerUnit",
|
"pricePerUnit",
|
||||||
"totalPrice",
|
"totalPrice",
|
||||||
"timestamp"
|
"timestamp"
|
||||||
]
|
],
|
||||||
|
"description": "Result of a transaction with a market."
|
||||||
}
|
}
|
@ -1,29 +1,36 @@
|
|||||||
{
|
{
|
||||||
"description": "",
|
"description": "Meta details for pagination.",
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"properties": {
|
|
||||||
"total": {
|
|
||||||
"type": "integer"
|
|
||||||
},
|
|
||||||
"page": {
|
|
||||||
"type": "integer",
|
|
||||||
"default": 1
|
|
||||||
},
|
|
||||||
"limit": {
|
|
||||||
"type": "integer",
|
|
||||||
"default": 10
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"required": [
|
|
||||||
"total",
|
|
||||||
"page",
|
|
||||||
"limit"
|
|
||||||
],
|
|
||||||
"x-examples": {
|
"x-examples": {
|
||||||
"example-1": {
|
"example-1": {
|
||||||
"total": 6,
|
"total": 6,
|
||||||
"page": 1,
|
"page": 1,
|
||||||
"limit": 20
|
"limit": 20
|
||||||
}
|
}
|
||||||
}
|
},
|
||||||
|
"properties": {
|
||||||
|
"total": {
|
||||||
|
"type": "integer",
|
||||||
|
"description": "Shows the total amount of items of this kind that exist.",
|
||||||
|
"minimum": 0
|
||||||
|
},
|
||||||
|
"page": {
|
||||||
|
"type": "integer",
|
||||||
|
"default": 1,
|
||||||
|
"description": "A page denotes an amount of items, offset from the first item. Each page holds an amount of items equal to the `limit`.",
|
||||||
|
"minimum": 1
|
||||||
|
},
|
||||||
|
"limit": {
|
||||||
|
"type": "integer",
|
||||||
|
"default": 10,
|
||||||
|
"description": "The amount of items in each page. Limits how many items can be fetched at once.",
|
||||||
|
"minimum": 1,
|
||||||
|
"maximum": 20
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"required": [
|
||||||
|
"total",
|
||||||
|
"page",
|
||||||
|
"limit"
|
||||||
|
]
|
||||||
}
|
}
|
@ -17,7 +17,8 @@
|
|||||||
"description": "The frame of the ship.",
|
"description": "The frame of the ship.",
|
||||||
"properties": {
|
"properties": {
|
||||||
"symbol": {
|
"symbol": {
|
||||||
"type": "string"
|
"type": "string",
|
||||||
|
"description": "The symbol of the frame."
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"required": [
|
"required": [
|
||||||
@ -29,7 +30,8 @@
|
|||||||
"description": "The reactor of the ship.",
|
"description": "The reactor of the ship.",
|
||||||
"properties": {
|
"properties": {
|
||||||
"symbol": {
|
"symbol": {
|
||||||
"type": "string"
|
"type": "string",
|
||||||
|
"description": "The symbol of the reactor."
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"required": [
|
"required": [
|
||||||
@ -39,23 +41,26 @@
|
|||||||
"engine": {
|
"engine": {
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"description": "The engine of the ship.",
|
"description": "The engine of the ship.",
|
||||||
"properties": {
|
|
||||||
"symbol": {
|
|
||||||
"type": "string"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"required": [
|
"required": [
|
||||||
"symbol"
|
"symbol"
|
||||||
]
|
],
|
||||||
|
"properties": {
|
||||||
|
"symbol": {
|
||||||
|
"type": "string",
|
||||||
|
"description": "The symbol of the engine."
|
||||||
|
}
|
||||||
|
}
|
||||||
},
|
},
|
||||||
"mounts": {
|
"mounts": {
|
||||||
"type": "array",
|
"type": "array",
|
||||||
|
"description": "List of mounts installed in the ship.",
|
||||||
"items": {
|
"items": {
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"description": "A mount on the ship.",
|
"description": "A mount on the ship.",
|
||||||
"properties": {
|
"properties": {
|
||||||
"symbol": {
|
"symbol": {
|
||||||
"type": "string"
|
"type": "string",
|
||||||
|
"description": "The symbol of the mount."
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"required": [
|
"required": [
|
||||||
|
@ -1,26 +1,31 @@
|
|||||||
{
|
{
|
||||||
"description": "",
|
"description": "Details of a system was that scanned.",
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
"symbol": {
|
"symbol": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"minLength": 1
|
"minLength": 1,
|
||||||
|
"description": "Symbol of the system."
|
||||||
},
|
},
|
||||||
"sectorSymbol": {
|
"sectorSymbol": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"minLength": 1
|
"minLength": 1,
|
||||||
|
"description": "Symbol of the system's sector."
|
||||||
},
|
},
|
||||||
"type": {
|
"type": {
|
||||||
"$ref": "./SystemType.json"
|
"$ref": "./SystemType.json"
|
||||||
},
|
},
|
||||||
"x": {
|
"x": {
|
||||||
"type": "integer"
|
"type": "integer",
|
||||||
|
"description": "Position in the universe in the x axis."
|
||||||
},
|
},
|
||||||
"y": {
|
"y": {
|
||||||
"type": "integer"
|
"type": "integer",
|
||||||
|
"description": "Position in the universe in the y axis."
|
||||||
},
|
},
|
||||||
"distance": {
|
"distance": {
|
||||||
"type": "integer"
|
"type": "integer",
|
||||||
|
"description": "The system's distance from the scanning ship."
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"required": [
|
"required": [
|
||||||
|
@ -1,26 +1,31 @@
|
|||||||
{
|
{
|
||||||
"description": "A waypoint is a location that ships can travel to such as a Planet, Moon or Space Station.",
|
"description": "A waypoint that was scanned by a ship.",
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
"symbol": {
|
"symbol": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"minLength": 1
|
"minLength": 1,
|
||||||
|
"description": "Symbol of the waypoint."
|
||||||
},
|
},
|
||||||
"type": {
|
"type": {
|
||||||
"$ref": "./WaypointType.json"
|
"$ref": "./WaypointType.json"
|
||||||
},
|
},
|
||||||
"systemSymbol": {
|
"systemSymbol": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"minLength": 1
|
"minLength": 1,
|
||||||
|
"description": "Symbol of the system."
|
||||||
},
|
},
|
||||||
"x": {
|
"x": {
|
||||||
"type": "integer"
|
"type": "integer",
|
||||||
|
"description": "Position in the universe in the x axis."
|
||||||
},
|
},
|
||||||
"y": {
|
"y": {
|
||||||
"type": "integer"
|
"type": "integer",
|
||||||
|
"description": "Position in the universe in the y axis."
|
||||||
},
|
},
|
||||||
"orbitals": {
|
"orbitals": {
|
||||||
"type": "array",
|
"type": "array",
|
||||||
|
"description": "List of waypoints that orbit this waypoint.",
|
||||||
"items": {
|
"items": {
|
||||||
"$ref": "./WaypointOrbital.json"
|
"$ref": "./WaypointOrbital.json"
|
||||||
}
|
}
|
||||||
|
@ -1,10 +1,10 @@
|
|||||||
{
|
{
|
||||||
"description": "A ship",
|
"description": "Ship details.",
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
"symbol": {
|
"symbol": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "The globally unique identifier of the ship in the following format: `[AGENT_SYMBOL]_[HEX_ID]`"
|
"description": "The globally unique identifier of the ship in the following format: `[AGENT_SYMBOL]-[HEX_ID]`"
|
||||||
},
|
},
|
||||||
"registration": {
|
"registration": {
|
||||||
"$ref": "./ShipRegistration.json"
|
"$ref": "./ShipRegistration.json"
|
||||||
@ -26,12 +26,14 @@
|
|||||||
},
|
},
|
||||||
"modules": {
|
"modules": {
|
||||||
"type": "array",
|
"type": "array",
|
||||||
|
"description": "Modules installed in this ship.",
|
||||||
"items": {
|
"items": {
|
||||||
"$ref": "./ShipModule.json"
|
"$ref": "./ShipModule.json"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"mounts": {
|
"mounts": {
|
||||||
"type": "array",
|
"type": "array",
|
||||||
|
"description": "Mounts installed in this ship.",
|
||||||
"items": {
|
"items": {
|
||||||
"$ref": "./ShipMount.json"
|
"$ref": "./ShipMount.json"
|
||||||
}
|
}
|
||||||
|
@ -23,5 +23,6 @@
|
|||||||
"capacity",
|
"capacity",
|
||||||
"units",
|
"units",
|
||||||
"inventory"
|
"inventory"
|
||||||
]
|
],
|
||||||
|
"description": "Ship cargo details."
|
||||||
}
|
}
|
@ -9,20 +9,24 @@
|
|||||||
"ENGINE_ION_DRIVE_I",
|
"ENGINE_ION_DRIVE_I",
|
||||||
"ENGINE_ION_DRIVE_II",
|
"ENGINE_ION_DRIVE_II",
|
||||||
"ENGINE_HYPER_DRIVE_I"
|
"ENGINE_HYPER_DRIVE_I"
|
||||||
]
|
],
|
||||||
|
"description": "The symbol of the engine."
|
||||||
},
|
},
|
||||||
"name": {
|
"name": {
|
||||||
"type": "string"
|
"type": "string",
|
||||||
|
"description": "The name of the engine."
|
||||||
},
|
},
|
||||||
"description": {
|
"description": {
|
||||||
"type": "string"
|
"type": "string",
|
||||||
|
"description": "The description of the engine."
|
||||||
},
|
},
|
||||||
"condition": {
|
"condition": {
|
||||||
"$ref": "./ShipCondition.json"
|
"$ref": "./ShipCondition.json"
|
||||||
},
|
},
|
||||||
"speed": {
|
"speed": {
|
||||||
"type": "integer",
|
"type": "integer",
|
||||||
"minimum": 1
|
"minimum": 1,
|
||||||
|
"description": "The speed stat of this engine. The higher the speed, the faster a ship can travel from one point to another. Reduces the time of arrival when navigating the ship."
|
||||||
},
|
},
|
||||||
"requirements": {
|
"requirements": {
|
||||||
"$ref": "./ShipRequirements.json"
|
"$ref": "./ShipRequirements.json"
|
||||||
@ -35,4 +39,4 @@
|
|||||||
"speed",
|
"speed",
|
||||||
"requirements"
|
"requirements"
|
||||||
]
|
]
|
||||||
}
|
}
|
@ -20,28 +20,34 @@
|
|||||||
"FRAME_DESTROYER",
|
"FRAME_DESTROYER",
|
||||||
"FRAME_CRUISER",
|
"FRAME_CRUISER",
|
||||||
"FRAME_CARRIER"
|
"FRAME_CARRIER"
|
||||||
]
|
],
|
||||||
|
"description": "Symbol of the frame."
|
||||||
},
|
},
|
||||||
"name": {
|
"name": {
|
||||||
"type": "string"
|
"type": "string",
|
||||||
|
"description": "Name of the frame."
|
||||||
},
|
},
|
||||||
"description": {
|
"description": {
|
||||||
"type": "string"
|
"type": "string",
|
||||||
|
"description": "Description of the frame."
|
||||||
},
|
},
|
||||||
"condition": {
|
"condition": {
|
||||||
"$ref": "./ShipCondition.json"
|
"$ref": "./ShipCondition.json"
|
||||||
},
|
},
|
||||||
"moduleSlots": {
|
"moduleSlots": {
|
||||||
"type": "integer",
|
"type": "integer",
|
||||||
"minimum": 0
|
"minimum": 0,
|
||||||
|
"description": "The amount of slots that can be dedicated to modules installed in the ship. Each installed module take up a number of slots, and once there are no more slots, no new modules can be installed."
|
||||||
},
|
},
|
||||||
"mountingPoints": {
|
"mountingPoints": {
|
||||||
"type": "integer",
|
"type": "integer",
|
||||||
"minimum": 0
|
"minimum": 0,
|
||||||
|
"description": "The amount of slots that can be dedicated to mounts installed in the ship. Each installed mount takes up a number of points, and once there are no more points remaining, no new mounts can be installed."
|
||||||
},
|
},
|
||||||
"fuelCapacity": {
|
"fuelCapacity": {
|
||||||
"type": "integer",
|
"type": "integer",
|
||||||
"minimum": 0
|
"minimum": 0,
|
||||||
|
"description": "The maximum amount of fuel that can be stored in this ship. When refueling, the ship will be refueled to this amount."
|
||||||
},
|
},
|
||||||
"requirements": {
|
"requirements": {
|
||||||
"$ref": "./ShipRequirements.json"
|
"$ref": "./ShipRequirements.json"
|
||||||
|
@ -14,6 +14,7 @@
|
|||||||
},
|
},
|
||||||
"consumed": {
|
"consumed": {
|
||||||
"type": "object",
|
"type": "object",
|
||||||
|
"description": "An object that only shows up when an action has consumed fuel in the process. Shows the fuel consumption data.",
|
||||||
"properties": {
|
"properties": {
|
||||||
"amount": {
|
"amount": {
|
||||||
"type": "integer",
|
"type": "integer",
|
||||||
|
@ -22,21 +22,26 @@
|
|||||||
"MODULE_WARP_DRIVE_III",
|
"MODULE_WARP_DRIVE_III",
|
||||||
"MODULE_SHIELD_GENERATOR_I",
|
"MODULE_SHIELD_GENERATOR_I",
|
||||||
"MODULE_SHIELD_GENERATOR_II"
|
"MODULE_SHIELD_GENERATOR_II"
|
||||||
]
|
],
|
||||||
|
"description": "The symbol of the module."
|
||||||
},
|
},
|
||||||
"capacity": {
|
"capacity": {
|
||||||
"type": "integer",
|
"type": "integer",
|
||||||
"minimum": 0
|
"minimum": 0,
|
||||||
|
"description": "Modules that provide capacity, such as cargo hold or crew quarters will show this value to denote how much of a bonus the module grants."
|
||||||
},
|
},
|
||||||
"range": {
|
"range": {
|
||||||
"type": "integer",
|
"type": "integer",
|
||||||
"minimum": 0
|
"minimum": 0,
|
||||||
|
"description": "Modules that have a range will such as a sensor array show this value to denote how far can the module reach with its capabilities."
|
||||||
},
|
},
|
||||||
"name": {
|
"name": {
|
||||||
"type": "string"
|
"type": "string",
|
||||||
|
"description": "Name of this module."
|
||||||
},
|
},
|
||||||
"description": {
|
"description": {
|
||||||
"type": "string"
|
"type": "string",
|
||||||
|
"description": "Description of this module."
|
||||||
},
|
},
|
||||||
"requirements": {
|
"requirements": {
|
||||||
"$ref": "./ShipRequirements.json"
|
"$ref": "./ShipRequirements.json"
|
||||||
@ -45,6 +50,7 @@
|
|||||||
"required": [
|
"required": [
|
||||||
"symbol",
|
"symbol",
|
||||||
"name",
|
"name",
|
||||||
|
"description",
|
||||||
"requirements"
|
"requirements"
|
||||||
]
|
]
|
||||||
}
|
}
|
@ -20,20 +20,25 @@
|
|||||||
"MOUNT_LASER_CANNON_I",
|
"MOUNT_LASER_CANNON_I",
|
||||||
"MOUNT_MISSILE_LAUNCHER_I",
|
"MOUNT_MISSILE_LAUNCHER_I",
|
||||||
"MOUNT_TURRET_I"
|
"MOUNT_TURRET_I"
|
||||||
]
|
],
|
||||||
|
"description": "Symbo of this mount."
|
||||||
},
|
},
|
||||||
"name": {
|
"name": {
|
||||||
"type": "string"
|
"type": "string",
|
||||||
|
"description": "Name of this mount."
|
||||||
},
|
},
|
||||||
"description": {
|
"description": {
|
||||||
"type": "string"
|
"type": "string",
|
||||||
|
"description": "Description of this mount."
|
||||||
},
|
},
|
||||||
"strength": {
|
"strength": {
|
||||||
"type": "integer",
|
"type": "integer",
|
||||||
"minimum": 0
|
"minimum": 0,
|
||||||
|
"description": "Mounts that have this value, such as mining lasers, denote how powerful this mount's capabilities are."
|
||||||
},
|
},
|
||||||
"deposits": {
|
"deposits": {
|
||||||
"type": "array",
|
"type": "array",
|
||||||
|
"description": "Mounts that have this value denote what goods can be produced from using the mount.",
|
||||||
"items": {
|
"items": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"enum": [
|
"enum": [
|
||||||
|
@ -4,20 +4,24 @@
|
|||||||
"properties": {
|
"properties": {
|
||||||
"symbol": {
|
"symbol": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"minLength": 1
|
"minLength": 1,
|
||||||
|
"description": "The symbol of the waypoint."
|
||||||
},
|
},
|
||||||
"type": {
|
"type": {
|
||||||
"$ref": "./WaypointType.json"
|
"$ref": "./WaypointType.json"
|
||||||
},
|
},
|
||||||
"systemSymbol": {
|
"systemSymbol": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"minLength": 1
|
"minLength": 1,
|
||||||
|
"description": "The symbol of the system the waypoint is in."
|
||||||
},
|
},
|
||||||
"x": {
|
"x": {
|
||||||
"type": "integer"
|
"type": "integer",
|
||||||
|
"description": "Position in the universe in the x axis."
|
||||||
},
|
},
|
||||||
"y": {
|
"y": {
|
||||||
"type": "integer"
|
"type": "integer",
|
||||||
|
"description": "Position in the universe in the y axis."
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"required": [
|
"required": [
|
||||||
|
@ -10,20 +10,24 @@
|
|||||||
"REACTOR_FISSION_I",
|
"REACTOR_FISSION_I",
|
||||||
"REACTOR_CHEMICAL_I",
|
"REACTOR_CHEMICAL_I",
|
||||||
"REACTOR_ANTIMATTER_I"
|
"REACTOR_ANTIMATTER_I"
|
||||||
]
|
],
|
||||||
|
"description": "Symbol of the reactor."
|
||||||
},
|
},
|
||||||
"name": {
|
"name": {
|
||||||
"type": "string"
|
"type": "string",
|
||||||
|
"description": "Name of the reactor."
|
||||||
},
|
},
|
||||||
"description": {
|
"description": {
|
||||||
"type": "string"
|
"type": "string",
|
||||||
|
"description": "Description of the reactor."
|
||||||
},
|
},
|
||||||
"condition": {
|
"condition": {
|
||||||
"$ref": "./ShipCondition.json"
|
"$ref": "./ShipCondition.json"
|
||||||
},
|
},
|
||||||
"powerOutput": {
|
"powerOutput": {
|
||||||
"type": "integer",
|
"type": "integer",
|
||||||
"minimum": 1
|
"minimum": 1,
|
||||||
|
"description": "The amount of power provided by this reactor. The more power a reactor provides to the ship, the lower the cooldown it gets when using a module or mount that taxes the ship's power."
|
||||||
},
|
},
|
||||||
"requirements": {
|
"requirements": {
|
||||||
"$ref": "./ShipRequirements.json"
|
"$ref": "./ShipRequirements.json"
|
||||||
|
@ -1,5 +1,6 @@
|
|||||||
{
|
{
|
||||||
"type": "object",
|
"type": "object",
|
||||||
|
"description": "Results of a transaction with a shipyard.",
|
||||||
"properties": {
|
"properties": {
|
||||||
"waypointSymbol": {
|
"waypointSymbol": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
@ -7,7 +8,7 @@
|
|||||||
},
|
},
|
||||||
"shipSymbol": {
|
"shipSymbol": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "The symbol of the ship that was purchased."
|
"description": "The symbol of the ship that was the subject of the transaction."
|
||||||
},
|
},
|
||||||
"price": {
|
"price": {
|
||||||
"type": "integer",
|
"type": "integer",
|
||||||
|
@ -1,32 +1,37 @@
|
|||||||
{
|
{
|
||||||
"description": "",
|
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
"symbol": {
|
"symbol": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"minLength": 1
|
"minLength": 1,
|
||||||
|
"description": "The symbol of the system."
|
||||||
},
|
},
|
||||||
"sectorSymbol": {
|
"sectorSymbol": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"minLength": 1
|
"minLength": 1,
|
||||||
|
"description": "The symbol of the sector."
|
||||||
},
|
},
|
||||||
"type": {
|
"type": {
|
||||||
"$ref": "./SystemType.json"
|
"$ref": "./SystemType.json"
|
||||||
},
|
},
|
||||||
"x": {
|
"x": {
|
||||||
"type": "integer"
|
"type": "integer",
|
||||||
|
"description": "Position in the universe in the x axis."
|
||||||
},
|
},
|
||||||
"y": {
|
"y": {
|
||||||
"type": "integer"
|
"type": "integer",
|
||||||
|
"description": "Position in the universe in the y axis."
|
||||||
},
|
},
|
||||||
"waypoints": {
|
"waypoints": {
|
||||||
"type": "array",
|
"type": "array",
|
||||||
|
"description": "Waypoints in this system.",
|
||||||
"items": {
|
"items": {
|
||||||
"$ref": "./SystemWaypoint.json"
|
"$ref": "./SystemWaypoint.json"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"factions": {
|
"factions": {
|
||||||
"type": "array",
|
"type": "array",
|
||||||
|
"description": "Factions that control this system.",
|
||||||
"items": {
|
"items": {
|
||||||
"$ref": "./SystemFaction.json"
|
"$ref": "./SystemFaction.json"
|
||||||
}
|
}
|
||||||
|
@ -3,7 +3,8 @@
|
|||||||
"properties": {
|
"properties": {
|
||||||
"symbol": {
|
"symbol": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"minLength": 1
|
"minLength": 1,
|
||||||
|
"description": "The symbol of the faction."
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"required": [
|
"required": [
|
||||||
|
@ -2,16 +2,19 @@
|
|||||||
"type": "object",
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
"symbol": {
|
"symbol": {
|
||||||
"type": "string"
|
"type": "string",
|
||||||
|
"description": "The symbol of the waypoint."
|
||||||
},
|
},
|
||||||
"type": {
|
"type": {
|
||||||
"$ref": "./WaypointType.json"
|
"$ref": "./WaypointType.json"
|
||||||
},
|
},
|
||||||
"x": {
|
"x": {
|
||||||
"type": "integer"
|
"type": "integer",
|
||||||
|
"description": "Position in the universe in the x axis."
|
||||||
},
|
},
|
||||||
"y": {
|
"y": {
|
||||||
"type": "integer"
|
"type": "integer",
|
||||||
|
"description": "Position in the universe in the y axis."
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"required": [
|
"required": [
|
||||||
|
@ -1,14 +1,17 @@
|
|||||||
{
|
{
|
||||||
"type": "object",
|
"type": "object",
|
||||||
|
"description": "A good that can be traded for other goods or currency.",
|
||||||
"properties": {
|
"properties": {
|
||||||
"symbol": {
|
"symbol": {
|
||||||
"$ref": "./TradeSymbol.json"
|
"$ref": "./TradeSymbol.json"
|
||||||
},
|
},
|
||||||
"name": {
|
"name": {
|
||||||
"type": "string"
|
"type": "string",
|
||||||
|
"description": "The name of the good."
|
||||||
},
|
},
|
||||||
"description": {
|
"description": {
|
||||||
"type": "string"
|
"type": "string",
|
||||||
|
"description": "The description of the good."
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"required": [
|
"required": [
|
||||||
|
@ -111,5 +111,6 @@
|
|||||||
"MOUNT_LASER_CANNON_I",
|
"MOUNT_LASER_CANNON_I",
|
||||||
"MOUNT_MISSILE_LAUNCHER_I",
|
"MOUNT_MISSILE_LAUNCHER_I",
|
||||||
"MOUNT_TURRET_I"
|
"MOUNT_TURRET_I"
|
||||||
]
|
],
|
||||||
|
"description": "The good's symbol."
|
||||||
}
|
}
|
@ -4,23 +4,28 @@
|
|||||||
"properties": {
|
"properties": {
|
||||||
"symbol": {
|
"symbol": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"minLength": 1
|
"minLength": 1,
|
||||||
|
"description": "Symbol fo the waypoint."
|
||||||
},
|
},
|
||||||
"type": {
|
"type": {
|
||||||
"$ref": "./WaypointType.json"
|
"$ref": "./WaypointType.json"
|
||||||
},
|
},
|
||||||
"systemSymbol": {
|
"systemSymbol": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"minLength": 1
|
"minLength": 1,
|
||||||
|
"description": "The symbol of the system this waypoint belongs to."
|
||||||
},
|
},
|
||||||
"x": {
|
"x": {
|
||||||
"type": "integer"
|
"type": "integer",
|
||||||
|
"description": "Position in the universe in the x axis."
|
||||||
},
|
},
|
||||||
"y": {
|
"y": {
|
||||||
"type": "integer"
|
"type": "integer",
|
||||||
|
"description": "Position in the universe in the Y axis."
|
||||||
},
|
},
|
||||||
"orbitals": {
|
"orbitals": {
|
||||||
"type": "array",
|
"type": "array",
|
||||||
|
"description": "Waypoints that orbit this waypoint.",
|
||||||
"items": {
|
"items": {
|
||||||
"$ref": "./WaypointOrbital.json"
|
"$ref": "./WaypointOrbital.json"
|
||||||
}
|
}
|
||||||
|
@ -1,9 +1,9 @@
|
|||||||
{
|
{
|
||||||
"type": "object",
|
"type": "object",
|
||||||
|
"description": "The faction that controls the waypoint.",
|
||||||
"properties": {
|
"properties": {
|
||||||
"symbol": {
|
"symbol": {
|
||||||
"type": "string",
|
"$ref": "./FactionSymbols.json"
|
||||||
"minLength": 1
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"required": [
|
"required": [
|
||||||
|
@ -4,7 +4,8 @@
|
|||||||
"properties": {
|
"properties": {
|
||||||
"symbol": {
|
"symbol": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"minLength": 1
|
"minLength": 1,
|
||||||
|
"description": "The symbol of the orbiting waypoint."
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"required": [
|
"required": [
|
||||||
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user