mirror of
https://github.com/EDCD/EDDN.git
synced 2025-06-07 19:03:10 +03:00
Merge pull request #91 from Marginal/factions_localised
Extend ban on ..._Localised properties to Factions, Materials & StationEconomies lists
This commit is contained in:
commit
a253a76b46
@ -33,7 +33,7 @@
|
|||||||
"type" : "object",
|
"type" : "object",
|
||||||
"description" : "Contains all properties from the listed events in the client's journal minus Localised strings and the properties marked below as 'disallowed'",
|
"description" : "Contains all properties from the listed events in the client's journal minus Localised strings and the properties marked below as 'disallowed'",
|
||||||
"additionalProperties" : true,
|
"additionalProperties" : true,
|
||||||
"required" : [ "timestamp", "event", "StarSystem", "StarPos", "SystemAddress" ],
|
"required" : [ "timestamp", "event", "StarSystem", "StarPos", "SystemAddress" ],
|
||||||
"properties" : {
|
"properties" : {
|
||||||
"timestamp": {
|
"timestamp": {
|
||||||
"type" : "string",
|
"type" : "string",
|
||||||
@ -69,6 +69,9 @@
|
|||||||
"HomeSystem" : { "$ref" : "#/definitions/disallowed" },
|
"HomeSystem" : { "$ref" : "#/definitions/disallowed" },
|
||||||
"MyReputation" : { "$ref" : "#/definitions/disallowed" },
|
"MyReputation" : { "$ref" : "#/definitions/disallowed" },
|
||||||
"SquadronFaction" : { "$ref" : "#/definitions/disallowed" }
|
"SquadronFaction" : { "$ref" : "#/definitions/disallowed" }
|
||||||
|
},
|
||||||
|
"patternProperties" : {
|
||||||
|
"_Localised$" : { "$ref" : "#/definitions/disallowed" }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@ -83,7 +86,17 @@
|
|||||||
"Wanted" : { "$ref" : "#/definitions/disallowed" }
|
"Wanted" : { "$ref" : "#/definitions/disallowed" }
|
||||||
},
|
},
|
||||||
"patternProperties" : {
|
"patternProperties" : {
|
||||||
"_Localised$" : { "$ref" : "#/definitions/disallowed" }
|
"_Localised$" : { "$ref" : "#/definitions/disallowed" },
|
||||||
|
"^(Materials|StationEconomies)$" : {
|
||||||
|
"type" : "array",
|
||||||
|
"description" : "Present in Scan and Docked messages",
|
||||||
|
"items" : {
|
||||||
|
"type" : "object",
|
||||||
|
"patternProperties" : {
|
||||||
|
"_Localised$" : { "$ref" : "#/definitions/disallowed" }
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
Loading…
x
Reference in New Issue
Block a user