JSON-LD Playground

Play around with JSON-LD markup by typing out some JSON below and seeing what gets generated from it at the bottom of the page. Pick any of the examples below to get started.

NOTES:

Loading the Playground...

Gist
Key Autocomplete
all of the @ keywords
available keys in @context
{
  "@context": [
    "https://www.w3.org/2018/credentials/v1",
    "https://schema.org/docs/jsonldcontext.json"
  ],
  "type": [
    "VerifiableCredential"
  ],
  "issuer": {
    "id": "did:web:dev.app.diwala.io"
  },
  "issuanceDate": "2023-03-27T14:16:29Z",
  "credentialSubject": {
    "type": "Person",
    "id": "did:key:z6MkoatuG6vy6NNgvcxoiGs3X6U5MhRCkQ6c4zFL6u7gXzyU",
    "birthDate": "asda",
    "nationality": "Sweden",
    "givenName": "Test Person",
    "familyName": "Last Name",
    "mumboJumbo": "mumbo jumbo"
  },
  "id": "urn:uuid:9ee6bb0f-b7d3-4c9d-8306-ff79de82fb8f",
  "proof": {
    "type": "Ed25519Signature2018",
    "created": "2023-03-27T12:16:30Z",
    "verificationMethod": "did:web:dev.app.diwala.io#key-1",
    "proofPurpose": "assertionMethod",
    "jws": "eyJhbGciOiJFZERTQSIsImI2NCI6ZmFsc2UsImNyaXQiOlsiYjY0Il19..mInvvzUw7hCN_RzT1379DrOMQbJcGG5LI9TRKAPw6YMEVEwYppYaNaChAEfFuozJtPbWKX6MI2e2j5LAwMGRBQ"
  }
}
 
 
 
 
 
 
 
 
 
 
 
 
 
Subject Predicate Object Language Datatype Graph
NOTE: As of 2022-08-25, the demos of RSA and Bitcoin signatures are temporarily unavailable. For a demo involving JSON-LD signatures and other related technology, please see the Verifiable Credentials Playground.