You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using editwibl to add Platform metadata to a binary WIBL file, then procwibl to convert from binary to GeoJSON results in GeoJSON files that do not validate to CSB 3.1 convention using csbschema. Here is example csbschema output:
$ csbschema validate -f /tmp/test-inject.geojson
Validation of /tmp/test-inject.geojson against schema 3.1.0-2023-03 failed due to the following errors:
Path: /properties/trustedNode/uniqueVesselID, error: 'SEAID-Gulf Surveyor' does not match '^[a-zA-Z][a-zA-Z0-9]*-[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$'
Path: /properties/platform, error: 'length' is a required property
Path: /properties/platform/IDType, error: 'LoggerName' is not one of ['MMSI', 'IMO']
Path: /properties/platform/IDNumber, error: 'Gulf Surveyor' is not valid under any of the given schemas
Path: /properties/platform/uniqueID, error: 'SEAID-Gulf Surveyor' does not match '^[a-zA-Z][a-zA-Z0-9]*-[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$'
Path: /properties/processing, error: [] is too short
Path: /properties/platform/IDType, error: Unknown IDType LoggerName.
Path: /properties/platform/dataProcessed, error: dataProcessed flag is 'false', but 'processing' properties were found.
Example workflow for generating such a non-confirming GeoJSON file can be found in the [integration test script](tests/integration/test_wibl.bash).
The text was updated successfully, but these errors were encountered:
Original report by Brian Miles (Bitbucket: [Brian Miles](https://bitbucket.org/Brian Miles), ).
Using
editwibl
to add Platform metadata to a binary WIBL file, thenprocwibl
to convert from binary to GeoJSON results in GeoJSON files that do not validate to CSB 3.1 convention using csbschema. Here is examplecsbschema
output:Example workflow for generating such a non-confirming GeoJSON file can be found in the [integration test script](tests/integration/test_wibl.bash).
The text was updated successfully, but these errors were encountered: