mirror of
https://github.com/SpaceTradersAPI/api-docs.git
synced 2024-11-15 06:40:51 +01:00
Remove $ref suiblings.
This commit is contained in:
parent
220455e639
commit
69994a3838
@ -3,8 +3,7 @@
|
|||||||
"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": {
|
||||||
"$ref": "./WaypointSymbol.json",
|
"$ref": "./WaypointSymbol.json"
|
||||||
"description": "The symbol of the waypoint."
|
|
||||||
},
|
},
|
||||||
"submittedBy": {
|
"submittedBy": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
|
@ -22,8 +22,7 @@
|
|||||||
"description": "Type of contract."
|
"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": "Payments for the contract.",
|
||||||
"properties": {
|
"properties": {
|
||||||
"onAccepted": {
|
"onAccepted": {
|
||||||
"type": "integer",
|
"type": "integer",
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"description": "Terms of the contract needed to fulfill it.",
|
"description": "The terms to fulfill the contract.",
|
||||||
"properties": {
|
"properties": {
|
||||||
"deadline": {
|
"deadline": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
@ -8,8 +8,7 @@
|
|||||||
"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",
|
||||||
|
@ -8,8 +8,7 @@
|
|||||||
"description": "Symbol of the ship that executed the extraction."
|
"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": [
|
||||||
|
@ -3,8 +3,7 @@
|
|||||||
"description": "A yield from the extraction operation.",
|
"description": "A yield from the extraction operation.",
|
||||||
"properties": {
|
"properties": {
|
||||||
"symbol": {
|
"symbol": {
|
||||||
"$ref": "./TradeSymbol.json",
|
"$ref": "./TradeSymbol.json"
|
||||||
"description": "Symbol of the good that was extracted."
|
|
||||||
},
|
},
|
||||||
"units": {
|
"units": {
|
||||||
"type": "integer",
|
"type": "integer",
|
||||||
|
@ -3,8 +3,7 @@
|
|||||||
"type": "object",
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
"symbol": {
|
"symbol": {
|
||||||
"$ref": "./FactionSymbol.json",
|
"$ref": "./FactionSymbol.json"
|
||||||
"description": "Faction symbol."
|
|
||||||
},
|
},
|
||||||
"name": {
|
"name": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
|
@ -2,8 +2,7 @@
|
|||||||
"type": "object",
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
"waypointSymbol": {
|
"waypointSymbol": {
|
||||||
"$ref": "./WaypointSymbol.json",
|
"$ref": "./WaypointSymbol.json"
|
||||||
"description": "The symbol of the waypoint where the transaction took place."
|
|
||||||
},
|
},
|
||||||
"shipSymbol": {
|
"shipSymbol": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
|
@ -3,15 +3,13 @@
|
|||||||
"type": "object",
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
"symbol": {
|
"symbol": {
|
||||||
"$ref": "./WaypointSymbol.json",
|
"$ref": "./WaypointSymbol.json"
|
||||||
"description": "Symbol of the waypoint."
|
|
||||||
},
|
},
|
||||||
"type": {
|
"type": {
|
||||||
"$ref": "./WaypointType.json"
|
"$ref": "./WaypointType.json"
|
||||||
},
|
},
|
||||||
"systemSymbol": {
|
"systemSymbol": {
|
||||||
"$ref": "./SystemSymbol.json",
|
"$ref": "./SystemSymbol.json"
|
||||||
"description": "Symbol of the system."
|
|
||||||
},
|
},
|
||||||
"x": {
|
"x": {
|
||||||
"type": "integer",
|
"type": "integer",
|
||||||
|
@ -3,12 +3,10 @@
|
|||||||
"description": "The navigation information of the ship.",
|
"description": "The navigation information of the ship.",
|
||||||
"properties": {
|
"properties": {
|
||||||
"systemSymbol": {
|
"systemSymbol": {
|
||||||
"$ref": "./SystemSymbol.json",
|
"$ref": "./SystemSymbol.json"
|
||||||
"description": "The system symbol of the ship's current location."
|
|
||||||
},
|
},
|
||||||
"waypointSymbol": {
|
"waypointSymbol": {
|
||||||
"$ref": "./WaypointSymbol.json",
|
"$ref": "./WaypointSymbol.json"
|
||||||
"description": "The waypoint symbol of the ship's current location, or if the ship is in-transit, the waypoint symbol of the ship's destination."
|
|
||||||
},
|
},
|
||||||
"route": {
|
"route": {
|
||||||
"$ref": "./ShipNavRoute.json"
|
"$ref": "./ShipNavRoute.json"
|
||||||
|
@ -6,9 +6,7 @@
|
|||||||
"$ref": "./ShipNavRouteWaypoint.json"
|
"$ref": "./ShipNavRouteWaypoint.json"
|
||||||
},
|
},
|
||||||
"departure": {
|
"departure": {
|
||||||
"deprecated": true,
|
"$ref": "./ShipNavRouteWaypointDeprecated.json"
|
||||||
"description": "Deprecated. Use origin instead.",
|
|
||||||
"$ref": "./ShipNavRouteWaypoint.json"
|
|
||||||
},
|
},
|
||||||
"origin": {
|
"origin": {
|
||||||
"$ref": "./ShipNavRouteWaypoint.json"
|
"$ref": "./ShipNavRouteWaypoint.json"
|
||||||
|
@ -11,8 +11,7 @@
|
|||||||
"$ref": "./WaypointType.json"
|
"$ref": "./WaypointType.json"
|
||||||
},
|
},
|
||||||
"systemSymbol": {
|
"systemSymbol": {
|
||||||
"$ref": "./SystemSymbol.json",
|
"$ref": "./SystemSymbol.json"
|
||||||
"description": "The symbol of the system the waypoint is in."
|
|
||||||
},
|
},
|
||||||
"x": {
|
"x": {
|
||||||
"type": "integer",
|
"type": "integer",
|
||||||
|
34
models/ShipNavRouteWaypointDeprecated.json
Normal file
34
models/ShipNavRouteWaypointDeprecated.json
Normal file
@ -0,0 +1,34 @@
|
|||||||
|
{
|
||||||
|
"type": "object",
|
||||||
|
"deprecated": true,
|
||||||
|
"description": "Deprecated. Use origin instead.",
|
||||||
|
"properties": {
|
||||||
|
"symbol": {
|
||||||
|
"type": "string",
|
||||||
|
"minLength": 1,
|
||||||
|
"description": "The symbol of the waypoint."
|
||||||
|
},
|
||||||
|
"type": {
|
||||||
|
"$ref": "./WaypointType.json"
|
||||||
|
},
|
||||||
|
"systemSymbol": {
|
||||||
|
"$ref": "./SystemSymbol.json",
|
||||||
|
"description": "The symbol of the system the waypoint is in."
|
||||||
|
},
|
||||||
|
"x": {
|
||||||
|
"type": "integer",
|
||||||
|
"description": "Position in the universe in the x axis."
|
||||||
|
},
|
||||||
|
"y": {
|
||||||
|
"type": "integer",
|
||||||
|
"description": "Position in the universe in the y axis."
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"required": [
|
||||||
|
"symbol",
|
||||||
|
"type",
|
||||||
|
"systemSymbol",
|
||||||
|
"x",
|
||||||
|
"y"
|
||||||
|
]
|
||||||
|
}
|
@ -3,8 +3,7 @@
|
|||||||
"description": "Results of a transaction with a shipyard.",
|
"description": "Results of a transaction with a shipyard.",
|
||||||
"properties": {
|
"properties": {
|
||||||
"waypointSymbol": {
|
"waypointSymbol": {
|
||||||
"$ref": "./WaypointSymbol.json",
|
"$ref": "./WaypointSymbol.json"
|
||||||
"description": "The symbol of the waypoint where the transaction took place."
|
|
||||||
},
|
},
|
||||||
"shipSymbol": {
|
"shipSymbol": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
|
@ -8,8 +8,7 @@
|
|||||||
"description": "Symbol of the ship that executed the siphon."
|
"description": "Symbol of the ship that executed the siphon."
|
||||||
},
|
},
|
||||||
"yield": {
|
"yield": {
|
||||||
"$ref": "./SiphonYield.json",
|
"$ref": "./SiphonYield.json"
|
||||||
"description": "Yields from the siphon operation."
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"required": [
|
"required": [
|
||||||
|
@ -3,8 +3,7 @@
|
|||||||
"description": "A yield from the siphon operation.",
|
"description": "A yield from the siphon operation.",
|
||||||
"properties": {
|
"properties": {
|
||||||
"symbol": {
|
"symbol": {
|
||||||
"$ref": "./TradeSymbol.json",
|
"$ref": "./TradeSymbol.json"
|
||||||
"description": "Symbol of the good that was siphoned."
|
|
||||||
},
|
},
|
||||||
"units": {
|
"units": {
|
||||||
"type": "integer",
|
"type": "integer",
|
||||||
|
@ -2,8 +2,7 @@
|
|||||||
"type": "object",
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
"symbol": {
|
"symbol": {
|
||||||
"$ref": "./WaypointSymbol.json",
|
"$ref": "./WaypointSymbol.json"
|
||||||
"description": "The symbol of the waypoint."
|
|
||||||
},
|
},
|
||||||
"type": {
|
"type": {
|
||||||
"$ref": "./WaypointType.json"
|
"$ref": "./WaypointType.json"
|
||||||
|
@ -3,15 +3,13 @@
|
|||||||
"type": "object",
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
"symbol": {
|
"symbol": {
|
||||||
"$ref": "./WaypointSymbol.json",
|
"$ref": "./WaypointSymbol.json"
|
||||||
"description": "Symbol of the waypoint."
|
|
||||||
},
|
},
|
||||||
"type": {
|
"type": {
|
||||||
"$ref": "./WaypointType.json"
|
"$ref": "./WaypointType.json"
|
||||||
},
|
},
|
||||||
"systemSymbol": {
|
"systemSymbol": {
|
||||||
"$ref": "./SystemSymbol.json",
|
"$ref": "./SystemSymbol.json"
|
||||||
"description": "The symbol of the system this waypoint belongs to."
|
|
||||||
},
|
},
|
||||||
"x": {
|
"x": {
|
||||||
"type": "integer",
|
"type": "integer",
|
||||||
|
@ -254,8 +254,7 @@
|
|||||||
"schema": {
|
"schema": {
|
||||||
"properties": {
|
"properties": {
|
||||||
"faction": {
|
"faction": {
|
||||||
"$ref": "../models/FactionSymbol.json",
|
"$ref": "../models/FactionSymbol.json"
|
||||||
"example": "COSMIC"
|
|
||||||
},
|
},
|
||||||
"symbol": {
|
"symbol": {
|
||||||
"description": "Your desired agent symbol. This will be a unique name used to represent your agent, and will be the prefix for your ships.",
|
"description": "Your desired agent symbol. This will be a unique name used to represent your agent, and will be the prefix for your ships.",
|
||||||
|
Loading…
Reference in New Issue
Block a user