Skip to content

Commit c998be1

Browse files
committed
Updates version 20250219 and process in README
1 parent 3c9d9c2 commit c998be1

1 file changed

Lines changed: 18 additions & 0 deletions

File tree

README.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22

33
This repository archives the type and profile releases. As Bioschemas types and profiles are versioned independently, the files for types, draft types, and released profiles are distributed together using the release date also as version under the license [CC-by-sa](https://creativecommons.org/licenses/by-sa/4.0/deed.en), same as [schema.org](https://schema.org). Draft profiles are not distributed as only the released profiles are used for validation and quality check purposes, e.g., by [FAIR-checker](https://fair-checker.france-bioinformatique.fr/inspect).
44

5+
## Releases and files
6+
57
Types and draft types are distributed as TTL and JSON-LD, while released profiles using [SHACL](https://www.w3.org/TR/shacl/), also in TTL and JSON-LD.
68

79
The latest version are always included on the [Bioschemas website](https://bioschemas.org) on the technical corner of [types](https://bioschemas.org/types/) and [profiles](https://bioschemas.org/profiles/). They are also accessible directly:
@@ -14,3 +16,19 @@ The latest version are always included on the [Bioschemas website](https://biosc
1416
- Profiles
1517
- [Profiles SCHAL TTL](https://bioschemas.org/profiles/bioschemas_profiles_shacl.ttl)
1618
- [Profiles SCHAL JSON-LD](https://bioschemas.org/profiles/bioschemas_profiles_shacl.jsonld)
19+
20+
## Processes
21+
22+
- First make sure that the specification files https://github.com/BioSchemas/specifications are up-to-date. They need to be updated based on modifications done in the [DDE platform](https://discovery.biothings.io/registry?search=namespaces) on individual types or profiles
23+
- Whenever a profile is updated in https://github.com/BioSchemas/specifications, a process will be automatically triggered to update https://github.com/BioSchemas/bioschemas-dde. The profile-realted files that are synchronyzed are:
24+
- bioschemas.json
25+
- bioschemasdeprecated.json
26+
- bioschemasdrafts.json
27+
- Whenever a type is updated in https://github.com/BioSchemas/specifications, it requires a manual update on https://github.com/BioSchemas/bioschemas-dde. The type-related files in DDE are:
28+
- bioschemastypes.json
29+
- bioschemastypesdrafts.json
30+
- If everything is up-to-date in https://github.com/BioSchemas/bioschemas-dde, then run the scripts at https://github.com/BioSchemas/bioschemas.github.io/tree/master/notebooks.
31+
- `BioschemasTypes.ipynb` creates the TTL and JSON-LD for types and draft types. The files `bioschemas_draft_types_temp.jsonld`, `bioschemas_draft_types_temp.ttl`, `bioschemas_types_temp.jsonld`, and `bioschemas_types_temp.ttl` should be copied to `https://github.com/BioSchemas/bioschemas.github.io/tree/master/pages/_types` without the "_temp" part
32+
- Types will become available (once the PR is approved) at https://bioschemas.org/types/bioschemas_types.jsonld
33+
- `BioschemasProfiles.ipynb` uses https://bioschemas.org/types/bioschemas_types.jsonld and creates a HTML file per property under https://github.com/BioSchemas/bioschemas.github.io/tree/master/pages/_properties
34+
- `BioschemasProperties.ipynb` uses https://raw.githubusercontent.com/BioSchemas/bioschemas-dde/main/bioschemas.json and https://raw.githubusercontent.com/BioSchemas/bioschemas-dde/main/bioschemasdrafts.json to generate the SHACL files in TTL and JSON-LD what will be located at https://github.com/BioSchemas/bioschemas.github.io/tree/master/pages/_profiles

0 commit comments

Comments
 (0)