Skip to content

Commit af5433b

Browse files
ccamelankurdotb
andauthored
docs: Improve JSON formatting in referencing.md (#67)
docs: Reformat JSON block for better readability Co-authored-by: Ankur Banerjee <ankurdotb@users.noreply.github.com>
1 parent a2157be commit af5433b

File tree

1 file changed

+22
-21
lines changed

1 file changed

+22
-21
lines changed

studio/did-linked-resources/understanding-dlrs/referencing.md

+22-21
Original file line numberDiff line numberDiff line change
@@ -58,30 +58,31 @@ The schema in the above Credential dereferences to the following data:
5858

5959
```json
6060
{
61-
"@context": {
62-
"id": "@id",
63-
"type": "@type",
64-
"@version": 1.1,
65-
"schema": "http://schema.org/#",
66-
"xsd": "https://www.w3.org/2001/XMLSchema#",
67-
"reservationId": {
68-
"@id": "schema: reservationId",
69-
"@type": "xsd:string"
70-
},
71-
"reservationStatus": "schema: reservationStatus",
72-
"reservationFor": {
73-
"@id": "schema: reservationFor",
74-
"@type": "@id",
75-
"@context": {
61+
"@context": {
62+
"id": "@id",
63+
"type": "@type",
64+
"@version": 1.1,
65+
"schema": "http://schema.org/#",
66+
"xsd": "https://www.w3.org/2001/XMLSchema#",
67+
"reservationId": {
68+
"@id": "schema: reservationId",
69+
"@type": "xsd:string"
70+
},
71+
"reservationStatus": "schema: reservationStatus",
72+
"reservationFor": {
73+
"@id": "schema: reservationFor",
74+
"@type": "@id",
75+
"@context": {
7676
"name": "schema: name",
7777
"startDate": "schema: startDate",
7878
"endDate": "schema: endDate",
79-
"location":{
80-
"@id": "schema: location",
81-
"@type": "xsd: string"},
82-
"logo": "schema: logo"
83-
}
84-
}
79+
"location": {
80+
"@id": "schema: location",
81+
"@type": "xsd: string"
82+
},
83+
"logo": "schema: logo"
84+
}
8585
}
86+
}
8687
}
8788
```

0 commit comments

Comments
 (0)