Changes for page Technical details

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

From version 86.1
edited by lzehl
on 2021/07/05 14:01
Change comment: There is no comment for this version
To version 86.2
edited by lzehl
on 2021/07/05 15:01
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -160,14 +160,13 @@
160 160  ==== Data type depending constraints ====
161 161  
162 162  (% style="text-align: justify;" %)
163 -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 +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"##**, **##"number"##** (integer or float), ##**"integer"**##, **##"float"##**, **##"boolean"##**, **##"array"##** and **##"object"##**.
164 164  
165 165  (% style="text-align: justify;" %)
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 an abstract example for all possible string constraints:
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 abstract examples for all possible string constraints:
167 167  
168 168  {{code language="json"}}
169 169  {
170 - "_type": "https://openminds.ebrains.eu/LABEL_OF_METADATA_MODEL/SCHEMA_NAME",
171 171   "properties": {
172 172   "stringProperty_noConstraints": {
173 173   "type": "string",
... ... @@ -199,6 +199,23 @@
199 199  }
200 200  {{/code}}
201 201  
201 +(% class="wikigeneratedid" %)
202 +If the expected data **##"type"##** is an **##"integer"##** or a **##"number"##** (float or integer) the expected range or multiples can be further defined. Here abstract examples for all possible  **##"integer"##** and **##"number"##** constraints:
203 +
204 +{{code language="json"}}
205 +{
206 + "properties": {
207 + "numberProperty_noConstraints": {
208 + "type": "number",
209 + "_instruction": "Enter a number (float or integer)."
210 + }
211 + }
212 +}
213 +{{/code}}
214 +
215 +(% class="wikigeneratedid" %)
216 +If ...
217 +
202 202  === The openMINDS integration pipeline ===
203 203  
204 204  (//**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