Skip to content

missing "relatedHelmholtzCentre" property in Schema 1.0 JSONs

When trying to validate a mapped record that uses the "relatedHelmholtzCentre" property defined in https://gitlab.hzdr.de/hmc/hmc/cct-1-mapping/category-definitions/-/blob/master/hmc_schemas/common_properties_json_schema_cct1.json

Validation fails because the corresponding JSON Schema, e.g. https://gitlab.hzdr.de/hmc/hmc/cct-1-mapping/category-definitions/-/blob/master/hmc_schemas/hmc_software_1_0_0.json does not list this property under "propertyNames" (line 45)

This seems to be the case for all JSON Schemas except the common_properties_json_schema_cct1.json

And could be fixed by my understanding, by adding the entry 'relatedHelmholtzCentre' to all their "propertyNames" listings.

grafik