Variable vpProofSchemaConst

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

Type declaration

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