Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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: about 2 months ago
JSON representation
Metadata schema describing electrochemical data
- Host: GitHub
- URL: https://github.com/echemdb/metadata-schema
- Owner: echemdb
- License: gpl-3.0
- Created: 2021-10-01T05:29:23.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2024-03-01T16:13:54.000Z (10 months ago)
- Last Synced: 2024-03-02T14:28:52.906Z (10 months ago)
- Topics: electrochemistry, json, json-schema, metadata, schema
- Language: Xonsh
- Homepage:
- Size: 135 KB
- Stars: 1
- Watchers: 3
- Forks: 2
- Open Issues: 23
-
Metadata Files:
- Readme: readme.md
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 {} \;`
```