Schema for HepData Records
The HepML HepData sub-schema defines data for import into and export from the HepData database. The structure mirrors that of the database: the top data element contains metadata and a collection of papers, which in turn contain datasets and metadata.
Points and errors are represented separately, with separate (and semantically distinct) pointerror and axiserror elements attched to yaxiss. xaxis elements have their bin information built into the points, as bins are much simpler constructs than y-axis uncertainties. Any dataset may contain more than one xaxis and yaxis: the meaning is that all of the x-axis points with a given pointId attribute must be specified to obtain any of the corresponding y-axis measurements.
Meta-data is available in the form of header attributes on datasets, papers and axes, and in collections of property and comments in datasets and papers. See the schema and examples for more details.
This is version 0.1 of the HepML HepData sub-schema: an implementation which produces XML instances of this schema is available at http://hepdata.cedar.ac.uk. The HepData schema file at the moment is just a reference to the data.xsd utility sub-schema, to allow us some room for refactoring in later versions.
- HepData sub-schema (just refers to data.xsd)
- Data utility sub-schema (the "clever bit")
Here's an example of the HepData sub-schema in action: