@3sixty/immutable-proof-models 0.0.0-stage → 0.20.0-next.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +201 -0
- package/README.md +24 -2
- package/dist/es/compiled/validators.js +294 -0
- package/dist/es/compiled/validators.js.map +1 -0
- package/dist/es/dataTypes/immutableProofDataTypes.js +55 -0
- package/dist/es/dataTypes/immutableProofDataTypes.js.map +1 -0
- package/dist/es/index.js +24 -0
- package/dist/es/index.js.map +1 -0
- package/dist/es/models/IImmutableProof.js +2 -0
- package/dist/es/models/IImmutableProof.js.map +1 -0
- package/dist/es/models/IImmutableProofComponent.js +2 -0
- package/dist/es/models/IImmutableProofComponent.js.map +1 -0
- package/dist/es/models/IImmutableProofCredential.js +2 -0
- package/dist/es/models/IImmutableProofCredential.js.map +1 -0
- package/dist/es/models/IImmutableProofDataIntegrity.js +4 -0
- package/dist/es/models/IImmutableProofDataIntegrity.js.map +1 -0
- package/dist/es/models/IImmutableProofVerification.js +2 -0
- package/dist/es/models/IImmutableProofVerification.js.map +1 -0
- package/dist/es/models/api/IImmutableProofCreateRequest.js +2 -0
- package/dist/es/models/api/IImmutableProofCreateRequest.js.map +1 -0
- package/dist/es/models/api/IImmutableProofGetRequest.js +2 -0
- package/dist/es/models/api/IImmutableProofGetRequest.js.map +1 -0
- package/dist/es/models/api/IImmutableProofGetResponse.js +2 -0
- package/dist/es/models/api/IImmutableProofGetResponse.js.map +1 -0
- package/dist/es/models/api/IImmutableProofRemoveNotarizationRequest.js +4 -0
- package/dist/es/models/api/IImmutableProofRemoveNotarizationRequest.js.map +1 -0
- package/dist/es/models/api/IImmutableProofRemoveRequest.js +4 -0
- package/dist/es/models/api/IImmutableProofRemoveRequest.js.map +1 -0
- package/dist/es/models/api/IImmutableProofVerifyRequest.js +2 -0
- package/dist/es/models/api/IImmutableProofVerifyRequest.js.map +1 -0
- package/dist/es/models/api/IImmutableProofVerifyResponse.js +2 -0
- package/dist/es/models/api/IImmutableProofVerifyResponse.js.map +1 -0
- package/dist/es/models/eventBus/IImmutableProofEventBusProofCreated.js +4 -0
- package/dist/es/models/eventBus/IImmutableProofEventBusProofCreated.js.map +1 -0
- package/dist/es/models/immutableProofContexts.js +33 -0
- package/dist/es/models/immutableProofContexts.js.map +1 -0
- package/dist/es/models/immutableProofFailure.js +25 -0
- package/dist/es/models/immutableProofFailure.js.map +1 -0
- package/dist/es/models/immutableProofMetricIds.js +33 -0
- package/dist/es/models/immutableProofMetricIds.js.map +1 -0
- package/dist/es/models/immutableProofMetrics.js +42 -0
- package/dist/es/models/immutableProofMetrics.js.map +1 -0
- package/dist/es/models/immutableProofTopics.js +13 -0
- package/dist/es/models/immutableProofTopics.js.map +1 -0
- package/dist/es/models/immutableProofTypes.js +21 -0
- package/dist/es/models/immutableProofTypes.js.map +1 -0
- package/dist/es/schemas/ImmutableProof.json +39 -0
- package/dist/es/schemas/ImmutableProofCredential.json +25 -0
- package/dist/es/schemas/ImmutableProofDataIntegrity.json +13 -0
- package/dist/es/schemas/ImmutableProofFailure.json +24 -0
- package/dist/es/schemas/ImmutableProofVerification.json +30 -0
- package/dist/types/compiled/validators.d.ts +21 -0
- package/dist/types/dataTypes/immutableProofDataTypes.d.ts +9 -0
- package/dist/types/index.d.ts +21 -0
- package/dist/types/models/IImmutableProof.d.ts +24 -0
- package/dist/types/models/IImmutableProofComponent.d.ts +47 -0
- package/dist/types/models/IImmutableProofCredential.d.ts +11 -0
- package/dist/types/models/IImmutableProofDataIntegrity.d.ts +10 -0
- package/dist/types/models/IImmutableProofVerification.d.ts +26 -0
- package/dist/types/models/api/IImmutableProofCreateRequest.d.ts +25 -0
- package/dist/types/models/api/IImmutableProofGetRequest.d.ts +21 -0
- package/dist/types/models/api/IImmutableProofGetResponse.d.ts +17 -0
- package/dist/types/models/api/IImmutableProofRemoveNotarizationRequest.d.ts +14 -0
- package/dist/types/models/api/IImmutableProofRemoveRequest.d.ts +14 -0
- package/dist/types/models/api/IImmutableProofVerifyRequest.d.ts +21 -0
- package/dist/types/models/api/IImmutableProofVerifyResponse.d.ts +17 -0
- package/dist/types/models/eventBus/IImmutableProofEventBusProofCreated.d.ts +9 -0
- package/dist/types/models/immutableProofContexts.d.ts +33 -0
- package/dist/types/models/immutableProofFailure.d.ts +25 -0
- package/dist/types/models/immutableProofMetricIds.d.ts +33 -0
- package/dist/types/models/immutableProofMetrics.d.ts +5 -0
- package/dist/types/models/immutableProofTopics.d.ts +13 -0
- package/dist/types/models/immutableProofTypes.d.ts +21 -0
- package/docs/changelog.md +0 -0
- package/docs/examples.md +72 -0
- package/docs/reference/classes/ImmutableProofDataTypes.md +25 -0
- package/docs/reference/index.md +43 -0
- package/docs/reference/interfaces/IImmutableProof.md +35 -0
- package/docs/reference/interfaces/IImmutableProofComponent.md +143 -0
- package/docs/reference/interfaces/IImmutableProofCreateRequest.md +30 -0
- package/docs/reference/interfaces/IImmutableProofCredential.md +15 -0
- package/docs/reference/interfaces/IImmutableProofDataIntegrity.md +11 -0
- package/docs/reference/interfaces/IImmutableProofEventBusProofCreated.md +11 -0
- package/docs/reference/interfaces/IImmutableProofGetRequest.md +29 -0
- package/docs/reference/interfaces/IImmutableProofGetResponse.md +23 -0
- package/docs/reference/interfaces/IImmutableProofRemoveNotarizationRequest.md +17 -0
- package/docs/reference/interfaces/IImmutableProofRemoveRequest.md +17 -0
- package/docs/reference/interfaces/IImmutableProofVerification.md +35 -0
- package/docs/reference/interfaces/IImmutableProofVerifyRequest.md +29 -0
- package/docs/reference/interfaces/IImmutableProofVerifyResponse.md +23 -0
- package/docs/reference/type-aliases/ImmutableProofContexts.md +5 -0
- package/docs/reference/type-aliases/ImmutableProofFailure.md +5 -0
- package/docs/reference/type-aliases/ImmutableProofMetricIds.md +5 -0
- package/docs/reference/type-aliases/ImmutableProofTopics.md +5 -0
- package/docs/reference/type-aliases/ImmutableProofTypes.md +5 -0
- package/docs/reference/variables/CompiledImmutableProof.md +5 -0
- package/docs/reference/variables/CompiledImmutableProofCredential.md +5 -0
- package/docs/reference/variables/CompiledImmutableProofDataIntegrity.md +5 -0
- package/docs/reference/variables/CompiledImmutableProofFailure.md +5 -0
- package/docs/reference/variables/CompiledImmutableProofVerification.md +5 -0
- package/docs/reference/variables/ImmutableProofContexts.md +43 -0
- package/docs/reference/variables/ImmutableProofFailure.md +31 -0
- package/docs/reference/variables/ImmutableProofMetricIds.md +43 -0
- package/docs/reference/variables/ImmutableProofMetrics.md +5 -0
- package/docs/reference/variables/ImmutableProofTopics.md +13 -0
- package/docs/reference/variables/ImmutableProofTypes.md +25 -0
- package/locales/en.json +3 -0
- package/package.json +56 -5
|
@@ -0,0 +1,143 @@
|
|
|
1
|
+
# Interface: IImmutableProofComponent
|
|
2
|
+
|
|
3
|
+
Interface describing an immutable proof contract.
|
|
4
|
+
|
|
5
|
+
## Extends
|
|
6
|
+
|
|
7
|
+
- `IComponent`
|
|
8
|
+
|
|
9
|
+
## Methods
|
|
10
|
+
|
|
11
|
+
### create() {#create}
|
|
12
|
+
|
|
13
|
+
> **create**(`document`, `options?`): `Promise`\<`string`\>
|
|
14
|
+
|
|
15
|
+
Create a new proof.
|
|
16
|
+
|
|
17
|
+
#### Parameters
|
|
18
|
+
|
|
19
|
+
##### document
|
|
20
|
+
|
|
21
|
+
`IJsonLdNodeObject`
|
|
22
|
+
|
|
23
|
+
The document to create the proof for.
|
|
24
|
+
|
|
25
|
+
##### options?
|
|
26
|
+
|
|
27
|
+
Optional settings for the proof.
|
|
28
|
+
|
|
29
|
+
###### deleteLock?
|
|
30
|
+
|
|
31
|
+
`string`
|
|
32
|
+
|
|
33
|
+
An ISO 8601 date-time string specifying when the notarization lock expires; if omitted no lock is applied.
|
|
34
|
+
|
|
35
|
+
#### Returns
|
|
36
|
+
|
|
37
|
+
`Promise`\<`string`\>
|
|
38
|
+
|
|
39
|
+
The id of the new proof.
|
|
40
|
+
|
|
41
|
+
***
|
|
42
|
+
|
|
43
|
+
### get() {#get}
|
|
44
|
+
|
|
45
|
+
> **get**(`id`): `Promise`\<[`IImmutableProofCredential`](IImmutableProofCredential.md)\>
|
|
46
|
+
|
|
47
|
+
Get a proof.
|
|
48
|
+
|
|
49
|
+
#### Parameters
|
|
50
|
+
|
|
51
|
+
##### id
|
|
52
|
+
|
|
53
|
+
`string`
|
|
54
|
+
|
|
55
|
+
The id of the proof to get.
|
|
56
|
+
|
|
57
|
+
#### Returns
|
|
58
|
+
|
|
59
|
+
`Promise`\<[`IImmutableProofCredential`](IImmutableProofCredential.md)\>
|
|
60
|
+
|
|
61
|
+
The proof.
|
|
62
|
+
|
|
63
|
+
#### Throws
|
|
64
|
+
|
|
65
|
+
NotFoundError if the proof is not found.
|
|
66
|
+
|
|
67
|
+
***
|
|
68
|
+
|
|
69
|
+
### verify() {#verify}
|
|
70
|
+
|
|
71
|
+
> **verify**(`id`): `Promise`\<[`IImmutableProofVerification`](IImmutableProofVerification.md)\>
|
|
72
|
+
|
|
73
|
+
Verify a proof.
|
|
74
|
+
|
|
75
|
+
#### Parameters
|
|
76
|
+
|
|
77
|
+
##### id
|
|
78
|
+
|
|
79
|
+
`string`
|
|
80
|
+
|
|
81
|
+
The id of the proof to verify.
|
|
82
|
+
|
|
83
|
+
#### Returns
|
|
84
|
+
|
|
85
|
+
`Promise`\<[`IImmutableProofVerification`](IImmutableProofVerification.md)\>
|
|
86
|
+
|
|
87
|
+
The result of the verification and any failures.
|
|
88
|
+
|
|
89
|
+
#### Throws
|
|
90
|
+
|
|
91
|
+
NotFoundError if the proof is not found.
|
|
92
|
+
|
|
93
|
+
***
|
|
94
|
+
|
|
95
|
+
### remove() {#remove}
|
|
96
|
+
|
|
97
|
+
> **remove**(`id`): `Promise`\<`void`\>
|
|
98
|
+
|
|
99
|
+
Remove the proof and its notarization.
|
|
100
|
+
|
|
101
|
+
#### Parameters
|
|
102
|
+
|
|
103
|
+
##### id
|
|
104
|
+
|
|
105
|
+
`string`
|
|
106
|
+
|
|
107
|
+
The id of the proof to remove.
|
|
108
|
+
|
|
109
|
+
#### Returns
|
|
110
|
+
|
|
111
|
+
`Promise`\<`void`\>
|
|
112
|
+
|
|
113
|
+
A promise that resolves when the proof and its notarization have been removed.
|
|
114
|
+
|
|
115
|
+
#### Throws
|
|
116
|
+
|
|
117
|
+
NotFoundError if the proof is not found.
|
|
118
|
+
|
|
119
|
+
***
|
|
120
|
+
|
|
121
|
+
### removeNotarization() {#removenotarization}
|
|
122
|
+
|
|
123
|
+
> **removeNotarization**(`id`): `Promise`\<`void`\>
|
|
124
|
+
|
|
125
|
+
Remove only the notarization for the proof, keeping the proof entity.
|
|
126
|
+
|
|
127
|
+
#### Parameters
|
|
128
|
+
|
|
129
|
+
##### id
|
|
130
|
+
|
|
131
|
+
`string`
|
|
132
|
+
|
|
133
|
+
The id of the proof to remove the notarization from.
|
|
134
|
+
|
|
135
|
+
#### Returns
|
|
136
|
+
|
|
137
|
+
`Promise`\<`void`\>
|
|
138
|
+
|
|
139
|
+
A promise that resolves when the notarization has been removed.
|
|
140
|
+
|
|
141
|
+
#### Throws
|
|
142
|
+
|
|
143
|
+
NotFoundError if the proof is not found.
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
# Interface: IImmutableProofCreateRequest
|
|
2
|
+
|
|
3
|
+
Create a proof.
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
### body {#body}
|
|
8
|
+
|
|
9
|
+
> **body**: `object`
|
|
10
|
+
|
|
11
|
+
The parameters from the body.
|
|
12
|
+
|
|
13
|
+
#### document
|
|
14
|
+
|
|
15
|
+
> **document**: `IJsonLdNodeObject`
|
|
16
|
+
|
|
17
|
+
The document to create the proof for.
|
|
18
|
+
|
|
19
|
+
#### options?
|
|
20
|
+
|
|
21
|
+
> `optional` **options?**: `object`
|
|
22
|
+
|
|
23
|
+
Optional settings for the proof.
|
|
24
|
+
|
|
25
|
+
##### options.deleteLock?
|
|
26
|
+
|
|
27
|
+
> `optional` **deleteLock?**: `string`
|
|
28
|
+
|
|
29
|
+
An ISO 8601 date-time string specifying when the notarization lock expires.
|
|
30
|
+
If omitted, no deletion lock is applied.
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
# Interface: IImmutableProofCredential
|
|
2
|
+
|
|
3
|
+
Interface describing an immutable proof credential.
|
|
4
|
+
|
|
5
|
+
## Extends
|
|
6
|
+
|
|
7
|
+
- `Omit`\<`IDidVerifiableCredential`, `"proof"`\>
|
|
8
|
+
|
|
9
|
+
## Properties
|
|
10
|
+
|
|
11
|
+
### proof? {#proof}
|
|
12
|
+
|
|
13
|
+
> `optional` **proof?**: IProof & IImmutableProofDataIntegrity
|
|
14
|
+
|
|
15
|
+
The proof of the verifiable credential, which includes the data integrity information.
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
# Interface: IImmutableProofGetRequest
|
|
2
|
+
|
|
3
|
+
Get a proof.
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
### headers? {#headers}
|
|
8
|
+
|
|
9
|
+
> `optional` **headers?**: `object`
|
|
10
|
+
|
|
11
|
+
The headers which can be used to determine the response data type.
|
|
12
|
+
|
|
13
|
+
#### accept
|
|
14
|
+
|
|
15
|
+
> **accept**: `"application/json"` \| `"application/ld+json"`
|
|
16
|
+
|
|
17
|
+
***
|
|
18
|
+
|
|
19
|
+
### pathParams {#pathparams}
|
|
20
|
+
|
|
21
|
+
> **pathParams**: `object`
|
|
22
|
+
|
|
23
|
+
The parameters from the path.
|
|
24
|
+
|
|
25
|
+
#### id
|
|
26
|
+
|
|
27
|
+
> **id**: `string`
|
|
28
|
+
|
|
29
|
+
The id of the immutable proof to get.
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
# Interface: IImmutableProofGetResponse
|
|
2
|
+
|
|
3
|
+
Response to getting an immutable proof.
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
### headers? {#headers}
|
|
8
|
+
|
|
9
|
+
> `optional` **headers?**: `object`
|
|
10
|
+
|
|
11
|
+
The headers which can be used to determine the response data type.
|
|
12
|
+
|
|
13
|
+
#### content-type
|
|
14
|
+
|
|
15
|
+
> **content-type**: `"application/json"` \| `"application/ld+json"`
|
|
16
|
+
|
|
17
|
+
***
|
|
18
|
+
|
|
19
|
+
### body {#body}
|
|
20
|
+
|
|
21
|
+
> **body**: [`IImmutableProofCredential`](IImmutableProofCredential.md)
|
|
22
|
+
|
|
23
|
+
The response body.
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
# Interface: IImmutableProofRemoveNotarizationRequest
|
|
2
|
+
|
|
3
|
+
Remove the notarization for a proof.
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
### pathParams {#pathparams}
|
|
8
|
+
|
|
9
|
+
> **pathParams**: `object`
|
|
10
|
+
|
|
11
|
+
The parameters from the path.
|
|
12
|
+
|
|
13
|
+
#### id
|
|
14
|
+
|
|
15
|
+
> **id**: `string`
|
|
16
|
+
|
|
17
|
+
The id of the immutable proof to remove the notarization from.
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
# Interface: IImmutableProofRemoveRequest
|
|
2
|
+
|
|
3
|
+
Remove a proof.
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
### pathParams {#pathparams}
|
|
8
|
+
|
|
9
|
+
> **pathParams**: `object`
|
|
10
|
+
|
|
11
|
+
The parameters from the path.
|
|
12
|
+
|
|
13
|
+
#### id
|
|
14
|
+
|
|
15
|
+
> **id**: `string`
|
|
16
|
+
|
|
17
|
+
The id of the immutable proof to remove.
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
# Interface: IImmutableProofVerification
|
|
2
|
+
|
|
3
|
+
Interface describing an immutable proof verification.
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
### @context {#context}
|
|
8
|
+
|
|
9
|
+
> **@context**: `"https://schema.3sixty.global/immutable-proof/"`
|
|
10
|
+
|
|
11
|
+
JSON-LD Context.
|
|
12
|
+
|
|
13
|
+
***
|
|
14
|
+
|
|
15
|
+
### type {#type}
|
|
16
|
+
|
|
17
|
+
> **type**: `"ImmutableProofVerification"`
|
|
18
|
+
|
|
19
|
+
JSON-LD Type.
|
|
20
|
+
|
|
21
|
+
***
|
|
22
|
+
|
|
23
|
+
### verified {#verified}
|
|
24
|
+
|
|
25
|
+
> **verified**: `boolean`
|
|
26
|
+
|
|
27
|
+
Was the verification successful.
|
|
28
|
+
|
|
29
|
+
***
|
|
30
|
+
|
|
31
|
+
### failure? {#failure}
|
|
32
|
+
|
|
33
|
+
> `optional` **failure?**: [`ImmutableProofFailure`](../type-aliases/ImmutableProofFailure.md)
|
|
34
|
+
|
|
35
|
+
If the verification was unsuccessful the failure reason.
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
# Interface: IImmutableProofVerifyRequest
|
|
2
|
+
|
|
3
|
+
Verify a proof.
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
### headers? {#headers}
|
|
8
|
+
|
|
9
|
+
> `optional` **headers?**: `object`
|
|
10
|
+
|
|
11
|
+
The headers which can be used to determine the response data type.
|
|
12
|
+
|
|
13
|
+
#### accept
|
|
14
|
+
|
|
15
|
+
> **accept**: `"application/json"` \| `"application/ld+json"`
|
|
16
|
+
|
|
17
|
+
***
|
|
18
|
+
|
|
19
|
+
### pathParams {#pathparams}
|
|
20
|
+
|
|
21
|
+
> **pathParams**: `object`
|
|
22
|
+
|
|
23
|
+
The parameters from the path.
|
|
24
|
+
|
|
25
|
+
#### id
|
|
26
|
+
|
|
27
|
+
> **id**: `string`
|
|
28
|
+
|
|
29
|
+
The id of the immutable proof to verify.
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
# Interface: IImmutableProofVerifyResponse
|
|
2
|
+
|
|
3
|
+
Response to verifying an immutable proof.
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
### headers? {#headers}
|
|
8
|
+
|
|
9
|
+
> `optional` **headers?**: `object`
|
|
10
|
+
|
|
11
|
+
The headers which can be used to determine the response data type.
|
|
12
|
+
|
|
13
|
+
#### content-type
|
|
14
|
+
|
|
15
|
+
> **content-type**: `"application/json"` \| `"application/ld+json"`
|
|
16
|
+
|
|
17
|
+
***
|
|
18
|
+
|
|
19
|
+
### body {#body}
|
|
20
|
+
|
|
21
|
+
> **body**: [`IImmutableProofVerification`](IImmutableProofVerification.md)
|
|
22
|
+
|
|
23
|
+
The response body.
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
# Type Alias: ImmutableProofContexts
|
|
2
|
+
|
|
3
|
+
> **ImmutableProofContexts** = *typeof* [`ImmutableProofContexts`](../variables/ImmutableProofContexts.md)\[keyof *typeof* [`ImmutableProofContexts`](../variables/ImmutableProofContexts.md)\]
|
|
4
|
+
|
|
5
|
+
The contexts of immutable proof data.
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
# Type Alias: ImmutableProofMetricIds
|
|
2
|
+
|
|
3
|
+
> **ImmutableProofMetricIds** = *typeof* [`ImmutableProofMetricIds`](../variables/ImmutableProofMetricIds.md)\[keyof *typeof* [`ImmutableProofMetricIds`](../variables/ImmutableProofMetricIds.md)\]
|
|
4
|
+
|
|
5
|
+
Union type of all immutable proof service metric ID string values.
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
# Type Alias: ImmutableProofTopics
|
|
2
|
+
|
|
3
|
+
> **ImmutableProofTopics** = *typeof* [`ImmutableProofTopics`](../variables/ImmutableProofTopics.md)\[keyof *typeof* [`ImmutableProofTopics`](../variables/ImmutableProofTopics.md)\]
|
|
4
|
+
|
|
5
|
+
The topics for immutable proof event bus notifications.
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
# Variable: ImmutableProofContexts
|
|
2
|
+
|
|
3
|
+
> `const` **ImmutableProofContexts**: `object`
|
|
4
|
+
|
|
5
|
+
The contexts of immutable proof data.
|
|
6
|
+
|
|
7
|
+
## Type Declaration
|
|
8
|
+
|
|
9
|
+
### Namespace {#namespace}
|
|
10
|
+
|
|
11
|
+
> `readonly` **Namespace**: `"https://schema.3sixty.global/immutable-proof/"` = `"https://schema.3sixty.global/immutable-proof/"`
|
|
12
|
+
|
|
13
|
+
The canonical RDF namespace URI for Immutable Proof.
|
|
14
|
+
|
|
15
|
+
### Context {#context}
|
|
16
|
+
|
|
17
|
+
> `readonly` **Context**: `"https://schema.3sixty.global/immutable-proof/"` = `"https://schema.3sixty.global/immutable-proof/"`
|
|
18
|
+
|
|
19
|
+
The value to use in context for Immutable Proof.
|
|
20
|
+
|
|
21
|
+
### JsonLdContext {#jsonldcontext}
|
|
22
|
+
|
|
23
|
+
> `readonly` **JsonLdContext**: `"https://schema.3sixty.global/immutable-proof/types.jsonld"` = `"https://schema.3sixty.global/immutable-proof/types.jsonld"`
|
|
24
|
+
|
|
25
|
+
The JSON-LD Context URL for Immutable Proof.
|
|
26
|
+
|
|
27
|
+
### NamespaceCommon {#namespacecommon}
|
|
28
|
+
|
|
29
|
+
> `readonly` **NamespaceCommon**: `"https://schema.3sixty.global/common/"` = `"https://schema.3sixty.global/common/"`
|
|
30
|
+
|
|
31
|
+
The canonical RDF namespace URI for TWIN Common.
|
|
32
|
+
|
|
33
|
+
### ContextCommon {#contextcommon}
|
|
34
|
+
|
|
35
|
+
> `readonly` **ContextCommon**: `"https://schema.3sixty.global/common/"` = `"https://schema.3sixty.global/common/"`
|
|
36
|
+
|
|
37
|
+
The value to use in JSON-LD context for TWIN Common.
|
|
38
|
+
|
|
39
|
+
### JsonLdContextCommon {#jsonldcontextcommon}
|
|
40
|
+
|
|
41
|
+
> `readonly` **JsonLdContextCommon**: `"https://schema.3sixty.global/common/types.jsonld"` = `"https://schema.3sixty.global/common/types.jsonld"`
|
|
42
|
+
|
|
43
|
+
The JSON-LD Context URL for TWIN Common.
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
# Variable: ImmutableProofFailure
|
|
2
|
+
|
|
3
|
+
> `const` **ImmutableProofFailure**: `object`
|
|
4
|
+
|
|
5
|
+
The failure reason of the proof.
|
|
6
|
+
|
|
7
|
+
## Type Declaration
|
|
8
|
+
|
|
9
|
+
### NotIssued {#notissued}
|
|
10
|
+
|
|
11
|
+
> `readonly` **NotIssued**: `"notIssued"` = `"notIssued"`
|
|
12
|
+
|
|
13
|
+
Proof not yet issued.
|
|
14
|
+
|
|
15
|
+
### ProofMissing {#proofmissing}
|
|
16
|
+
|
|
17
|
+
> `readonly` **ProofMissing**: `"proofMissing"` = `"proofMissing"`
|
|
18
|
+
|
|
19
|
+
Proof missing.
|
|
20
|
+
|
|
21
|
+
### VerificationFailure {#verificationfailure}
|
|
22
|
+
|
|
23
|
+
> `readonly` **VerificationFailure**: `"verificationFailure"` = `"verificationFailure"`
|
|
24
|
+
|
|
25
|
+
Verification failure.
|
|
26
|
+
|
|
27
|
+
### Revoked {#revoked}
|
|
28
|
+
|
|
29
|
+
> `readonly` **Revoked**: `"revoked"` = `"revoked"`
|
|
30
|
+
|
|
31
|
+
Revoked.
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
# Variable: ImmutableProofMetricIds
|
|
2
|
+
|
|
3
|
+
> `const` **ImmutableProofMetricIds**: `object`
|
|
4
|
+
|
|
5
|
+
Metric IDs for the immutable proof service.
|
|
6
|
+
|
|
7
|
+
## Type Declaration
|
|
8
|
+
|
|
9
|
+
### ProofsCreated {#proofscreated}
|
|
10
|
+
|
|
11
|
+
> `readonly` **ProofsCreated**: `"ip_proofs_created"` = `"ip_proofs_created"`
|
|
12
|
+
|
|
13
|
+
Number of proofs created.
|
|
14
|
+
|
|
15
|
+
### VerificationsSucceeded {#verificationssucceeded}
|
|
16
|
+
|
|
17
|
+
> `readonly` **VerificationsSucceeded**: `"ip_verifications_succeeded"` = `"ip_verifications_succeeded"`
|
|
18
|
+
|
|
19
|
+
Number of proof verifications succeeded.
|
|
20
|
+
|
|
21
|
+
### VerificationsFailed {#verificationsfailed}
|
|
22
|
+
|
|
23
|
+
> `readonly` **VerificationsFailed**: `"ip_verifications_failed"` = `"ip_verifications_failed"`
|
|
24
|
+
|
|
25
|
+
Number of proof verifications failed.
|
|
26
|
+
|
|
27
|
+
### ProofsRemoved {#proofsremoved}
|
|
28
|
+
|
|
29
|
+
> `readonly` **ProofsRemoved**: `"ip_proofs_removed"` = `"ip_proofs_removed"`
|
|
30
|
+
|
|
31
|
+
Number of proofs removed.
|
|
32
|
+
|
|
33
|
+
### NotarizationsRemoved {#notarizationsremoved}
|
|
34
|
+
|
|
35
|
+
> `readonly` **NotarizationsRemoved**: `"ip_notarizations_removed"` = `"ip_notarizations_removed"`
|
|
36
|
+
|
|
37
|
+
Number of notarizations removed.
|
|
38
|
+
|
|
39
|
+
### ProofCompletionLag {#proofcompletionlag}
|
|
40
|
+
|
|
41
|
+
> `readonly` **ProofCompletionLag**: `"ip_proof_completion_lag"` = `"ip_proof_completion_lag"`
|
|
42
|
+
|
|
43
|
+
Time in milliseconds from a proof being requested to its notarization completing.
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
# Variable: ImmutableProofTopics
|
|
2
|
+
|
|
3
|
+
> `const` **ImmutableProofTopics**: `object`
|
|
4
|
+
|
|
5
|
+
The topics for immutable proof event bus notifications.
|
|
6
|
+
|
|
7
|
+
## Type Declaration
|
|
8
|
+
|
|
9
|
+
### ProofCreated {#proofcreated}
|
|
10
|
+
|
|
11
|
+
> `readonly` **ProofCreated**: `"immutable-proof:proof-created"` = `"immutable-proof:proof-created"`
|
|
12
|
+
|
|
13
|
+
A proof was created.
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
# Variable: ImmutableProofTypes
|
|
2
|
+
|
|
3
|
+
> `const` **ImmutableProofTypes**: `object`
|
|
4
|
+
|
|
5
|
+
The types of immutable proof data.
|
|
6
|
+
|
|
7
|
+
## Type Declaration
|
|
8
|
+
|
|
9
|
+
### ImmutableProof {#immutableproof}
|
|
10
|
+
|
|
11
|
+
> `readonly` **ImmutableProof**: `"ImmutableProof"` = `"ImmutableProof"`
|
|
12
|
+
|
|
13
|
+
Represents Immutable Proof.
|
|
14
|
+
|
|
15
|
+
### ImmutableProofVerification {#immutableproofverification}
|
|
16
|
+
|
|
17
|
+
> `readonly` **ImmutableProofVerification**: `"ImmutableProofVerification"` = `"ImmutableProofVerification"`
|
|
18
|
+
|
|
19
|
+
Represents Immutable Proof Verification.
|
|
20
|
+
|
|
21
|
+
### ImmutableProofFailure {#immutableprooffailure}
|
|
22
|
+
|
|
23
|
+
> `readonly` **ImmutableProofFailure**: `"ImmutableProofFailure"` = `"ImmutableProofFailure"`
|
|
24
|
+
|
|
25
|
+
Represents Immutable Proof Failure.
|
package/locales/en.json
ADDED