Changes for page Technical details

Last modified by lzehl on 2021/07/05 18:57

From version 85.1
edited by lzehl
on 2021/07/05 13:35
Change comment: There is no comment for this version
To version 85.2
edited by lzehl
on 2021/07/05 13:50
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -124,6 +124,7 @@
124 124   "PROPERTY_NAME": {
125 125   "type": "DATA_TYPE",
126 126   "_instruction": "METADATA_ENTRY_INSTRUCTION"
127 + }
127 127   },
128 128   "required": [
129 129   "PROPERTY_NAME"
... ... @@ -162,8 +162,26 @@
162 162  Depending on the expected data **##"type"##** additional constraints can be made for the metadata entry of a respective property. Currently, the openMINDS schema template syntax supports the following data types: **##"string"##**, ##**"integer"**##, **##"float"##**, **##"boolean"##**, **##"array"##** and **##"object"##**.
163 163  
164 164  (% style="text-align: justify;" %)
165 -If the expected data **##"type"##** is a **##"string"##** the expected number of characters, the format or a regular expression pattern of the string can be further defined.
166 +If the expected data **##"type"##** is a **##"string"##** the expected number of characters, the format or a regular expression pattern of the string can be further defined. Here a conceptual example for all possible constraints:
166 166  
168 +{{code language="json"}}
169 +{
170 + "_type": "https://openminds.ebrains.eu/LABEL_OF_METADATA_MODEL/SCHEMA_NAME",
171 + "properties": {
172 + "stringProperty_noConstraints": {
173 + "type": "string",
174 + "_instruction": "Enter a free text."
175 + },
176 + "stringProperty_lengthConstraints": {
177 + "maxLength": 6
178 + "minLength": 2,
179 + "type": "string",
180 + "_instruction": "Enter a free text (allowed numbers of characters: 2 - 6)."
181 + }
182 + }
183 +}
184 +{{/code}}
185 +
167 167  === The openMINDS integration pipeline ===
168 168  
169 169  (//**coming soon**//) If you'd like to learn more about the openMINDS integration pipeline, especially if you'd like to contribute to it, please get in touch with us (the openMINDS development team) via the issues on the openMINDS or openMINDS_generator GitHub or the support email: openminds@ebrains.eu
Public

openMINDS