{ "$schema": "http://json-schema.org/draft-07/schema#", "title": "VerifiableCredential", "description": "A [[VerifiableCredential]] is fact-checking review/attestation of claims made about a credentialSubject", "type": "object", "properties": { "@context": { "type": "array", "items": { "type": "string" } }, "type": { "type": "array", "items": { "type": "string" } }, "id": { "type": "string", "maxLength": 240 }, "issuer": { "type": "object", "properties": { "id": { "type": "string" }, "ethereumAddress": { "type": "string" } }, "required": ["id"] }, "credentialSubject": { "type": "object", "properties": { "id": { "type": "string" }, "ethereumAddress": { "type": "string" } }, "required": ["id"], "additionalProperties": true }, "credentialSchema": { "type": "object", "properties": { "id": { "type": "string" }, "type": { "type": "string" } }, "required": ["id", "type"], "additionalProperties": false }, "issuanceDate": { "type": "string" }, "expirationDate": { "type": "string" }, "proof": { "type": "object", "properties": { "type": { "type": "string" }, "verificationMethod": { "type": "string" }, "ethereumAddress": { "type": "string" }, "created": { "type": "string" }, "proofPurpose": { "type": "string" }, "proofValue": { "type": "string" }, "eip712": { "type": "object", "properties": { "domain": { "type": "object", "properties": { "chainId": { "type": "integer" }, "name": { "type": "string" }, "version": { "type": "string" }, "verifyingContract": { "type": "string" } }, "required": ["chainId", "name", "version"], "additionalProperties": false }, "types": { "type": "object" }, "primaryType": { "type": "string" } }, "required": ["domain", "types", "primaryType"], "additionalProperties": false } }, "required": ["type"] }, "evidence": { "type": "object", "properties": { "id": { "type": "string" }, "type": { "type": "array", "items": { "type": "string" } }, "verifier": { "type": "string" }, "evidenceDocument": { "type": "string" }, "subjectPresence": { "type": "string" }, "documentPresence": { "type": "string" } }, "required": ["id"], "additionalProperties": false }, "credentialStatus": { "type": "object", "properties": { "id": { "type": "string" }, "type": { "type": "string" } }, "required": ["id", "type"], "additionalProperties": false } }, "required": [ "@context", "type", "id", "issuer", "credentialSubject", "credentialSchema", "issuanceDate" ], "additionalProperties": false }