@sphereon/pe-models
Advanced tools
Comparing version 0.0.3 to 0.0.4
export interface Descriptor { | ||
id: string; | ||
path: string; | ||
path_nested?: Array<Descriptor>; | ||
path_nested?: Descriptor; | ||
format: string; | ||
} |
@@ -24,7 +24,16 @@ /** | ||
statuses?: Statuses; | ||
/** | ||
* It\'s a list of Fields. | ||
*/ | ||
fields?: Array<Field>; | ||
subject_is_issuer?: Optionality; | ||
/** | ||
* It\'s a list of holder_subjects. | ||
*/ | ||
is_holder?: Array<HolderSubject>; | ||
/** | ||
* It\'s a list of holder_subjects. | ||
*/ | ||
same_subject?: Array<HolderSubject>; | ||
} | ||
@@ -26,7 +26,4 @@ /** | ||
path: string; | ||
path_nested?: Descriptor; | ||
/** | ||
* List of descriptors of how the claims are being mapped to presentation definition | ||
*/ | ||
path_nested?: Array<Descriptor>; | ||
/** | ||
* The Proof or JWT algorith that the proof is in | ||
@@ -33,0 +30,0 @@ */ |
@@ -15,3 +15,3 @@ /** | ||
/** | ||
* A directive is an instruction to the holder about what significance to give to the element it refers to | ||
* A directive is an instruction to the holder about what significance to give to the element it refers to. * `required` - The item \'must\' be presented * `allowed` - The item \'can\' be presented * `disallowed` - The item \'must NOT\' be presented | ||
*/ | ||
@@ -18,0 +18,0 @@ export type Directives = 'required' | 'allowed' | 'disallowed'; |
@@ -17,3 +17,3 @@ /** | ||
/** | ||
* Fields required by Verifier to be submitted by Holder. | ||
* Field required by Verifier to be submitted by Holder. | ||
*/ | ||
@@ -25,2 +25,5 @@ export interface Field { | ||
id?: string; | ||
/** | ||
* List of JSon paths where the field is expected to be found. | ||
*/ | ||
path?: Array<string>; | ||
@@ -27,0 +30,0 @@ /** |
@@ -58,2 +58,5 @@ /** | ||
_const?: number; | ||
/** | ||
* Fixed listed values which are acceptable in this variable. | ||
*/ | ||
_enum?: Array<number>; | ||
@@ -60,0 +63,0 @@ /** |
@@ -36,2 +36,5 @@ /** | ||
group?: Array<string>; | ||
/** | ||
* List of schemas for the credential to be compatible with. | ||
*/ | ||
schema: Array<Schema>; | ||
@@ -38,0 +41,0 @@ constraints?: Constraints; |
@@ -18,4 +18,7 @@ /** | ||
export interface JwtObject { | ||
/** | ||
* List of names of the the JWT Algorithms | ||
*/ | ||
alg: Array<string>; | ||
} | ||
@@ -18,4 +18,7 @@ /** | ||
export interface LdpObject { | ||
/** | ||
* List of names of the the proof types | ||
*/ | ||
proof_type: Array<string>; | ||
} | ||
@@ -34,5 +34,11 @@ /** | ||
format?: Format; | ||
/** | ||
* List of requirements for described inputs in input descriptors. | ||
*/ | ||
submission_requirements?: Array<SubmissionRequirement>; | ||
/** | ||
* List of descriptions of the required inputs. | ||
*/ | ||
input_descriptors: Array<InputDescriptor>; | ||
} | ||
{ | ||
"name": "@sphereon/pe-models", | ||
"version": "0.0.3", | ||
"version": "0.0.4", | ||
"description": "DIF Presentation Exchange OpenAPI models by Sphereon", | ||
@@ -5,0 +5,0 @@ "author": "Sphereon", |
43734
811