adiwg / mdTranslator

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

DCAT-US writer: required U.S. Government fields #267

Open hmaier-fws opened 11 months ago

hmaier-fws commented 11 months ago

Issue

The DCAT-US schema has several fields that are identified for specific use by the U.S. Government. Two of these fields are flagged as mandatory. The translator should probably support the [bureauCode] and [programCode] fields.

Related issues: #251, #264

Discussion

Potential mapping

1) Extend codelists

bureauCode

programCode

2) Use contactIdentifier

Another approach might be to use the contact identifier. This would not require a schema update and would be more inline with what these codes actually represent. Identifiers for bureaus and programs.

Summary of bureau and program code fields

bureauCode

Description:

Federal agencies, combined agency and bureau code from OMB Circular A-11, Appendix C.

Accepted values:

An array of strings from OMB Circular A-11, Appendix C. Codes are also available as a CSV file.

Usage Notes:

Represent each bureau responsible for the dataset according to the codes found in OMB Circular A-11, Appendix C (PDF, CSV). Start with the agency code, then a colon, then the bureau code.

programCode

Description:

Federal agencies, list the primary program related to this data asset, from the Federal Program Inventory. Use the format of 015:001.

Accepted values:

An array of strings from the Federal Program Inventory list.

Usage Notes:

Provide an array of programs related to this data asset, from the Federal Program Inventory.

hmaier-fws commented 3 months ago

@dwalt , @jwaspin as per our previous discussion the proposed solution is to extend the adiwg_namespace codelist to include:

A related issue has been created in the mdCodes repository: https://github.com/adiwg/mdCodes/issues/82