@openvtc/trust-tasks 0.21.15 → 0.22.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/CHANGELOG.md +43 -0
- package/dist/_shared/components.d.ts +14 -14
- package/dist/index.d.ts +3 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +3 -0
- package/dist/index.js.map +1 -1
- package/dist/vetting/_shared/0.1/identity-vetting.d.ts +2 -2
- package/dist/vetting/_shared/0.1/identity-vetting.d.ts.map +1 -1
- package/dist/vetting/_shared/0.1/vetting-card.d.ts +1 -1
- package/dist/vetting/_shared/0.1/vetting.d.ts +1 -1
- package/dist/vetting/request/0.1/payload.d.ts +5 -5
- package/dist/vetting/request/0.1/payload.js +2 -2
- package/dist/vetting/request/0.1/payload.js.map +1 -1
- package/dist/vta/attestation/mnemonic-status/0.1/payload.d.ts +281 -0
- package/dist/vta/attestation/mnemonic-status/0.1/payload.d.ts.map +1 -0
- package/dist/vta/attestation/mnemonic-status/0.1/payload.js +157 -0
- package/dist/vta/attestation/mnemonic-status/0.1/payload.js.map +1 -0
- package/dist/vta/metrics/show/0.1/payload.d.ts +674 -0
- package/dist/vta/metrics/show/0.1/payload.d.ts.map +1 -0
- package/dist/vta/metrics/show/0.1/payload.js +387 -0
- package/dist/vta/metrics/show/0.1/payload.js.map +1 -0
- package/dist/vtc/_shared/0.1/endorsement-type.d.ts +1 -1
- package/dist/vtc/_shared/0.1/endorsement.d.ts +1 -1
- package/dist/vtc/auth/recognise/0.2/payload.d.ts +3 -3
- package/dist/vtc/auth/recognise/0.2/payload.js +1 -1
- package/dist/vtc/auth/recognise/0.2/payload.js.map +1 -1
- package/dist/vtc/endorsement-types/list/0.1/payload.d.ts +8 -8
- package/dist/vtc/endorsement-types/list/0.1/payload.js +4 -4
- package/dist/vtc/endorsement-types/list/0.1/payload.js.map +1 -1
- package/dist/vtc/endorsement-types/register/0.1/payload.d.ts +16 -11
- package/dist/vtc/endorsement-types/register/0.1/payload.d.ts.map +1 -1
- package/dist/vtc/endorsement-types/register/0.1/payload.js +7 -6
- package/dist/vtc/endorsement-types/register/0.1/payload.js.map +1 -1
- package/dist/vtc/endorsements/issue/0.1/payload.d.ts +42 -42
- package/dist/vtc/endorsements/issue/0.1/payload.js +19 -19
- package/dist/vtc/endorsements/issue/0.1/payload.js.map +1 -1
- package/dist/vtc/endorsements/list/0.1/payload.d.ts +31 -31
- package/dist/vtc/endorsements/list/0.1/payload.js +15 -15
- package/dist/vtc/endorsements/list/0.1/payload.js.map +1 -1
- package/dist/vtc/endorsements/revoke/0.1/payload.d.ts +5 -5
- package/dist/vtc/endorsements/revoke/0.1/payload.js +2 -2
- package/dist/vtc/endorsements/revoke/0.1/payload.js.map +1 -1
- package/dist/vtc/endorsements/show/0.1/payload.d.ts +28 -28
- package/dist/vtc/endorsements/show/0.1/payload.js +14 -14
- package/dist/vtc/endorsements/show/0.1/payload.js.map +1 -1
- package/dist/vtc/join-requests/decide/0.1/payload.d.ts +10 -10
- package/dist/vtc/join-requests/decide/0.1/payload.js +4 -4
- package/dist/vtc/join-requests/decide/0.1/payload.js.map +1 -1
- package/dist/vtc/join-requests/manifest/0.2/payload.d.ts +10 -10
- package/dist/vtc/join-requests/manifest/0.2/payload.js +4 -4
- package/dist/vtc/join-requests/manifest/0.2/payload.js.map +1 -1
- package/dist/vtc/members/credentials/0.1/payload.d.ts +5 -5
- package/dist/vtc/members/credentials/0.1/payload.js +2 -2
- package/dist/vtc/members/credentials/0.1/payload.js.map +1 -1
- package/dist/vtc/members/list/0.1/payload.d.ts +8 -8
- package/dist/vtc/members/list/0.1/payload.js +4 -4
- package/dist/vtc/members/list/0.1/payload.js.map +1 -1
- package/dist/vtc/members/personhood/assert/0.1/payload.d.ts +14 -14
- package/dist/vtc/members/personhood/assert/0.1/payload.js +6 -6
- package/dist/vtc/members/personhood/assert/0.1/payload.js.map +1 -1
- package/dist/vtc/members/personhood/revoke/0.1/payload.d.ts +10 -10
- package/dist/vtc/members/personhood/revoke/0.1/payload.js +4 -4
- package/dist/vtc/members/personhood/revoke/0.1/payload.js.map +1 -1
- package/dist/vtc/members/renew/0.1/payload.d.ts +14 -14
- package/dist/vtc/members/renew/0.1/payload.js +6 -6
- package/dist/vtc/members/renew/0.1/payload.js.map +1 -1
- package/dist/vtc/members/rotate/0.1/payload.d.ts +14 -14
- package/dist/vtc/members/rotate/0.1/payload.js +6 -6
- package/dist/vtc/members/rotate/0.1/payload.js.map +1 -1
- package/dist/vtc/members/show/0.1/payload.d.ts +8 -8
- package/dist/vtc/members/show/0.1/payload.js +4 -4
- package/dist/vtc/members/show/0.1/payload.js.map +1 -1
- package/dist/vtc/members/update/0.1/payload.d.ts +8 -8
- package/dist/vtc/members/update/0.1/payload.js +4 -4
- package/dist/vtc/members/update/0.1/payload.js.map +1 -1
- package/dist/vtc/schemas/accepts/list/0.1/payload.d.ts +8 -8
- package/dist/vtc/schemas/accepts/list/0.1/payload.js +4 -4
- package/dist/vtc/schemas/accepts/list/0.1/payload.js.map +1 -1
- package/dist/vtc/schemas/accepts/register/0.1/payload.d.ts +8 -8
- package/dist/vtc/schemas/accepts/register/0.1/payload.js +4 -4
- package/dist/vtc/schemas/accepts/register/0.1/payload.js.map +1 -1
- package/dist/vtc/schemas/accepts/show/0.1/payload.d.ts +8 -8
- package/dist/vtc/schemas/accepts/show/0.1/payload.js +4 -4
- package/dist/vtc/schemas/accepts/show/0.1/payload.js.map +1 -1
- package/dist/vtc/schemas/list/0.1/payload.d.ts +4 -4
- package/dist/vtc/schemas/list/0.1/payload.js +2 -2
- package/dist/vtc/schemas/list/0.1/payload.js.map +1 -1
- package/dist/vtc/schemas/register/0.1/payload.d.ts +4 -4
- package/dist/vtc/schemas/register/0.1/payload.js +2 -2
- package/dist/vtc/schemas/register/0.1/payload.js.map +1 -1
- package/dist/vtc/schemas/show/0.1/payload.d.ts +4 -4
- package/dist/vtc/schemas/show/0.1/payload.js +2 -2
- package/dist/vtc/schemas/show/0.1/payload.js.map +1 -1
- package/dist/vtc/vetting/hidden/publish/0.1/payload.d.ts +1385 -0
- package/dist/vtc/vetting/hidden/publish/0.1/payload.d.ts.map +1 -0
- package/dist/vtc/vetting/hidden/publish/0.1/payload.js +735 -0
- package/dist/vtc/vetting/hidden/publish/0.1/payload.js.map +1 -0
- package/dist/vtc/vetting/vetters/grant/0.1/payload.d.ts +13 -13
- package/dist/vtc/vetting/vetters/grant/0.1/payload.js +5 -5
- package/dist/vtc/vetting/vetters/grant/0.1/payload.js.map +1 -1
- package/dist/witness/session/submit/0.1/payload.d.ts +5 -5
- package/dist/witness/session/submit/0.1/payload.js +2 -2
- package/dist/witness/session/submit/0.1/payload.js.map +1 -1
- package/package.json +1 -1
- package/src/_shared/components.ts +14 -14
- package/src/index.ts +3 -0
- package/src/vetting/_shared/0.1/identity-vetting.ts +2 -2
- package/src/vetting/_shared/0.1/vetting-card.ts +1 -1
- package/src/vetting/_shared/0.1/vetting.ts +1 -1
- package/src/vetting/request/0.1/payload.ts +3 -3
- package/src/vta/attestation/mnemonic-status/0.1/payload.ts +203 -0
- package/src/vta/metrics/show/0.1/payload.ts +418 -0
- package/src/vtc/_shared/0.1/endorsement-type.ts +1 -1
- package/src/vtc/_shared/0.1/endorsement.ts +1 -1
- package/src/vtc/auth/recognise/0.2/payload.ts +2 -2
- package/src/vtc/endorsement-types/list/0.1/payload.ts +4 -4
- package/src/vtc/endorsement-types/register/0.1/payload.ts +11 -7
- package/src/vtc/endorsements/issue/0.1/payload.ts +23 -23
- package/src/vtc/endorsements/list/0.1/payload.ts +16 -16
- package/src/vtc/endorsements/revoke/0.1/payload.ts +3 -3
- package/src/vtc/endorsements/show/0.1/payload.ts +14 -14
- package/src/vtc/join-requests/decide/0.1/payload.ts +6 -6
- package/src/vtc/join-requests/manifest/0.2/payload.ts +6 -6
- package/src/vtc/members/credentials/0.1/payload.ts +3 -3
- package/src/vtc/members/list/0.1/payload.ts +4 -4
- package/src/vtc/members/personhood/assert/0.1/payload.ts +8 -8
- package/src/vtc/members/personhood/revoke/0.1/payload.ts +6 -6
- package/src/vtc/members/renew/0.1/payload.ts +8 -8
- package/src/vtc/members/rotate/0.1/payload.ts +8 -8
- package/src/vtc/members/show/0.1/payload.ts +4 -4
- package/src/vtc/members/update/0.1/payload.ts +4 -4
- package/src/vtc/schemas/accepts/list/0.1/payload.ts +4 -4
- package/src/vtc/schemas/accepts/register/0.1/payload.ts +4 -4
- package/src/vtc/schemas/accepts/show/0.1/payload.ts +4 -4
- package/src/vtc/schemas/list/0.1/payload.ts +2 -2
- package/src/vtc/schemas/register/0.1/payload.ts +2 -2
- package/src/vtc/schemas/show/0.1/payload.ts +2 -2
- package/src/vtc/vetting/hidden/publish/0.1/payload.ts +905 -0
- package/src/vtc/vetting/vetters/grant/0.1/payload.ts +8 -8
- package/src/witness/session/submit/0.1/payload.ts +3 -3
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"payload.d.ts","sourceRoot":"","sources":["../../../../../src/vta/metrics/show/0.1/payload.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,EAAE,GAAG,EAAE,SAAS,EAAE,eAAe,EAAE,MAAM,EAAE,eAAe,EAAE,MAAM,mCAAmC,CAAC;AAGlH;;GAEG;AACH,MAAM,WAAW,qBAAqB;IACpC,GAAG,CAAC,EAAE,GAAG,CAAC;CACX;AACD;;GAEG;AACH,MAAM,WAAW,6BAA6B;IAC5C,QAAQ,EAAE,eAAe,CAAC;IAC1B,GAAG,CAAC,EAAE,GAAG,CAAC;CACX;AAED,kHAAkH;AAClH,YAAY,EAAE,GAAG,EAAE,SAAS,EAAE,eAAe,EAAE,MAAM,EAAE,eAAe,EAAE,CAAC;AAEzE,2BAA2B;AAC3B,eAAO,MAAM,QAAQ,EAAG,kDAA2D,CAAC;AAEpF,mEAAmE;AACnE,MAAM,MAAM,OAAO,GAAG,qBAAqB,CAAC;AAE5C,qEAAqE;AACrE,eAAO,MAAM,iBAAiB,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|
|
6
|
+
export const TYPE_URI = "https://trusttasks.org/spec/vta/metrics/show/0.1";
|
|
7
|
+
/** Trust Task response type URI (request type URI + "#response"). */
|
|
8
|
+
export const RESPONSE_TYPE_URI = "https://trusttasks.org/spec/vta/metrics/show/0.1#response";
|
|
9
|
+
/**
|
|
10
|
+
* This specification's payload schema, as a value.
|
|
11
|
+
*
|
|
12
|
+
* SPEC.md §7.2 item 2 is performed against this. It is shipped as data
|
|
13
|
+
* rather than only as a `.json` file because TypeScript types are erased
|
|
14
|
+
* at runtime: without a schema a consumer has nothing to validate, and
|
|
15
|
+
* every REQUIRED payload member is optional in practice. Cross-file
|
|
16
|
+
* `$ref`s are already inlined, so it needs no resolver.
|
|
17
|
+
*/
|
|
18
|
+
export const PAYLOAD_SCHEMA = {
|
|
19
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
20
|
+
"$id": "https://trusttasks.org/spec/vta/metrics/show/0.1",
|
|
21
|
+
"title": "VTA Metrics — Show — payload",
|
|
22
|
+
"description": "An empty request; the whole snapshot is always returned. The outer document members are owned by the framework — SPEC §6.3.",
|
|
23
|
+
"type": "object",
|
|
24
|
+
"additionalProperties": false,
|
|
25
|
+
"properties": {
|
|
26
|
+
"ext": {
|
|
27
|
+
"$ref": "#/$defs/Ext"
|
|
28
|
+
}
|
|
29
|
+
},
|
|
30
|
+
"$defs": {
|
|
31
|
+
"Response": {
|
|
32
|
+
"$anchor": "response",
|
|
33
|
+
"title": "VTA Metrics — Show — response payload",
|
|
34
|
+
"description": "The VTA's current metrics snapshot. Carried in a Trust Task document whose type is https://trusttasks.org/spec/vta/metrics/show/0.1#response.",
|
|
35
|
+
"type": "object",
|
|
36
|
+
"additionalProperties": false,
|
|
37
|
+
"required": [
|
|
38
|
+
"snapshot"
|
|
39
|
+
],
|
|
40
|
+
"properties": {
|
|
41
|
+
"snapshot": {
|
|
42
|
+
"$ref": "#/$defs/MetricsSnapshot"
|
|
43
|
+
},
|
|
44
|
+
"ext": {
|
|
45
|
+
"$ref": "#/$defs/Ext"
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
},
|
|
49
|
+
"Ext": {
|
|
50
|
+
"title": "Ext",
|
|
51
|
+
"description": "Vendor-namespaced extension object per SPEC.md §4.5.1. Each immediate key MUST be a reverse-DNS namespace; structure under each namespace is opaque to the framework.",
|
|
52
|
+
"type": "object",
|
|
53
|
+
"minProperties": 1,
|
|
54
|
+
"additionalProperties": true,
|
|
55
|
+
"propertyNames": {
|
|
56
|
+
"pattern": "^[a-z][a-z0-9-]*(\\.[a-z0-9-]+)+$"
|
|
57
|
+
}
|
|
58
|
+
},
|
|
59
|
+
"MetricsSnapshot": {
|
|
60
|
+
"title": "MetricsSnapshot",
|
|
61
|
+
"type": "object",
|
|
62
|
+
"additionalProperties": false,
|
|
63
|
+
"required": [
|
|
64
|
+
"takenAt",
|
|
65
|
+
"counters",
|
|
66
|
+
"gauges",
|
|
67
|
+
"histograms"
|
|
68
|
+
],
|
|
69
|
+
"properties": {
|
|
70
|
+
"takenAt": {
|
|
71
|
+
"type": "string",
|
|
72
|
+
"format": "date-time",
|
|
73
|
+
"description": "When the service read these values from its own instrumentation. Not the same as the envelope's issuedAt when a snapshot is cached briefly before answering."
|
|
74
|
+
},
|
|
75
|
+
"counters": {
|
|
76
|
+
"type": "array",
|
|
77
|
+
"items": {
|
|
78
|
+
"$ref": "#/$defs/Metric"
|
|
79
|
+
},
|
|
80
|
+
"description": "Monotonically increasing totals (e.g. requests served, errors raised). Empty when the service exposes none. Always present, so a collector can tell \"no counters\" from \"the field was dropped\"."
|
|
81
|
+
},
|
|
82
|
+
"gauges": {
|
|
83
|
+
"type": "array",
|
|
84
|
+
"items": {
|
|
85
|
+
"$ref": "#/$defs/Metric"
|
|
86
|
+
},
|
|
87
|
+
"description": "Point-in-time values that can rise or fall (e.g. open connections, queue depth). Empty when the service exposes none. Always present, for the same reason as counters."
|
|
88
|
+
},
|
|
89
|
+
"histograms": {
|
|
90
|
+
"type": "array",
|
|
91
|
+
"items": {
|
|
92
|
+
"$ref": "#/$defs/Histogram"
|
|
93
|
+
},
|
|
94
|
+
"description": "Distributions of observed values (e.g. request latency). Empty when the service exposes none. Always present, for the same reason as counters."
|
|
95
|
+
},
|
|
96
|
+
"ext": {
|
|
97
|
+
"$ref": "#/$defs/Ext"
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
},
|
|
101
|
+
"Histogram": {
|
|
102
|
+
"title": "Histogram",
|
|
103
|
+
"description": "One histogram's distribution, in the Prometheus cumulative-bucket convention: each bucket's `count` includes every observation at or below its `le`.",
|
|
104
|
+
"type": "object",
|
|
105
|
+
"additionalProperties": false,
|
|
106
|
+
"required": [
|
|
107
|
+
"name",
|
|
108
|
+
"count",
|
|
109
|
+
"sum",
|
|
110
|
+
"buckets"
|
|
111
|
+
],
|
|
112
|
+
"properties": {
|
|
113
|
+
"name": {
|
|
114
|
+
"type": "string",
|
|
115
|
+
"minLength": 1,
|
|
116
|
+
"description": "The histogram's stable name (e.g. `did_hosting_resolve_seconds`)."
|
|
117
|
+
},
|
|
118
|
+
"labels": {
|
|
119
|
+
"type": "object",
|
|
120
|
+
"additionalProperties": {
|
|
121
|
+
"type": "string"
|
|
122
|
+
},
|
|
123
|
+
"description": "Dimensions the distribution is broken down by. Absent or empty when the histogram carries none."
|
|
124
|
+
},
|
|
125
|
+
"count": {
|
|
126
|
+
"type": "integer",
|
|
127
|
+
"minimum": 0,
|
|
128
|
+
"description": "Total number of observations."
|
|
129
|
+
},
|
|
130
|
+
"sum": {
|
|
131
|
+
"type": "number",
|
|
132
|
+
"description": "Sum of all observed values."
|
|
133
|
+
},
|
|
134
|
+
"buckets": {
|
|
135
|
+
"type": "array",
|
|
136
|
+
"items": {
|
|
137
|
+
"$ref": "#/$defs/HistogramBucket"
|
|
138
|
+
},
|
|
139
|
+
"description": "Cumulative buckets, ordered by ascending `le`. Empty when the service exposes no bucket breakdown for this histogram — count and sum still apply. Always present, for the same reason as the snapshot's own arrays."
|
|
140
|
+
}
|
|
141
|
+
}
|
|
142
|
+
},
|
|
143
|
+
"HistogramBucket": {
|
|
144
|
+
"title": "HistogramBucket",
|
|
145
|
+
"type": "object",
|
|
146
|
+
"additionalProperties": false,
|
|
147
|
+
"required": [
|
|
148
|
+
"le",
|
|
149
|
+
"count"
|
|
150
|
+
],
|
|
151
|
+
"properties": {
|
|
152
|
+
"le": {
|
|
153
|
+
"type": "number",
|
|
154
|
+
"description": "Upper bound of this bucket, inclusive. The final bucket conventionally reports the same value as the histogram's own `count` at whatever `le` the service treats as its ceiling."
|
|
155
|
+
},
|
|
156
|
+
"count": {
|
|
157
|
+
"type": "integer",
|
|
158
|
+
"minimum": 0,
|
|
159
|
+
"description": "Number of observations at or below `le`."
|
|
160
|
+
}
|
|
161
|
+
}
|
|
162
|
+
},
|
|
163
|
+
"Metric": {
|
|
164
|
+
"title": "Metric",
|
|
165
|
+
"description": "One counter or gauge reading.",
|
|
166
|
+
"type": "object",
|
|
167
|
+
"additionalProperties": false,
|
|
168
|
+
"required": [
|
|
169
|
+
"name",
|
|
170
|
+
"value"
|
|
171
|
+
],
|
|
172
|
+
"properties": {
|
|
173
|
+
"name": {
|
|
174
|
+
"type": "string",
|
|
175
|
+
"minLength": 1,
|
|
176
|
+
"description": "The metric's stable name (e.g. `did_hosting_requests_total`). Implementation-defined; the framework imposes no vocabulary."
|
|
177
|
+
},
|
|
178
|
+
"value": {
|
|
179
|
+
"type": "number",
|
|
180
|
+
"description": "The current reading."
|
|
181
|
+
},
|
|
182
|
+
"labels": {
|
|
183
|
+
"type": "object",
|
|
184
|
+
"additionalProperties": {
|
|
185
|
+
"type": "string"
|
|
186
|
+
},
|
|
187
|
+
"description": "Dimensions the value is broken down by (e.g. `{\"method\": \"resolve\"}`). Absent or empty when the metric carries none."
|
|
188
|
+
}
|
|
189
|
+
}
|
|
190
|
+
}
|
|
191
|
+
}
|
|
192
|
+
};
|
|
193
|
+
/** As {@link PAYLOAD_SCHEMA}, for the success-response variant. */
|
|
194
|
+
export const RESPONSE_PAYLOAD_SCHEMA = {
|
|
195
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
196
|
+
"$ref": "#/$defs/Response",
|
|
197
|
+
"$defs": {
|
|
198
|
+
"Response": {
|
|
199
|
+
"$anchor": "response",
|
|
200
|
+
"title": "VTA Metrics — Show — response payload",
|
|
201
|
+
"description": "The VTA's current metrics snapshot. Carried in a Trust Task document whose type is https://trusttasks.org/spec/vta/metrics/show/0.1#response.",
|
|
202
|
+
"type": "object",
|
|
203
|
+
"additionalProperties": false,
|
|
204
|
+
"required": [
|
|
205
|
+
"snapshot"
|
|
206
|
+
],
|
|
207
|
+
"properties": {
|
|
208
|
+
"snapshot": {
|
|
209
|
+
"$ref": "#/$defs/MetricsSnapshot"
|
|
210
|
+
},
|
|
211
|
+
"ext": {
|
|
212
|
+
"$ref": "#/$defs/Ext"
|
|
213
|
+
}
|
|
214
|
+
}
|
|
215
|
+
},
|
|
216
|
+
"Ext": {
|
|
217
|
+
"title": "Ext",
|
|
218
|
+
"description": "Vendor-namespaced extension object per SPEC.md §4.5.1. Each immediate key MUST be a reverse-DNS namespace; structure under each namespace is opaque to the framework.",
|
|
219
|
+
"type": "object",
|
|
220
|
+
"minProperties": 1,
|
|
221
|
+
"additionalProperties": true,
|
|
222
|
+
"propertyNames": {
|
|
223
|
+
"pattern": "^[a-z][a-z0-9-]*(\\.[a-z0-9-]+)+$"
|
|
224
|
+
}
|
|
225
|
+
},
|
|
226
|
+
"MetricsSnapshot": {
|
|
227
|
+
"title": "MetricsSnapshot",
|
|
228
|
+
"type": "object",
|
|
229
|
+
"additionalProperties": false,
|
|
230
|
+
"required": [
|
|
231
|
+
"takenAt",
|
|
232
|
+
"counters",
|
|
233
|
+
"gauges",
|
|
234
|
+
"histograms"
|
|
235
|
+
],
|
|
236
|
+
"properties": {
|
|
237
|
+
"takenAt": {
|
|
238
|
+
"type": "string",
|
|
239
|
+
"format": "date-time",
|
|
240
|
+
"description": "When the service read these values from its own instrumentation. Not the same as the envelope's issuedAt when a snapshot is cached briefly before answering."
|
|
241
|
+
},
|
|
242
|
+
"counters": {
|
|
243
|
+
"type": "array",
|
|
244
|
+
"items": {
|
|
245
|
+
"$ref": "#/$defs/Metric"
|
|
246
|
+
},
|
|
247
|
+
"description": "Monotonically increasing totals (e.g. requests served, errors raised). Empty when the service exposes none. Always present, so a collector can tell \"no counters\" from \"the field was dropped\"."
|
|
248
|
+
},
|
|
249
|
+
"gauges": {
|
|
250
|
+
"type": "array",
|
|
251
|
+
"items": {
|
|
252
|
+
"$ref": "#/$defs/Metric"
|
|
253
|
+
},
|
|
254
|
+
"description": "Point-in-time values that can rise or fall (e.g. open connections, queue depth). Empty when the service exposes none. Always present, for the same reason as counters."
|
|
255
|
+
},
|
|
256
|
+
"histograms": {
|
|
257
|
+
"type": "array",
|
|
258
|
+
"items": {
|
|
259
|
+
"$ref": "#/$defs/Histogram"
|
|
260
|
+
},
|
|
261
|
+
"description": "Distributions of observed values (e.g. request latency). Empty when the service exposes none. Always present, for the same reason as counters."
|
|
262
|
+
},
|
|
263
|
+
"ext": {
|
|
264
|
+
"$ref": "#/$defs/Ext"
|
|
265
|
+
}
|
|
266
|
+
}
|
|
267
|
+
},
|
|
268
|
+
"Histogram": {
|
|
269
|
+
"title": "Histogram",
|
|
270
|
+
"description": "One histogram's distribution, in the Prometheus cumulative-bucket convention: each bucket's `count` includes every observation at or below its `le`.",
|
|
271
|
+
"type": "object",
|
|
272
|
+
"additionalProperties": false,
|
|
273
|
+
"required": [
|
|
274
|
+
"name",
|
|
275
|
+
"count",
|
|
276
|
+
"sum",
|
|
277
|
+
"buckets"
|
|
278
|
+
],
|
|
279
|
+
"properties": {
|
|
280
|
+
"name": {
|
|
281
|
+
"type": "string",
|
|
282
|
+
"minLength": 1,
|
|
283
|
+
"description": "The histogram's stable name (e.g. `did_hosting_resolve_seconds`)."
|
|
284
|
+
},
|
|
285
|
+
"labels": {
|
|
286
|
+
"type": "object",
|
|
287
|
+
"additionalProperties": {
|
|
288
|
+
"type": "string"
|
|
289
|
+
},
|
|
290
|
+
"description": "Dimensions the distribution is broken down by. Absent or empty when the histogram carries none."
|
|
291
|
+
},
|
|
292
|
+
"count": {
|
|
293
|
+
"type": "integer",
|
|
294
|
+
"minimum": 0,
|
|
295
|
+
"description": "Total number of observations."
|
|
296
|
+
},
|
|
297
|
+
"sum": {
|
|
298
|
+
"type": "number",
|
|
299
|
+
"description": "Sum of all observed values."
|
|
300
|
+
},
|
|
301
|
+
"buckets": {
|
|
302
|
+
"type": "array",
|
|
303
|
+
"items": {
|
|
304
|
+
"$ref": "#/$defs/HistogramBucket"
|
|
305
|
+
},
|
|
306
|
+
"description": "Cumulative buckets, ordered by ascending `le`. Empty when the service exposes no bucket breakdown for this histogram — count and sum still apply. Always present, for the same reason as the snapshot's own arrays."
|
|
307
|
+
}
|
|
308
|
+
}
|
|
309
|
+
},
|
|
310
|
+
"HistogramBucket": {
|
|
311
|
+
"title": "HistogramBucket",
|
|
312
|
+
"type": "object",
|
|
313
|
+
"additionalProperties": false,
|
|
314
|
+
"required": [
|
|
315
|
+
"le",
|
|
316
|
+
"count"
|
|
317
|
+
],
|
|
318
|
+
"properties": {
|
|
319
|
+
"le": {
|
|
320
|
+
"type": "number",
|
|
321
|
+
"description": "Upper bound of this bucket, inclusive. The final bucket conventionally reports the same value as the histogram's own `count` at whatever `le` the service treats as its ceiling."
|
|
322
|
+
},
|
|
323
|
+
"count": {
|
|
324
|
+
"type": "integer",
|
|
325
|
+
"minimum": 0,
|
|
326
|
+
"description": "Number of observations at or below `le`."
|
|
327
|
+
}
|
|
328
|
+
}
|
|
329
|
+
},
|
|
330
|
+
"Metric": {
|
|
331
|
+
"title": "Metric",
|
|
332
|
+
"description": "One counter or gauge reading.",
|
|
333
|
+
"type": "object",
|
|
334
|
+
"additionalProperties": false,
|
|
335
|
+
"required": [
|
|
336
|
+
"name",
|
|
337
|
+
"value"
|
|
338
|
+
],
|
|
339
|
+
"properties": {
|
|
340
|
+
"name": {
|
|
341
|
+
"type": "string",
|
|
342
|
+
"minLength": 1,
|
|
343
|
+
"description": "The metric's stable name (e.g. `did_hosting_requests_total`). Implementation-defined; the framework imposes no vocabulary."
|
|
344
|
+
},
|
|
345
|
+
"value": {
|
|
346
|
+
"type": "number",
|
|
347
|
+
"description": "The current reading."
|
|
348
|
+
},
|
|
349
|
+
"labels": {
|
|
350
|
+
"type": "object",
|
|
351
|
+
"additionalProperties": {
|
|
352
|
+
"type": "string"
|
|
353
|
+
},
|
|
354
|
+
"description": "Dimensions the value is broken down by (e.g. `{\"method\": \"resolve\"}`). Absent or empty when the metric carries none."
|
|
355
|
+
}
|
|
356
|
+
}
|
|
357
|
+
}
|
|
358
|
+
}
|
|
359
|
+
};
|
|
360
|
+
/**
|
|
361
|
+
* SPEC.md §7.2 policy for the request variant, from this specification's
|
|
362
|
+
* front matter. Pass to `consumeInbound` — items 5b, 7 and 8 are
|
|
363
|
+
* per-specification and cannot be derived from the document alone, and
|
|
364
|
+
* item 2 needs the schema this carries.
|
|
365
|
+
*/
|
|
366
|
+
export const SPEC = {
|
|
367
|
+
typeUri: TYPE_URI,
|
|
368
|
+
isBearer: false,
|
|
369
|
+
isProofRequired: true,
|
|
370
|
+
isRecipientRequired: true,
|
|
371
|
+
isIssuedAtRequired: false,
|
|
372
|
+
payloadSchema: PAYLOAD_SCHEMA,
|
|
373
|
+
};
|
|
374
|
+
/**
|
|
375
|
+
* SPEC.md §7.2 policy for the success-response variant. `isRecipientRequired`
|
|
376
|
+
* tracks the *issuer* party's requirement because a response swaps the
|
|
377
|
+
* parties (§7.3 item 5).
|
|
378
|
+
*/
|
|
379
|
+
export const RESPONSE_SPEC = {
|
|
380
|
+
typeUri: RESPONSE_TYPE_URI,
|
|
381
|
+
isBearer: false,
|
|
382
|
+
isProofRequired: true,
|
|
383
|
+
isRecipientRequired: true,
|
|
384
|
+
isIssuedAtRequired: false,
|
|
385
|
+
payloadSchema: RESPONSE_PAYLOAD_SCHEMA,
|
|
386
|
+
};
|
|
387
|
+
//# sourceMappingURL=payload.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"payload.js","sourceRoot":"","sources":["../../../../../src/vta/metrics/show/0.1/payload.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAsBH,2BAA2B;AAC3B,MAAM,CAAC,MAAM,QAAQ,GAAG,kDAA2D,CAAC;AAKpF,qEAAqE;AACrE,MAAM,CAAC,MAAM,iBAAiB,GAAG,2DAAoE,CAAC;AAKtG;;;;;;;;GAQG;AACH,MAAM,CAAC,MAAM,cAAc,GAAG;IAC5B,SAAS,EAAE,8CAA8C;IACzD,KAAK,EAAE,kDAAkD;IACzD,OAAO,EAAE,8BAA8B;IACvC,aAAa,EAAE,6HAA6H;IAC5I,MAAM,EAAE,QAAQ;IAChB,sBAAsB,EAAE,KAAK;IAC7B,YAAY,EAAE;QACZ,KAAK,EAAE;YACL,MAAM,EAAE,aAAa;SACtB;KACF;IACD,OAAO,EAAE;QACP,UAAU,EAAE;YACV,SAAS,EAAE,UAAU;YACrB,OAAO,EAAE,uCAAuC;YAChD,aAAa,EAAE,+IAA+I;YAC9J,MAAM,EAAE,QAAQ;YAChB,sBAAsB,EAAE,KAAK;YAC7B,UAAU,EAAE;gBACV,UAAU;aACX;YACD,YAAY,EAAE;gBACZ,UAAU,EAAE;oBACV,MAAM,EAAE,yBAAyB;iBAClC;gBACD,KAAK,EAAE;oBACL,MAAM,EAAE,aAAa;iBACtB;aACF;SACF;QACD,KAAK,EAAE;YACL,OAAO,EAAE,KAAK;YACd,aAAa,EAAE,uKAAuK;YACtL,MAAM,EAAE,QAAQ;YAChB,eAAe,EAAE,CAAC;YAClB,sBAAsB,EAAE,IAAI;YAC5B,eAAe,EAAE;gBACf,SAAS,EAAE,mCAAmC;aAC/C;SACF;QACD,iBAAiB,EAAE;YACjB,OAAO,EAAE,iBAAiB;YAC1B,MAAM,EAAE,QAAQ;YAChB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EAAE,KAAK;YAC7B,UAAU,EAAE;gBACV,MAAM;gBACN,OAAO;aACR;YACD,YAAY,EAAE;gBACZ,MAAM,EAAE;oBACN,MAAM,EAAE,QAAQ;oBAChB,WAAW,EAAE,CAAC;oBACd,aAAa,EAAE,4HAA4H;iBAC5I;gBACD,OAAO,EAAE;oBACP,MAAM,EAAE,QAAQ;oBAChB,aAAa,EAAE,sBAAsB;iBACtC;gBACD,QAAQ,EAAE;oBACR,MAAM,EAAE,QAAQ;oBAChB,sBAAsB,EAAE;wBACtB,MAAM,EAAE,QAAQ;qBACjB;oBACD,aAAa,EAAE,0HAA0H;iBAC1I;aACF;SACF;KACF;CACO,CAAC;AAEX;;;;;GAKG;AACH,MAAM,CAAC,MAAM,IAAI,GAAG;IAClB,OAAO,EAAE,QAAQ;IACjB,QAAQ,EAAE,KAAK;IACf,eAAe,EAAE,IAAI;IACrB,mBAAmB,EAAE,IAAI;IACzB,kBAAkB,EAAE,KAAK;IACzB,aAAa,EAAE,cAAc;CACrB,CAAC;AAEX;;;;GAIG;AACH,MAAM,CAAC,MAAM,aAAa,GAAG;IAC3B,OAAO,EAAE,iBAAiB;IAC1B,QAAQ,EAAE,KAAK;IACf,eAAe,EAAE,IAAI;IACrB,mBAAmB,EAAE,IAAI;IACzB,kBAAkB,EAAE,KAAK;IACzB,aAAa,EAAE,uBAAuB;CAC9B,CAAC"}
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* Source: specs/vtc/_shared/0.1/endorsement-type.schema.json
|
|
4
4
|
*/
|
|
5
5
|
/**
|
|
6
|
-
* Shared type for the vtc/endorsement-types/* family: one operator-registered
|
|
6
|
+
* Shared type for the vtc/endorsement-types/* family: one operator-registered statement predicate a community accepts. Each entry is a predicate IRI a DTG Verifiable Statement Credential (`StatementCredential`) carries in `credentialSubject.predicate` — a DTG VSC predicate registry IRI such as `https://registry.trustoverip.org/dtg/vsc/vetted/1`, or an IRI in a namespace the community controls whose definition follows the registry's predicate definition format. The registered set is the community's accept-list: a verifier applying the community's policy fails closed, rejecting a statement whose predicate is not registered rather than processing it as a generic statement. Roles are not endorsements and are never registered here — a role is conferred by a Verifiable Authority Credential (see vtc/vetting/vetters/grant). The family and field names are kept from when statements were endorsement types.
|
|
7
7
|
*/
|
|
8
8
|
export interface VTCSharedEndorsementTypeDefinitions {
|
|
9
9
|
[k: string]: unknown | undefined;
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* Source: specs/vtc/_shared/0.1/endorsement.schema.json
|
|
4
4
|
*/
|
|
5
5
|
/**
|
|
6
|
-
* Shared type for the vtc/endorsements/* family: one issued Verifiable Endorsement Credential (VEC)
|
|
6
|
+
* Shared type for the vtc/endorsements/* family: one community-issued statement row. The credential is a DTG Verifiable Statement Credential (`type` [VerifiableCredential, DTGCredential, StatementCredential], `issuerScope` public) — a Verifiable Endorsement Credential (VEC) when its predicate is `https://registry.trustoverip.org/dtg/vsc/endorses/1`. Embeds the registry-wide credentials/_shared CredentialReference and adds the VTC-specific parts — the registered predicate and the shared status-list slot that makes the statement third-party revocation-checkable. The family and member names (`endorsementId`, `typeUri`, `claim`) are kept from when these were `EndorsementCredential`s.
|
|
7
7
|
*/
|
|
8
8
|
export interface VTCSharedEndorsementDefinitions {
|
|
9
9
|
[k: string]: unknown | undefined;
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
import type { Ext } from "../../../../_shared/components.js";
|
|
6
6
|
export interface VTCAuthRecognisePayload {
|
|
7
7
|
/**
|
|
8
|
-
* A holder-signed W3C Verifiable Presentation embedding the foreign membership and
|
|
8
|
+
* A holder-signed W3C Verifiable Presentation embedding the foreign membership credential (`MembershipCredential`) and role credential (a Verifiable Authority Credential, `AuthorityCredential`, conferring `role:<name>` at the foreign community's DID) in `verifiableCredential`.
|
|
9
9
|
*
|
|
10
10
|
* The holder proof MUST use `proofPurpose: authentication`, MUST commit to the single-use `nonce` issued by `vtc/auth/recognise/challenge`, and MUST name the recognising community's DID as `domain`. A consumer MUST verify the holder proof, verify each embedded credential's issuer proof, and refuse unless the presentation's holder is the credentials' subject.
|
|
11
11
|
*/
|
|
@@ -60,7 +60,7 @@ export declare const PAYLOAD_SCHEMA: {
|
|
|
60
60
|
readonly properties: {
|
|
61
61
|
readonly presentation: {
|
|
62
62
|
readonly type: "object";
|
|
63
|
-
readonly description: "A holder-signed W3C Verifiable Presentation embedding the foreign membership and
|
|
63
|
+
readonly description: "A holder-signed W3C Verifiable Presentation embedding the foreign membership credential (`MembershipCredential`) and role credential (a Verifiable Authority Credential, `AuthorityCredential`, conferring `role:<name>` at the foreign community's DID) in `verifiableCredential`.\n\nThe holder proof MUST use `proofPurpose: authentication`, MUST commit to the single-use `nonce` issued by `vtc/auth/recognise/challenge`, and MUST name the recognising community's DID as `domain`. A consumer MUST verify the holder proof, verify each embedded credential's issuer proof, and refuse unless the presentation's holder is the credentials' subject.";
|
|
64
64
|
};
|
|
65
65
|
readonly ext: {
|
|
66
66
|
readonly $ref: "#/$defs/Ext";
|
|
@@ -196,7 +196,7 @@ export declare const SPEC: {
|
|
|
196
196
|
readonly properties: {
|
|
197
197
|
readonly presentation: {
|
|
198
198
|
readonly type: "object";
|
|
199
|
-
readonly description: "A holder-signed W3C Verifiable Presentation embedding the foreign membership and
|
|
199
|
+
readonly description: "A holder-signed W3C Verifiable Presentation embedding the foreign membership credential (`MembershipCredential`) and role credential (a Verifiable Authority Credential, `AuthorityCredential`, conferring `role:<name>` at the foreign community's DID) in `verifiableCredential`.\n\nThe holder proof MUST use `proofPurpose: authentication`, MUST commit to the single-use `nonce` issued by `vtc/auth/recognise/challenge`, and MUST name the recognising community's DID as `domain`. A consumer MUST verify the holder proof, verify each embedded credential's issuer proof, and refuse unless the presentation's holder is the credentials' subject.";
|
|
200
200
|
};
|
|
201
201
|
readonly ext: {
|
|
202
202
|
readonly $ref: "#/$defs/Ext";
|
|
@@ -27,7 +27,7 @@ export const PAYLOAD_SCHEMA = {
|
|
|
27
27
|
"properties": {
|
|
28
28
|
"presentation": {
|
|
29
29
|
"type": "object",
|
|
30
|
-
"description": "A holder-signed W3C Verifiable Presentation embedding the foreign membership and
|
|
30
|
+
"description": "A holder-signed W3C Verifiable Presentation embedding the foreign membership credential (`MembershipCredential`) and role credential (a Verifiable Authority Credential, `AuthorityCredential`, conferring `role:<name>` at the foreign community's DID) in `verifiableCredential`.\n\nThe holder proof MUST use `proofPurpose: authentication`, MUST commit to the single-use `nonce` issued by `vtc/auth/recognise/challenge`, and MUST name the recognising community's DID as `domain`. A consumer MUST verify the holder proof, verify each embedded credential's issuer proof, and refuse unless the presentation's holder is the credentials' subject."
|
|
31
31
|
},
|
|
32
32
|
"ext": {
|
|
33
33
|
"$ref": "#/$defs/Ext"
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"payload.js","sourceRoot":"","sources":["../../../../../src/vtc/auth/recognise/0.2/payload.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAqCH,2BAA2B;AAC3B,MAAM,CAAC,MAAM,QAAQ,GAAG,oDAA6D,CAAC;AAKtF,qEAAqE;AACrE,MAAM,CAAC,MAAM,iBAAiB,GAAG,6DAAsE,CAAC;AAKxG;;;;;;;;GAQG;AACH,MAAM,CAAC,MAAM,cAAc,GAAG;IAC5B,SAAS,EAAE,8CAA8C;IACzD,KAAK,EAAE,oDAAoD;IAC3D,OAAO,EAAE,8BAA8B;IACvC,MAAM,EAAE,QAAQ;IAChB,sBAAsB,EAAE,KAAK;IAC7B,UAAU,EAAE;QACV,cAAc;KACf;IACD,YAAY,EAAE;QACZ,cAAc,EAAE;YACd,MAAM,EAAE,QAAQ;YAChB,aAAa,EAAE,+
|
|
1
|
+
{"version":3,"file":"payload.js","sourceRoot":"","sources":["../../../../../src/vtc/auth/recognise/0.2/payload.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAqCH,2BAA2B;AAC3B,MAAM,CAAC,MAAM,QAAQ,GAAG,oDAA6D,CAAC;AAKtF,qEAAqE;AACrE,MAAM,CAAC,MAAM,iBAAi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,MAAM,EAAE,QAAQ;YAChB,eAAe,EAAE,CAAC;YAClB,sBAAsB,EAAE,IAAI;YAC5B,eAAe,EAAE;gBACf,SAAS,EAAE,mCAAmC;aAC/C;SACF;KACF;CACO,CAAC;AAEX;;;;;GAKG;AACH,MAAM,CAAC,MAAM,IAAI,GAAG;IAClB,OAAO,EAAE,QAAQ;IACjB,QAAQ,EAAE,KAAK;IACf,eAAe,EAAE,KAAK;IACtB,mBAAmB,EAAE,IAAI;IACzB,kBAAkB,EAAE,IAAI;IACxB,aAAa,EAAE,cAAc;CACrB,CAAC;AAEX;;;;GAIG;AACH,MAAM,CAAC,MAAM,aAAa,GAAG;IAC3B,OAAO,EAAE,iBAAiB;IAC1B,QAAQ,EAAE,KAAK;IACf,eAAe,EAAE,KAAK;IACtB,mBAAmB,EAAE,IAAI;IACzB,kBAAkB,EAAE,IAAI;IACxB,aAAa,EAAE,uBAAuB;CAC9B,CAAC"}
|
|
@@ -94,7 +94,7 @@ export declare const PAYLOAD_SCHEMA: {
|
|
|
94
94
|
readonly type: "string";
|
|
95
95
|
readonly minLength: 1;
|
|
96
96
|
readonly maxLength: 512;
|
|
97
|
-
readonly description: "The
|
|
97
|
+
readonly description: "The predicate IRI the community accepts, compared as an exact string: a DTG VSC predicate registry IRI (e.g. `https://registry.trustoverip.org/dtg/vsc/vetted/1`) or a community-namespace IRI defined in the registry's predicate definition format. URIs the implementation reserves for its own use are refused at registration.";
|
|
98
98
|
};
|
|
99
99
|
readonly description: {
|
|
100
100
|
readonly type: "string";
|
|
@@ -102,7 +102,7 @@ export declare const PAYLOAD_SCHEMA: {
|
|
|
102
102
|
};
|
|
103
103
|
readonly claimSchema: {
|
|
104
104
|
readonly type: "object";
|
|
105
|
-
readonly description: "Optional JSON Schema
|
|
105
|
+
readonly description: "Optional JSON Schema a statement's `credentialSubject.object.value` must satisfy (opaque here) — for a registry predicate, the object schema its profile publishes.";
|
|
106
106
|
};
|
|
107
107
|
readonly createdAt: {
|
|
108
108
|
readonly type: "string";
|
|
@@ -163,7 +163,7 @@ export declare const RESPONSE_PAYLOAD_SCHEMA: {
|
|
|
163
163
|
readonly type: "string";
|
|
164
164
|
readonly minLength: 1;
|
|
165
165
|
readonly maxLength: 512;
|
|
166
|
-
readonly description: "The
|
|
166
|
+
readonly description: "The predicate IRI the community accepts, compared as an exact string: a DTG VSC predicate registry IRI (e.g. `https://registry.trustoverip.org/dtg/vsc/vetted/1`) or a community-namespace IRI defined in the registry's predicate definition format. URIs the implementation reserves for its own use are refused at registration.";
|
|
167
167
|
};
|
|
168
168
|
readonly description: {
|
|
169
169
|
readonly type: "string";
|
|
@@ -171,7 +171,7 @@ export declare const RESPONSE_PAYLOAD_SCHEMA: {
|
|
|
171
171
|
};
|
|
172
172
|
readonly claimSchema: {
|
|
173
173
|
readonly type: "object";
|
|
174
|
-
readonly description: "Optional JSON Schema
|
|
174
|
+
readonly description: "Optional JSON Schema a statement's `credentialSubject.object.value` must satisfy (opaque here) — for a registry predicate, the object schema its profile publishes.";
|
|
175
175
|
};
|
|
176
176
|
readonly createdAt: {
|
|
177
177
|
readonly type: "string";
|
|
@@ -259,7 +259,7 @@ export declare const SPEC: {
|
|
|
259
259
|
readonly type: "string";
|
|
260
260
|
readonly minLength: 1;
|
|
261
261
|
readonly maxLength: 512;
|
|
262
|
-
readonly description: "The
|
|
262
|
+
readonly description: "The predicate IRI the community accepts, compared as an exact string: a DTG VSC predicate registry IRI (e.g. `https://registry.trustoverip.org/dtg/vsc/vetted/1`) or a community-namespace IRI defined in the registry's predicate definition format. URIs the implementation reserves for its own use are refused at registration.";
|
|
263
263
|
};
|
|
264
264
|
readonly description: {
|
|
265
265
|
readonly type: "string";
|
|
@@ -267,7 +267,7 @@ export declare const SPEC: {
|
|
|
267
267
|
};
|
|
268
268
|
readonly claimSchema: {
|
|
269
269
|
readonly type: "object";
|
|
270
|
-
readonly description: "Optional JSON Schema
|
|
270
|
+
readonly description: "Optional JSON Schema a statement's `credentialSubject.object.value` must satisfy (opaque here) — for a registry predicate, the object schema its profile publishes.";
|
|
271
271
|
};
|
|
272
272
|
readonly createdAt: {
|
|
273
273
|
readonly type: "string";
|
|
@@ -339,7 +339,7 @@ export declare const RESPONSE_SPEC: {
|
|
|
339
339
|
readonly type: "string";
|
|
340
340
|
readonly minLength: 1;
|
|
341
341
|
readonly maxLength: 512;
|
|
342
|
-
readonly description: "The
|
|
342
|
+
readonly description: "The predicate IRI the community accepts, compared as an exact string: a DTG VSC predicate registry IRI (e.g. `https://registry.trustoverip.org/dtg/vsc/vetted/1`) or a community-namespace IRI defined in the registry's predicate definition format. URIs the implementation reserves for its own use are refused at registration.";
|
|
343
343
|
};
|
|
344
344
|
readonly description: {
|
|
345
345
|
readonly type: "string";
|
|
@@ -347,7 +347,7 @@ export declare const RESPONSE_SPEC: {
|
|
|
347
347
|
};
|
|
348
348
|
readonly claimSchema: {
|
|
349
349
|
readonly type: "object";
|
|
350
|
-
readonly description: "Optional JSON Schema
|
|
350
|
+
readonly description: "Optional JSON Schema a statement's `credentialSubject.object.value` must satisfy (opaque here) — for a registry predicate, the object schema its profile publishes.";
|
|
351
351
|
};
|
|
352
352
|
readonly createdAt: {
|
|
353
353
|
readonly type: "string";
|
|
@@ -84,7 +84,7 @@ export const PAYLOAD_SCHEMA = {
|
|
|
84
84
|
"type": "string",
|
|
85
85
|
"minLength": 1,
|
|
86
86
|
"maxLength": 512,
|
|
87
|
-
"description": "The
|
|
87
|
+
"description": "The predicate IRI the community accepts, compared as an exact string: a DTG VSC predicate registry IRI (e.g. `https://registry.trustoverip.org/dtg/vsc/vetted/1`) or a community-namespace IRI defined in the registry's predicate definition format. URIs the implementation reserves for its own use are refused at registration."
|
|
88
88
|
},
|
|
89
89
|
"description": {
|
|
90
90
|
"type": "string",
|
|
@@ -92,7 +92,7 @@ export const PAYLOAD_SCHEMA = {
|
|
|
92
92
|
},
|
|
93
93
|
"claimSchema": {
|
|
94
94
|
"type": "object",
|
|
95
|
-
"description": "Optional JSON Schema
|
|
95
|
+
"description": "Optional JSON Schema a statement's `credentialSubject.object.value` must satisfy (opaque here) — for a registry predicate, the object schema its profile publishes."
|
|
96
96
|
},
|
|
97
97
|
"createdAt": {
|
|
98
98
|
"type": "string",
|
|
@@ -160,7 +160,7 @@ export const RESPONSE_PAYLOAD_SCHEMA = {
|
|
|
160
160
|
"type": "string",
|
|
161
161
|
"minLength": 1,
|
|
162
162
|
"maxLength": 512,
|
|
163
|
-
"description": "The
|
|
163
|
+
"description": "The predicate IRI the community accepts, compared as an exact string: a DTG VSC predicate registry IRI (e.g. `https://registry.trustoverip.org/dtg/vsc/vetted/1`) or a community-namespace IRI defined in the registry's predicate definition format. URIs the implementation reserves for its own use are refused at registration."
|
|
164
164
|
},
|
|
165
165
|
"description": {
|
|
166
166
|
"type": "string",
|
|
@@ -168,7 +168,7 @@ export const RESPONSE_PAYLOAD_SCHEMA = {
|
|
|
168
168
|
},
|
|
169
169
|
"claimSchema": {
|
|
170
170
|
"type": "object",
|
|
171
|
-
"description": "Optional JSON Schema
|
|
171
|
+
"description": "Optional JSON Schema a statement's `credentialSubject.object.value` must satisfy (opaque here) — for a registry predicate, the object schema its profile publishes."
|
|
172
172
|
},
|
|
173
173
|
"createdAt": {
|
|
174
174
|
"type": "string",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"payload.js","sourceRoot":"","sources":["../../../../../src/vtc/endorsement-types/list/0.1/payload.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAmBH,2BAA2B;AAC3B,MAAM,CAAC,MAAM,QAAQ,GAAG,4DAAqE,CAAC;AAK9F,qEAAqE;AACrE,MAAM,CAAC,MAAM,iBAAiB,GAAG,qEAA8E,CAAC;AAKhH;;;;;;;;GAQG;AACH,MAAM,CAAC,MAAM,cAAc,GAAG;IAC5B,SAAS,EAAE,8CAA8C;IACzD,KAAK,EAAE,4DAA4D;IACnE,OAAO,EAAE,sCAAsC;IAC/C,MAAM,EAAE,QAAQ;IAChB,sBAAsB,EAAE,KAAK;IAC7B,YAAY,EAAE;QACZ,QAAQ,EAAE;YACR,MAAM,EAAE,QAAQ;SACjB;QACD,OAAO,EAAE;YACP,MAAM,EAAE,SAAS;YACjB,SAAS,EAAE,CAAC;YACZ,SAAS,EAAE,GAAG;SACf;QACD,KAAK,EAAE;YACL,MAAM,EAAE,aAAa;SACtB;KACF;IACD,OAAO,EAAE;QACP,UAAU,EAAE;YACV,SAAS,EAAE,UAAU;YACrB,OAAO,EAAE,+CAA+C;YACxD,MAAM,EAAE,QAAQ;YAChB,sBAAsB,EAAE,KAAK;YAC7B,UAAU,EAAE;gBACV,OAAO;aACR;YACD,YAAY,EAAE;gBACZ,OAAO,EAAE;oBACP,MAAM,EAAE,OAAO;oBACf,OAAO,EAAE;wBACP,MAAM,EAAE,yBAAyB;qBAClC;iBACF;gBACD,YAAY,EAAE;oBACZ,MAAM,EAAE;wBACN,QAAQ;wBACR,MAAM;qBACP;iBACF;gBACD,KAAK,EAAE;oBACL,MAAM,EAAE,aAAa;iBACtB;aACF;SACF;QACD,KAAK,EAAE;YACL,OAAO,EAAE,KAAK;YACd,aAAa,EAAE,uKAAuK;YACtL,MAAM,EAAE,QAAQ;YAChB,eAAe,EAAE,CAAC;YAClB,sBAAsB,EAAE,IAAI;YAC5B,eAAe,EAAE;gBACf,SAAS,EAAE,mCAAmC;aAC/C;SACF;QACD,iBAAiB,EAAE;YACjB,SAAS,EAAE,iBAAiB;YAC5B,OAAO,EAAE,iBAAiB;YAC1B,MAAM,EAAE,QAAQ;YAChB,sBAAsB,EAAE,KAAK;YAC7B,UAAU,EAAE;gBACV,SAAS;aACV;YACD,YAAY,EAAE;gBACZ,SAAS,EAAE;oBACT,MAAM,EAAE,QAAQ;oBAChB,WAAW,EAAE,CAAC;oBACd,WAAW,EAAE,GAAG;oBAChB,aAAa,EAAE,
|
|
1
|
+
{"version":3,"file":"payload.js","sourceRoot":"","sources":["../../../../../src/vtc/endorsement-types/list/0.1/payload.ts"],"names":[],"mappings":"A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