{
  "type" : "record",
  "name" : "ShipData",
  "namespace" : "eu.europa.emsa.esd",
  "fields" : [ {
    "name" : "ESDId",
    "type" : {
      "type" : "string",
      "pattern" : "^ESDID[0-9]{10}$",
      "example" : "ESDID7532159875"
    },
    "doc" : "Unique identifier of the ship, as defined by ESD"
  }, {
    "name" : "deactivated",
    "type" : {
      "type" : "boolean",
      "example" : false
    },
    "doc" : "Specifies if the record is deactivated."
  }, {
    "name" : "logisticsTransportMovement",
    "type" : [ "null", {
      "type" : "record",
      "name" : "LogisticsTransportMovement",
      "fields" : [ {
        "name" : "usedTransportMeans",
        "type" : {
          "type" : "record",
          "name" : "UsedTransportMeans",
          "fields" : [ {
            "name" : "callSignId",
            "type" : [ "null", {
              "type" : "string",
              "example" : "SVDJ4",
              "maxLength" : 7
            } ],
            "doc" : "A unique ship's identification used primarily for radio communications as shown on the ship's documents (e.g. IMO certificates)."
          }, {
            "name" : "name",
            "type" : [ "null", {
              "type" : "string",
              "example" : "Knossos Palace",
              "maxLength" : 70
            } ],
            "doc" : "The ship's name as shown on the ship's documents (e.g. IMO certificates)"
          }, {
            "name" : "IMONumberIndicator",
            "type" : {
              "type" : "boolean",
              "example" : true
            },
            "doc" : "A yes/no indicator whether the ship has an IMO number"
          }, {
            "name" : "IMOId",
            "type" : [ "null", {
              "type" : "string",
              "example" : "9220330",
              "maxLength" : 7,
              "pattern" : "[0-9]{7}"
            } ],
            "doc" : "The unique ship identification number as shown on the ship's documents (e.g. IMO certificates)"
          }, {
            "name" : "MMSIId",
            "type" : [ "null", {
              "type" : "string",
              "example" : "000345678",
              "maxLength" : 9,
              "pattern" : "[0-9]{9}"
            } ],
            "doc" : "Identifier used by maritime digital selective calling (DSC), automatic identification systems (AIS) and certain other equipment to uniquely identify a ship or a coast radio station."
          }, {
            "name" : "ENIId",
            "type" : [ "null", {
              "type" : "string",
              "example" : "47000279",
              "maxLength" : 8,
              "pattern" : "[0-9]{8}"
            } ],
            "doc" : "The European Number of Identification for vessels navigating on inland European waters. Must be reported if ENINumberIndicator is set to true."
          }, {
            "name" : "CFRId",
            "type" : [ "null", {
              "type" : "string",
              "example" : "ESP000015003",
              "maxLength" : 12
            } ],
            "doc" : "The Community Fleet Register Number for EU fishing vessels."
          }, {
            "name" : "otherId",
            "type" : [ "null", {
              "type" : "string",
              "example" : "FOO123BAR",
              "maxLength" : 25
            } ],
            "doc" : "Additional numbers or letters that may be used to identify the ship, as an alternative or in addition to the Ship call sign, the MMSI number, the IMO number, the ENI number or the CFR number"
          }, {
            "name" : "typeCode",
            "type" : [ "null", {
              "type" : "int",
              "example" : 8454,
              "minimum" : 1,
              "maximum" : 9999
            } ],
            "doc" : "The type of the ship shown on the ship's documents (e.g. IMO certificates). Possible values:\n<br/>80\t    (Vessel, type unknown)\n<br/>81\t    (Motor freighter)\n<br/>85\t    (Motor freighter, tug)\n<br/>86\t    (Motor tanker, tug)\n<br/>87\t    (Motor freighter with one or more ships alongside)\n<br/>88\t    (Motor freighter with tanker)\n<br/>89\t    (Motor freighter pushing one or more freighters)\n<br/>150\t    (General cargo vessel)\n<br/>151\t    (Unit carrier)\n<br/>152\t    (Bulk carrier)\n<br/>153\t    (Tanker)\n<br/>154\t    (Liquefied gas tanker)\n<br/>155\t    (Other special tanker)\n<br/>157\t    (Cargo and passenger vessel)\n<br/>159\t    (Passenger ship)\n<br/>160\t    (Assistance vessel)\n<br/>170\t    (Other sea-going vessel)\n<br/>172\t    (Work ship)\n<br/>173\t    (Push boat)\n<br/>174\t    (Dredger)\n<br/>175\t    (Fishing boat)\n<br/>176\t    (Research and education ship)\n<br/>177\t    (Navy vessel)\n<br/>178\t    (Structure, floating)\n<br/>180\t    (Pleasure boat)\n<br/>181\t    (Speedboat)\n<br/>182\t    (Sailing boat with auxiliary motor)\n<br/>183\t    (Sailing yacht)\n<br/>184\t    (Boat for sport fishing)\n<br/>185\t    (Craft, pleasure, longer than 20 metres)\n<br/>186\t    (Craft, pleasure, smaller than 20 metres)\n<br/>187\t    (Craft, other, extra definitions and specifications)\n<br/>189\t    (Craft, other, recreational)\n<br/>190\t    (Fast ship)\n<br/>191\t    (Hydrofoil)\n<br/>192\t    (Catamaran, fast)\n<br/>802\t    (Motor tanker)\n<br/>803\t    (Container vessel)\n<br/>804\t    (Gas tanker)\n<br/>810\t    (Motor freighter pushing at least one tank-ship)\n<br/>811\t    (Tug, freighter)\n<br/>812\t    (Tug, tanker)\n<br/>813\t    (Tug, freighter, coupled)\n<br/>814\t    (Tug, freighter/tanker, coupled)\n<br/>815\t    (Freight barge)\n<br/>816\t    (Tank barge)\n<br/>817\t    (Freight barge with containers)\n<br/>818\t    (Tank barge, gas)\n<br/>821\t    (Pushtow, one cargo barge)\n<br/>822\t    (Pushtow, two cargo barges)\n<br/>823\t    (Pushtow, three cargo barges)\n<br/>824\t    (Pushtow, four cargo barges)\n<br/>825\t    (Pushtow, five cargo barges)\n<br/>826\t    (Pushtow, six cargo barges)\n<br/>827\t    (Pushtow, seven cargo barges)\n<br/>828\t    (Pushtow, eight cargo barges)\n<br/>829\t    (Pushtow, nine cargo barges)\n<br/>831\t    (Pushtow, one gas/tank barge)\n<br/>832\t    (Pushtow, two barges at least one tanker or gas barge)\n<br/>833\t    (Pushtow, three barges at least one tanker or gasbarge)\n<br/>834\t    (Pushtow, four barges at least one tanker or gasbarge)\n<br/>835\t    (Pushtow, five barges at least one tanker or gasbarge)\n<br/>836\t    (Pushtow, six barges at least one tanker or gasbarge)\n<br/>837\t    (Pushtow, seven barges at least one tanker or gasbarge)\n<br/>838\t    (Pushtow, eight barges at least one tanker or gasbarge)\n<br/>839\t    (Pushtow, nine or more barges at least one tanker or gasbarge)\n<br/>840\t    (Tug, single)\n<br/>841\t    (Tug, one or more tows)\n<br/>842\t    (Tug, assisting a vessel or linked combination)\n<br/>843\t    (Pushboat, single)\n<br/>844\t    (Passenger ship, ferry, red cross ship, cruise ship)\n<br/>845\t    (Service vessel)\n<br/>846\t    (Vessel, work maintenance craft, floating derrick, cable-ship, buoy-ship, dredge.)\n<br/>847\t    (Object, towed, not otherwise specified.)\n<br/>848\t    (Fishing boat)\n<br/>849\t    (Bunkership)\n<br/>850\t    (Barge, tanker, chemical)\n<br/>851\t    (Object, not otherwise specified.)\n<br/>852\t    (Service vessel)\n<br/>853\t    (Police patrol vessel)\n<br/>854\t    (Port service vessel)\n<br/>855\t    (Navigation surveillance vessel)\n<br/>1501\t(Grain vessel)\n<br/>1502\t(Timber/log carrier)\n<br/>1503\t(Wood chips vessel)\n<br/>1504\t(Steel products vessel)\n<br/>1505\t(Carrier, general cargo/container)\n<br/>1506\t(Temperature controlled cargo vessels)\n<br/>1511\t(Full container ship/cellular vessel)\n<br/>1512\t(RoRo vessel)\n<br/>1513\t(Car carrier)\n<br/>1514\t(Livestock carrier)\n<br/>1515\t(Barge carrier – Lash ship)\n<br/>1516\t(Chemical carrier)\n<br/>1517\t(Irradiated fuel carrier)\n<br/>1518\t(Heavy cargo vessel)\n<br/>1519\t(RoRo/Container vessel)\n<br/>1521\t(Dry bulk carrier)\n<br/>1522\t(Ore carrier)\n<br/>1523\t(Cement carrier)\n<br/>1524\t(Gravel carrier)\n<br/>1525\t(Coal carrier)\n<br/>1531\t(Crude oil tanker)\n<br/>1532\t(Chemical tanker, coaster)\n<br/>1533\t(Chemical tanker, deep sea)\n<br/>1534\t(Oil and other derivatives tanker)\n<br/>1541\t(LPG tanker)\n<br/>1542\t(LNG tanker)\n<br/>1543\t(LNG/LPG tanker)\n<br/>1551\t(Asphalt/bitumen tanker)\n<br/>1552\t(Molasses tanker)\n<br/>1553\t(Vegetable oil tanker)\n<br/>1591\t(Cruise ship)\n<br/>1592\t(Ferry)\n<br/>1593\t(Other passenger ship)\n<br/>1594\t(Passenger ship, sailing)\n<br/>1601\t(Tug, without tow)\n<br/>1602\t(Tug, with tow)\n<br/>1603\t(Salvage vessel)\n<br/>1604\t(Rescue vessel)\n<br/>1605\t(Oil combat vessel)\n<br/>1606\t(Oil rig)\n<br/>1607\t(Hospital vessel)\n<br/>1711\t(Pilot boat)\n<br/>1712\t(Patrol/measure ship)\n<br/>1721\t(Supply vessel)\n<br/>1723\t(Offshore support vessel)\n<br/>1724\t(Pontoon)\n<br/>1725\t(Stone dumping vessel)\n<br/>1726\t(Cable layer)\n<br/>1727\t(Buoyage vessel)\n<br/>1728\t(Icebreaker)\n<br/>1729\t(Pipelaying vessel)\n<br/>1751\t(Trawler)\n<br/>1752\t(Cutter)\n<br/>1753\t(Factory ship)\n<br/>1761\t(Fishery research vessel)\n<br/>1762\t(Climate registration vessel)\n<br/>1763\t(Ship for environmental measurement)\n<br/>1764\t(Scientific vessel)\n<br/>1765\t(Sailing school ship)\n<br/>1766\t(Training vessel)\n<br/>1781\t(Crane, floating)\n<br/>1782\t(Dock, floating)\n<br/>8021\t(Motor tanker, liquid cargo, type N)\n<br/>8022\t(Motor tanker, liquid cargo, type C)\n<br/>8023\t(Motor tanker, dry cargo)\n<br/>8161\t(Tank barge, liquid cargo, type N)\n<br/>8162\t(Tank barge, liquid cargo, type C)\n<br/>8163\t(Tank barge, dry cargo)\n<br/>8441\t(Ferry)\n<br/>8442\t(Red cross ship)\n<br/>8443\t(Cruise ship)\n<br/>8444\t(Passenger ship without accommodation)\n<br/>8445\t(Day-trip high speed vessel)\n<br/>8446\t(Day-trip hydrofoil vessel)\n<br/>8447\t(Sailing cruise ship)\n<br/>8448\t(Sailing passenger ship without accommodation)\n<br/>8451\t(Service vessel)\n<br/>8452\t(Police patrol vessel)\n<br/>8453\t(Port service vessel)\n<br/>8454\t(Navigation surveillance vessel)"
          }, {
            "name" : "grossWeight",
            "type" : [ "null", {
              "type" : "bytes",
              "logicalType" : "decimal",
              "precision" : 14,
              "scale" : 3,
              "example" : 34.541,
              "minimum" : 0.001,
              "maximum" : 9.9999999999999E10,
              "multipleOf" : 0.001
            } ],
            "doc" : "The gross tonnage shown on the ship's International Tonnage Certificate or other document issued by the Flag State or Recognized Organization."
          }, {
            "name" : "netWeight",
            "type" : [ "null", {
              "type" : "bytes",
              "logicalType" : "decimal",
              "precision" : 14,
              "scale" : 3,
              "example" : 34.541,
              "minimum" : 0.001,
              "maximum" : 9.9999999999999E10,
              "multipleOf" : 0.001
            } ],
            "doc" : "The net tonnage shown on the ship's International Tonnage Certificate or other document issued by the Flag State or Recognized Organization."
          }, {
            "name" : "relatedTransportMode",
            "type" : [ "null", {
              "type" : "int",
              "example" : 1,
              "minimum" : 1,
              "maximum" : 8
            } ],
            "doc" : "A code representing the transport mode related to the ship type. Possible values:\n<br/>1 (Maritime transport)\n<br/>8 (Inland water transport)"
          }, {
            "name" : "externalMarkingText",
            "type" : [ "null", {
              "type" : "string",
              "example" : "CHRISTINA",
              "maxLength" : 14
            } ],
            "doc" : "The number and letters displayed on the exterior of vessels."
          }, {
            "name" : "widthMeasure",
            "type" : [ "null", {
              "type" : "bytes",
              "logicalType" : "decimal",
              "precision" : 5,
              "scale" : 2,
              "example" : 13.45,
              "minimum" : 0.01,
              "maximum" : 999.99,
              "multipleOf" : 0.01
            } ],
            "doc" : "The longest breadth of the vessel in meters."
          }, {
            "name" : "ICEClassCode",
            "type" : [ "null", {
              "type" : "string",
              "example" : "FS1A",
              "maxLength" : 10
            } ],
            "doc" : "A code representing the ICE class according to the Finnish-Swedish notation which applies to vessels intended for service in icy waters with everything from light ice conditions to ice breaking and ramming. Possible values:\n<br/>FS1A\t(IA)\n<br/>FS1B\t(IB)\n<br/>FS1C\t(IC)\n<br/>FS1S\t(IA Super)\n<br/>FSII\t(II)\n<br/>FSIII\t(III)\n<br/>UKN\t(Unknown)"
          }, {
            "name" : "mainEngineAvailabilityIndicator",
            "type" : [ "null", {
              "type" : "boolean",
              "example" : true
            } ],
            "doc" : "A yes/no indicator of whether the vessel is self-propelled, and the main engine is in working condition."
          }, {
            "name" : "deadWeightTonnage",
            "type" : [ "null", {
              "type" : "bytes",
              "logicalType" : "decimal",
              "precision" : 14,
              "scale" : 3,
              "example" : 550.427,
              "minimum" : 0.001,
              "maximum" : 9.9999999999999E10,
              "multipleOf" : 0.001
            } ],
            "doc" : "Ship deadweight tonnage expressed in metric tons."
          }, {
            "name" : "summerDraught",
            "type" : [ "null", {
              "type" : "bytes",
              "logicalType" : "decimal",
              "precision" : 4,
              "scale" : 2,
              "example" : 10.2,
              "minimum" : 0.01,
              "maximum" : 99.99,
              "multipleOf" : 0.01
            } ],
            "doc" : "The loaded draught of the ship corrected for the worst-case seasonal conditions, in meters."
          }, {
            "name" : "reducedGrossWeight",
            "type" : [ "null", {
              "type" : "bytes",
              "logicalType" : "decimal",
              "precision" : 14,
              "scale" : 3,
              "example" : 50234.8,
              "minimum" : 0.001,
              "maximum" : 9.9999999999999E10,
              "multipleOf" : 0.001
            } ],
            "doc" : "The reduced gross tonnage calculated as per IMO Resolution MSC.234(82)."
          }, {
            "name" : "overallLength",
            "type" : [ "null", {
              "type" : "bytes",
              "logicalType" : "decimal",
              "precision" : 5,
              "scale" : 2,
              "example" : 150.42,
              "minimum" : 0.01,
              "maximum" : 999.99,
              "multipleOf" : 0.01
            } ],
            "doc" : "The distance between the forward most and after most parts of the ship expressed, in meters."
          }, {
            "name" : "betweenPerpendicularsLength",
            "type" : [ "null", {
              "type" : "bytes",
              "logicalType" : "decimal",
              "precision" : 5,
              "scale" : 2,
              "example" : 20.2,
              "minimum" : 0.01,
              "maximum" : 999.99,
              "multipleOf" : 0.01
            } ],
            "doc" : "The ship's length between perpendiculars in meters."
          }, {
            "name" : "openWaterSpeedMeasure",
            "type" : [ "null", {
              "type" : "bytes",
              "logicalType" : "decimal",
              "precision" : 4,
              "scale" : 2,
              "example" : 16.4,
              "minimum" : 0.01,
              "maximum" : 99.99,
              "multipleOf" : 0.01
            } ],
            "doc" : "The operational service speed of the ship in knots."
          }, {
            "name" : "navigationTypeCode",
            "type" : [ "null", {
              "type" : "string",
              "example" : "NAV-01",
              "maxLength" : 17
            } ],
            "doc" : "The type of navigation allowed, as shown on the ship's certificates. Possible values:\n<br/>NAV-01 (International)\n<br/>NAV-02 (Short international)\n<br/>NAV-03 (International coastal)\n<br/>NAV-04 (National)\n<br/>NAV-05 (National coastal)\n<br/>NAV-06 (Littoral navigation)\n<br/>NAV-07 (Local navigation)\n<br/>NAV-08 (Special)"
          }, {
            "name" : "ENINumberIndicator",
            "type" : [ "null", "boolean" ],
            "doc" : "A yes(true)/no(false) indicator whether the ship has an ENI number. If set to true then ENIId element (ENI Number) must be reported."
          }, {
            "name" : "MLCShipOwner",
            "type" : [ "null", {
              "type" : "record",
              "name" : "MLCShipOwner",
              "fields" : [ {
                "name" : "name",
                "type" : [ "null", {
                  "type" : "string",
                  "example" : "John Doe",
                  "maxLength" : 70
                } ],
                "doc" : "The name of the MLC shipowner as defined in MLC/2006 Art. II 1(j)"
              } ]
            } ]
          }, {
            "name" : "registrationCountry",
            "type" : [ "null", {
              "type" : "record",
              "name" : "RegistrationCountry",
              "fields" : [ {
                "name" : "code",
                "type" : {
                  "type" : "string",
                  "example" : "GR",
                  "pattern" : "^[a-zA-Z]{2}$"
                },
                "doc" : "The code representing the nationality (ISO 3166-1 alpha-2 code) of the ship shown on the ship's documents (e.g. IMO certificates). Possible values:\nAA (Unknown)\nAD\nAE\nAF\nAG\nAI\nAL\nAM\nAO\nAQ\nAR\nAS\nAT\nAU\nAW\nAX\nAZ\nBA\nBB\nBD\nBE\nBF\nBG\nBH\nBI\nBJ\nBL\nBM\nBN\nBO\nBQ\nBR\nBS\nBT\nBV\nBW\nBY\nBZ\nCA\nCC\nCD\nCF\nCG\nCH\nCI\nCK\nCL\nCM\nCN\nCO\nCR\nCS\nCU\nCV\nCW\nCX\nCY\nCZ\nDD\nDE\nDJ\nDK\nDM\nDO\nDZ\nEC\nEE\nEG\nEH\nER\nES\nET\nEU\nFI\nFJ\nFK\nFM\nFO\nFR\nFX\nGA\nGB\nGD\nGE\nGF\nGG\nGH\nGI\nGL\nGM\nGN\nGP\nGQ\nGR\nGS\nGT\nGU\nGW\nGY\nHK\nHM\nHN\nHR\nHT\nHU\nID\nIE\nIL\nIM\nIN\nIO\nIQ\nIR\nIS\nIT\nJE\nJM\nJO\nJP\nKE\nKG\nKH\nKI\nKM\nKN\nKP\nKR\nKW\nKY\nKZ\nLA\nLB\nLC\nLI\nLK\nLR\nLS\nLT\nLU\nLV\nLY\nMA\nMC\nMD\nME\nMF\nMG\nMH\nMK\nML\nMM\nMN\nMO\nMP\nMQ\nMR\nMS\nMT\nMU\nMV\nMW\nMX\nMY\nMZ\nNA\nNC\nNE\nNF\nNG\nNI\nNL\nNO\nNP\nNR\nNU\nNZ\nOM\nPA\nPE\nPF\nPG\nPH\nPK\nPL\nPM\nPN\nPR\nPS\nPT\nPW\nPY\nQA\nRE\nRO\nRS\nRU\nRW\nSA\nSB\nSC\nSD\nSE\nSG\nSH\nSI\nSJ\nSK\nSL\nSM\nSN\nSO\nSR\nSS\nST\nSU\nSV\nSX\nSY\nSZ\nTC\nTD\nTF\nTG\nTH\nTJ\nTK\nTL\nTM\nTN\nTO\nTR\nTT\nTV\nTW\nTZ\nUA\nUG\nUM\nUN\nUS\nUY\nUZ\nVA\nVC\nVE\nVG\nVI\nVN\nVU\nWF\nWS\nYD\nYE\nYT\nYU\nZA\nZM\nZR\nZW"
              } ]
            } ]
          }, {
            "name" : "operator",
            "type" : [ "null", {
              "type" : "record",
              "name" : "Operator",
              "fields" : [ {
                "name" : "name",
                "type" : {
                  "type" : "string",
                  "example" : "ACME SA",
                  "maxLength" : 70
                },
                "doc" : "The name of lessee of the ship if operating under a lease."
              } ]
            } ]
          }, {
            "name" : "owner",
            "type" : [ "null", {
              "type" : "record",
              "name" : "Owner",
              "fields" : [ {
                "name" : "name",
                "type" : [ "null", {
                  "type" : "string",
                  "example" : "Combine Honnete Ober Advancer Mercantiles (CHOAM)",
                  "maxLength" : 70
                } ],
                "doc" : "The name of the ship's registered owner."
              }, {
                "name" : "registeredId",
                "type" : [ "null", {
                  "type" : "string",
                  "example" : "1123456",
                  "maxLength" : 7,
                  "pattern" : "[0-9]{7}"
                } ],
                "doc" : "The IMO company number of the ship's registered owner."
              }, {
                "name" : "postalAddress",
                "type" : [ "null", {
                  "type" : "record",
                  "name" : "PostalAddress",
                  "fields" : [ {
                    "name" : "postcode",
                    "type" : [ "null", {
                      "type" : "string",
                      "example" : "73100",
                      "maxLength" : 17
                    } ],
                    "doc" : "The postal code of the ship's registered owner address."
                  }, {
                    "name" : "lineOne",
                    "type" : [ "null", {
                      "type" : "string",
                      "example" : "3rd Ave. 23",
                      "maxLength" : 99
                    } ],
                    "doc" : "The street name and number of the ship's registered owner address."
                  }, {
                    "name" : "cityName",
                    "type" : [ "null", {
                      "type" : "string",
                      "example" : "Kaitain",
                      "maxLength" : 99
                    } ],
                    "doc" : "The city name of the ship's registered owner address."
                  }, {
                    "name" : "countryCode",
                    "type" : [ "null", {
                      "type" : "string",
                      "example" : "GR",
                      "pattern" : "^[a-zA-Z]{2}$"
                    } ],
                    "doc" : "The code representing the nationality (ISO 3166-1 alpha-2 code) of the ship shown on the ship's documents (e.g. IMO certificates)"
                  } ]
                } ]
              }, {
                "name" : "applicableMembership",
                "type" : [ "null", {
                  "type" : "record",
                  "name" : "ApplicableMembership",
                  "fields" : [ {
                    "name" : "applicableMembershipLegalOrganisation",
                    "type" : {
                      "type" : "record",
                      "name" : "ApplicableMembershipLegalOrganisation",
                      "fields" : [ {
                        "name" : "name",
                        "type" : {
                          "type" : "string",
                          "example" : "CHOAM P&I",
                          "maxLength" : 70
                        },
                        "doc" : "The name of the Protection and Indemnity (P&I) insurance club."
                      } ]
                    }
                  } ]
                } ]
              } ]
            } ]
          }, {
            "name" : "registrationEvent",
            "type" : [ "null", {
              "type" : "record",
              "name" : "RegistrationEvent",
              "fields" : [ {
                "name" : "id",
                "type" : [ "null", {
                  "type" : "string",
                  "example" : "TX7394",
                  "maxLength" : 35
                } ],
                "doc" : "The unique alphanumeric identifier assigned to the Certificate of Registry by the issuing nation for tracking purposes."
              }, {
                "name" : "actualOccurrenceDate",
                "type" : [ "null", {
                  "type" : "int",
                  "logicalType" : "date",
                  "example" : 19925
                } ],
                "doc" : "The date of issue shown on the Certificate of Registry. In days since the UNIX epoch."
              }, {
                "name" : "occurrenceLocation",
                "type" : [ "null", {
                  "type" : "record",
                  "name" : "OccurrenceLocation",
                  "fields" : [ {
                    "name" : "id",
                    "type" : [ "null", {
                      "type" : "string",
                      "example" : "GRPIR",
                      "minLength" : 5,
                      "maxLength" : 5
                    } ],
                    "doc" : "A code representing the port of registry shown on the ship's documents (e.g. IMO certificates)"
                  }, {
                    "name" : "name",
                    "type" : [ "null", {
                      "type" : "string",
                      "example" : "PIRAEUS PORT GREECE",
                      "maxLength" : 256
                    } ],
                    "doc" : "The name and country for the Port of Registry shown on the ship's documents (e.g. IMO certificates)"
                  } ]
                } ]
              }, {
                "name" : "certifyingParty",
                "type" : [ "null", {
                  "type" : "record",
                  "name" : "CertifyingParty",
                  "fields" : [ {
                    "name" : "id",
                    "type" : {
                      "type" : "string",
                      "example" : "GB02",
                      "maxLength" : 4
                    },
                    "doc" : "The Flag's register code where the ship is registered. Possible values:\n<br/>DK01\t(Denmark)\n<br/>DK02\t(Denmark (DIS))\n<br/>ES01\t(Spain)\n<br/>ES02\t(Spain (Rebeca))\n<br/>FR01\t(France)\n<br/>FR02\t(French Antarctic Territory)\n<br/>FR03\t(France (RIF))\n<br/>GB01\t(United Kingdom)\n<br/>GB02\t(Isle of Man)\n<br/>GB03\t(Channel Islands)\n<br/>GB04\t(Gibraltar)\n<br/>IT01\t(Italy — first register)\n<br/>IT02\t(Italy — international register)\n<br/>NO01\t(Norway)\n<br/>NO02\t(Norway (NIS))\n<br/>PT01\t(Portugal)\n<br/>PT02\t(Portugal (MAR))\n<br/>US01\t(United States of America)\n<br/>US02\t(Puerto Rico)"
                  } ]
                } ]
              } ]
            } ]
          }, {
            "name" : "specifiedSatelliteIdentification",
            "type" : {
              "type" : "array",
              "items" : {
                "type" : "record",
                "name" : "SpecifiedSatelliteIdentification",
                "fields" : [ {
                  "name" : "id",
                  "type" : [ "null", {
                    "type" : "string",
                    "example" : "424404310",
                    "maxLength" : 14
                  } ],
                  "doc" : "The unique recognized mobile satellite service call number assigned to the ship by the operator and recorded in the operator's ship directory where provided."
                }, {
                  "name" : "providerCode",
                  "type" : [ "null", {
                    "type" : "int",
                    "example" : 1,
                    "minimum" : 1,
                    "maximum" : 2
                  } ],
                  "doc" : "The ships recognized mobile satellite service provider. Possible values:\n<br/>1\t(INMARSAT PLC)\n<br/>2\t(IRIDIUM SATELLITE LLC)"
                } ]
              }
            }
          }, {
            "name" : "shipCompanyParty",
            "type" : [ "null", {
              "type" : "record",
              "name" : "ShipCompanyParty",
              "fields" : [ {
                "name" : "id",
                "type" : [ "null", {
                  "type" : "string",
                  "example" : "4567897",
                  "maxLength" : 7,
                  "pattern" : "[0-9]{7}"
                } ],
                "doc" : "The unique company identification number shown in the Continuous Synopsis Record (CSR)."
              }, {
                "name" : "name",
                "type" : [ "null", {
                  "type" : "string",
                  "example" : "Atlantic Transports",
                  "maxLength" : 70
                } ],
                "doc" : "The name of the Company shown in the Continuous Synopsis Record (CSR)."
              }, {
                "name" : "registeredId",
                "type" : [ "null", {
                  "type" : "string",
                  "example" : "FE83475948J",
                  "maxLength" : 11
                } ],
                "doc" : "The ship operator organization number within the NOx fund registry."
              }, {
                "name" : "shipCompanySMDGCode",
                "type" : [ "null", {
                  "type" : "string",
                  "example" : "ZIM",
                  "maxLength" : 3,
                  "minLength" : 3
                } ],
                "doc" : "The ship's company identification code according to the SMDG Liner code list."
              }, {
                "name" : "taxId",
                "type" : [ "null", {
                  "type" : "string",
                  "example" : "436FDS5342",
                  "maxLength" : 10
                } ],
                "doc" : "The NOx Fund affiliation number of the ship company."
              }, {
                "name" : "postalAddress",
                "type" : [ "null", "PostalAddress" ]
              }, {
                "name" : "telephone",
                "type" : {
                  "type" : "array",
                  "items" : {
                    "type" : "record",
                    "name" : "Telephone",
                    "fields" : [ {
                      "name" : "completeNumber",
                      "type" : {
                        "type" : "string",
                        "example" : "302100000000",
                        "maxLength" : 35
                      },
                      "doc" : "The phone number of the ship IMO Company."
                    } ]
                  }
                }
              }, {
                "name" : "emailAddress",
                "type" : {
                  "type" : "array",
                  "items" : {
                    "type" : "record",
                    "name" : "EmailAddress",
                    "fields" : [ {
                      "name" : "uri",
                      "type" : {
                        "type" : "string",
                        "example" : "email@example.com",
                        "maxLength" : 256
                      },
                      "doc" : "The email address of the ship IMO Company."
                    } ]
                  }
                }
              } ]
            } ]
          }, {
            "name" : "chartererParty",
            "type" : [ "null", {
              "type" : "record",
              "name" : "ChartererParty",
              "fields" : [ {
                "name" : "typeCode",
                "type" : [ "null", {
                  "type" : "string",
                  "example" : "BAREBOAT",
                  "maxLength" : 17
                } ],
                "doc" : "A code representing the type of ship's charterer. Possible values:\n<br/>BAREBOAT\n<br/>TIME\n<br/>VOYAGE"
              }, {
                "name" : "name",
                "type" : [ "null", {
                  "type" : "string",
                  "example" : "ACME SA",
                  "maxLength" : 70
                } ],
                "doc" : "The name of the ship's charterer."
              }, {
                "name" : "postalAddress",
                "type" : [ "null", "PostalAddress" ]
              } ]
            } ]
          }, {
            "name" : "vesselCharacteristic",
            "type" : [ "null", {
              "type" : "record",
              "name" : "VesselCharacteristic",
              "fields" : [ {
                "name" : "tankerHullConfigurationCode",
                "type" : [ "null", {
                  "type" : "string",
                  "example" : "SHT",
                  "maxLength" : 17
                } ],
                "doc" : "Tanker Hull Configuration Code. Possible values:\n<br/>DHT\t    (Double hull tanker)\n<br/>SHT\t    (Single hull tanker)\n<br/>SHT-SBT\t(Single hull tanker with segregated ballast tanks)"
              }, {
                "name" : "forwardToManifoldFullyLoadedParallelMeasure",
                "type" : [ "null", {
                  "type" : "bytes",
                  "logicalType" : "decimal",
                  "precision" : 5,
                  "scale" : 2,
                  "example" : 21.12,
                  "minimum" : 0.01,
                  "maximum" : 999.99,
                  "multipleOf" : 0.01
                } ],
                "doc" : "A measure of the ship's length, for which midship section is constant in area and shape, from bow to centre manifold, when the ship is fully loaded, in meters."
              }, {
                "name" : "forwardToManifoldInBallastParallelMeasure",
                "type" : [ "null", {
                  "type" : "bytes",
                  "logicalType" : "decimal",
                  "precision" : 5,
                  "scale" : 2,
                  "example" : 21.12,
                  "minimum" : 0.01,
                  "maximum" : 999.99,
                  "multipleOf" : 0.01
                } ],
                "doc" : "A measure of the ship's length, for which midship section is constant in area and shape, from bow to centre manifold, when the ship is on ballast, in meters."
              }, {
                "name" : "aftToManifoldLoadedParallelMeasure",
                "type" : [ "null", {
                  "type" : "bytes",
                  "logicalType" : "decimal",
                  "precision" : 5,
                  "scale" : 2,
                  "example" : 21.12,
                  "minimum" : 0.01,
                  "maximum" : 999.99,
                  "multipleOf" : 0.01
                } ],
                "doc" : "A measure of the ship's length, for which midship section is constant in area and shape, from stern to centre manifold, when the ship is fully loaded, in meters."
              }, {
                "name" : "aftToManifoldInBallastParallelMeasure",
                "type" : [ "null", {
                  "type" : "bytes",
                  "logicalType" : "decimal",
                  "precision" : 5,
                  "scale" : 2,
                  "example" : 21.12,
                  "minimum" : 0.01,
                  "maximum" : 999.99,
                  "multipleOf" : 0.01
                } ],
                "doc" : "A measure of the ship's length, for which midship section is constant in area and shape, from stern to centre manifold, when the ship is on ballast, in meters."
              }, {
                "name" : "bodyLengthParallelMeasure",
                "type" : [ "null", {
                  "type" : "bytes",
                  "logicalType" : "decimal",
                  "precision" : 5,
                  "scale" : 2,
                  "example" : 24.12,
                  "minimum" : 0.01,
                  "maximum" : 999.99,
                  "multipleOf" : 0.01
                } ],
                "doc" : "A measure of the ship's length for which midship section is constant in area and shape, in meters."
              }, {
                "name" : "bowToBridgeMeasure",
                "type" : [ "null", {
                  "type" : "bytes",
                  "logicalType" : "decimal",
                  "precision" : 5,
                  "scale" : 2,
                  "example" : 5.25,
                  "minimum" : 0.01,
                  "maximum" : 999.99,
                  "multipleOf" : 0.01
                } ],
                "doc" : "A measure of the distance between bow and bridge, in meters."
              }, {
                "name" : "sternToBridgeMeasure",
                "type" : [ "null", {
                  "type" : "bytes",
                  "logicalType" : "decimal",
                  "precision" : 5,
                  "scale" : 2,
                  "example" : 15.25,
                  "minimum" : 0.01,
                  "maximum" : 999.99,
                  "multipleOf" : 0.01
                } ],
                "doc" : "A measure of the distance between stern and bridge, in meters."
              }, {
                "name" : "rudderSurfaceAreaMeasure",
                "type" : [ "null", {
                  "type" : "bytes",
                  "logicalType" : "decimal",
                  "precision" : 5,
                  "scale" : 2,
                  "example" : 7.84,
                  "minimum" : 0.01,
                  "maximum" : 999.99,
                  "multipleOf" : 0.01
                } ],
                "doc" : "A measure of the rudder surface in square meters."
              }, {
                "name" : "windageSurfaceAreaMeasure",
                "type" : [ "null", {
                  "type" : "bytes",
                  "logicalType" : "decimal",
                  "precision" : 7,
                  "scale" : 2,
                  "example" : 15.15,
                  "minimum" : 0.01,
                  "maximum" : 99999.99,
                  "multipleOf" : 0.01
                } ],
                "doc" : "A measure of the surface on which wind force can apply and cause drifting in square meters."
              }, {
                "name" : "summerDeadweightTonnage",
                "type" : [ "null", {
                  "type" : "bytes",
                  "logicalType" : "decimal",
                  "precision" : 16,
                  "scale" : 6,
                  "example" : 1200,
                  "minimum" : 1.0E-6,
                  "maximum" : 9.999999999999998E9,
                  "multipleOf" : 1.0E-6
                } ],
                "doc" : "A measure of the summer deadweight in metric tons."
              }, {
                "name" : "maximumTEUCapacityQuantity",
                "type" : [ "null", {
                  "type" : "int",
                  "example" : 6000,
                  "minimum" : 1,
                  "maximum" : 99999
                } ],
                "doc" : "The maximum capacity of the vessel counted in Twenty Foot Equivalent Units (TEUs)."
              }, {
                "name" : "mastHeightMeasure",
                "type" : [ "null", {
                  "type" : "bytes",
                  "logicalType" : "decimal",
                  "precision" : 5,
                  "scale" : 2,
                  "example" : 64.25,
                  "minimum" : 0.01,
                  "maximum" : 999.99,
                  "multipleOf" : 0.01
                } ],
                "doc" : "A measure of the height from the lowest point of the keel to the highest fixed point on the vessel, in meters."
              }, {
                "name" : "depthMeasure",
                "type" : [ "null", {
                  "type" : "bytes",
                  "logicalType" : "decimal",
                  "precision" : 4,
                  "scale" : 2,
                  "example" : 24.25,
                  "minimum" : 0.01,
                  "maximum" : 99.99,
                  "multipleOf" : 0.01
                } ],
                "doc" : "A measure of the depth which is the vertical distance measured from the top of the keel to the underside of the upper deck at side, in meters."
              }, {
                "name" : "displacementMeasure",
                "type" : [ "null", {
                  "type" : "bytes",
                  "logicalType" : "decimal",
                  "precision" : 7,
                  "scale" : 1,
                  "example" : 4800,
                  "minimum" : 0.1,
                  "maximum" : 999999.9,
                  "multipleOf" : 0.1
                } ],
                "doc" : "A measure of the displacement of the ship when fully loaded including cargo, passengers, fuel, stores, etc. in metric tons."
              }, {
                "name" : "keelToMastLengthMeasure",
                "type" : [ "null", {
                  "type" : "bytes",
                  "logicalType" : "decimal",
                  "precision" : 5,
                  "scale" : 2,
                  "example" : 14.25,
                  "minimum" : 0.01,
                  "maximum" : 999.99,
                  "multipleOf" : 0.01
                } ],
                "doc" : "A measure of the height from the lowest point of the keel to the highest fixed point on the vessel, in meters."
              }, {
                "name" : "segregatedBallastTankQuantity",
                "type" : [ "null", {
                  "type" : "int",
                  "example" : 12,
                  "minimum" : 0,
                  "maximum" : 99
                } ],
                "doc" : "The total number of segregated ballast tanks."
              }, {
                "name" : "tankQuantity",
                "type" : [ "null", {
                  "type" : "int",
                  "example" : 32,
                  "minimum" : 0,
                  "maximum" : 99
                } ],
                "doc" : "The number of tanks."
              }, {
                "name" : "largestTankVolumeMeasure",
                "type" : [ "null", {
                  "type" : "bytes",
                  "logicalType" : "decimal",
                  "precision" : 16,
                  "scale" : 6,
                  "example" : 12541.24,
                  "minimum" : 1.0E-6,
                  "maximum" : 9.999999999999998E9,
                  "multipleOf" : 1.0E-6
                } ],
                "doc" : "A measure of the capacity of largest cargo tank in cubic meters."
              }, {
                "name" : "winchQuantity",
                "type" : [ "null", {
                  "type" : "int",
                  "example" : 10,
                  "minimum" : 1,
                  "maximum" : 99
                } ],
                "doc" : "The number of mooring winches."
              }, {
                "name" : "inertGasSystemIndicator",
                "type" : [ "null", {
                  "type" : "boolean",
                  "example" : true
                } ],
                "doc" : "A yes/no indicator whether the ship is fitted with an inert gas system."
              }, {
                "name" : "bulbousBowIndicator",
                "type" : [ "null", {
                  "type" : "boolean",
                  "example" : true
                } ],
                "doc" : "A yes/no indicator whether if the ship has a bulbous bow."
              }, {
                "name" : "cargoHandlingGearsDetails",
                "type" : [ "null", {
                  "type" : "string",
                  "example" : "25 tons hydraulic crane",
                  "maxLength" : 512
                } ]
              }, {
                "name" : "onboardShorePowerConnectionIndicator",
                "type" : [ "null", {
                  "type" : "boolean",
                  "example" : true
                } ],
                "doc" : "A yes/no indicator whether the shore power connection on board the ship is available."
              }, {
                "name" : "thrusterIndicator",
                "type" : [ "null", {
                  "type" : "boolean",
                  "example" : true
                } ],
                "doc" : "A yes/no indicator whether the ship is equipped with thrusters."
              }, {
                "name" : "mainEngineQuantity",
                "type" : [ "null", {
                  "type" : "int",
                  "example" : 1,
                  "minimum" : 1,
                  "maximum" : 9
                } ],
                "doc" : "The number of main engines."
              }, {
                "name" : "auxiliaryEngineQuantity",
                "type" : [ "null", {
                  "type" : "int",
                  "example" : 1,
                  "minimum" : 1,
                  "maximum" : 99
                } ],
                "doc" : "The number of auxiliary engines."
              }, {
                "name" : "propellerQuantity",
                "type" : [ "null", {
                  "type" : "int",
                  "example" : 2,
                  "minimum" : 1,
                  "maximum" : 99
                } ],
                "doc" : "The number of propellers."
              }, {
                "name" : "bowThrusterQuantity",
                "type" : [ "null", {
                  "type" : "int",
                  "example" : 2,
                  "minimum" : 1,
                  "maximum" : 99
                } ],
                "doc" : "The number of bow thrusters."
              }, {
                "name" : "sternThrusterQuantity",
                "type" : [ "null", {
                  "type" : "int",
                  "example" : 2,
                  "minimum" : 1,
                  "maximum" : 99
                } ],
                "doc" : "The number of stern thrusters."
              }, {
                "name" : "rudderQuantity",
                "type" : [ "null", {
                  "type" : "int",
                  "example" : 2,
                  "minimum" : 1,
                  "maximum" : 99
                } ],
                "doc" : "The number of rudders."
              }, {
                "name" : "constructionBuilding",
                "type" : [ "null", {
                  "type" : "record",
                  "name" : "ConstructionBuilding",
                  "fields" : [ {
                    "name" : "constructionDate",
                    "type" : [ "null", {
                      "type" : "int",
                      "logicalType" : "date",
                      "example" : 19925
                    } ],
                    "doc" : "The date of the building of the vessel. In days since the UNIX epoch."
                  }, {
                    "name" : "description",
                    "type" : [ "null", {
                      "type" : "string",
                      "example" : " Movable decks on 40mm rails",
                      "maxLength" : 99
                    } ],
                    "doc" : "The description of the special construction characteristics of a ship."
                  }, {
                    "name" : "contractDate",
                    "type" : [ "null", {
                      "type" : "int",
                      "logicalType" : "date",
                      "example" : 19925
                    } ],
                    "doc" : "The date of the building contract for the ship. In days since the UNIX epoch."
                  }, {
                    "name" : "keelLayingDate",
                    "type" : [ "null", {
                      "type" : "int",
                      "logicalType" : "date",
                      "example" : 19925
                    } ],
                    "doc" : "The keel laying date of the ship. In days since the UNIX epoch."
                  } ]
                } ]
              }, {
                "name" : "specifiedMooringWinch",
                "type" : {
                  "type" : "array",
                  "items" : {
                    "type" : "record",
                    "name" : "SpecifiedMooringWinch",
                    "fields" : [ {
                      "name" : "locationCode",
                      "type" : [ "null", {
                        "type" : "string",
                        "example" : "MIDSHIP",
                        "maxLength" : 17
                      } ],
                      "doc" : "A code representing the position of the mooring winches. Possible values:\n<br/>BOW\n<br/>MIDSHIP\n<br/>OTHER\n<br/>PORT\n<br/>STARBOARD\n<br/>STERN"
                    }, {
                      "name" : "descriptionText",
                      "type" : [ "null", {
                        "type" : "string",
                        "example" : "Automatic tensioning",
                        "maxLength" : 20
                      } ],
                      "doc" : "The description of the type of winches. Winches can be categorised by their control type (automatic or manual tensioning), drive type (steam, hydraulic or electric), by the number of drums associated with each drive, by the type of drums (split, undivided) and by their brake type and brake application (band, disc, mechanical screw, spring applied)."
                    }, {
                      "name" : "weightMeasure",
                      "type" : [ "null", {
                        "type" : "bytes",
                        "logicalType" : "decimal",
                        "precision" : 10,
                        "scale" : 1,
                        "example" : 12.1,
                        "minimum" : 0.1,
                        "maximum" : 9.999999999E8,
                        "multipleOf" : 0.1
                      } ],
                      "doc" : "A measure of the how much weight the mooring winches can support in metric tons, as defined by the Safe Working Load rating."
                    } ]
                  }
                }
              }, {
                "name" : "onboardPropeller",
                "type" : {
                  "type" : "array",
                  "items" : {
                    "type" : "record",
                    "name" : "OnboardPropeller",
                    "fields" : [ {
                      "name" : "typeCode",
                      "type" : [ "null", {
                        "type" : "int",
                        "example" : 3,
                        "minimum" : 1,
                        "maximum" : 9
                      } ],
                      "doc" : "A code representing the type of propeller. Possible values:\n<br/>1\t(Fixed)\n<br/>2\t(Fixed twin)\n<br/>3\t(Controllable Pitch Propeller - rotating right)\n<br/>4\t(Controllable Pitch Propeller - rotating left)\n<br/>5\t(Controllable Pitch Propeller - twin inward)\n<br/>6\t(Controllable Pitch Propeller - twin outward)\n<br/>7\t(Azipod)\n<br/>8\t(Azimuth Stern Drive (ASD))\n<br/>9\t(Voith Schneider (VSP))"
                    }, {
                      "name" : "locationCode",
                      "type" : [ "null", {
                        "type" : "string",
                        "example" : "STARBOARD",
                        "maxLength" : 17
                      } ],
                      "doc" : "A code representing the location of the propellers. Possible values:\n<br/>BOW\n<br/>MIDSHIP\n<br/>OTHER\n<br/>PORT\n<br/>STARBOARD\n<br/>STERN"
                    }, {
                      "name" : "powerMeasure",
                      "type" : [ "null", {
                        "type" : "bytes",
                        "logicalType" : "decimal",
                        "precision" : 16,
                        "scale" : 6,
                        "example" : 12000.2,
                        "minimum" : 1.0E-6,
                        "maximum" : 9.999999999999998E9,
                        "multipleOf" : 1.0E-6
                      } ],
                      "doc" : "A measure of the power of propellers in horsepower."
                    }, {
                      "name" : "variablePitchIndicator",
                      "type" : [ "null", {
                        "type" : "boolean",
                        "example" : true
                      } ],
                      "doc" : "A yes/no indicator whether the ship is equipped with a variable pitch propeller."
                    }, {
                      "name" : "pitchRotationCode",
                      "type" : [ "null", {
                        "type" : "string",
                        "example" : "RIGHT",
                        "maxLength" : 5
                      } ],
                      "doc" : "A code indicating whether the propeller is right-handed (it rotates clockwise in forward gear when viewed from the stern) or left-handed. Possible values:\n<br/>LEFT\n<br/>RIGHT"
                    }, {
                      "name" : "driveTypeCode",
                      "type" : [ "null", {
                        "type" : "string",
                        "example" : "DRV-02",
                        "maxLength" : 20
                      } ],
                      "doc" : "A code representing the type of drive type (both with regard to the fuel used and with focus on the fitted propulsion technology). Possible values:\n<br/>DRV-01\t(Controllable pitch propeller)\n<br/>DRV-02\t(Fixed pitch propeller)\n<br/>DRV-03\t(Others)\n<br/>DRV-04\t(Schottel propulsion)"
                    } ]
                  }
                }
              }, {
                "name" : "onboardThruster",
                "type" : {
                  "type" : "array",
                  "items" : {
                    "type" : "record",
                    "name" : "OnboardThruster",
                    "fields" : [ {
                      "name" : "bowPowerMeasure",
                      "type" : [ "null", {
                        "type" : "bytes",
                        "logicalType" : "decimal",
                        "precision" : 16,
                        "scale" : 6,
                        "example" : 3730,
                        "minimum" : 1.0E-6,
                        "maximum" : 9.999999999999998E9,
                        "multipleOf" : 1.0E-6
                      } ],
                      "doc" : "A measure of the power of the bow thruster in kW."
                    }, {
                      "name" : "sternPowerMeasure",
                      "type" : [ "null", {
                        "type" : "bytes",
                        "logicalType" : "decimal",
                        "precision" : 16,
                        "scale" : 6,
                        "example" : 3730,
                        "minimum" : 1.0E-6,
                        "maximum" : 9.999999999999998E9,
                        "multipleOf" : 1.0E-6
                      } ],
                      "doc" : "A measure of the power of the stern thruster in kW."
                    } ]
                  }
                }
              }, {
                "name" : "onboardTank",
                "type" : [ "null", {
                  "type" : "record",
                  "name" : "OnboardTank",
                  "fields" : [ {
                    "name" : "segregatedBallastTotalVolumeMeasure",
                    "type" : [ "null", {
                      "type" : "bytes",
                      "logicalType" : "decimal",
                      "precision" : 16,
                      "scale" : 6,
                      "example" : 4332.15,
                      "minimum" : 0.0,
                      "maximum" : 9.999999999999998E9,
                      "multipleOf" : 1.0E-6
                    } ],
                    "doc" : "A measure of the total volume of the segregated ballast tanks in cubic meters."
                  }, {
                    "name" : "totalCapacityVolumeMeasure",
                    "type" : [ "null", {
                      "type" : "bytes",
                      "logicalType" : "decimal",
                      "precision" : 16,
                      "scale" : 6,
                      "example" : 40332.15,
                      "minimum" : 0.0,
                      "maximum" : 9.999999999999998E9,
                      "multipleOf" : 1.0E-6
                    } ],
                    "doc" : "A measure of the total capacity of all cargo tanks in cubic meters."
                  } ]
                } ]
              }, {
                "name" : "onboardVesselRamp",
                "type" : {
                  "type" : "array",
                  "items" : {
                    "type" : "record",
                    "name" : "OnboardVesselRamp",
                    "fields" : [ {
                      "name" : "widthMeasure",
                      "type" : [ "null", {
                        "type" : "bytes",
                        "logicalType" : "decimal",
                        "precision" : 4,
                        "scale" : 2,
                        "example" : 5.2,
                        "minimum" : 0.01,
                        "maximum" : 99.99,
                        "multipleOf" : 0.01
                      } ],
                      "doc" : "A measure of the total width of each ramp, in meters."
                    }, {
                      "name" : "locationCode",
                      "type" : [ "null", {
                        "type" : "string",
                        "example" : "PORT",
                        "maxLength" : 17
                      } ],
                      "doc" : "The location of the ramp. Possible values:\n<br/>BOW\n<br/>MIDSHIP\n<br/>OTHER\n<br/>PORT\n<br/>STARBOARD\n<br/>STERN"
                    }, {
                      "name" : "extentMeasure",
                      "type" : [ "null", {
                        "type" : "bytes",
                        "logicalType" : "decimal",
                        "precision" : 4,
                        "scale" : 2,
                        "example" : 8.5,
                        "minimum" : 0,
                        "maximum" : 99.99,
                        "multipleOf" : 0.01
                      } ],
                      "doc" : "The total length of the ramp, in meters"
                    } ]
                  }
                }
              }, {
                "name" : "applicableMarineGreenCredential",
                "type" : [ "null", {
                  "type" : "record",
                  "name" : "ApplicableMarineGreenCredential",
                  "fields" : [ {
                    "name" : "sewageSystemTreatmentText",
                    "type" : [ "null", {
                      "type" : "string",
                      "example" : "Sludge water treatment",
                      "maxLength" : 256
                    } ],
                    "doc" : "The type of sewage treatment system fitted."
                  }, {
                    "name" : "exhaustGasCleaningSystemIndicator",
                    "type" : [ "null", {
                      "type" : "boolean",
                      "example" : true
                    } ],
                    "doc" : "A yes/no indicator whether the ship is equipped with an exhaust gas cleaning system."
                  }, {
                    "name" : "scrubberSystemIndicator",
                    "type" : [ "null", {
                      "type" : "boolean",
                      "example" : true
                    } ],
                    "doc" : "A yes/no indicator whether the ship has a scrubber system installed."
                  }, {
                    "name" : "scrubberSystemTypeCode",
                    "type" : [ "null", {
                      "type" : "string",
                      "example" : "SCR-03",
                      "maxLength" : 11
                    } ],
                    "doc" : "A code representing the type of installed scrubber system. Possible values:\n<br/>SCR-01\t(Dry)\n<br/>SCR-02\t(Wet)\n<br/>SCR-03\t(Wet closed loop)\n<br/>SCR-04\t(Wet hybrid)\n<br/>SCR-05\t(Wet open loop)"
                  }, {
                    "name" : "IGFRegulatoryRequirementIndicator",
                    "type" : [ "null", {
                      "type" : "boolean",
                      "example" : true
                    } ],
                    "doc" : "A yes/no indicator whether the ship is subject to the IGF code (International Code of Safety for Ship Using Gases or Other Low-flashpoint Fuels)."
                  }, {
                    "name" : "NOxReductionSystemDescriptionText",
                    "type" : [ "null", {
                      "type" : "string",
                      "example" : "Selective Catalytic Reduction (SCR)",
                      "maxLength" : 256
                    } ],
                    "doc" : "The type of NOx reduction system fitted."
                  }, {
                    "name" : "wasteIncineratorIndicator",
                    "type" : [ "null", {
                      "type" : "boolean",
                      "example" : true
                    } ],
                    "doc" : "A yes/no indicator whether the ship has a waste incinerator onboard."
                  }, {
                    "name" : "wasteIncineratorDescriptionText",
                    "type" : [ "null", {
                      "type" : "string",
                      "example" : "Vertical cyclone incinerator of 20 cubic meters capacity",
                      "maxLength" : 200
                    } ],
                    "doc" : "The description of the type of waste incinerator. Considering ship's wastes, this information is related to the amount of ashes to be deposited and is also taken into account if necessary to determine the sufficient remaining storage capacity to reach next port."
                  } ]
                } ]
              } ]
            } ]
          }, {
            "name" : "onboardMainEngine",
            "type" : {
              "type" : "array",
              "items" : {
                "type" : "record",
                "name" : "OnboardMainEngine",
                "fields" : [ {
                  "name" : "typeCode",
                  "type" : [ "null", {
                    "type" : "string",
                    "example" : "ENG-03",
                    "maxLength" : 20
                  } ],
                  "doc" : "A code representing the type of main engine. Possible values:\n<br/>ENG-01\t(2-Stroke-Engine)\n<br/>ENG-02\t(4-Stroke-Engine)\n<br/>ENG-03\t(Dual fuel engine)\n<br/>ENG-04\t(Gas Engine)"
                }, {
                  "name" : "powerMeasure",
                  "type" : [ "null", {
                    "type" : "bytes",
                    "logicalType" : "decimal",
                    "precision" : 16,
                    "scale" : 6,
                    "example" : 84420,
                    "minimum" : 1.0E-6,
                    "maximum" : 9.999999999999998E9,
                    "multipleOf" : 1.0E-6
                  } ],
                  "doc" : "A measure of the Main engine power in kW."
                }, {
                  "name" : "exhaustEmisssionClassCode",
                  "type" : [ "null", {
                    "type" : "int",
                    "example" : 2,
                    "minimum" : 0,
                    "maximum" : 9
                  } ],
                  "doc" : "A code representing the main engine(s) exhaust emission classes from inland navigation (CCNR/NRMM). Possible values:\n<br/>0 (No restriction (year before 2003))\n<br/>1 (CCNR 1)\n<br/>2 (CCNR 2)\n<br/>3 (NRMM IIIa)\n<br/>4 (Reservation for better than NRMM 5 (e.g. Elektra / hydrogen drives etc.))\n<br/>5 (Elektra / hydrogen drives etc)"
                }, {
                  "name" : "latestTestDate",
                  "type" : [ "null", {
                    "type" : "int",
                    "logicalType" : "date",
                    "example" : 19925
                  } ],
                  "doc" : "The last date when the main engine test was performed. In days since the UNIX epoch."
                }, {
                  "name" : "fullCargoSpeedMeasure",
                  "type" : [ "null", {
                    "type" : "bytes",
                    "logicalType" : "decimal",
                    "precision" : 4,
                    "scale" : 2,
                    "example" : 17.4,
                    "minimum" : 0.01,
                    "maximum" : 99.99,
                    "multipleOf" : 0.01
                  } ],
                  "doc" : "A measure of the maximum speed when using the main engine and with full cargo in knots."
                }, {
                  "name" : "inBallastSpeedMeasure",
                  "type" : [ "null", {
                    "type" : "bytes",
                    "logicalType" : "decimal",
                    "precision" : 4,
                    "scale" : 2,
                    "example" : 11.9,
                    "minimum" : 0.01,
                    "maximum" : 99.99,
                    "multipleOf" : 0.01
                  } ],
                  "doc" : "A measure of the maximum speed when using the main engine and with full ballasts in knots."
                }, {
                  "name" : "engineTierTypeCode",
                  "type" : [ "null", {
                    "type" : "string",
                    "example" : "II",
                    "maxLength" : 8
                  } ],
                  "doc" : "NOx emission standard according to MARPOL Convention (Annex VI), as found on the International Air Pollution Certificate. Possible values:\n<br/>I     (TIER I)\n<br/>II    (TIER II)\n<br/>III   (TIER III)\n<br/>N.A.  (N/A)"
                }, {
                  "name" : "engineIGFIndicator",
                  "type" : [ "null", {
                    "type" : "boolean",
                    "example" : true
                  } ],
                  "doc" : "A yes/no indicator whether an engine is operating under the IGF code (International Code of Safety for Ship Using Gases or Other Low-flashpoint Fuels)."
                }, {
                  "name" : "sequenceNumber",
                  "type" : [ "null", {
                    "type" : "int",
                    "example" : 3,
                    "minimum" : 1,
                    "maximum" : 99999
                  } ],
                  "doc" : "A sequence number given to an element in a list"
                }, {
                  "name" : "manufacturerParty",
                  "type" : [ "null", {
                    "type" : "record",
                    "name" : "ManufacturerParty",
                    "fields" : [ {
                      "name" : "name",
                      "type" : {
                        "type" : "string",
                        "example" : "MAN",
                        "maxLength" : 70
                      },
                      "doc" : "The name of the manufacturer of the ship main engine(s)."
                    } ]
                  } ]
                } ]
              }
            }
          }, {
            "name" : "onboardAuxiliaryEngine",
            "type" : {
              "type" : "array",
              "items" : {
                "type" : "record",
                "name" : "OnboardAuxiliaryEngine",
                "fields" : [ {
                  "name" : "sequenceNumber",
                  "type" : [ "null", {
                    "type" : "int",
                    "example" : 3,
                    "minimum" : 1,
                    "maximum" : 99999
                  } ],
                  "doc" : "A sequence number given to an element in a list"
                }, {
                  "name" : "powerMeasure",
                  "type" : [ "null", {
                    "type" : "bytes",
                    "logicalType" : "decimal",
                    "precision" : 16,
                    "scale" : 6,
                    "example" : 1000,
                    "minimum" : 1.0E-6,
                    "maximum" : 9.999999999999998E9,
                    "multipleOf" : 1.0E-6
                  } ],
                  "doc" : "The auxiliary engine's power in kilowatt."
                }, {
                  "name" : "engineTierTypeCode",
                  "type" : [ "null", {
                    "type" : "string",
                    "example" : "II",
                    "maxLength" : 8
                  } ],
                  "doc" : "NOx emission standard according to MARPOL Convention (Annex VI), as found on the International Air Pollution Certificate. Possible values:\n<br/>I     (TIER I)\n<br/>II    (TIER II)\n<br/>III   (TIER III)\n<br/>N.A.  (N/A)"
                }, {
                  "name" : "engineIGFIndicator",
                  "type" : [ "null", {
                    "type" : "boolean",
                    "example" : true
                  } ],
                  "doc" : "A yes/no indicator whether an engine is operating under the IGF code (International Code of Safety for Ship Using Gases or Other Low-flashpoint Fuels)."
                } ]
              }
            }
          }, {
            "name" : "commercialManagerParty",
            "type" : [ "null", {
              "type" : "record",
              "name" : "CommercialManagerParty",
              "fields" : [ {
                "name" : "name",
                "type" : [ "null", {
                  "type" : "string",
                  "example" : "Jane Doe",
                  "maxLength" : 70
                } ],
                "doc" : "The name of the ship's commercial manager."
              }, {
                "name" : "postalAddress",
                "type" : [ "null", "PostalAddress" ]
              } ]
            } ]
          }, {
            "name" : "technicalManagerParty",
            "type" : [ "null", {
              "type" : "record",
              "name" : "TechnicalManagerParty",
              "fields" : [ {
                "name" : "name",
                "type" : [ "null", {
                  "type" : "string",
                  "example" : "John Doe",
                  "maxLength" : 70
                } ],
                "doc" : "The name of the ship's technical manager."
              }, {
                "name" : "postalAddress",
                "type" : [ "null", "PostalAddress" ]
              } ]
            } ]
          } ]
        }
      } ]
    } ],
    "doc" : "Data of the ship"
  }, {
    "name" : "activeExemptions",
    "type" : [ "null", {
      "type" : "array",
      "items" : {
        "type" : "record",
        "name" : "ActiveExemptions",
        "fields" : [ {
          "name" : "exemptionId",
          "type" : {
            "type" : "string",
            "example" : "GR345349304FG234",
            "maxLength" : 36
          },
          "doc" : "This the identifier of an exemption granted by a Member State to a ship. The value of ExemptionID is defined by the NCA and the NCA guarantees that the value is unique within the MSand that it is preceded by the 2-letter country code."
        }, {
          "name" : "exemptionDetails",
          "type" : {
            "type" : "record",
            "name" : "ExemptionDetails",
            "fields" : [ {
              "name" : "exemptionType",
              "type" : {
                "type" : "string",
                "example" : "Pre-Arrival",
                "maxLength" : 20
              },
              "doc" : "Indicates the type of Exemption granted to a scheduled service."
            }, {
              "name" : "dateFrom",
              "type" : {
                "type" : "int",
                "logicalType" : "date",
                "example" : 19925
              },
              "doc" : "Indicates the start date of validity  of the referenced exemption. In days since the UNIX epoch."
            }, {
              "name" : "dateTo",
              "type" : {
                "type" : "int",
                "logicalType" : "date",
                "example" : 19956
              },
              "doc" : "Indicates the end date of validity  of the referenced exemption. In days since the UNIX epoch."
            }, {
              "name" : "routes",
              "type" : {
                "type" : "array",
                "items" : {
                  "type" : "record",
                  "name" : "Route",
                  "fields" : [ {
                    "name" : "port",
                    "type" : {
                      "type" : "string",
                      "example" : "GRPIR",
                      "minLength" : 5,
                      "maxLength" : 5
                    },
                    "doc" : "Location code of port of the ship's scheduled route"
                  } ]
                },
                "minItems" : 1,
                "maxItems" : 999
              }
            }, {
              "name" : "exemptedWasteTypes",
              "type" : {
                "type" : "array",
                "items" : {
                  "type" : "record",
                  "name" : "ExemptedWasteTypes",
                  "fields" : [ {
                    "name" : "wasteCode",
                    "type" : {
                      "type" : "string",
                      "example" : "506",
                      "maxLength" : 4
                    },
                    "doc" : "Indicates the type of waste"
                  }, {
                    "name" : "wasteDescription",
                    "type" : [ "null", {
                      "type" : "string",
                      "example" : "Operational wastes",
                      "maxLength" : 256
                    } ],
                    "doc" : "Free text description of waste type."
                  } ]
                },
                "maxItems" : 100
              }
            }, {
              "name" : "exemptionAppliesTo",
              "type" : {
                "type" : "array",
                "items" : {
                  "type" : "record",
                  "name" : "ExemptionAppliesTo",
                  "fields" : [ {
                    "name" : "port",
                    "type" : {
                      "type" : "string",
                      "minLength" : 5,
                      "maxLength" : 5,
                      "example" : "NLRTM"
                    },
                    "doc" : "Location code of the exempted port."
                  }, {
                    "name" : "exemptedPortFacilities",
                    "type" : {
                      "type" : "array",
                      "items" : {
                        "type" : "record",
                        "name" : "ExemptedPortFacilities",
                        "fields" : [ {
                          "name" : "portFacilityCode",
                          "type" : {
                            "type" : "string",
                            "maxLength" : 10,
                            "example" : "NLRTM-0406"
                          },
                          "doc" : "A code representing the exempted port facilities (e.g. NLRTM-0406)"
                        } ]
                      },
                      "maxItems" : 100
                    }
                  } ]
                },
                "minItems" : 1,
                "maxItems" : 100
              }
            }, {
              "name" : "authority",
              "type" : {
                "type" : "record",
                "name" : "Authority",
                "fields" : [ {
                  "name" : "country",
                  "type" : {
                    "type" : "string",
                    "pattern" : "^[a-zA-Z]{2}$",
                    "example" : "GR"
                  },
                  "doc" : "A code identifying the country of the Authority granting the exemption. (ISO 3166-1 alpha-2)"
                }, {
                  "name" : "authorityType",
                  "type" : {
                    "type" : "string",
                    "minLength" : 3,
                    "maxLength" : 3,
                    "example" : "POR"
                  },
                  "doc" : "Type of the Authority granting the exemption. Possible values:\nNCA\nPOR\nOTH"
                }, {
                  "name" : "authorityName",
                  "type" : {
                    "type" : "string",
                    "maxLength" : 100,
                    "example" : "Port of Heraklion"
                  },
                  "doc" : "Name of the reporting Authority or Authority granting the exemption."
                } ]
              }
            }, {
              "name" : "contract247",
              "type" : {
                "type" : "record",
                "name" : "Contact247",
                "fields" : [ {
                  "name" : "contactName",
                  "type" : [ "null", {
                    "type" : "string",
                    "maxLength" : 70,
                    "example" : "John Doe"
                  } ],
                  "doc" : "Name of the organisation from which detailed information may be obtained"
                }, {
                  "name" : "loCode",
                  "type" : [ "null", {
                    "type" : "string",
                    "minLength" : 5,
                    "maxLength" : 5,
                    "example" : "GRHER"
                  } ],
                  "doc" : "Location code of the organization. Can be any LOCODE listed in the UN/LOCODE list (i.e. not only LOCODES of ports)."
                }, {
                  "name" : "phoneNumber",
                  "type" : [ "null", {
                    "type" : "string",
                    "maxLength" : 20,
                    "example" : "+302810000000"
                  } ],
                  "doc" : "Phone number (country code included) of the contact person."
                }, {
                  "name" : "email",
                  "type" : [ "null", {
                    "type" : "string",
                    "maxLength" : 70,
                    "example" : "john.doe@example.com"
                  } ],
                  "doc" : "Email address of the contact person"
                } ]
              }
            } ]
          }
        } ]
      }
    } ]
  } ]
}
