{ "type": "object", "required": [ "id", "proofTypes", "revoked", "schemaHash" ], "properties": { "id": { "type": "string", "x-omitempty": false }, "proofTypes": { "type": "array", "items": { "type": "string" }, "example": [ "BJJSignature2021" ] }, "revoked": { "type": "boolean", "example": false }, "schemaHash": { "type": "string", "example": "c9b2370371b7fa8b3dab2a5ba81b6838" }, "vc": { "type": "object", "x-go-type": "verifiable.W3CCredential", "x-go-type-import": { "name": "verifiable", "path": "github.com/iden3/go-schema-processor/v2/verifiable" } }, "encryptedVC": { "$ref": "#/components/schemas/EncryptedVC" } }, "$schema": "https://json-schema.org/draft/2020-12/schema", "title": "Credential" }