@poseidat/schemas
Version:
The core schemas for the PoseiDAT data interchange formats
36 lines (35 loc) • 991 B
JSON
{
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "https://poseidat.org/schema/entry/equipment-inventory.json",
"title": "Equipment inventory",
"description": "An entry detailing the equipment installed on a vessel. Only 1 should exist per journal",
"properties": {
"entry_type": {
"description": "The journal entry type identifier",
"type": "string",
"enum": [
"equipment-inventory"
],
"default": "equipment-inventory"
},
"equipment": {
"type": "array",
"description": "The collection of equipment for the vessel",
"title": "Equipment on board",
"items": {
"$ref": "https://poseidat.org/schema/core/equipment/equipment.json"
},
"minItems": 1,
"uniqueItems": true
}
},
"required": [
"entry_type",
"equipment"
],
"allOf": [
{ "$ref": "https://poseidat.org/schema/core/base-entry.json" }
],
"type": "object",
"additionalProperties": true
}