Changes for page Technical details
Last modified by lzehl on 2021/07/05 18:57
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -16,7 +16,7 @@ 16 16 In summary, openMINDS is the overall umbrella for a set of distributed GitHub repositories, each defining a particular metadata model for neuroscience research products. 17 17 18 18 (% style="text-align: justify;" %) 19 -The main (or central) [[openMINDS GitHub repository>>https://github.com/HumanBrainProject/openMINDS||rel="noopener noreferrer" target="_blank"]] ingests all these GitHub repositories as [[git-submodules>>https://git-scm.com/docs/git-submodule||rel="noopener noreferrer" target="_blank"]]. Furthermore it defines the openMINDS vocabulary (**##vocab##**)used for **##types##** and **##properties##**acrossallschemasindependentoftheiroriginalrepository(cf. below). And last but not least, it holds the schema representations for all supported metadata formats created by the openMINDS integration pipeline (cf. below).19 +The main (or central) [[openMINDS GitHub repository>>https://github.com/HumanBrainProject/openMINDS||rel="noopener noreferrer" target="_blank"]] ingests all these GitHub repositories as [[git-submodules>>https://git-scm.com/docs/git-submodule||rel="noopener noreferrer" target="_blank"]]. Furthermore it stores the openMINDS vocabulary (**##vocab##**), providing general definitions and references for **types** and **properties** used in schemas across all openMINDS repositories (cf. below). And last but not least, it holds the schema representations for all supported metadata formats created by the openMINDS integration pipeline (cf. below). 20 20 21 21 (% style="text-align: justify;" %) 22 22 For this to work smoothly for the existing, but also for all new openMINDS metadata models, the corresponding openMINDS submodules (GitHub repositories) have to meet the following requirements: ... ... @@ -33,8 +33,20 @@ 33 33 === The openMINDS vocabulary === 34 34 35 35 (% style="text-align: justify;" %) 36 - ((%style="color:#7f8c8d"%)//**comingsoon**//(%%))36 +Through the integration pipeline of the openMINDS generator, the openMINDS vocabulary is automatically gathered and stored in the main openMINDS GitHub in order to centrally maintain general definitions and references for **types** and **properties** used in schemas across all openMINDS repositories. How this works is explained in the following. 37 37 38 +(% style="text-align: justify;" %) 39 +Schema types and properties are stored in dedicated JSON files (**##types.json##** and **##properties.json##*) under the folder **##vocab**##* located in the main openMINDS GitHub directory. Each schema type and property occurring in the openMINDS metadata models is automatically represented in those files within nested dictionaries. 40 + 41 +(% style="text-align: justify;" %) 42 +The keywords of those nested dictionaries are pre-defined to consistently capture for all schema types and properties their namespace, their occurrence, their general description, and possible references to schema types and properties used by other metadata initiatives. This setup also allows us to define some values/entries to be automatically filled in by the openMINDS integration pipeline with each commit to one of the openMINDS repositories (e.g., the namespace and occurrence) and others to be manually editable later on (e.g., the general description and references). 43 + 44 +(% style="text-align: justify;" %) 45 +For security, outdated entries in those openMINDS vocabulary files (e.g. because the namespace of the schema type or property changed or the schema type or property was deleted) are not automatically deleted, but kept and marked as being deprecated. After evaluation, deprecated schema types or properties can be deleted manually from openMINDS vocabulary. 46 + 47 +(% style="text-align: justify;" %) 48 +With that the openMINDS vocab reflects always an up-to-date status of the schema types and properties in use, while providing the opportunity to centrally review and maintain their consistency and references. 49 + 38 38 === The openMINDS schema template syntax === 39 39 40 40 (% style="text-align: justify;" %)