mirror of
https://github.com/EDCD/EDDN.git
synced 2025-06-18 16:03:02 +03:00
Also disallow _Localised properties in Materials & StationEconomies
This commit is contained in:
parent
7f35b0ba28
commit
839a68f31d
@ -85,10 +85,20 @@
|
|||||||
"Longitude" : { "$ref" : "#/definitions/disallowed" },
|
"Longitude" : { "$ref" : "#/definitions/disallowed" },
|
||||||
"Wanted" : { "$ref" : "#/definitions/disallowed" }
|
"Wanted" : { "$ref" : "#/definitions/disallowed" }
|
||||||
},
|
},
|
||||||
|
"patternProperties" : {
|
||||||
|
"_Localised$" : { "$ref" : "#/definitions/disallowed" },
|
||||||
|
"^(Materials|StationEconomies)$" : {
|
||||||
|
"type" : "array",
|
||||||
|
"description" : "Present in Scan and Docked messages",
|
||||||
|
"items" : {
|
||||||
|
"type" : "object",
|
||||||
"patternProperties" : {
|
"patternProperties" : {
|
||||||
"_Localised$" : { "$ref" : "#/definitions/disallowed" }
|
"_Localised$" : { "$ref" : "#/definitions/disallowed" }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
},
|
},
|
||||||
"definitions": {
|
"definitions": {
|
||||||
"disallowed" : { "not" : { "type": [ "array", "boolean", "integer", "number", "null", "object", "string" ] } }
|
"disallowed" : { "not" : { "type": [ "array", "boolean", "integer", "number", "null", "object", "string" ] } }
|
||||||
|
Loading…
x
Reference in New Issue
Block a user