{ "$metadata": { "uris": { "jsonLdContext": "https://raw.githubusercontent.com/iden3/claim-schema-vocab/main/schemas/json-ld/non-zero-balance.jsonld" }, "version": "1.0", "type": "Balance" }, "$schema": "https://json-schema.org/draft/2020-12/schema", "description": "User balance", "title": "Balance", "properties": { "credentialSubject": { "description": "Stores the data of the credential", "title": "Credential subject", "properties": { "id": { "description": "Stores the DID of the subject that owns the credential", "title": "Credential subject ID", "format": "uri", "type": "string" }, "balance": { "description": "balance", "title": "balance", "type": "string" }, "address": { "description": "Wallet address", "title": "address", "type": "string" } }, "required": [ "balance", "address" ], "type": "object" }, "@context": { "type": [ "string", "array", "object" ] }, "expirationDate": { "format": "date-time", "type": "string" }, "id": { "type": "string" }, "issuanceDate": { "format": "date-time", "type": "string" }, "issuer": { "type": [ "string", "object" ], "format": "uri", "properties": { "id": { "format": "uri", "type": "string" } }, "required": [ "id" ] }, "type": { "type": [ "string", "array" ], "items": { "type": "string" } }, "credentialSchema": { "properties": { "id": { "format": "uri", "type": "string" }, "type": { "type": "string" } }, "required": [ "id", "type" ], "type": "object" } }, "required": [ "credentialSubject", "@context", "id", "issuanceDate", "issuer", "type", "credentialSchema" ], "type": "object" }