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.
Minimum echemdb
Minimum set of metadata required for the echemdb database.
Source Data
Source data with data description (dialect, field mapping, field units).
SVG Digitizer
Metadata for digitized data from SVG figures.
echemdb Package
Data package schema for echemdb, composing with the Frictionless Data Package standard.
SVG Digitizer Package
Data package schema for SVG Digitizer output.
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