-
Notifications
You must be signed in to change notification settings - Fork 2
MAST Metadata Schema #1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
This is the link to the diagram from yesterday's discussion: https://docs.google.com/drawings/d/1rl01dcu1RrFGlZg3IflaCt_Hq_c35PpwtjUR_BSOwng/edit |
"uniqueItems": true, | ||
"description": "The dimension names of the dataset, in order. e.g. ['time', 'radius']", | ||
"items": { | ||
"$ref": "/dimension", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This one needs updating to use the full urn (I think).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"$ref": "https://raw.githubusercontent.com/ukaea/ukaea-metadata/1.0.0/ukaea-schema/experiment/mast/dimension.schema.json"
"description": "Metadata to describe from diagnostic sources", | ||
"type": "object", | ||
"required": [ "name", "description", "source_type"], | ||
"properties": { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Names should be camelCase not snake_case.
"type": "string" | ||
} | ||
} | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Follow this tutorial @samueljackson92 you noob https://tour.json-schema.org/content/01-Getting-Started/01-Your-First-Schema
Adding a first pass of a meta data schema for MAST diagnostic data based on our meta database.
These attributes are mostly derived from the names used in UDA and used in the MAST-U user pages.
I suggest that this PR is a place where we can start to discuss this schema more broadly.