Skip to content

Bidirectional OO-LD <-> NeXus (NXDL) converter #116

Description

@SimonStier

Convert between OO-LD schemas and NeXus application definitions (NXDL).

Spec-side siblings: OO-LD/oold-schema#109 (dataset storage model, instance-level data references and data bundling), OO-LD/oold-schema#107 (QuantityValue as a base building block) and OO-LD/oold-schema#127 (transport for large tabular instances).

cc @hampusnasstrom

Mapping

  • NXDL groups to nested object schemas, fields to typed properties, attributes to properties or annotations
  • NX base class and application definition names to the type IRI in the @context
  • minOccurs and maxOccurs to required and array bounds
  • Field units to the OO-LD quantity value representation

Expressible with standard keywords: group nesting, field names, scalar types, occurrence bounds
and required or optional status. Needing an x- vendor annotation: the NX class identity and the
base class versus application definition distinction, the per-field units attribute if
OO-LD/oold-schema#107 does not cover it, the dimension names carried in NXDL dimensions, and the
link and target semantics of NXDL link elements.

Open questions

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

converterSchema conversion to/from another schema or modelling language

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions