Skip to content

Maria's personal data

Markus Sabadello edited this page Nov 16, 2016 · 1 revision

Maria's personal cloud in the demo is pre-configured to contain the following data:

=!:did:sov:21tDAKCERh95uGgKbJNHYp$card<#first><#name>/&/"Maria"
=!:did:sov:21tDAKCERh95uGgKbJNHYp$card<#last><#name>/&/"Fischer"
=!:did:sov:21tDAKCERh95uGgKbJNHYp$card#address<#street>/&/"Hauptstrasse 18"
=!:did:sov:21tDAKCERh95uGgKbJNHYp$card#address<#locality>/&/"Frankfurt"
=!:did:sov:21tDAKCERh95uGgKbJNHYp$card#address<#country>/&/"Deutschland"

The above data is express in the XDI DISPLAY format. The "XDI Converter" tool can be used to convert to the JSON-based JXD format:

https://server.xdi2.org/XDIConverter

[
  {
    "@xdi": {
        "firstname": "<#first><#name>",
        "lastname": "<#last><#name>",
        "address": { "@id": "#address", "@type": "@id" },
        "street": "<#street>",
        "locality": "<#locality>",
        "country": "<#country>"
    },
    "@id": "=!:did:sov:21tDAKCERh95uGgKbJNHYp$card",
    "firstname": "Maria",
    "lastname": "Fischer",
    "address": {
      "street": "Hauptstrasse 18",
      "locality": "Frankfurt",
      "country": "Deutschland"
    }
  }
]

In the demo, this personal data is pre-configured for Maria in ./src/main/webapp/WEB-INF/applicationContext.xml.