{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://publicschema.org/agri/FishingVessel.schema.json",
  "title": "FishingVessel",
  "description": "A vessel used, equipped or intended for fishing or fishing-related activities. It keeps its identity when its name, flag, owner or operator changes. Registration and authorization to fish are separate records.",
  "type": "object",
  "properties": {
    "name": {
      "type": "string",
      "description": "The full display name of the record. Depending on the concept, this is a person's or group's name, or the title of a program, instrument, scoring rule, or software product."
    },
    "identifiers": {
      "type": "array",
      "items": {
        "oneOf": [
          {
            "$ref": "https://publicschema.org/Identifier.schema.json"
          },
          {
            "type": "string",
            "description": "URI or identifier reference"
          }
        ],
        "description": "Identifiers carried by this entity, such as national ID numbers, program IDs, or identifiers asserted by an identity document."
      }
    },
    "vessel_flag": {
      "type": "string",
      "$comment": "https://publicschema.org/vocab/country",
      "description": "The State whose flag the vessel is entitled to fly at the time the record describes."
    },
    "vessel_length_overall": {
      "$ref": "https://publicschema.org/QuantityValue.schema.json",
      "description": "The length overall of the vessel, with its unit. Registered length and length between perpendiculars are different measurements."
    }
  }
}
