-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #44 from PoseiDAT/feature/vessel-registration
Vessel registration entry support
- Loading branch information
Showing
22 changed files
with
8,714 additions
and
13,315 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
v14 | ||
v22 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
{"$schema":"http://json-schema.org/draft-07/schema#","$id":"https://poseidat.org/schema/core/vessel.json","title":"Vessel","description":"The vessel information","properties":{"name":{"type":"string","description":"The display name for the vessel"},"flag_state":{"type":"string","description":"The vessels flag state and country to report ERS messages to. Should be a 3 letter ISO code."},"cfr":{"type":"string","description":"The vessel's Community Fleet Registration number. Fixed format defined by the pattern: \"AAAXXXXXXXXX\" (AAA = Fully capitalised country code of the vessel's first registration within the EU, XXXXXXXXX = 9 character alphanumeric code.). Known as CFR or IR"},"call_sign":{"type":"string","description":"The vessels international radio call sign (RC)"},"hull_number":{"type":"string","description":"The vessel's side (hull) registration number. Also known as XR or PLN. May contain dots or dashes"},"gbr_rss":{"type":"string","description":"GBR ONLY: The vessel's unique identity number as recorded by the UK Registrar of Seamen and Shipping"},"iccat":{"type":"string","description":"International Commission for the Conservation of Atlantic Tuna identifier"},"gfcm":{"type":"string","description":"Global Fisheries Council of the Mediterranean identifier"},"uvi":{"type":"string","description":"Unique Vessel Identifier (IMO number). A number issued by the tuna RFMOs or by ISSF."},"imo_code":{"type":"string","description":"The unique identification of a vessel according to Lloyds register"},"net_tonnage":{"type":"number","description":"The net loading capacity of the vessel, expressed in tons"},"gross_tonnage":{"type":"number","description":"The gross loading capacity of the vessel, expressed in tons"},"registration_date":{"type":"string","format":"date","description":"The date the vessel was registered"},"full_length":{"type":"number","description":"The full length of the vessel in meters"}},"required":["name","cfr","hull_number","flag_state"],"type":"object","additionalProperties":false} | ||
{"$schema":"http://json-schema.org/draft-07/schema#","$id":"https://poseidat.org/schema/core/vessel.json","title":"Vessel","description":"The vessel information","properties":{"name":{"type":"string","description":"The display name for the vessel"},"flag_state":{"type":"string","description":"The vessels flag state and country to report ERS messages to. Should be a 3 letter ISO code."},"cfr":{"type":"string","description":"The vessel's Community Fleet Registration number. Fixed format defined by the pattern: \"AAAXXXXXXXXX\" (AAA = Fully capitalised country code of the vessel's first registration within the EU, XXXXXXXXX = 9 character alphanumeric code.). Known as CFR or IR"},"call_sign":{"type":"string","description":"The vessels international radio call sign (RC)"},"hull_number":{"type":"string","description":"The vessel's side (hull) registration number. Also known as XR or PLN. May contain dots or dashes"},"gbr_rss":{"type":"string","description":"GBR ONLY: The vessel's unique identity number as recorded by the UK Registrar of Seamen and Shipping"},"iccat":{"type":"string","description":"International Commission for the Conservation of Atlantic Tuna identifier"},"gfcm":{"type":"string","description":"Global Fisheries Council of the Mediterranean identifier"},"uvi":{"type":"string","description":"Unique Vessel Identifier (IMO number). A number issued by the tuna RFMOs or by ISSF."},"imo_code":{"type":"string","description":"The unique identification of a vessel according to Lloyds register"},"net_tonnage":{"type":"number","description":"The net loading capacity of the vessel, expressed in tons"},"gross_tonnage":{"type":"number","description":"The gross loading capacity of the vessel, expressed in tons"},"registration_date":{"type":"string","format":"date","description":"The date the vessel was registered"},"full_length":{"type":"number","description":"The full length of the vessel in meters"}},"required":["name","hull_number","flag_state"],"type":"object","additionalProperties":false} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
{"$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. One 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} | ||
{"$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} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
{"$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} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
# Untitled string in Vessel registration Schema | ||
|
||
```txt | ||
https://poseidat.org/schema/entry/vessel-registration.json#/properties/entry_type | ||
``` | ||
|
||
The journal entry type identifier | ||
|
||
| Abstract | Extensible | Status | Identifiable | Custom Properties | Additional Properties | Access Restrictions | Defined In | | ||
| :------------------ | :--------- | :------------- | :---------------------- | :---------------- | :-------------------- | :------------------ | :----------------------------------------------------------------------------------------- | | ||
| Can be instantiated | No | Unknown status | Unknown identifiability | Forbidden | Allowed | none | [vessel-registration.json*](schemas/entry/vessel-registration.json "open original schema") | | ||
|
||
## entry_type Type | ||
|
||
`string` | ||
|
||
## entry_type Constraints | ||
|
||
**enum**: the value of this property must be equal to one of the following values: | ||
|
||
| Value | Explanation | | ||
| :---------------------- | :---------- | | ||
| `"vessel-registration"` | | | ||
|
||
## entry_type Default Value | ||
|
||
The default value is: | ||
|
||
```json | ||
"vessel-registration" | ||
``` |
Oops, something went wrong.