@kayahr/ed-journal
Version:
Typescript library to read/watch the player journal of Frontier's game Elite Dangerous
76 lines • 1.86 kB
JSON
{
"$ref": "#/definitions/ShipLocker",
"$schema": "http://json-schema.org/draft-07/schema#",
"definitions": {
"ShipLocker": {
"additionalProperties": false,
"description": "Lists the contents of the ship locker, eg at startup. The full list is written into the journal at startup (if in a ship) and when boarding a ship. For other updates the ship locker has to be watched separately.",
"properties": {
"Components": {
"items": {
"$ref": "#/definitions/ShipLockerItem"
},
"type": "array"
},
"Consumables": {
"items": {
"$ref": "#/definitions/ShipLockerItem"
},
"type": "array"
},
"Data": {
"items": {
"$ref": "#/definitions/ShipLockerItem"
},
"type": "array"
},
"Items": {
"items": {
"$ref": "#/definitions/ShipLockerItem"
},
"type": "array"
},
"event": {
"const": "ShipLocker",
"description": "The type of event.",
"type": "string"
},
"timestamp": {
"description": "The time in GMT, ISO 8601.",
"type": "string"
}
},
"required": [
"event",
"timestamp"
],
"type": "object"
},
"ShipLockerItem": {
"additionalProperties": false,
"properties": {
"Count": {
"type": "number"
},
"MissionID": {
"type": "number"
},
"Name": {
"type": "string"
},
"Name_Localised": {
"type": "string"
},
"OwnerID": {
"type": "number"
}
},
"required": [
"Name",
"OwnerID",
"Count"
],
"type": "object"
}
}
}