UNPKG

@poseidat/schemas

Version:

The core schemas for the PoseiDAT data interchange formats

35 lines (34 loc) 926 B
{ "$schema": "http://json-schema.org/draft-07/schema#", "$id": "https://poseidat.org/schema/entry/device-measurement.json", "title": "Device measurement", "description": "A device measurement journal entry", "properties": { "entry_type": { "description": "The journal entry type identifier", "type": "string", "enum": [ "device-measurement" ], "default": "device-measurement" }, "device_id": { "type": "string", "description": "The unique identifier for the device" }, "value": { "description": "The registered measurement for the device", "$ref": "https://poseidat.org/schema/core/measurement/measurement-value.json" } }, "required": [ "entry_type", "device_id", "value" ], "allOf": [ { "$ref": "https://poseidat.org/schema/core/base-entry.json" } ], "type": "object", "additionalProperties": true }