vpSchema: {
properties: {
@context: {
additionalItems: {
anyOf: readonly [{
format: "uri";
type: "string";
}, {
type: "object";
}];
};
items: readonly [{
const: "https://www.w3.org/2018/credentials/v1";
}];
minItems: 1;
type: "array";
};
holder: {
oneOf: readonly [{
format: "uri";
type: "string";
}, {
properties: {
id: {
format: "uri";
type: "string";
};
type: {
type: "string";
};
};
required: readonly ["id"];
type: "object";
}];
};
id: {
format: "uri";
type: "string";
};
proof: {
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: {
contains: {
const: "VerifiablePresentation";
};
items: {
type: "string";
};
minItems: 1;
type: "array";
};
verifiableCredential: {
items: {
oneOf: readonly [{
properties: {
@context: {
additionalItems: {
anyOf: readonly [{
format: ...;
type: ...;
}, {
type: ...;
}];
};
items: readonly [{
const: "https://www.w3.org/2018/credentials/v1";
}];
minItems: 1;
type: "array";
};
credentialSubject: {
oneOf: readonly [{
type: "object";
}, {
items: {
type: ...;
};
type: "array";
}];
};
expirationDate: {
format: "date-time";
type: "string";
};
holder: {
oneOf: readonly [{
format: "uri";
type: "string";
}, {
properties: {
id: ...;
type: ...;
};
required: readonly [(...)];
type: "object";
}];
};
id: {
format: "uri";
type: "string";
};
issuanceDate: {
format: "date-time";
type: "string";
};
issuer: {
oneOf: readonly [{
format: "uri";
type: "string";
}, {
properties: {
id: ...;
type: ...;
};
required: readonly [(...)];
type: "object";
}];
};
proof: {
oneOf: readonly [{
properties: {
created: ...;
jws: ...;
proofPurpose: ...;
type: ...;
verificationMethod: ...;
};
required: readonly [(...), (...), (...), (...), (...)];
type: "object";
}, {
properties: {
created: ...;
proofPurpose: ...;
proofValue: ...;
type: ...;
verificationMethod: ...;
};
required: readonly [(...), (...), (...), (...), (...)];
type: "object";
}];
};
type: {
contains: {
const: "VerifiableCredential";
};
items: {
type: "string";
};
minItems: 1;
type: "array";
};
};
required: readonly ["@context", "id", "type", "credentialSubject", "issuanceDate", "issuer", "proof"];
type: "object";
}, {
allOf: readonly [{
properties: {
type: {
contains: {
const: ...;
};
items: {
type: ...;
};
minItems: 1;
type: "array";
};
};
required: readonly ["type"];
type: "object";
}, {
properties: {
edges: {
items: {
properties: ...;
required: ...;
type: ...;
};
type: "array";
};
issuer: {
type: "string";
};
meta: {
properties: {
payload: ...;
sig: ...;
};
required: readonly [(...), (...)];
type: "object";
};
nodes: {
items: {
properties: ...;
required: ...;
type: ...;
};
type: "array";
};
properties: {
items: {
properties: ...;
required: ...;
type: ...;
};
type: "array";
};
property_lists: {
items: {
properties: ...;
required: ...;
type: ...;
};
type: "array";
};
};
required: readonly ["issuer", "meta", "nodes", "edges", "properties", "property_lists"];
type: "object";
}];
}];
};
type: "array";
};
};
required: readonly ["@context", "id", "type", "verifiableCredential", "holder", "proof"];
type: "object";
} = ...
Type declaration
Readonly
properties: {
@context: {
additionalItems: {
anyOf: readonly [{
format: "uri";
type: "string";
}, {
type: "object";
}];
};
items: readonly [{
const: "https://www.w3.org/2018/credentials/v1";
}];
minItems: 1;
type: "array";
};
holder: {
oneOf: readonly [{
format: "uri";
type: "string";
}, {
properties: {
id: {
format: "uri";
type: "string";
};
type: {
type: "string";
};
};
required: readonly ["id"];
type: "object";
}];
};
id: {
format: "uri";
type: "string";
};
proof: {
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: {
contains: {
const: "VerifiablePresentation";
};
items: {
type: "string";
};
minItems: 1;
type: "array";
};
verifiableCredential: {
items: {
oneOf: readonly [{
properties: {
@context: {
additionalItems: {
anyOf: readonly [{
format: ...;
type: ...;
}, {
type: ...;
}];
};
items: readonly [{
const: "https://www.w3.org/2018/credentials/v1";
}];
minItems: 1;
type: "array";
};
credentialSubject: {
oneOf: readonly [{
type: "object";
}, {
items: {
type: ...;
};
type: "array";
}];
};
expirationDate: {
format: "date-time";
type: "string";
};
holder: {
oneOf: readonly [{
format: "uri";
type: "string";
}, {
properties: {
id: ...;
type: ...;
};
required: readonly [(...)];
type: "object";
}];
};
id: {
format: "uri";
type: "string";
};
issuanceDate: {
format: "date-time";
type: "string";
};
issuer: {
oneOf: readonly [{
format: "uri";
type: "string";
}, {
properties: {
id: ...;
type: ...;
};
required: readonly [(...)];
type: "object";
}];
};
proof: {
oneOf: readonly [{
properties: {
created: ...;
jws: ...;
proofPurpose: ...;
type: ...;
verificationMethod: ...;
};
required: readonly [(...), (...), (...), (...), (...)];
type: "object";
}, {
properties: {
created: ...;
proofPurpose: ...;
proofValue: ...;
type: ...;
verificationMethod: ...;
};
required: readonly [(...), (...), (...), (...), (...)];
type: "object";
}];
};
type: {
contains: {
const: "VerifiableCredential";
};
items: {
type: "string";
};
minItems: 1;
type: "array";
};
};
required: readonly ["@context", "id", "type", "credentialSubject", "issuanceDate", "issuer", "proof"];
type: "object";
}, {
allOf: readonly [{
properties: {
type: {
contains: {
const: ...;
};
items: {
type: ...;
};
minItems: 1;
type: "array";
};
};
required: readonly ["type"];
type: "object";
}, {
properties: {
edges: {
items: {
properties: ...;
required: ...;
type: ...;
};
type: "array";
};
issuer: {
type: "string";
};
meta: {
properties: {
payload: ...;
sig: ...;
};
required: readonly [(...), (...)];
type: "object";
};
nodes: {
items: {
properties: ...;
required: ...;
type: ...;
};
type: "array";
};
properties: {
items: {
properties: ...;
required: ...;
type: ...;
};
type: "array";
};
property_lists: {
items: {
properties: ...;
required: ...;
type: ...;
};
type: "array";
};
};
required: readonly ["issuer", "meta", "nodes", "edges", "properties", "property_lists"];
type: "object";
}];
}];
};
type: "array";
};
}
Readonly
@context: {
additionalItems: {
anyOf: readonly [{
format: "uri";
type: "string";
}, {
type: "object";
}];
};
items: readonly [{
const: "https://www.w3.org/2018/credentials/v1";
}];
minItems: 1;
type: "array";
}
Readonly
additionalItems: {
anyOf: readonly [{
format: "uri";
type: "string";
}, {
type: "object";
}];
}
Readonly
anyOf: readonly [{
format: "uri";
type: "string";
}, {
type: "object";
}]
Readonly
items: readonly [{
const: "https://www.w3.org/2018/credentials/v1";
}]
Readonly
minItems: 1
Readonly
type: "array"
Readonly
holder: {
oneOf: readonly [{
format: "uri";
type: "string";
}, {
properties: {
id: {
format: "uri";
type: "string";
};
type: {
type: "string";
};
};
required: readonly ["id"];
type: "object";
}];
}
Readonly
oneOf: readonly [{
format: "uri";
type: "string";
}, {
properties: {
id: {
format: "uri";
type: "string";
};
type: {
type: "string";
};
};
required: readonly ["id"];
type: "object";
}]
Readonly
id: {
format: "uri";
type: "string";
}
Readonly
format: "uri"
Readonly
type: "string"
Readonly
proof: {
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";
}];
}
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";
}]
Readonly
type: {
contains: {
const: "VerifiablePresentation";
};
items: {
type: "string";
};
minItems: 1;
type: "array";
}
Readonly
contains: {
const: "VerifiablePresentation";
}
Readonly
const: "VerifiablePresentation"
Readonly
items: {
type: "string";
}
Readonly
minItems: 1
Readonly
type: "array"
Readonly
verifiableCredential: {
items: {
oneOf: readonly [{
properties: {
@context: {
additionalItems: {
anyOf: readonly [{
format: ...;
type: ...;
}, {
type: ...;
}];
};
items: readonly [{
const: "https://www.w3.org/2018/credentials/v1";
}];
minItems: 1;
type: "array";
};
credentialSubject: {
oneOf: readonly [{
type: "object";
}, {
items: {
type: ...;
};
type: "array";
}];
};
expirationDate: {
format: "date-time";
type: "string";
};
holder: {
oneOf: readonly [{
format: "uri";
type: "string";
}, {
properties: {
id: ...;
type: ...;
};
required: readonly [(...)];
type: "object";
}];
};
id: {
format: "uri";
type: "string";
};
issuanceDate: {
format: "date-time";
type: "string";
};
issuer: {
oneOf: readonly [{
format: "uri";
type: "string";
}, {
properties: {
id: ...;
type: ...;
};
required: readonly [(...)];
type: "object";
}];
};
proof: {
oneOf: readonly [{
properties: {
created: ...;
jws: ...;
proofPurpose: ...;
type: ...;
verificationMethod: ...;
};
required: readonly [(...), (...), (...), (...), (...)];
type: "object";
}, {
properties: {
created: ...;
proofPurpose: ...;
proofValue: ...;
type: ...;
verificationMethod: ...;
};
required: readonly [(...), (...), (...), (...), (...)];
type: "object";
}];
};
type: {
contains: {
const: "VerifiableCredential";
};
items: {
type: "string";
};
minItems: 1;
type: "array";
};
};
required: readonly ["@context", "id", "type", "credentialSubject", "issuanceDate", "issuer", "proof"];
type: "object";
}, {
allOf: readonly [{
properties: {
type: {
contains: {
const: ...;
};
items: {
type: ...;
};
minItems: 1;
type: "array";
};
};
required: readonly ["type"];
type: "object";
}, {
properties: {
edges: {
items: {
properties: ...;
required: ...;
type: ...;
};
type: "array";
};
issuer: {
type: "string";
};
meta: {
properties: {
payload: ...;
sig: ...;
};
required: readonly [(...), (...)];
type: "object";
};
nodes: {
items: {
properties: ...;
required: ...;
type: ...;
};
type: "array";
};
properties: {
items: {
properties: ...;
required: ...;
type: ...;
};
type: "array";
};
property_lists: {
items: {
properties: ...;
required: ...;
type: ...;
};
type: "array";
};
};
required: readonly ["issuer", "meta", "nodes", "edges", "properties", "property_lists"];
type: "object";
}];
}];
};
type: "array";
}
Readonly
items: {
oneOf: readonly [{
properties: {
@context: {
additionalItems: {
anyOf: readonly [{
format: ...;
type: ...;
}, {
type: ...;
}];
};
items: readonly [{
const: "https://www.w3.org/2018/credentials/v1";
}];
minItems: 1;
type: "array";
};
credentialSubject: {
oneOf: readonly [{
type: "object";
}, {
items: {
type: ...;
};
type: "array";
}];
};
expirationDate: {
format: "date-time";
type: "string";
};
holder: {
oneOf: readonly [{
format: "uri";
type: "string";
}, {
properties: {
id: ...;
type: ...;
};
required: readonly [(...)];
type: "object";
}];
};
id: {
format: "uri";
type: "string";
};
issuanceDate: {
format: "date-time";
type: "string";
};
issuer: {
oneOf: readonly [{
format: "uri";
type: "string";
}, {
properties: {
id: ...;
type: ...;
};
required: readonly [(...)];
type: "object";
}];
};
proof: {
oneOf: readonly [{
properties: {
created: ...;
jws: ...;
proofPurpose: ...;
type: ...;
verificationMethod: ...;
};
required: readonly [(...), (...), (...), (...), (...)];
type: "object";
}, {
properties: {
created: ...;
proofPurpose: ...;
proofValue: ...;
type: ...;
verificationMethod: ...;
};
required: readonly [(...), (...), (...), (...), (...)];
type: "object";
}];
};
type: {
contains: {
const: "VerifiableCredential";
};
items: {
type: "string";
};
minItems: 1;
type: "array";
};
};
required: readonly ["@context", "id", "type", "credentialSubject", "issuanceDate", "issuer", "proof"];
type: "object";
}, {
allOf: readonly [{
properties: {
type: {
contains: {
const: ...;
};
items: {
type: ...;
};
minItems: 1;
type: "array";
};
};
required: readonly ["type"];
type: "object";
}, {
properties: {
edges: {
items: {
properties: ...;
required: ...;
type: ...;
};
type: "array";
};
issuer: {
type: "string";
};
meta: {
properties: {
payload: ...;
sig: ...;
};
required: readonly [(...), (...)];
type: "object";
};
nodes: {
items: {
properties: ...;
required: ...;
type: ...;
};
type: "array";
};
properties: {
items: {
properties: ...;
required: ...;
type: ...;
};
type: "array";
};
property_lists: {
items: {
properties: ...;
required: ...;
type: ...;
};
type: "array";
};
};
required: readonly ["issuer", "meta", "nodes", "edges", "properties", "property_lists"];
type: "object";
}];
}];
}
Readonly
oneOf: readonly [{
properties: {
@context: {
additionalItems: {
anyOf: readonly [{
format: ...;
type: ...;
}, {
type: ...;
}];
};
items: readonly [{
const: "https://www.w3.org/2018/credentials/v1";
}];
minItems: 1;
type: "array";
};
credentialSubject: {
oneOf: readonly [{
type: "object";
}, {
items: {
type: ...;
};
type: "array";
}];
};
expirationDate: {
format: "date-time";
type: "string";
};
holder: {
oneOf: readonly [{
format: "uri";
type: "string";
}, {
properties: {
id: ...;
type: ...;
};
required: readonly [(...)];
type: "object";
}];
};
id: {
format: "uri";
type: "string";
};
issuanceDate: {
format: "date-time";
type: "string";
};
issuer: {
oneOf: readonly [{
format: "uri";
type: "string";
}, {
properties: {
id: ...;
type: ...;
};
required: readonly [(...)];
type: "object";
}];
};
proof: {
oneOf: readonly [{
properties: {
created: ...;
jws: ...;
proofPurpose: ...;
type: ...;
verificationMethod: ...;
};
required: readonly [(...), (...), (...), (...), (...)];
type: "object";
}, {
properties: {
created: ...;
proofPurpose: ...;
proofValue: ...;
type: ...;
verificationMethod: ...;
};
required: readonly [(...), (...), (...), (...), (...)];
type: "object";
}];
};
type: {
contains: {
const: "VerifiableCredential";
};
items: {
type: "string";
};
minItems: 1;
type: "array";
};
};
required: readonly ["@context", "id", "type", "credentialSubject", "issuanceDate", "issuer", "proof"];
type: "object";
}, {
allOf: readonly [{
properties: {
type: {
contains: {
const: ...;
};
items: {
type: ...;
};
minItems: 1;
type: "array";
};
};
required: readonly ["type"];
type: "object";
}, {
properties: {
edges: {
items: {
properties: ...;
required: ...;
type: ...;
};
type: "array";
};
issuer: {
type: "string";
};
meta: {
properties: {
payload: ...;
sig: ...;
};
required: readonly [(...), (...)];
type: "object";
};
nodes: {
items: {
properties: ...;
required: ...;
type: ...;
};
type: "array";
};
properties: {
items: {
properties: ...;
required: ...;
type: ...;
};
type: "array";
};
property_lists: {
items: {
properties: ...;
required: ...;
type: ...;
};
type: "array";
};
};
required: readonly ["issuer", "meta", "nodes", "edges", "properties", "property_lists"];
type: "object";
}];
}]
Readonly
type: "array"
Readonly
required: readonly ["@context", "id", "type", "verifiableCredential", "holder", "proof"]
Readonly
type: "object"