openmhealth / schemas

A repository of Open mHealth schemas.
Apache License 2.0
71 stars 45 forks source link

Add workaround for missing IEEE RewriteRules #18

Closed emersonf closed 1 year ago

emersonf commented 1 year ago

Problem

The Apache RewriteRules at w3id.org for the IEEE schemas don't support fetching a schema by a versioned URL, breaking relative $refs.

Solution

Synthetic schemas are created that point to the schemas on GitLab, using a simple allOf. This workaround can be removed once the rewrite rules are fixed.