This repository is a unified repository representing the different parts of the Beacon API:
- framework
- models
- Beacon v2 Documentation
- authoritive source already in this repository
/docs
- rendered version through here (alternative address is docs.genomebeacons.org)
- authoritive source already in this repository
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.
- change notes with respect to the repository & documentation are now in docs.genomebeacons.org
- NOTE: on 2022-06-20 the previous development repositories have been archived:
- ARCHIVE - beacon-framework-v2
- ARCHIVE - beacon-v2-Models
|-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