Add parameters for optional SHACL rules
Add new parameters
SHACL_consent_existence: bool = Query(False, enum=[True, False], description="Add SHACL rule to check existence of sphn:Consent instance"),
SHACL_birth_date_existence: bool = Query(False, enum=[True, False], description="Add SHACL rule to check existence of sphn:BirthDate instance"),
SHACL_unique_rdf_type: bool = Query(False, enum=[True, False], description="Add SHACL rule to check that resources have a unique rdf:type defined")
to the /Create_project
endpoint to activate newly defined SHACL rules.
WARNING: SHACL_consent_existence
is activated by default if data sharing with Einstein is activated.