Skip to content

kit-data-manager/Metadata-Schemas-for-Materials-Science

Repository files navigation

Metadata-Schemas-for-Materials-Science


The aim of this repository is to house the metadata schemas for different measurement techniques used in Materials Science. The schemas are written according to the JavaScript Object Notation (JSON) Schema or the XML Schema Definition (XSD) format. Sample files are also provided which are written according to the respective schemas.

List of available Schemas:

  1. Schema for scanning electron microscopy (SEM)
  2. Schema for transmission electron microscopy (TEM)
  3. Schema for magnetic resonance imaging (MRI)
  4. Schemas for SEM-FIB_Tomography
  5. Schema for nano or micro - computed tomography (CT)
  6. Schema for Advanced Photoelectric Effect - High Energy (APE-HE)
  7. General Schemas

Contribution Guide

If you want to contribute to this repository, please adhere to the steps and information below

Changing or Adding a Schema

  1. for changes to a schema or addition of a new schema open a new branch indicating the schema you are working on (if you are an outside collaborator, you need to use a fork)
  2. once you have changes that should prompt a new release of the schema, open a Pull Request (PR) against main
  3. Check the report generated in the PR
    • is the schema valid?
    • determine the semantic version update based on the diff to the last release of the schema (if it exists)
    • Update the PR title with the new schema version you suggest (for example "SEM schema update to v0.2.0")

General Best Practices

  • Schema information is organized in folders based on research topics/areas
  • keep your PRs schema-specific and avoid side effects in other schemas
  • check the general schemas available in the root of this repo before you include similar or identical information in your schema directly (such as user description). If you need a change in those general definitions, open an issue to allow for discussion.
  • Provide a README in the folder of your schemas. Here you can also link to software and projects related to the schema.

Schema-specific Practices

  • $id: Do not include an id in your schema. An ID (ideally a persistant identifier) can and should be added on publication of the schema in a repository.
  • $schema: Please specify a schema spec version in your schema files. It may be beneficial to choose the minimal (oldest) necessary schema spec for your functionalities for compatibility with validators and tooling.

Hints for accepting PRs (for repo owners/maintainers)

  • new schemas or moved schema files: add new to/change tag mapping in the CI workflows before proceeding
  • make sure the reports reflect the latest comparison with the main branch (source branch needs to be up-to-date)

About

Metadata Schemas for describing measurement techniques in Materials Science

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 8