midas-isg / digital-commons

The MIDAS Digital Commons
http://epimodels.org/apps/mdc
GNU General Public License v3.0
2 stars 1 forks source link

Validations (existing data) - Empty License Identifier #249

Closed jeffstazer closed 5 years ago

jeffstazer commented 5 years ago

path: (root)->distributions->0->storedIn->licenses->0->identifier

licenses->0 contains {"name": "CC BY 4.0"} for all these entries storedIn name is Appolo Library for all these entries

We either need to set the Identifier and IdentifierSource to something or change the minOccurs of identifier for License in dats to Zero. The minOccurs for identifier is zero everywhere else, so I think that's the way to go. And it does not appear to be required according to the License_schema_json.

JohnLevander commented 5 years ago

I can't find an obvious identifier anywhere so I'd be in favor of removing the required property from identifier under license.

jeffstazer commented 5 years ago

License -> identifer in the dats.xsd has been updated to have a minOccurs="0".