UNPKG

@kayahr/ed-journal

Version:

Typescript library to read/watch the player journal of Frontier's game Elite Dangerous

75 lines 1.61 kB
{ "$ref": "#/definitions/Backpack", "$schema": "http://json-schema.org/draft-07/schema#", "definitions": { "Backpack": { "additionalProperties": false, "properties": { "Components": { "items": { "$ref": "#/definitions/BackpackItem" }, "type": "array" }, "Consumables": { "items": { "$ref": "#/definitions/BackpackItem" }, "type": "array" }, "Data": { "items": { "$ref": "#/definitions/BackpackItem" }, "type": "array" }, "Items": { "items": { "$ref": "#/definitions/BackpackItem" }, "type": "array" }, "event": { "const": "Backpack", "description": "The type of event.", "type": "string" }, "timestamp": { "description": "The time in GMT, ISO 8601.", "type": "string" } }, "required": [ "event", "timestamp" ], "type": "object" }, "BackpackItem": { "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" } } }