Skip to content

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

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open

MAST Metadata Schema #1

wants to merge 4 commits into from

Conversation

samueljackson92
Copy link

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.

@samueljackson92
Copy link
Author

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",
Copy link
Member

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).

Copy link
Author

@samueljackson92 samueljackson92 Aug 22, 2024

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": {
Copy link
Author

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"
}
}
}
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

khalsz added a commit that referenced this pull request Sep 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants