Modular metadata schema components for the Astromat Data Archive (ADA), built using the OGC Building Blocks pattern.
Property building blocks that define ADA-specific metadata elements: file types, instrument details, technique-specific data structures, spatial registration, and more.
Metadata profiles that compose property building blocks with CDIF base schemas:
- adaProduct — base ADA product profile (composes cdifCore + ADA properties)
- 35 technique profiles — technique-specific constraints (e.g., adaSEM, adaXRD, adaICPMS, adaTEM)
This repository imports shared schema.org and CDIF property building blocks from metadataBuildingBlocks via the OGC Building Blocks import mechanism.
Browse the building blocks at: https://usgin.github.io/geochemBuildingBlocks/
tools/generate_profiles.py— generates technique-specific profile building blocks from configuration datatools/resolve_schema.py— Resolve all$refinto single resolvedSchema.json filestools/regenerate_schema_json.py— Generate *Schema.json from schema.yaml sources (YAML→JSON + ref rewrite)
resolve_schema.py and regenerate_schema_json.py are synced from the canonical copies in metadataBuildingBlocks/tools/. Do not edit locally — update the canonical copy and run python tools/sync_resolve_schema.py --apply from the metadataBuildingBlocks repo.