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
-
... ... @@ -56,7 +56,7 @@ 56 56 === The openMINDS vocabulary === 57 57 58 58 (% style="text-align: justify;" %) 59 -Located under the folder **##vocab##** in the main openMINDS GitHub directory, the openMINDS vocabulary is semi-automatically gathered and stored in dedicated JSON files ([[**##types.json##**>>https://raw.githubusercontent.com/HumanBrainProject/openMINDS/v2/vocab/types.json||rel="noopener noreferrer" target="_blank"]] and [[**##properties.json##**>>https://raw.githubusercontent.com/HumanBrainProject/openMINDS/v2/vocab/properties.json||rel="noopener noreferrer" target="_blank"]]). The openMINDS integration pipeline makes sure that both files are updated with each commit to any of the GitHub repositories for the openMINDS metadata models. With that, the openMINDS vocab reflects always an up-to-date status of the general attributes of existing **schemas** and **properties** across all openMINDS metadata models, while providing the opportunity to centrally review and maintain their consistency. In addition, this design allows us to centrally define and maintain multiple references to related schemas and matching schema properties of other metadata initiatives. How this works in detail is explained in the following. 59 +Located under the folder **##vocab##** in the main branch of the central openMINDS GitHub directory, the openMINDS vocabulary is semi-automatically gathered and stored in dedicated JSON files ([[**##types.json##**>>https://raw.githubusercontent.com/HumanBrainProject/openMINDS/v2/vocab/types.json||rel="noopener noreferrer" target="_blank"]] and [[**##properties.json##**>>https://raw.githubusercontent.com/HumanBrainProject/openMINDS/v2/vocab/properties.json||rel="noopener noreferrer" target="_blank"]]). The openMINDS integration pipeline makes sure that both files are updated with each commit to any of the GitHub repositories for the openMINDS metadata models. With that, the openMINDS vocab reflects always an up-to-date status of the general attributes of existing **schemas** and **properties** across all openMINDS metadata models, while providing the opportunity to centrally review and maintain their consistency. In addition, this design allows us to centrally define and maintain multiple references to related schemas and matching schema properties of other metadata initiatives. How this works in detail is explained in the following. 60 60 61 61 (% style="text-align: justify;" %) 62 62 The **##types.json##** file is an associative array listing all existing openMINDS schemas (via their type). For each openMINDS schema, a small list of general attributes are provided in a nested associative array. Currently, the following attributes are captured: ... ... @@ -65,7 +65,8 @@ 65 65 { 66 66 "OPENMINDS_SCHEMA_TYPE": { 67 67 "description": "GENERAL_DESCRIPTION", 68 - "name": "DISPLAY_LABEL", 68 + "label": "HUMAN-READABLE_LABEL", 69 + "name": "SIMPLIFIED_SCHEMA_TYPE", 69 69 "translatableTo": [ 70 70 "REFERENCE_TO_RELATED_SCHEMA_OF_OTHER_INITIATIVE" 71 71 ] ... ... @@ -74,9 +74,15 @@ 74 74 {{/code}} 75 75 76 76 (% style="text-align: justify;" %) 77 -With each new schema committed to one of the openMINDS metadata models, a new entry is appended to the **##types.json##** file, with the displaylabel automatically derived from the respective schema typeand the remaining attributes predefined with a null value. Oncean entry for aschemais made inthe**##types.json##** file, the valuesofallattributes (**##"name"##**, **##"description"##**, and **##"translatableTo"##**) can be manually edited. All manual editionswill be preserved and notoverwrittenwhenthefile is updated againwithanew commit. Incase a schema is deleted from the openMINDS metadata models, the correspondingentry in the **##types.json##** file is marked as being deprecated (additional attribute-valuepair; **##"deprecated": true##**). It only can be permanently removed from the **##types.json##** file, if the entry is manually deleted.78 +With each new schema committed to one of the openMINDS metadata models, a new entry is appended to the **##types.json##** file, with the "name" and "label" automatically derived from the respective schema type, because it has a consistent naming convention: 78 78 80 +(% style="text-align: center;" %) 81 +**##"https:~/~/openminds.ebrains.eu/METADATA_MODEL_LABEL/SIMPLIFIED_SCHEMA_NAME"##** 82 + 79 79 (% style="text-align: justify;" %) 84 +The remaining attributes are predefined with a null value and frequently, manually edited by a corresponding expert of the openMINDS development team. Once an entry for a schema is made in the **##types.json##** file, the values of attributes (**##"label"##**, **##"description"##**, and **##"translatableTo"##**) can be manually edited. All manual editions will be preserved and not overwritten when the file is updated again with a new commit. In case a schema is deleted from the openMINDS metadata models, the corresponding entry in the **##types.json##** file is marked as being deprecated (additional attribute-value pair; **##"deprecated": true##**). It only can be permanently removed from the **##types.json##** file, if the entry is manually deleted. 85 + 86 +(% style="text-align: justify;" %) 80 80 Similar to the **##types.json##** file, the **##properties.json##** file is an associative array listing all properties across all existing openMINDS schemas (via the property name). For each openMINDS property, a small list of general attributes are provided in a nested associative array. Currently, the following attributes are captured: 81 81 82 82 {{code language="json"}}