Changes for page Application details
Last modified by lzehl on 2021/10/13 13:11
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -40,8 +40,7 @@ 40 40 (% style="text-align: justify;" %) 41 41 The JSON-LD property **##"@id"##** is also used to link two different metadata instances. Let us introduce a second openMINDS instance of the openMINDS core schema Person (cf. its HTML) which can link to an openMINDS instance of the openMINDS core schema ContactInformation. Here a valid JSON-LD for a person with a link to the contact information we defined above: 42 42 43 -{{code language="json"}} 44 -{ 43 +{{code language="json"}}{ 45 45 "@type": "https://openminds.ebrains.eu/core/Person", 46 46 "@id": "http://localhost/person/lyuba_zehl", 47 47 "givenName": "Lyuba", ... ... @@ -49,8 +49,8 @@ 49 49 "contactInformation": [ 50 50 {"@id": "http://localhost/contactInformation/email_openMINDS"} 51 51 ] 52 -} 53 - {{/code}}51 +}{{/code}} 52 + 54 54 Note that we did not use all schema defined properties for this person instance, but only the required property **##"givenName"##** and the two optional properties **##"familyName"##** and **##"ContactInformation"##**. Please also note, that a person is allowed to link to multiple contact information instances, hence it expects a list of dictionaries, instead of a single dictionary. 55 55 56 56 === The openMINDS Python API ===