adiwg / mdTranslator

Metadata translation tool built using Ruby
https://www.adiwg.org/mdTranslator/
The Unlicense
14 stars 12 forks source link

264 dcat us writer required fields #274

Closed jwaspin closed 11 months ago

jwaspin commented 11 months ago

Closes #268, closes #264

Note: The name of this branch is misleading, it also includes conditional fields.

This PR will bring in the new DCAT-US writer including both required and if-applicable fields along with units tests for all implemented fields. There are a few fields that are not included in this including program and bureau codes.

It is expected that some of these fields are not fully featured and will need updates to accommodate additional use-cases.

Access level and identifier have their own issues.

Distribution

The distribution field is included in this version, but it should be noted that the access URL and download URL are not necessary complete. A new issue has been created specifically for those fields.

New

DCAT-US.md is a document that includes a table of the mappings from mdJson to DCAT-US. This document might need updates as things change.

Breaking changes

MiniTest renamed to Minitest This change only affects running the tests, but may require 'resetting' your repository and/or using a different version of Ruby. This is being tested with 2.7.7. This is a worthwhile change to make, MiniTest is older than Minitest and something forced this to be upgraded so it's not worth going back.