Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/echemdb/metadata-schema

Metadata schema describing electrochemical data
https://github.com/echemdb/metadata-schema

electrochemistry json json-schema metadata schema

Last synced: 2 days ago
JSON representation

Metadata schema describing electrochemical data

Awesome Lists containing this project

README

        

# Metadata Schema

Development of a metadata schema for experimental data, sepcifically electrochemical and electrocatalytic data.

## Development

The metadata files (e.g. of type JSON or YAML) can be validated against the schemas locally using, for example, the Python package [`check-jsonschema`](https://github.com/python-jsonschema/check-jsonschema).
In that case, the `$id` tag in the schemas pointing to this repository must be bypassed by setting an absolute URL to the respective local files.

- validate a single file

```sh
check-jsonschema --base-uri --schemafile /.json
```

- validate all files in a directory (including subdirectories)

```sh
find -name "*." -exec echo {} \; -exec check-jsonschema --base-uri --schemafile /.json {} \;`
```