Variable vcProofSchemaConst

vcProofSchema: {
    oneOf: readonly [{
        properties: {
            created: {
                format: "date-time";
                type: "string";
            };
            jws: {
                type: "string";
            };
            proofPurpose: {
                const: "assertionMethod";
            };
            type: {
                type: "string";
            };
            verificationMethod: {
                type: "string";
            };
        };
        required: readonly ["type", "created", "proofPurpose", "verificationMethod", "jws"];
        type: "object";
    }, {
        properties: {
            created: {
                format: "date-time";
                type: "string";
            };
            proofPurpose: {
                const: "assertionMethod";
            };
            proofValue: {
                type: "string";
            };
            type: {
                type: "string";
            };
            verificationMethod: {
                type: "string";
            };
        };
        required: readonly ["type", "created", "proofPurpose", "verificationMethod", "proofValue"];
        type: "object";
    }];
} = ...

Type declaration

  • Readonly oneOf: readonly [{
        properties: {
            created: {
                format: "date-time";
                type: "string";
            };
            jws: {
                type: "string";
            };
            proofPurpose: {
                const: "assertionMethod";
            };
            type: {
                type: "string";
            };
            verificationMethod: {
                type: "string";
            };
        };
        required: readonly ["type", "created", "proofPurpose", "verificationMethod", "jws"];
        type: "object";
    }, {
        properties: {
            created: {
                format: "date-time";
                type: "string";
            };
            proofPurpose: {
                const: "assertionMethod";
            };
            proofValue: {
                type: "string";
            };
            type: {
                type: "string";
            };
            verificationMethod: {
                type: "string";
            };
        };
        required: readonly ["type", "created", "proofPurpose", "verificationMethod", "proofValue"];
        type: "object";
    }]