unitsml / schemas

UnitsML schemas
4 stars 3 forks source link

= UnitsML Schema Repository

image:https://github.com/unitsml/schemas/workflows/ubuntu/badge.svg["Build Status", link="https://github.com/unitsml/schemas/actions?query=workflow%3Aubuntu"]

== Purpose

This is the schemas repository for UnitsML schemas.

Documentation created from this repository are made available at:

== Contents

This repository includes the UnitsML and UnitsML-Lite schemas.

List of schema changes described in the link:schema_changes.adoc[schema change log].

== Usage

=== Generate latest UnitsML XSD (unitsml/unitsml-v{version}.xsd)

UnitsML XSD schema incorporates data from https://github.com/unitsml/unitsdb[UnitsDB], including prefixes and units.

When necessary, the latest UnitsML XSD should be re-generated with the corresponding version of the UnitsDB.

NOTE: Version definition of the latest UnitsML XSD is defined in the Makefile.

[source,sh]

make unitsml/unitsml-v1.0.xsd

=== Generate XSD documentation (under docs/)

Generation of XSD documentation depends on the following tools:

Command to generate documentation under docs/:

[source,sh]

make docs

This command will download all necessary dependencies under .archives/ and place them in corresponding paths.

== Copyright

The content of this repository belongs to the UnitsML group.