feat(metadata-schema): add metadata schema

This commit is contained in:
gac-x01da
2025-06-20 09:16:03 +02:00
parent 9be74da098
commit fa434794c3
2 changed files with 8 additions and 2 deletions
@@ -1,6 +1,6 @@
# from .metadata_schema_template import ExampleSchema
#from .metadata_schema_xas_simple_scan import xas_simple_scan_schema
METADATA_SCHEMA_REGISTRY = {
METADATA_SCHEMA_REGISTRY = {#"xas_simple_scan": xas_simple_scan_schema
# Add models which should be used to validate scan metadata here.
# Make a model according to the template, and import it as above
# Then associate it with a scan like so:
@@ -0,0 +1,6 @@
from bec_lib.metadata_schema import BasicScanMetadata
#
#
class xas_simple_scan_schema(BasicScanMetadata):
Edge: str
Element: str