GAIA-X4PLC-AAD / ontology-management-base

Our implementation for an open automated ontology management process for GAIA-X interoperable ecosystems. Please use a community agreed domain specific class or if not yet available please create a new class and submit it for review.
Other
2 stars 0 forks source link

scenario: instance.json not conform to shacl shape #62

Closed robertschubert closed 4 days ago

robertschubert commented 1 week ago

We introduced a new CI pipeline which checks if the _instance.json conforms to the shacl shapes (see README.md).

The _instance.json file is not conform to the shacl. To reproduce it locally please follow the CI pipeline section in the README.md.

Note that there is a new section "known issues" which describes a Bug of the wizard when not instanciating an optional field which has mandatory sub fields.

heuerfin commented 6 days ago

Added a branch and resolved conflicts. The current version has no errors when I run it locally.

However, I think the https://github.com/GAIA-X4PLC-AAD/ontology-management-base/blob/main/georeference/georeference_shacl.ttl#L92 shacle has an issue since the regex for state does not match the example.

Furthermore, the https://github.com/GAIA-X4PLC-AAD/ontology-management-base/blob/main/general/general_shacl.ttl#L62 contract_id shouldnt be mandatory on metadata... Since it is not yet present when no contract was established.