Issue with Legal tag hardcoded information
I am attempting to ingest a reference record using the OSDU CLI and have noticed that it utilizes the following part of the schema in the Legal tag section:
"legal": {
"legaltags": [
"<Your-legaltag-name>"
],
"otherRelevantDataCountries": [
"US"
],
"status": "compliant"
}
From the above, it is evident that "otherRelevantDataCountries" is hardcoded with "US." However, if we are using a specific legal tag, would it be possible to derive country information from the provided legal tag instead of manually changing it every time based on various legal tags?
Reference Link to code (ingest.py): https://community.opengroup.org/osdu/ui/data-loading/osdu-cli/-/blob/main/src/osducli/commands/dataload/ingest.py?ref_type=heads#L631