Schema Builder

Create trusted and tamper-proof verifiable credential schemas

Define schema

12/256
3/256

Only alphanumeric characters allowed.

Preview

1{
2  "$metadata": {
3    "uris": [],
4    "jsonLdContext": "https://example.com/path/to/file/context.jsonld"
5  },
6  "$schema": "https://json-schema.org/draft/2020-12/schema",
7  "version": "1.0",
8  "type": "POH",
9  "title": "First Schema",
10  "description": "POH",
11  "properties": {
12    "credentialSubject": {
13      "description": "Stores the data of the credential",
14      "title": "Credential subject",
15      "type": "object",
16      "properties": {
17        "id": {
18          "type": "string",
19          "title": "Credential subject ID",
20          "description": "Stores the DID of the subject that owns the credential",
21          "format": "uri"
22        }
23      },
24      "required": []
25    },
26    "id": {
27      "type": "string"
28    },
29    "issuer": {
30      "type": [
31        "string",
32        "object"
33      ],
34      "format": "uri"
35    },
36    "issuanceDate": {
37      "type": "string",
38      "format": "date-time"
39    },
40    "expirationDate": {
41      "type": "string",
42      "format": "date-time"
43    },
44    "@context": {
45      "type": [
46        "string",
47        "array"
48      ]
49    }
50  },
51  "required": []
52}