Changes for page Technical details

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

From version 87.1
edited by lzehl
on 2021/07/05 15:42
Change comment: There is no comment for this version
To version 88.1
edited by lzehl
on 2021/07/05 18:01
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -228,8 +228,26 @@
228 228  {{/code}}
229 229  
230 230  (% class="wikigeneratedid" %)
231 -If the expected data **##"type"##** is an **##"object"##** the expected schema type needs to be defined, as well as if the object is linked or embedded. Here abstract examples for all possible  **##"object"##** constraints:
231 +If the expected data **##"type"##** is an **##"object"##** the expected schema type needs to be defined, as well as if the object is linked or embedded. Note that linked objects can exist by themselves. In contrast embedded objects depend on the existence of their parent schema (if the parent schema is deleted, the embedded objects will be deleted as well). Here abstract examples for all possible  **##"object"##** constraints:
232 232  
233 +{{code language="json"}}
234 +{
235 + "properties": {
236 + "objectProperty_linked": {
237 + "_linkedTypes": [
238 + "«SCHEMA_TYPE»"
239 + ],
240 + "_instruction": "Add the link to an instance conform with the given schema types."
241 + },
242 + "objectProperty_embedded": {
243 + "_embeddedTypes": [
244 + "«SCHEMA_TYPE»"
245 + ],
246 + "_instruction": "Enter an instance conform with the given schema types."
247 + }
248 + }
249 +}
250 +{{/code}}
233 233  
234 234  (% class="wikigeneratedid" %)
235 235  If the expected data **##"type"##** is an **##"array"##** the expected data type of the items in the array, as well as the expected length of the array can be further defined. Valid data types for items are **##"string"##**, **##"number"##**, ##**"integer"**##, **##"float"##**, **##"boolean"##**, and/or **##"object"##**. In addition, items can also be defined as n-tuples with expected data types. Here abstract examples for all possible  **##"array"##** constraints:
Public

openMINDS