You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+18Lines changed: 18 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,6 +2,8 @@
2
2
3
3
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).
4
4
5
+
## Releases and files
6
+
5
7
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.
6
8
7
9
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
- 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