added update 17 schema changes, also protected from additional properties

approachsettlement gets station data
fsssignaldiscovered gets signaltype
This commit is contained in:
Gareth Harper 2023-10-17 09:28:06 +00:00
parent 05fb8664f9
commit 8ef2ef8c3f
2 changed files with 39 additions and 0 deletions

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"
},

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",