Skip to content

Commit

Permalink
Merge pull request #169 from kbase/schema_data_fixes
Browse files Browse the repository at this point in the history
A few fixes to the credit metadata schema and the example data
  • Loading branch information
ialarmedalien authored Mar 11, 2024
2 parents b0ab4f4 + 7970227 commit 4f4655a
Show file tree
Hide file tree
Showing 13 changed files with 997 additions and 1,032 deletions.
13 changes: 13 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -81,3 +81,16 @@ generate a schema diagram (can be visualised at yuml.me):
```sh
gen-yuml schema/kbase/linkml/credit_metadata.yaml
```

#### JSONschema data validation

install the JSONschema check script:

```sh
brew install check-jsonschema
```

To test a file against the schema, use the command:
```sh
check-jsonschema --schemafile schema.json instance.json
```
Loading

0 comments on commit 4f4655a

Please sign in to comment.