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
-
... ... @@ -63,12 +63,12 @@ 63 63 64 64 {{code language="json"}} 65 65 { 66 - "https://openminds.ebrains.eu/«METADATA_MODEL_LABEL»/«S IMPLIFIED_SCHEMA_NAME»": {66 + "https://openminds.ebrains.eu/«METADATA_MODEL_LABEL»/«SCHEMA_NAME»": { 67 67 "description": "«GENERAL_DESCRIPTION»", 68 68 "label": "«HUMAN-READABLE_LABEL»", 69 - "name": "«S IMPLIFIED_SCHEMA_TYPE»",69 + "name": "«SCHEMA_NAME»", 70 70 "schemas": [ 71 - "« METADATA_MODEL_LABEL»/«VERSION_BRANCH»/«SIMPLIFIED_SCHEMA_TYPE»"71 + "«RELATIVE_PATH_TO_SCHEMA_FILE_OF_THAT_TYPE»" 72 72 ], 73 73 "translatableTo": [ 74 74 "«REFERENCE_TO_RELATED_SCHEMA_OF_OTHER_INITIATIVE»" ... ... @@ -78,28 +78,23 @@ 78 78 {{/code}} 79 79 80 80 (% style="text-align: justify;" %) 81 -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 derivedfrom the respectiveschema type,because it has a consistent namingconvention:81 +With each new schema committed to one of the openMINDS metadata models, a new entry is appended to the **##types.json##** file, with the values for **##"name"##**, **##"label"##**, and **##"schemas"##** automatically derived. The remaining attributes are predefined with a null value and frequently, manually edited by a corresponding expert of the openMINDS development team. If necessary the auto-derived "label" value can be edited as well. 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. 82 82 83 -(% style="text-align: center;" %) 84 -**##"https:~/~/openminds.ebrains.eu/METADATA_MODEL_LABEL/SIMPLIFIED_SCHEMA_NAME"##** 85 - 86 86 (% style="text-align: justify;" %) 87 - The remaining attributes are predefined with a null value and frequently,manually edited by a correspondingexpertof theopenMINDS development team. Once an entry for a schema is made in the**##types.json##** file, thevalues of attributes (**##"label"##**, **##"description"##**,and**##"translatableTo"##**)can bemanuallyedited. All manual editionswillbepreserved and not overwritten when the fileisupdatedagainwith anewcommit. Incase a schemaisdeleted fromthe openMINDSmetadata models, the correspondingentry inthe **##types.json##**fileisrkedasbeing deprecated (additional attribute-value pair; **##"deprecated":true##**). It onlycanbe permanently removedfromthe**##types.json##**file,iftheentryismanually deleted.84 +Similar to the **##types.json##** file, the **##properties.json##** file is an associative array listing all properties across all existing openMINDS schemas. For each openMINDS property, a small list of general attributes are provided in a nested associative array. Currently, the following attributes are captured: 88 88 89 -(% style="text-align: justify;" %) 90 -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: 91 - 92 92 {{code language="json"}} 93 93 { 94 - "PROPERTY_NAME": { 95 - "description": "GENERAL_DESCRIPTION", 96 - "name": "DISPLAY_LABEL", 97 - "nameForReverseLink": "DISPLAY_LABEL_OF_REVERSED_LINK", 88 + "https://openminds.ebrains.eu/vocab/«PROPERTY_NAME»": { 89 + "description": "«GENERAL_DESCRIPTION", 90 + "label": "«HUMAN-READABLE_LABEL", 91 + "labelForReverseLink": "«HUMAN-READABLE_LABEL_OF_REVERSED_LINK", 92 + "name": "«PROPERTY_NAME»", 98 98 "sameAs": [ 99 - "REFERENCE_TO_MATCHING_SCHEMA-PROPERTY_OF_OTHER_INITIATIVE" 94 + "«REFERENCE_TO_MATCHING_SCHEMA-PROPERTY_OF_OTHER_INITIATIVE" 100 100 ], 101 101 "schemas": [ 102 - "RELATIVE_PATH_TO_ OPENMINDS-SCHEMA_USING_THIS_PROPERTY"97 + "«RELATIVE_PATH_TO_SCHEMA_FILE_CONTAINING_THIS_PROPERTY»" 103 103 ] 104 104 } 105 105 } ... ... @@ -106,7 +106,7 @@ 106 106 {{/code}} 107 107 108 108 (% style="text-align: justify;" %) 109 -With each new property committed to a schema of one of the openMINDS metadata models, a new entry is appended to the **##properties.json##** file, with the displaylabel and listof schemaswhich this property occursautomatically derived. The remaining attributes areinitiallyprovided with a null value.Once an entryforapropertyismade inthe**##properties.json##**file,the valuesofallattributes (**##"name"##**,**##"description"##**,**##"nameForReversedLink"##**,and **##"sameAs"##**)can bemanuallyedited,except for **##"schemas"##**which will bealways automatically updated. Allthosemanual editions will be preserved and not overwritten when the file is updated again with a new commit. In case a property is not used anymore in any of the schemas from the openMINDS metadata models, the corresponding entry in the **##properties.json##** file is marked as being deprecated (additional attribute-value pair; **##"deprecated": true##**). It only can be permanently removed from the **##properties.json##** file, if the entry is manually deleted.104 +With each new property committed to a schema of one of the openMINDS metadata models, a new entry is appended to the **##properties.json##** file, with the **##"name"##**, **##"label"##** and **##"labelForReversedLink"##** automatically derived. The remaining attributes are predefined with a null value and frequently, manually edited by a corresponding expert of the openMINDS development team. If necessary the auto-derived values for "label" and **##"labelForReversedLink"##** can be edited as well. All manual editions will be preserved and not overwritten when the file is updated again with a new commit. In case a property is not used anymore in any of the schemas from the openMINDS metadata models, the corresponding entry in the **##properties.json##** file is marked as being deprecated (additional attribute-value pair; **##"deprecated": true##**). It only can be permanently removed from the **##properties.json##** file, if the entry is manually deleted. 110 110 111 111 === The openMINDS syntax === 112 112