{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "$id": "https://poseidat.org/schema/entry/vessel-registration.json",
  "title": "Vessel registration",
  "description": "An entry detailing the registered details of a vessel like hull number, flag state, etc. Only 1 should exist per journal",
  "properties": {
    "entry_type": {
      "description": "The journal entry type identifier",
      "type": "string",
      "enum": [
        "vessel-registration"
      ],
      "default": "vessel-registration"
    },
    "vessel": {
      "$ref": "https://poseidat.org/schema/core/vessel.json",
      "title": "The details of the vessel the journal is for"
    }
  },
  "required": [
    "entry_type",
    "vessel"
  ],
  "allOf": [
    { "$ref": "https://poseidat.org/schema/core/base-entry.json" }
  ],
  "type": "object",
  "additionalProperties": true
}
