Skip to content

Commit

Permalink
docs: Improve JSON formatting in referencing.md (#67)
Browse files Browse the repository at this point in the history
docs: Reformat JSON block for better readability

Co-authored-by: Ankur Banerjee <ankurdotb@users.noreply.github.com>
  • Loading branch information
ccamel and ankurdotb authored Jan 22, 2025
1 parent a2157be commit af5433b
Showing 1 changed file with 22 additions and 21 deletions.
43 changes: 22 additions & 21 deletions studio/did-linked-resources/understanding-dlrs/referencing.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,30 +58,31 @@ The schema in the above Credential dereferences to the following data:

```json
{
"@context": {
"id": "@id",
"type": "@type",
"@version": 1.1,
"schema": "http://schema.org/#",
"xsd": "https://www.w3.org/2001/XMLSchema#",
"reservationId": {
"@id": "schema: reservationId",
"@type": "xsd:string"
},
"reservationStatus": "schema: reservationStatus",
"reservationFor": {
"@id": "schema: reservationFor",
"@type": "@id",
"@context": {
"@context": {
"id": "@id",
"type": "@type",
"@version": 1.1,
"schema": "http://schema.org/#",
"xsd": "https://www.w3.org/2001/XMLSchema#",
"reservationId": {
"@id": "schema: reservationId",
"@type": "xsd:string"
},
"reservationStatus": "schema: reservationStatus",
"reservationFor": {
"@id": "schema: reservationFor",
"@type": "@id",
"@context": {
"name": "schema: name",
"startDate": "schema: startDate",
"endDate": "schema: endDate",
"location":{
"@id": "schema: location",
"@type": "xsd: string"},
"logo": "schema: logo"
}
}
"location": {
"@id": "schema: location",
"@type": "xsd: string"
},
"logo": "schema: logo"
}
}
}
}
```

0 comments on commit af5433b

Please sign in to comment.