added update 17 schema changes, also protected from additional properties

approachsettlement gets station data
fsssignaldiscovered gets signaltype
This commit is contained in:
Gareth Harper committed 2023-10-17 09:28:39 +00:00
1 parent 05fb8664f9
commit 8ef2ef8c3f
2 files changed
+39

No files matched your search

+37
View File
@@ -70,6 +70,43 @@
"maxItems" : 3,
"description" : "Must be added by the sender"
},
"StationGovernment": {
"type" : "string"
},
"StationEconomies": {
"type" : "array",
"items" : {
"type" : "object",
"additionalProperties" : false,
"properties": {
"Name": {
"type" : "string"
},
"Proportion": {
"type" : "number"
}
},
"patternProperties" : {
"_Localised$" : { "$ref" : "#/definitions/disallowed" }
}
}
},
"StationFaction": {
"type" : "object",
"additionalProperties" : false,
"properties": {
"Name": {
"type" : "string"
}
}
},
"StationServices": {
"type" : "array",
"items" : { "type": "string" }
},
"StationEconomy": {
"type" : "string"
},
"SystemAddress": {
"type" : "integer"
},
+2
View File
@@ -67,6 +67,7 @@
"type": "array",
"description": "Array of FSSSignalDiscovered events",
"minItems": 1,
"additionalProperties" : false,
"items": {
"type": "object",
"required": ["timestamp", "SignalName"],
@@ -77,6 +78,7 @@
"format" : "date-time"
},
"SignalName": { "type": "string" },
"SignalType": { "type": "string" },
"IsStation": { "type": "boolean" },
"USSType": {
"type": "string",