commissura
Copyright 2026 Jonathan Manca

This product includes software developed as part of the commissura project.

Licensed under the Apache License, Version 2.0 (the "License"); you may not use
this file except in compliance with the License. You may obtain a copy of the
License at

    http://www.apache.org/licenses/LICENSE-2.0

All clinical data produced or shipped by this project is synthetic. It is
generated by the `commissura generate` command and does not describe, derive
from, or correspond to any real person.

--------------------------------------------------------------------------
Third-party material redistributed with this repository
--------------------------------------------------------------------------

The files under `third_party/` are NOT covered by the Apache License above.
They are other people's documents, included verbatim so that the conformance
check in `tests/test_shacl_conformance.py` runs on a clean checkout and in
continuous integration without reaching the network. Each is licensed under the
Creative Commons Attribution 4.0 International licence (CC BY 4.0):

    (Where this notice travels inside a built distribution: the source
    distribution carries those files and this credit applies to them. The
    installable wheel carries neither the files nor the tests that read them,
    so for a wheel the section below is provenance for the repository it was
    built from rather than attribution for anything in the archive. The notice
    ships with both because the Apache License requires it to.)

    https://creativecommons.org/licenses/by/4.0/

CC BY 4.0 permits redistribution, including commercially, provided the creator
is credited, the licence is identified, and any changes are indicated. The
attributions below are that credit. `third_party/PROVENANCE.json` records, per
file, the URL it came from, the date it was retrieved and a SHA-256 of its
bytes, and `tests/test_vendored_shapes.py` checks those digests on every run
and fails if a vendored file is not credited here.

1. HealthDCAT-AP, Release 8
   European Commission, DG SANTE / HealthDataEU
   https://code.europa.eu/healthdataeu/healthdcat-ap
   Licence: CC BY 4.0, as declared by that repository's own LICENSE file.

       third_party/healthdcat-ap/non-public-shapes.ttl
       third_party/healthdcat-ap/range.ttl

2. DCAT-AP, version 3.0.0
   SEMIC, European Commission
   https://github.com/SEMICeu/DCAT-AP
   Licence: CC BY 4.0, as declared by that repository's own LICENSE file.
   Included because HealthDCAT-AP imports DCAT-AP 3.0.0, so conformance to the
   first is not checkable without the second.

       third_party/dcat-ap/shapes.ttl
       third_party/dcat-ap/range.ttl

NO CHANGES WERE MADE to any of these files. They are byte for byte what the
publishers serve, and `.gitattributes` disables line-ending conversion under
`third_party/` so that they stay that way: all four are published with LF
endings today, so nothing is being converted, but a future refresh that brought
CRLF would otherwise be normalised on the way in and this paragraph would
quietly stop being true.

One defect in the published HealthDCAT-AP shapes is worked around at load time,
in `tests/test_shacl_conformance.py`, and never in the files: Release 8 puts an
`sh:or` inside an `sh:property` list with no `sh:path`, which no SHACL property
shape may lack, so a strict engine refuses the whole file. The repair is applied
to the parsed graph. A separate test fails once the vendored shapes no longer
need it, so the workaround cannot outlive the defect.

DISCLAIMER: the CC BY 4.0 material above is provided by its publishers on an
"as-is" basis, without warranties of any kind. Its inclusion here is not an
endorsement by, nor an affiliation with, the European Commission, DG SANTE,
HealthDataEU or SEMIC, and nothing in this repository is published on their
behalf.
