mirror of
https://github.com/SpaceTradersAPI/api-docs.git
synced 2024-11-22 17:56:55 +01:00
update: new traits and add modifiers
This commit is contained in:
parent
2ffab3a14c
commit
3463a3593a
@ -43,6 +43,7 @@
|
||||
"AMMUNITION",
|
||||
"ELECTRONICS",
|
||||
"SHIP_PLATING",
|
||||
"SHIP_PARTS",
|
||||
"EQUIPMENT",
|
||||
"FUEL",
|
||||
"MEDICINE",
|
||||
|
@ -45,6 +45,13 @@
|
||||
"$ref": "./WaypointTrait.json"
|
||||
}
|
||||
},
|
||||
"modifiers": {
|
||||
"type": "array",
|
||||
"description": "The modifiers of the waypoint.",
|
||||
"items": {
|
||||
"$ref": "./WaypointModifier.json"
|
||||
}
|
||||
},
|
||||
"chart": {
|
||||
"$ref": "./Chart.json"
|
||||
}
|
||||
|
29
models/WaypointModifier.json
Normal file
29
models/WaypointModifier.json
Normal file
@ -0,0 +1,29 @@
|
||||
{
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"symbol": {
|
||||
"type": "string",
|
||||
"description": "The unique identifier of the modifier.",
|
||||
"enum": [
|
||||
"STRIPPED",
|
||||
"UNSTABLE",
|
||||
"RADIATION_LEAK",
|
||||
"CRITICAL_LIMIT",
|
||||
"CIVIL_UNREST"
|
||||
]
|
||||
},
|
||||
"name": {
|
||||
"type": "string",
|
||||
"description": "The name of the trait."
|
||||
},
|
||||
"description": {
|
||||
"type": "string",
|
||||
"description": "A description of the trait."
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"symbol",
|
||||
"name",
|
||||
"description"
|
||||
]
|
||||
}
|
@ -6,6 +6,7 @@
|
||||
"description": "The unique identifier of the trait.",
|
||||
"enum": [
|
||||
"UNCHARTED",
|
||||
"UNDER_CONSTRUCTION",
|
||||
"MARKETPLACE",
|
||||
"SHIPYARD",
|
||||
"OUTPOST",
|
||||
@ -54,6 +55,7 @@
|
||||
"TOXIC_ATMOSPHERE",
|
||||
"CORROSIVE_ATMOSPHERE",
|
||||
"BREATHABLE_ATMOSPHERE",
|
||||
"THIN_ATMOSPHERE",
|
||||
"JOVIAN",
|
||||
"ROCKY",
|
||||
"VOLCANIC",
|
||||
@ -63,6 +65,13 @@
|
||||
"TEMPERATE",
|
||||
"JUNGLE",
|
||||
"OCEAN",
|
||||
"RADIOACTIVE",
|
||||
"MICRO_GRAVITY_ANOMALIES",
|
||||
"DEBRIS_CLUSTER",
|
||||
"DEEP_CRATERS",
|
||||
"SHALLOW_CRATERS",
|
||||
"UNSTABLE_COMPOSITION",
|
||||
"HOLLOWED_INTERIOR",
|
||||
"STRIPPED"
|
||||
]
|
||||
},
|
||||
|
@ -8,8 +8,13 @@
|
||||
"ORBITAL_STATION",
|
||||
"JUMP_GATE",
|
||||
"ASTEROID_FIELD",
|
||||
"ASTEROID",
|
||||
"ENGINEERED_ASTEROID",
|
||||
"ASTEROID_BASE",
|
||||
"NEBULA",
|
||||
"DEBRIS_FIELD",
|
||||
"GRAVITY_WELL"
|
||||
"GRAVITY_WELL",
|
||||
"ARTIFICIAL_GRAVITY_WELL",
|
||||
"FUEL_STATION"
|
||||
]
|
||||
}
|
Loading…
Reference in New Issue
Block a user