Skip to content

Update schema's title and description

For now I only stripped the version mentionings out of the titles and descriptions of the different category schemas.

This reduces the places to update manually with new schema versions (only the "$id" and "$ref" fields remain to be touched in such a case)

One could argue that the version in the "$id" path is not explicit enough for humans or machines. For humans one could add a generic hint to the "description" that they should look at the "$id" field and for the later I think an explicit "version" property would be the best if JSON Schema allows for such. (See discussion in https://gitlab.hzdr.de/hmc/hmc/cct-1-mapping/category-definitions/-/issues/40#note_2344158)

Related #40 (closed)

Closes #6 (closed)

Edited by Konstantin Pascal Walter

Merge request reports

Loading