Schema Reference

All metadata schemas are defined as LinkML YAML files and serve as the single source of truth. From these definitions, JSON Schema files and Pydantic models are generated automatically.

Available schemas

The following schema types are available:

Autotag

Complete metadata for YAML templates used by autotag-metadata.

autotag
Minimum echemdb

Minimum set of metadata required for the echemdb database.

minimum_echemdb
Source Data

Source data with data description (dialect, field mapping, field units).

source_data
SVG Digitizer

Metadata for digitized data from SVG figures.

svgdigitizer
echemdb Package

Data package schema for echemdb, composing with the Frictionless Data Package standard.

echemdb_package
SVG Digitizer Package

Data package schema for SVG Digitizer output.

svgdigitizer_package

Schema generation

Schemas are generated from LinkML YAML definitions:

# Generate JSON Schemas
pixi run generate-schemas

# Generate Pydantic models
pixi run generate-models

# Generate both
pixi run generate-all

Validation

Validate example files against the schemas:

pixi run validate

Schema details

pixi run validate