This repository is a unified repository representing the different parts of the Beacon API:
/docs
As with other schema projects, here we separate between the schema source files (in src
; JSON-Schema written in YAML) and the generated versions for referencing. The current setup allows already the direct referencing of the generated JSON schemas. Examples:
ontologyTerm
:
biosamples/defaultSchema
beaconRequestBody
:
There is a set of tools in /bin
to facilitate the conversion. ATM, after editing ...yaml
schema files somewhere in the /src
tree, a (local) run of bin/yamlerRunner.sh
- which re-generates the ....json
files in the /json
tree) has to be performed before pushing changes.
Released, July, 19, 2024
Released July, 16, 2024
Released June, 21, 2022
|-docs Contain the source (Markdown) for the mkdocs generated documentation
|
|- framework
| |
| |- src schema source in YAML format; for editing
| |
| |- json JSON versions of the schema files generated from src, authorative/referenceable version
|
|- models
| |
| |- src schema source in YAML format; for editing
| |
| |- json JSON versions of the schema files generated from src, authorative/referenceable version
|
|- bin scripts and configurations for creating the unified structure
|
|- yamlerRunner.sh runs the conversions for the different repos and format options
|
|- beaconYamler.py conversion app
|
|- config.yaml text replacements and options