mirror of
https://github.com/EDCD/EDDN.git
synced 2025-07-14 15:41:18 +03:00
* "Typo" in headline Since this is the Readme for FSSBodySignals the Headline wrongly contains FSSAllBodiesFound. * Update README.md to remove mention of EDDB EDDB is now defunct and its links are dead. * added update 17 schema changes, also protected from additional properties approachsettlement gets station data fsssignaldiscovered gets signaltype * additionalproperties in correct place * added factionstate and stationfaction * Shorten uploaderID hash persistence duration * added stationtype and carrierDockingAccess (#220) * added stationtype * removed specific ellision of stationType --------- Co-authored-by: Gareth Harper <git@spansh.co.uk> * Added docking denied and granted (#219) * added docking denied and granted * made reason mandatory --------- Co-authored-by: Gareth Harper <git@spansh.co.uk> --------- Co-authored-by: Lord Asrothear <lord@asrothear.de> Co-authored-by: Rob <robxp@hotmail.com> Co-authored-by: Avraham Adler <aadler@users.noreply.github.com> Co-authored-by: Gareth Harper <git@spansh.co.uk> Co-authored-by: spansh <spansh@users.noreply.github.com>
83 lines
3.5 KiB
JSON
83 lines
3.5 KiB
JSON
{
|
|
"$schema" : "http://json-schema.org/draft-04/schema#",
|
|
"id" : "https://eddn.edcd.io/schemas/dockinggranted/1#",
|
|
"type" : "object",
|
|
"additionalProperties" : false,
|
|
"required": [ "$schemaRef", "header", "message" ],
|
|
"properties": {
|
|
"$schemaRef": {
|
|
"type" : "string"
|
|
},
|
|
"header": {
|
|
"type" : "object",
|
|
"additionalProperties" : true,
|
|
"required" : [ "uploaderID", "softwareName", "softwareVersion" ],
|
|
"properties" : {
|
|
"uploaderID": {
|
|
"type" : "string"
|
|
},
|
|
"gameversion": {
|
|
"type" : "string",
|
|
"description" : "From Fileheader event if available, else LoadGame if available there."
|
|
},
|
|
"gamebuild": {
|
|
"type" : "string",
|
|
"description" : "The `build` value from a Fileheader event if available, else LoadGame if available there."
|
|
},
|
|
"softwareName": {
|
|
"type" : "string"
|
|
},
|
|
"softwareVersion": {
|
|
"type" : "string"
|
|
},
|
|
"gatewayTimestamp": {
|
|
"type" : "string",
|
|
"format" : "date-time",
|
|
"description" : "Timestamp upon receipt at the gateway. If present, this property will be overwritten by the gateway; submitters are not intended to populate this property."
|
|
}
|
|
}
|
|
},
|
|
"message": {
|
|
"type" : "object",
|
|
"description" : "Contains all properties from the listed events in the client's journal minus the Localised strings and the properties marked below as 'disallowed'",
|
|
"additionalProperties" : false,
|
|
"required" : [ "timestamp", "event", "MarketID", "StationName" ],
|
|
"properties" : {
|
|
"timestamp": {
|
|
"type" : "string",
|
|
"format" : "date-time"
|
|
},
|
|
"event" : {
|
|
"enum" : [ "DockingGranted" ]
|
|
},
|
|
"horizons": {
|
|
"type" : "boolean",
|
|
"description" : "Whether the sending Cmdr has a Horizons pass."
|
|
},
|
|
"odyssey": {
|
|
"type" : "boolean",
|
|
"description" : "Whether the sending Cmdr has an Odyssey expansion."
|
|
},
|
|
"MarketID": {
|
|
"type" : "integer"
|
|
},
|
|
"StationName": {
|
|
"type" : "string",
|
|
"description" : "Name of station"
|
|
},
|
|
"StationType": {
|
|
"type" : "string",
|
|
"description" : "Type of station"
|
|
},
|
|
"LandingPad": {
|
|
"type" : "integer",
|
|
"description" : "Pad number Cmdr was granted landing to"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"definitions": {
|
|
"disallowed" : { "not" : { "type": [ "array", "boolean", "integer", "number", "null", "object", "string" ] } }
|
|
}
|
|
}
|