Update fetal_brain_tiny.mzlib.txt #103
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Validate JSON Schemas | |
on: push | |
jobs: | |
validate: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up Python | |
uses: actions/setup-python@v3 | |
with: | |
python-version: 3.8 | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade pip | |
pip install jsonschema==3.2.0 | |
- name: Get JSON Schema schema | |
run: | | |
curl -k -L http://json-schema.org/draft-07/schema# -o schema-draft-07.json | |
- name: Validate peak annotation schema | |
run: | | |
jsonschema \ | |
-i specification/peak-annotation-format/annotation-schema.json \ | |
schema-draft-07.json | |
- name: Validate peak annotation examples | |
run: | | |
jsonschema \ | |
-i specification/peak-annotation-format/annotation-example-1.json \ | |
-i specification/peak-annotation-format/annotation-example-2.json \ | |
-i specification/peak-annotation-format/annotation-example-3.json \ | |
specification/peak-annotation-format/annotation-schema.json |