opengeospatial / bblocks-postprocess

0 stars 0 forks source link

Improve `$ref` mapping in annotated schemas #32

Closed avillar closed 5 months ago

avillar commented 5 months ago

Local $refs in annotated schemas are currently mapped as relative paths. This is mostly done for schema annotation to work, since otherwise the URLs would be resolved, so only already published schemas would work (i.e., local builds would break, but so would workflows, since changes in schemas in the same repository would not be visible yet).

Also, when a remote schema is used in bblocks.json, relative references are kept as they are, so the annotated schema breaks.

The following changes in the schema annotation mechanism are required: