Skip to content

Changed parameter schema number #170

Changed parameter schema number

Changed parameter schema number #170

Workflow file for this run

name: scidata-schema-validation
on:
workflow_dispatch:
pull_request:
push:
branches: '*'
jobs:
linux:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-20.04]
python-version: ["3.10"]
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install check-jsonschema
- name: Run JSON schema validation
run: |
check-jsonschema -o json --schemafile schema/basisset.json examples/sections/basisset.jsonld
check-jsonschema -o json --schemafile schema/calculation.json examples/sections/calculation.jsonld
check-jsonschema -o json --schemafile schema/chemical.json examples/sections/chemical.jsonld
check-jsonschema -o json --schemafile schema/computer.json examples/sections/computer.jsonld
check-jsonschema -o json --schemafile schema/dataseries.json examples/sections/dataseries.jsonld
check-jsonschema -o json --schemafile schema/dataset.json examples/sections/dataset.jsonld
check-jsonschema -o json --schemafile schema/framework_outline.json examples/sections/framework_outline.jsonld
check-jsonschema -o json --schemafile schema/framework_plus.json examples/sections/framework_plus.jsonld
check-jsonschema -o json --schemafile schema/framework.json examples/sections/framework.jsonld
check-jsonschema -o json --schemafile schema/measurement.json examples/sections/measurement.jsonld
check-jsonschema -o json --schemafile schema/methodology.json examples/sections/methodology_cc.jsonld
check-jsonschema -o json --schemafile schema/methodology.json examples/sections/methodology_exp.jsonld
check-jsonschema -o json --schemafile schema/mixture.json examples/sections/mixture.jsonld
check-jsonschema -o json --schemafile schema/molsystem.json examples/sections/molsystem.jsonld
check-jsonschema -o json --schemafile schema/parameter.json examples/sections/parameter.jsonld
check-jsonschema -o json --schemafile schema/procedure.json examples/sections/procedure.jsonld
check-jsonschema -o json --schemafile schema/resource.json examples/sections/resource.jsonld
check-jsonschema -o json --schemafile schema/scidata.json examples/sections/scidata.jsonld
check-jsonschema -o json --schemafile schema/software.json examples/sections/software.jsonld
check-jsonschema -o json --schemafile schema/substance.json examples/sections/substance.jsonld
check-jsonschema -o json --schemafile schema/system.json examples/sections/system_cc.jsonld
check-jsonschema -o json --schemafile schema/system.json examples/sections/system_exp.jsonld
check-jsonschema -o json --schemafile schema/unit.json examples/sections/unit.jsonld
check-jsonschema -o json --schemafile schema/value.json examples/sections/value.jsonld