Skip to content

orienteering-oss/iof-orienteering-data-schemas

Repository files navigation

iof-orienteering-data-schemas

The official International Orienteering Federation DTDs and XSDs converted to other (unofficial) formats, including XSD and JSON Schema.

Contents

Datastandard v3

See official v3 repo for original documents.

* unofficial v3 XSD: the original XSD, but with a new base element IofV3. The new base element combines all previous top level elements, and makes it easier/possible to generate a single JSON Schema. The downside of this is that to validate against this schema, the JSON object needs a top level attribute saying which type of object this is, e.g. { "resultList": { ...original object... } }, and that JSON unmarshallers based on the original XSD needs to remove this top level property. The new baseelement IofV3 is only implicitly present in the JSON Schema for v3. When using the Java/Kotlin module iof-xml, these issues are taken care of.

Datastandard v2

See official v2 repo for original documents.

Releases

No releases published