@openvtc/trust-tasks 0.21.11 → 0.21.13
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 +76 -0
- package/dist/_framework/0.4/framework.d.ts +1 -1
- package/dist/_framework/0.4/framework.d.ts.map +1 -1
- package/dist/_shared/components.d.ts +371 -0
- package/dist/_shared/components.d.ts.map +1 -1
- package/dist/auth/_shared/0.1/signing-key.d.ts +16 -0
- package/dist/auth/_shared/0.1/signing-key.d.ts.map +1 -0
- package/dist/auth/_shared/0.1/signing-key.js +6 -0
- package/dist/auth/_shared/0.1/signing-key.js.map +1 -0
- package/dist/auth/signing-key/enroll/0.1/payload.d.ts +545 -0
- package/dist/auth/signing-key/enroll/0.1/payload.d.ts.map +1 -0
- package/dist/auth/signing-key/enroll/0.1/payload.js +307 -0
- package/dist/auth/signing-key/enroll/0.1/payload.js.map +1 -0
- package/dist/auth/signing-key/list/0.1/payload.d.ts +509 -0
- package/dist/auth/signing-key/list/0.1/payload.d.ts.map +1 -0
- package/dist/auth/signing-key/list/0.1/payload.js +289 -0
- package/dist/auth/signing-key/list/0.1/payload.js.map +1 -0
- package/dist/auth/signing-key/revoke/0.1/payload.d.ts +292 -0
- package/dist/auth/signing-key/revoke/0.1/payload.d.ts.map +1 -0
- package/dist/auth/signing-key/revoke/0.1/payload.js +167 -0
- package/dist/auth/signing-key/revoke/0.1/payload.js.map +1 -0
- package/dist/index.d.ts +39 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +39 -0
- package/dist/index.js.map +1 -1
- package/dist/vta/contexts/update-did/1.1/payload.d.ts +388 -0
- package/dist/vta/contexts/update-did/1.1/payload.d.ts.map +1 -0
- package/dist/vta/contexts/update-did/1.1/payload.js +227 -0
- package/dist/vta/contexts/update-did/1.1/payload.js.map +1 -0
- package/dist/vtc/_shared/0.1/community-presentation.d.ts +16 -0
- package/dist/vtc/_shared/0.1/community-presentation.d.ts.map +1 -0
- package/dist/vtc/_shared/0.1/community-presentation.js +6 -0
- package/dist/vtc/_shared/0.1/community-presentation.js.map +1 -0
- package/dist/vtc/_shared/0.1/relationship-lifecycle.d.ts +16 -0
- package/dist/vtc/_shared/0.1/relationship-lifecycle.d.ts.map +1 -0
- package/dist/vtc/_shared/0.1/relationship-lifecycle.js +6 -0
- package/dist/vtc/_shared/0.1/relationship-lifecycle.js.map +1 -0
- package/dist/vtc/_shared/0.1/schema-registry.d.ts +16 -0
- package/dist/vtc/_shared/0.1/schema-registry.d.ts.map +1 -0
- package/dist/vtc/_shared/0.1/schema-registry.js +6 -0
- package/dist/vtc/_shared/0.1/schema-registry.js.map +1 -0
- package/dist/vtc/_shared/0.1/vetting-auto-grant.d.ts +16 -0
- package/dist/vtc/_shared/0.1/vetting-auto-grant.d.ts.map +1 -0
- package/dist/vtc/_shared/0.1/vetting-auto-grant.js +6 -0
- package/dist/vtc/_shared/0.1/vetting-auto-grant.js.map +1 -0
- package/dist/vtc/_shared/0.1/website-transfer.d.ts +16 -0
- package/dist/vtc/_shared/0.1/website-transfer.d.ts.map +1 -0
- package/dist/vtc/_shared/0.1/website-transfer.js +6 -0
- package/dist/vtc/_shared/0.1/website-transfer.js.map +1 -0
- package/dist/vtc/community/branding/show/0.1/payload.d.ts +319 -0
- package/dist/vtc/community/branding/show/0.1/payload.d.ts.map +1 -0
- package/dist/vtc/community/branding/show/0.1/payload.js +179 -0
- package/dist/vtc/community/branding/show/0.1/payload.js.map +1 -0
- package/dist/vtc/community/branding/update/0.1/payload.d.ts +328 -0
- package/dist/vtc/community/branding/update/0.1/payload.d.ts.map +1 -0
- package/dist/vtc/community/branding/update/0.1/payload.js +185 -0
- package/dist/vtc/community/branding/update/0.1/payload.js.map +1 -0
- package/dist/vtc/community/join-discovery/show/0.1/payload.d.ts +267 -0
- package/dist/vtc/community/join-discovery/show/0.1/payload.d.ts.map +1 -0
- package/dist/vtc/community/join-discovery/show/0.1/payload.js +157 -0
- package/dist/vtc/community/join-discovery/show/0.1/payload.js.map +1 -0
- package/dist/vtc/community/join-discovery/update/0.1/payload.d.ts +276 -0
- package/dist/vtc/community/join-discovery/update/0.1/payload.d.ts.map +1 -0
- package/dist/vtc/community/join-discovery/update/0.1/payload.js +163 -0
- package/dist/vtc/community/join-discovery/update/0.1/payload.js.map +1 -0
- package/dist/vtc/community/requested-attributes/show/0.1/payload.d.ts +339 -0
- package/dist/vtc/community/requested-attributes/show/0.1/payload.d.ts.map +1 -0
- package/dist/vtc/community/requested-attributes/show/0.1/payload.js +193 -0
- package/dist/vtc/community/requested-attributes/show/0.1/payload.js.map +1 -0
- package/dist/vtc/community/requested-attributes/update/0.1/payload.d.ts +348 -0
- package/dist/vtc/community/requested-attributes/update/0.1/payload.d.ts.map +1 -0
- package/dist/vtc/community/requested-attributes/update/0.1/payload.js +199 -0
- package/dist/vtc/community/requested-attributes/update/0.1/payload.js.map +1 -0
- package/dist/vtc/join-requests/query/0.1/payload.d.ts +412 -0
- package/dist/vtc/join-requests/query/0.1/payload.d.ts.map +1 -0
- package/dist/vtc/join-requests/query/0.1/payload.js +228 -0
- package/dist/vtc/join-requests/query/0.1/payload.js.map +1 -0
- package/dist/vtc/join-requests/vetting/show/0.1/payload.d.ts +1016 -0
- package/dist/vtc/join-requests/vetting/show/0.1/payload.d.ts.map +1 -0
- package/dist/vtc/join-requests/vetting/show/0.1/payload.js +509 -0
- package/dist/vtc/join-requests/vetting/show/0.1/payload.js.map +1 -0
- package/dist/vtc/relationships/restore/0.1/payload.d.ts +462 -0
- package/dist/vtc/relationships/restore/0.1/payload.d.ts.map +1 -0
- package/dist/vtc/relationships/restore/0.1/payload.js +270 -0
- package/dist/vtc/relationships/restore/0.1/payload.js.map +1 -0
- package/dist/vtc/relationships/suspend/0.1/payload.d.ts +462 -0
- package/dist/vtc/relationships/suspend/0.1/payload.d.ts.map +1 -0
- package/dist/vtc/relationships/suspend/0.1/payload.js +270 -0
- package/dist/vtc/relationships/suspend/0.1/payload.js.map +1 -0
- package/dist/vtc/rooms/list/0.1/payload.d.ts +653 -0
- package/dist/vtc/rooms/list/0.1/payload.d.ts.map +1 -0
- package/dist/vtc/rooms/list/0.1/payload.js +360 -0
- package/dist/vtc/rooms/list/0.1/payload.js.map +1 -0
- package/dist/vtc/schemas/accepts/delete/0.1/payload.d.ts +240 -0
- package/dist/vtc/schemas/accepts/delete/0.1/payload.d.ts.map +1 -0
- package/dist/vtc/schemas/accepts/delete/0.1/payload.js +141 -0
- package/dist/vtc/schemas/accepts/delete/0.1/payload.js.map +1 -0
- package/dist/vtc/schemas/accepts/list/0.1/payload.d.ts +1214 -0
- package/dist/vtc/schemas/accepts/list/0.1/payload.d.ts.map +1 -0
- package/dist/vtc/schemas/accepts/list/0.1/payload.js +681 -0
- package/dist/vtc/schemas/accepts/list/0.1/payload.js.map +1 -0
- package/dist/vtc/schemas/accepts/register/0.1/payload.d.ts +1165 -0
- package/dist/vtc/schemas/accepts/register/0.1/payload.d.ts.map +1 -0
- package/dist/vtc/schemas/accepts/register/0.1/payload.js +665 -0
- package/dist/vtc/schemas/accepts/register/0.1/payload.js.map +1 -0
- package/dist/vtc/schemas/accepts/show/0.1/payload.d.ts +1144 -0
- package/dist/vtc/schemas/accepts/show/0.1/payload.d.ts.map +1 -0
- package/dist/vtc/schemas/accepts/show/0.1/payload.js +655 -0
- package/dist/vtc/schemas/accepts/show/0.1/payload.js.map +1 -0
- package/dist/vtc/schemas/delete/0.1/payload.d.ts +240 -0
- package/dist/vtc/schemas/delete/0.1/payload.d.ts.map +1 -0
- package/dist/vtc/schemas/delete/0.1/payload.js +141 -0
- package/dist/vtc/schemas/delete/0.1/payload.js.map +1 -0
- package/dist/vtc/schemas/list/0.1/payload.d.ts +541 -0
- package/dist/vtc/schemas/list/0.1/payload.d.ts.map +1 -0
- package/dist/vtc/schemas/list/0.1/payload.js +300 -0
- package/dist/vtc/schemas/list/0.1/payload.js.map +1 -0
- package/dist/vtc/schemas/register/0.1/payload.d.ts +512 -0
- package/dist/vtc/schemas/register/0.1/payload.d.ts.map +1 -0
- package/dist/vtc/schemas/register/0.1/payload.js +292 -0
- package/dist/vtc/schemas/register/0.1/payload.js.map +1 -0
- package/dist/vtc/schemas/show/0.1/payload.d.ts +484 -0
- package/dist/vtc/schemas/show/0.1/payload.d.ts.map +1 -0
- package/dist/vtc/schemas/show/0.1/payload.js +279 -0
- package/dist/vtc/schemas/show/0.1/payload.js.map +1 -0
- package/dist/vtc/vetting/auto-grant/show/0.1/payload.d.ts +463 -0
- package/dist/vtc/vetting/auto-grant/show/0.1/payload.d.ts.map +1 -0
- package/dist/vtc/vetting/auto-grant/show/0.1/payload.js +269 -0
- package/dist/vtc/vetting/auto-grant/show/0.1/payload.js.map +1 -0
- package/dist/vtc/vetting/auto-grant/update/0.1/payload.d.ts +491 -0
- package/dist/vtc/vetting/auto-grant/update/0.1/payload.d.ts.map +1 -0
- package/dist/vtc/vetting/auto-grant/update/0.1/payload.js +282 -0
- package/dist/vtc/vetting/auto-grant/update/0.1/payload.js.map +1 -0
- package/dist/vtc/vetting/revocations/list/0.1/payload.d.ts +608 -0
- package/dist/vtc/vetting/revocations/list/0.1/payload.d.ts.map +1 -0
- package/dist/vtc/vetting/revocations/list/0.1/payload.js +332 -0
- package/dist/vtc/vetting/revocations/list/0.1/payload.js.map +1 -0
- package/dist/vtc/vetting/vetters/grants/list/0.1/payload.d.ts +992 -0
- package/dist/vtc/vetting/vetters/grants/list/0.1/payload.d.ts.map +1 -0
- package/dist/vtc/vetting/vetters/grants/list/0.1/payload.js +461 -0
- package/dist/vtc/vetting/vetters/grants/list/0.1/payload.js.map +1 -0
- package/dist/vtc/website/deploy/0.1/payload.d.ts +369 -0
- package/dist/vtc/website/deploy/0.1/payload.d.ts.map +1 -0
- package/dist/vtc/website/deploy/0.1/payload.js +213 -0
- package/dist/vtc/website/deploy/0.1/payload.js.map +1 -0
- package/dist/vtc/website/files/show/0.1/payload.d.ts +455 -0
- package/dist/vtc/website/files/show/0.1/payload.d.ts.map +1 -0
- package/dist/vtc/website/files/show/0.1/payload.js +247 -0
- package/dist/vtc/website/files/show/0.1/payload.js.map +1 -0
- package/dist/vtc/website/upload/abort/0.1/payload.d.ts +256 -0
- package/dist/vtc/website/upload/abort/0.1/payload.d.ts.map +1 -0
- package/dist/vtc/website/upload/abort/0.1/payload.js +149 -0
- package/dist/vtc/website/upload/abort/0.1/payload.js.map +1 -0
- package/dist/vtc/website/upload/begin/0.1/payload.d.ts +658 -0
- package/dist/vtc/website/upload/begin/0.1/payload.d.ts.map +1 -0
- package/dist/vtc/website/upload/begin/0.1/payload.js +375 -0
- package/dist/vtc/website/upload/begin/0.1/payload.js.map +1 -0
- package/dist/vtc/website/upload/chunk/0.1/payload.d.ts +447 -0
- package/dist/vtc/website/upload/chunk/0.1/payload.d.ts.map +1 -0
- package/dist/vtc/website/upload/chunk/0.1/payload.js +253 -0
- package/dist/vtc/website/upload/chunk/0.1/payload.js.map +1 -0
- package/dist/vtc/website/upload/commit/0.1/payload.d.ts +603 -0
- package/dist/vtc/website/upload/commit/0.1/payload.d.ts.map +1 -0
- package/dist/vtc/website/upload/commit/0.1/payload.js +337 -0
- package/dist/vtc/website/upload/commit/0.1/payload.js.map +1 -0
- package/package.json +1 -1
- package/src/_framework/0.4/framework.ts +1 -1
- package/src/_shared/components.ts +371 -0
- package/src/auth/_shared/0.1/signing-key.ts +17 -0
- package/src/auth/signing-key/enroll/0.1/payload.ts +349 -0
- package/src/auth/signing-key/list/0.1/payload.ts +323 -0
- package/src/auth/signing-key/revoke/0.1/payload.ts +204 -0
- package/src/index.ts +39 -0
- package/src/vta/contexts/update-did/1.1/payload.ts +256 -0
- package/src/vtc/_shared/0.1/community-presentation.ts +17 -0
- package/src/vtc/_shared/0.1/relationship-lifecycle.ts +17 -0
- package/src/vtc/_shared/0.1/schema-registry.ts +17 -0
- package/src/vtc/_shared/0.1/vetting-auto-grant.ts +17 -0
- package/src/vtc/_shared/0.1/website-transfer.ts +17 -0
- package/src/vtc/community/branding/show/0.1/payload.ts +207 -0
- package/src/vtc/community/branding/update/0.1/payload.ts +214 -0
- package/src/vtc/community/join-discovery/show/0.1/payload.ts +185 -0
- package/src/vtc/community/join-discovery/update/0.1/payload.ts +192 -0
- package/src/vtc/community/requested-attributes/show/0.1/payload.ts +221 -0
- package/src/vtc/community/requested-attributes/update/0.1/payload.ts +228 -0
- package/src/vtc/join-requests/query/0.1/payload.ts +285 -0
- package/src/vtc/join-requests/vetting/show/0.1/payload.ts +740 -0
- package/src/vtc/relationships/restore/0.1/payload.ts +307 -0
- package/src/vtc/relationships/suspend/0.1/payload.ts +307 -0
- package/src/vtc/rooms/list/0.1/payload.ts +449 -0
- package/src/vtc/schemas/accepts/delete/0.1/payload.ts +170 -0
- package/src/vtc/schemas/accepts/list/0.1/payload.ts +724 -0
- package/src/vtc/schemas/accepts/register/0.1/payload.ts +697 -0
- package/src/vtc/schemas/accepts/show/0.1/payload.ts +684 -0
- package/src/vtc/schemas/delete/0.1/payload.ts +170 -0
- package/src/vtc/schemas/list/0.1/payload.ts +344 -0
- package/src/vtc/schemas/register/0.1/payload.ts +325 -0
- package/src/vtc/schemas/show/0.1/payload.ts +308 -0
- package/src/vtc/vetting/auto-grant/show/0.1/payload.ts +297 -0
- package/src/vtc/vetting/auto-grant/update/0.1/payload.ts +316 -0
- package/src/vtc/vetting/revocations/list/0.1/payload.ts +416 -0
- package/src/vtc/vetting/vetters/grants/list/0.1/payload.ts +700 -0
- package/src/vtc/website/deploy/0.1/payload.ts +255 -0
- package/src/vtc/website/files/show/0.1/payload.ts +303 -0
- package/src/vtc/website/upload/abort/0.1/payload.ts +182 -0
- package/src/vtc/website/upload/begin/0.1/payload.ts +408 -0
- package/src/vtc/website/upload/chunk/0.1/payload.ts +295 -0
- package/src/vtc/website/upload/commit/0.1/payload.ts +385 -0
|
@@ -0,0 +1,541 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by scripts/build-ts-bindings.mjs — DO NOT EDIT BY HAND.
|
|
3
|
+
* Source: specs/vtc/schemas/list/0.1/payload.schema.json
|
|
4
|
+
*/
|
|
5
|
+
import type { CredentialTypeUri, DtgType, Ext, SchemaDescription, SchemaKind, SchemaSummary } from "../../../../_shared/components.js";
|
|
6
|
+
/**
|
|
7
|
+
* Page through the community's schema registry, optionally one half of it. The outer document members are owned by the framework — SPEC §6.3.
|
|
8
|
+
*/
|
|
9
|
+
export interface VTCSchemasListPayload {
|
|
10
|
+
kind?: SchemaKind;
|
|
11
|
+
/**
|
|
12
|
+
* Opaque continuation token from a previous page's `nextCursor`.
|
|
13
|
+
*/
|
|
14
|
+
cursor?: string;
|
|
15
|
+
/**
|
|
16
|
+
* Page size. The community chooses when absent (50 in the reference implementation).
|
|
17
|
+
*/
|
|
18
|
+
limit?: number;
|
|
19
|
+
ext?: Ext;
|
|
20
|
+
}
|
|
21
|
+
export interface VTCSchemasListResponsePayload {
|
|
22
|
+
/**
|
|
23
|
+
* @maxItems 100
|
|
24
|
+
*/
|
|
25
|
+
items: SchemaSummary[];
|
|
26
|
+
/**
|
|
27
|
+
* Present when more entries remain; pass it as `cursor`.
|
|
28
|
+
*/
|
|
29
|
+
nextCursor?: string;
|
|
30
|
+
ext?: Ext;
|
|
31
|
+
}
|
|
32
|
+
/** Shared definitions this specification references, re-exported under the names it used to declare them with. */
|
|
33
|
+
export type { CredentialTypeUri, DtgType, Ext, SchemaDescription, SchemaKind, SchemaSummary };
|
|
34
|
+
/** Trust Task type URI. */
|
|
35
|
+
export declare const TYPE_URI: "https://trusttasks.org/spec/vtc/schemas/list/0.1";
|
|
36
|
+
/** Stable alias for this specification's request payload shape. */
|
|
37
|
+
export type Payload = VTCSchemasListPayload;
|
|
38
|
+
/** Trust Task response type URI (request type URI + "#response"). */
|
|
39
|
+
export declare const RESPONSE_TYPE_URI: "https://trusttasks.org/spec/vtc/schemas/list/0.1#response";
|
|
40
|
+
/** Stable alias for this specification's success-response payload shape. */
|
|
41
|
+
export type Response = VTCSchemasListResponsePayload;
|
|
42
|
+
/**
|
|
43
|
+
* This specification's payload schema, as a value.
|
|
44
|
+
*
|
|
45
|
+
* SPEC.md §7.2 item 2 is performed against this. It is shipped as data
|
|
46
|
+
* rather than only as a `.json` file because TypeScript types are erased
|
|
47
|
+
* at runtime: without a schema a consumer has nothing to validate, and
|
|
48
|
+
* every REQUIRED payload member is optional in practice. Cross-file
|
|
49
|
+
* `$ref`s are already inlined, so it needs no resolver.
|
|
50
|
+
*/
|
|
51
|
+
export declare const PAYLOAD_SCHEMA: {
|
|
52
|
+
readonly $schema: "https://json-schema.org/draft/2020-12/schema";
|
|
53
|
+
readonly $id: "https://trusttasks.org/spec/vtc/schemas/list/0.1";
|
|
54
|
+
readonly title: "VTC Schemas — List — payload";
|
|
55
|
+
readonly description: "Page through the community's schema registry, optionally one half of it. The outer document members are owned by the framework — SPEC §6.3.";
|
|
56
|
+
readonly type: "object";
|
|
57
|
+
readonly additionalProperties: false;
|
|
58
|
+
readonly properties: {
|
|
59
|
+
readonly kind: {
|
|
60
|
+
readonly $ref: "#/$defs/SchemaKind";
|
|
61
|
+
};
|
|
62
|
+
readonly cursor: {
|
|
63
|
+
readonly type: "string";
|
|
64
|
+
readonly minLength: 1;
|
|
65
|
+
readonly maxLength: 1024;
|
|
66
|
+
readonly description: "Opaque continuation token from a previous page's `nextCursor`.";
|
|
67
|
+
};
|
|
68
|
+
readonly limit: {
|
|
69
|
+
readonly type: "integer";
|
|
70
|
+
readonly minimum: 1;
|
|
71
|
+
readonly maximum: 100;
|
|
72
|
+
readonly description: "Page size. The community chooses when absent (50 in the reference implementation).";
|
|
73
|
+
};
|
|
74
|
+
readonly ext: {
|
|
75
|
+
readonly $ref: "#/$defs/Ext";
|
|
76
|
+
};
|
|
77
|
+
};
|
|
78
|
+
readonly $defs: {
|
|
79
|
+
readonly Response: {
|
|
80
|
+
readonly $anchor: "response";
|
|
81
|
+
readonly title: "VTC Schemas — List — response payload";
|
|
82
|
+
readonly type: "object";
|
|
83
|
+
readonly additionalProperties: false;
|
|
84
|
+
readonly required: readonly ["items"];
|
|
85
|
+
readonly properties: {
|
|
86
|
+
readonly items: {
|
|
87
|
+
readonly type: "array";
|
|
88
|
+
readonly maxItems: 100;
|
|
89
|
+
readonly items: {
|
|
90
|
+
readonly $ref: "#/$defs/SchemaSummary";
|
|
91
|
+
};
|
|
92
|
+
};
|
|
93
|
+
readonly nextCursor: {
|
|
94
|
+
readonly type: "string";
|
|
95
|
+
readonly minLength: 1;
|
|
96
|
+
readonly maxLength: 1024;
|
|
97
|
+
readonly description: "Present when more entries remain; pass it as `cursor`.";
|
|
98
|
+
};
|
|
99
|
+
readonly ext: {
|
|
100
|
+
readonly $ref: "#/$defs/Ext";
|
|
101
|
+
};
|
|
102
|
+
};
|
|
103
|
+
};
|
|
104
|
+
readonly Ext: {
|
|
105
|
+
readonly title: "Ext";
|
|
106
|
+
readonly 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.";
|
|
107
|
+
readonly type: "object";
|
|
108
|
+
readonly minProperties: 1;
|
|
109
|
+
readonly additionalProperties: true;
|
|
110
|
+
readonly propertyNames: {
|
|
111
|
+
readonly pattern: "^[a-z][a-z0-9-]*(\\.[a-z0-9-]+)+$";
|
|
112
|
+
};
|
|
113
|
+
};
|
|
114
|
+
readonly SchemaSummary: {
|
|
115
|
+
readonly title: "SchemaSummary";
|
|
116
|
+
readonly type: "object";
|
|
117
|
+
readonly additionalProperties: false;
|
|
118
|
+
readonly required: readonly ["typeUri", "kind", "hasCredentialSchema", "createdAt", "createdByDid"];
|
|
119
|
+
readonly description: "One registered credential type as a listing reports it: every member of `SchemaEntry` except the `credentialSchema` body, which vtc/schemas/show returns.";
|
|
120
|
+
readonly properties: {
|
|
121
|
+
readonly typeUri: {
|
|
122
|
+
readonly $ref: "#/$defs/CredentialTypeUri";
|
|
123
|
+
};
|
|
124
|
+
readonly dtgType: {
|
|
125
|
+
readonly $ref: "#/$defs/DtgType";
|
|
126
|
+
};
|
|
127
|
+
readonly kind: {
|
|
128
|
+
readonly $ref: "#/$defs/SchemaKind";
|
|
129
|
+
};
|
|
130
|
+
readonly description: {
|
|
131
|
+
readonly $ref: "#/$defs/SchemaDescription";
|
|
132
|
+
};
|
|
133
|
+
readonly hasCredentialSchema: {
|
|
134
|
+
readonly type: "boolean";
|
|
135
|
+
readonly description: "Whether the entry carries a `credentialSchema`. True tells a caller that vtc/schemas/show has a body to return.";
|
|
136
|
+
};
|
|
137
|
+
readonly createdAt: {
|
|
138
|
+
readonly type: "string";
|
|
139
|
+
readonly format: "date-time";
|
|
140
|
+
readonly description: "When this entry was last registered.";
|
|
141
|
+
};
|
|
142
|
+
readonly createdByDid: {
|
|
143
|
+
readonly type: "string";
|
|
144
|
+
readonly pattern: "^did:";
|
|
145
|
+
readonly maxLength: 2048;
|
|
146
|
+
readonly description: "The administrator who last registered the entry.";
|
|
147
|
+
};
|
|
148
|
+
};
|
|
149
|
+
};
|
|
150
|
+
readonly SchemaDescription: {
|
|
151
|
+
readonly title: "SchemaDescription";
|
|
152
|
+
readonly type: "string";
|
|
153
|
+
readonly maxLength: 1024;
|
|
154
|
+
readonly description: "An administrator's description of the entry, shown in administration surfaces. Free text written by the registering administrator and read by other administrators; untrusted, attributed to `createdByDid` wherever it is rendered, and never read by the community's own logic.";
|
|
155
|
+
};
|
|
156
|
+
readonly SchemaKind: {
|
|
157
|
+
readonly title: "SchemaKind";
|
|
158
|
+
readonly type: "string";
|
|
159
|
+
readonly enum: readonly ["issues", "accepts"];
|
|
160
|
+
readonly description: "Which half of the registry an entry is on. `issues`: the community mints credentials of this type, and issuance refuses a type not registered as `issues`. `accepts`: the community recognises credentials of this type as evidence, and an Accepts criterion may reference only a registered type.";
|
|
161
|
+
};
|
|
162
|
+
readonly DtgType: {
|
|
163
|
+
readonly title: "DtgType";
|
|
164
|
+
readonly type: "string";
|
|
165
|
+
readonly minLength: 1;
|
|
166
|
+
readonly maxLength: 128;
|
|
167
|
+
readonly pattern: "^[A-Za-z][A-Za-z0-9]*$";
|
|
168
|
+
readonly description: "The DTG credential catalog type the entry binds to, e.g. `MembershipCredential`. Absent for a community-defined endorsement type that maps onto the generic `EndorsementCredential`.";
|
|
169
|
+
};
|
|
170
|
+
readonly CredentialTypeUri: {
|
|
171
|
+
readonly title: "CredentialTypeUri";
|
|
172
|
+
readonly type: "string";
|
|
173
|
+
readonly minLength: 1;
|
|
174
|
+
readonly maxLength: 512;
|
|
175
|
+
readonly description: "A credential type URI — the W3C `type` value or the SD-JWT-VC `vct` a credential of this type carries. The registry's primary key, compared as an exact string after surrounding whitespace is trimmed. Bounded at 512 bytes because it keys the community's storage.";
|
|
176
|
+
};
|
|
177
|
+
};
|
|
178
|
+
};
|
|
179
|
+
/** As {@link PAYLOAD_SCHEMA}, for the success-response variant. */
|
|
180
|
+
export declare const RESPONSE_PAYLOAD_SCHEMA: {
|
|
181
|
+
readonly $schema: "https://json-schema.org/draft/2020-12/schema";
|
|
182
|
+
readonly $ref: "#/$defs/Response";
|
|
183
|
+
readonly $defs: {
|
|
184
|
+
readonly Response: {
|
|
185
|
+
readonly $anchor: "response";
|
|
186
|
+
readonly title: "VTC Schemas — List — response payload";
|
|
187
|
+
readonly type: "object";
|
|
188
|
+
readonly additionalProperties: false;
|
|
189
|
+
readonly required: readonly ["items"];
|
|
190
|
+
readonly properties: {
|
|
191
|
+
readonly items: {
|
|
192
|
+
readonly type: "array";
|
|
193
|
+
readonly maxItems: 100;
|
|
194
|
+
readonly items: {
|
|
195
|
+
readonly $ref: "#/$defs/SchemaSummary";
|
|
196
|
+
};
|
|
197
|
+
};
|
|
198
|
+
readonly nextCursor: {
|
|
199
|
+
readonly type: "string";
|
|
200
|
+
readonly minLength: 1;
|
|
201
|
+
readonly maxLength: 1024;
|
|
202
|
+
readonly description: "Present when more entries remain; pass it as `cursor`.";
|
|
203
|
+
};
|
|
204
|
+
readonly ext: {
|
|
205
|
+
readonly $ref: "#/$defs/Ext";
|
|
206
|
+
};
|
|
207
|
+
};
|
|
208
|
+
};
|
|
209
|
+
readonly Ext: {
|
|
210
|
+
readonly title: "Ext";
|
|
211
|
+
readonly 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.";
|
|
212
|
+
readonly type: "object";
|
|
213
|
+
readonly minProperties: 1;
|
|
214
|
+
readonly additionalProperties: true;
|
|
215
|
+
readonly propertyNames: {
|
|
216
|
+
readonly pattern: "^[a-z][a-z0-9-]*(\\.[a-z0-9-]+)+$";
|
|
217
|
+
};
|
|
218
|
+
};
|
|
219
|
+
readonly SchemaSummary: {
|
|
220
|
+
readonly title: "SchemaSummary";
|
|
221
|
+
readonly type: "object";
|
|
222
|
+
readonly additionalProperties: false;
|
|
223
|
+
readonly required: readonly ["typeUri", "kind", "hasCredentialSchema", "createdAt", "createdByDid"];
|
|
224
|
+
readonly description: "One registered credential type as a listing reports it: every member of `SchemaEntry` except the `credentialSchema` body, which vtc/schemas/show returns.";
|
|
225
|
+
readonly properties: {
|
|
226
|
+
readonly typeUri: {
|
|
227
|
+
readonly $ref: "#/$defs/CredentialTypeUri";
|
|
228
|
+
};
|
|
229
|
+
readonly dtgType: {
|
|
230
|
+
readonly $ref: "#/$defs/DtgType";
|
|
231
|
+
};
|
|
232
|
+
readonly kind: {
|
|
233
|
+
readonly $ref: "#/$defs/SchemaKind";
|
|
234
|
+
};
|
|
235
|
+
readonly description: {
|
|
236
|
+
readonly $ref: "#/$defs/SchemaDescription";
|
|
237
|
+
};
|
|
238
|
+
readonly hasCredentialSchema: {
|
|
239
|
+
readonly type: "boolean";
|
|
240
|
+
readonly description: "Whether the entry carries a `credentialSchema`. True tells a caller that vtc/schemas/show has a body to return.";
|
|
241
|
+
};
|
|
242
|
+
readonly createdAt: {
|
|
243
|
+
readonly type: "string";
|
|
244
|
+
readonly format: "date-time";
|
|
245
|
+
readonly description: "When this entry was last registered.";
|
|
246
|
+
};
|
|
247
|
+
readonly createdByDid: {
|
|
248
|
+
readonly type: "string";
|
|
249
|
+
readonly pattern: "^did:";
|
|
250
|
+
readonly maxLength: 2048;
|
|
251
|
+
readonly description: "The administrator who last registered the entry.";
|
|
252
|
+
};
|
|
253
|
+
};
|
|
254
|
+
};
|
|
255
|
+
readonly SchemaDescription: {
|
|
256
|
+
readonly title: "SchemaDescription";
|
|
257
|
+
readonly type: "string";
|
|
258
|
+
readonly maxLength: 1024;
|
|
259
|
+
readonly description: "An administrator's description of the entry, shown in administration surfaces. Free text written by the registering administrator and read by other administrators; untrusted, attributed to `createdByDid` wherever it is rendered, and never read by the community's own logic.";
|
|
260
|
+
};
|
|
261
|
+
readonly SchemaKind: {
|
|
262
|
+
readonly title: "SchemaKind";
|
|
263
|
+
readonly type: "string";
|
|
264
|
+
readonly enum: readonly ["issues", "accepts"];
|
|
265
|
+
readonly description: "Which half of the registry an entry is on. `issues`: the community mints credentials of this type, and issuance refuses a type not registered as `issues`. `accepts`: the community recognises credentials of this type as evidence, and an Accepts criterion may reference only a registered type.";
|
|
266
|
+
};
|
|
267
|
+
readonly DtgType: {
|
|
268
|
+
readonly title: "DtgType";
|
|
269
|
+
readonly type: "string";
|
|
270
|
+
readonly minLength: 1;
|
|
271
|
+
readonly maxLength: 128;
|
|
272
|
+
readonly pattern: "^[A-Za-z][A-Za-z0-9]*$";
|
|
273
|
+
readonly description: "The DTG credential catalog type the entry binds to, e.g. `MembershipCredential`. Absent for a community-defined endorsement type that maps onto the generic `EndorsementCredential`.";
|
|
274
|
+
};
|
|
275
|
+
readonly CredentialTypeUri: {
|
|
276
|
+
readonly title: "CredentialTypeUri";
|
|
277
|
+
readonly type: "string";
|
|
278
|
+
readonly minLength: 1;
|
|
279
|
+
readonly maxLength: 512;
|
|
280
|
+
readonly description: "A credential type URI — the W3C `type` value or the SD-JWT-VC `vct` a credential of this type carries. The registry's primary key, compared as an exact string after surrounding whitespace is trimmed. Bounded at 512 bytes because it keys the community's storage.";
|
|
281
|
+
};
|
|
282
|
+
};
|
|
283
|
+
};
|
|
284
|
+
/**
|
|
285
|
+
* SPEC.md §7.2 policy for the request variant, from this specification's
|
|
286
|
+
* front matter. Pass to `consumeInbound` — items 5b, 7 and 8 are
|
|
287
|
+
* per-specification and cannot be derived from the document alone, and
|
|
288
|
+
* item 2 needs the schema this carries.
|
|
289
|
+
*/
|
|
290
|
+
export declare const SPEC: {
|
|
291
|
+
readonly typeUri: "https://trusttasks.org/spec/vtc/schemas/list/0.1";
|
|
292
|
+
readonly isBearer: false;
|
|
293
|
+
readonly isProofRequired: false;
|
|
294
|
+
readonly isRecipientRequired: true;
|
|
295
|
+
readonly isIssuedAtRequired: false;
|
|
296
|
+
readonly payloadSchema: {
|
|
297
|
+
readonly $schema: "https://json-schema.org/draft/2020-12/schema";
|
|
298
|
+
readonly $id: "https://trusttasks.org/spec/vtc/schemas/list/0.1";
|
|
299
|
+
readonly title: "VTC Schemas — List — payload";
|
|
300
|
+
readonly description: "Page through the community's schema registry, optionally one half of it. The outer document members are owned by the framework — SPEC §6.3.";
|
|
301
|
+
readonly type: "object";
|
|
302
|
+
readonly additionalProperties: false;
|
|
303
|
+
readonly properties: {
|
|
304
|
+
readonly kind: {
|
|
305
|
+
readonly $ref: "#/$defs/SchemaKind";
|
|
306
|
+
};
|
|
307
|
+
readonly cursor: {
|
|
308
|
+
readonly type: "string";
|
|
309
|
+
readonly minLength: 1;
|
|
310
|
+
readonly maxLength: 1024;
|
|
311
|
+
readonly description: "Opaque continuation token from a previous page's `nextCursor`.";
|
|
312
|
+
};
|
|
313
|
+
readonly limit: {
|
|
314
|
+
readonly type: "integer";
|
|
315
|
+
readonly minimum: 1;
|
|
316
|
+
readonly maximum: 100;
|
|
317
|
+
readonly description: "Page size. The community chooses when absent (50 in the reference implementation).";
|
|
318
|
+
};
|
|
319
|
+
readonly ext: {
|
|
320
|
+
readonly $ref: "#/$defs/Ext";
|
|
321
|
+
};
|
|
322
|
+
};
|
|
323
|
+
readonly $defs: {
|
|
324
|
+
readonly Response: {
|
|
325
|
+
readonly $anchor: "response";
|
|
326
|
+
readonly title: "VTC Schemas — List — response payload";
|
|
327
|
+
readonly type: "object";
|
|
328
|
+
readonly additionalProperties: false;
|
|
329
|
+
readonly required: readonly ["items"];
|
|
330
|
+
readonly properties: {
|
|
331
|
+
readonly items: {
|
|
332
|
+
readonly type: "array";
|
|
333
|
+
readonly maxItems: 100;
|
|
334
|
+
readonly items: {
|
|
335
|
+
readonly $ref: "#/$defs/SchemaSummary";
|
|
336
|
+
};
|
|
337
|
+
};
|
|
338
|
+
readonly nextCursor: {
|
|
339
|
+
readonly type: "string";
|
|
340
|
+
readonly minLength: 1;
|
|
341
|
+
readonly maxLength: 1024;
|
|
342
|
+
readonly description: "Present when more entries remain; pass it as `cursor`.";
|
|
343
|
+
};
|
|
344
|
+
readonly ext: {
|
|
345
|
+
readonly $ref: "#/$defs/Ext";
|
|
346
|
+
};
|
|
347
|
+
};
|
|
348
|
+
};
|
|
349
|
+
readonly Ext: {
|
|
350
|
+
readonly title: "Ext";
|
|
351
|
+
readonly 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.";
|
|
352
|
+
readonly type: "object";
|
|
353
|
+
readonly minProperties: 1;
|
|
354
|
+
readonly additionalProperties: true;
|
|
355
|
+
readonly propertyNames: {
|
|
356
|
+
readonly pattern: "^[a-z][a-z0-9-]*(\\.[a-z0-9-]+)+$";
|
|
357
|
+
};
|
|
358
|
+
};
|
|
359
|
+
readonly SchemaSummary: {
|
|
360
|
+
readonly title: "SchemaSummary";
|
|
361
|
+
readonly type: "object";
|
|
362
|
+
readonly additionalProperties: false;
|
|
363
|
+
readonly required: readonly ["typeUri", "kind", "hasCredentialSchema", "createdAt", "createdByDid"];
|
|
364
|
+
readonly description: "One registered credential type as a listing reports it: every member of `SchemaEntry` except the `credentialSchema` body, which vtc/schemas/show returns.";
|
|
365
|
+
readonly properties: {
|
|
366
|
+
readonly typeUri: {
|
|
367
|
+
readonly $ref: "#/$defs/CredentialTypeUri";
|
|
368
|
+
};
|
|
369
|
+
readonly dtgType: {
|
|
370
|
+
readonly $ref: "#/$defs/DtgType";
|
|
371
|
+
};
|
|
372
|
+
readonly kind: {
|
|
373
|
+
readonly $ref: "#/$defs/SchemaKind";
|
|
374
|
+
};
|
|
375
|
+
readonly description: {
|
|
376
|
+
readonly $ref: "#/$defs/SchemaDescription";
|
|
377
|
+
};
|
|
378
|
+
readonly hasCredentialSchema: {
|
|
379
|
+
readonly type: "boolean";
|
|
380
|
+
readonly description: "Whether the entry carries a `credentialSchema`. True tells a caller that vtc/schemas/show has a body to return.";
|
|
381
|
+
};
|
|
382
|
+
readonly createdAt: {
|
|
383
|
+
readonly type: "string";
|
|
384
|
+
readonly format: "date-time";
|
|
385
|
+
readonly description: "When this entry was last registered.";
|
|
386
|
+
};
|
|
387
|
+
readonly createdByDid: {
|
|
388
|
+
readonly type: "string";
|
|
389
|
+
readonly pattern: "^did:";
|
|
390
|
+
readonly maxLength: 2048;
|
|
391
|
+
readonly description: "The administrator who last registered the entry.";
|
|
392
|
+
};
|
|
393
|
+
};
|
|
394
|
+
};
|
|
395
|
+
readonly SchemaDescription: {
|
|
396
|
+
readonly title: "SchemaDescription";
|
|
397
|
+
readonly type: "string";
|
|
398
|
+
readonly maxLength: 1024;
|
|
399
|
+
readonly description: "An administrator's description of the entry, shown in administration surfaces. Free text written by the registering administrator and read by other administrators; untrusted, attributed to `createdByDid` wherever it is rendered, and never read by the community's own logic.";
|
|
400
|
+
};
|
|
401
|
+
readonly SchemaKind: {
|
|
402
|
+
readonly title: "SchemaKind";
|
|
403
|
+
readonly type: "string";
|
|
404
|
+
readonly enum: readonly ["issues", "accepts"];
|
|
405
|
+
readonly description: "Which half of the registry an entry is on. `issues`: the community mints credentials of this type, and issuance refuses a type not registered as `issues`. `accepts`: the community recognises credentials of this type as evidence, and an Accepts criterion may reference only a registered type.";
|
|
406
|
+
};
|
|
407
|
+
readonly DtgType: {
|
|
408
|
+
readonly title: "DtgType";
|
|
409
|
+
readonly type: "string";
|
|
410
|
+
readonly minLength: 1;
|
|
411
|
+
readonly maxLength: 128;
|
|
412
|
+
readonly pattern: "^[A-Za-z][A-Za-z0-9]*$";
|
|
413
|
+
readonly description: "The DTG credential catalog type the entry binds to, e.g. `MembershipCredential`. Absent for a community-defined endorsement type that maps onto the generic `EndorsementCredential`.";
|
|
414
|
+
};
|
|
415
|
+
readonly CredentialTypeUri: {
|
|
416
|
+
readonly title: "CredentialTypeUri";
|
|
417
|
+
readonly type: "string";
|
|
418
|
+
readonly minLength: 1;
|
|
419
|
+
readonly maxLength: 512;
|
|
420
|
+
readonly description: "A credential type URI — the W3C `type` value or the SD-JWT-VC `vct` a credential of this type carries. The registry's primary key, compared as an exact string after surrounding whitespace is trimmed. Bounded at 512 bytes because it keys the community's storage.";
|
|
421
|
+
};
|
|
422
|
+
};
|
|
423
|
+
};
|
|
424
|
+
};
|
|
425
|
+
/**
|
|
426
|
+
* SPEC.md §7.2 policy for the success-response variant. `isRecipientRequired`
|
|
427
|
+
* tracks the *issuer* party's requirement because a response swaps the
|
|
428
|
+
* parties (§7.3 item 5).
|
|
429
|
+
*/
|
|
430
|
+
export declare const RESPONSE_SPEC: {
|
|
431
|
+
readonly typeUri: "https://trusttasks.org/spec/vtc/schemas/list/0.1#response";
|
|
432
|
+
readonly isBearer: false;
|
|
433
|
+
readonly isProofRequired: false;
|
|
434
|
+
readonly isRecipientRequired: true;
|
|
435
|
+
readonly isIssuedAtRequired: false;
|
|
436
|
+
readonly payloadSchema: {
|
|
437
|
+
readonly $schema: "https://json-schema.org/draft/2020-12/schema";
|
|
438
|
+
readonly $ref: "#/$defs/Response";
|
|
439
|
+
readonly $defs: {
|
|
440
|
+
readonly Response: {
|
|
441
|
+
readonly $anchor: "response";
|
|
442
|
+
readonly title: "VTC Schemas — List — response payload";
|
|
443
|
+
readonly type: "object";
|
|
444
|
+
readonly additionalProperties: false;
|
|
445
|
+
readonly required: readonly ["items"];
|
|
446
|
+
readonly properties: {
|
|
447
|
+
readonly items: {
|
|
448
|
+
readonly type: "array";
|
|
449
|
+
readonly maxItems: 100;
|
|
450
|
+
readonly items: {
|
|
451
|
+
readonly $ref: "#/$defs/SchemaSummary";
|
|
452
|
+
};
|
|
453
|
+
};
|
|
454
|
+
readonly nextCursor: {
|
|
455
|
+
readonly type: "string";
|
|
456
|
+
readonly minLength: 1;
|
|
457
|
+
readonly maxLength: 1024;
|
|
458
|
+
readonly description: "Present when more entries remain; pass it as `cursor`.";
|
|
459
|
+
};
|
|
460
|
+
readonly ext: {
|
|
461
|
+
readonly $ref: "#/$defs/Ext";
|
|
462
|
+
};
|
|
463
|
+
};
|
|
464
|
+
};
|
|
465
|
+
readonly Ext: {
|
|
466
|
+
readonly title: "Ext";
|
|
467
|
+
readonly 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.";
|
|
468
|
+
readonly type: "object";
|
|
469
|
+
readonly minProperties: 1;
|
|
470
|
+
readonly additionalProperties: true;
|
|
471
|
+
readonly propertyNames: {
|
|
472
|
+
readonly pattern: "^[a-z][a-z0-9-]*(\\.[a-z0-9-]+)+$";
|
|
473
|
+
};
|
|
474
|
+
};
|
|
475
|
+
readonly SchemaSummary: {
|
|
476
|
+
readonly title: "SchemaSummary";
|
|
477
|
+
readonly type: "object";
|
|
478
|
+
readonly additionalProperties: false;
|
|
479
|
+
readonly required: readonly ["typeUri", "kind", "hasCredentialSchema", "createdAt", "createdByDid"];
|
|
480
|
+
readonly description: "One registered credential type as a listing reports it: every member of `SchemaEntry` except the `credentialSchema` body, which vtc/schemas/show returns.";
|
|
481
|
+
readonly properties: {
|
|
482
|
+
readonly typeUri: {
|
|
483
|
+
readonly $ref: "#/$defs/CredentialTypeUri";
|
|
484
|
+
};
|
|
485
|
+
readonly dtgType: {
|
|
486
|
+
readonly $ref: "#/$defs/DtgType";
|
|
487
|
+
};
|
|
488
|
+
readonly kind: {
|
|
489
|
+
readonly $ref: "#/$defs/SchemaKind";
|
|
490
|
+
};
|
|
491
|
+
readonly description: {
|
|
492
|
+
readonly $ref: "#/$defs/SchemaDescription";
|
|
493
|
+
};
|
|
494
|
+
readonly hasCredentialSchema: {
|
|
495
|
+
readonly type: "boolean";
|
|
496
|
+
readonly description: "Whether the entry carries a `credentialSchema`. True tells a caller that vtc/schemas/show has a body to return.";
|
|
497
|
+
};
|
|
498
|
+
readonly createdAt: {
|
|
499
|
+
readonly type: "string";
|
|
500
|
+
readonly format: "date-time";
|
|
501
|
+
readonly description: "When this entry was last registered.";
|
|
502
|
+
};
|
|
503
|
+
readonly createdByDid: {
|
|
504
|
+
readonly type: "string";
|
|
505
|
+
readonly pattern: "^did:";
|
|
506
|
+
readonly maxLength: 2048;
|
|
507
|
+
readonly description: "The administrator who last registered the entry.";
|
|
508
|
+
};
|
|
509
|
+
};
|
|
510
|
+
};
|
|
511
|
+
readonly SchemaDescription: {
|
|
512
|
+
readonly title: "SchemaDescription";
|
|
513
|
+
readonly type: "string";
|
|
514
|
+
readonly maxLength: 1024;
|
|
515
|
+
readonly description: "An administrator's description of the entry, shown in administration surfaces. Free text written by the registering administrator and read by other administrators; untrusted, attributed to `createdByDid` wherever it is rendered, and never read by the community's own logic.";
|
|
516
|
+
};
|
|
517
|
+
readonly SchemaKind: {
|
|
518
|
+
readonly title: "SchemaKind";
|
|
519
|
+
readonly type: "string";
|
|
520
|
+
readonly enum: readonly ["issues", "accepts"];
|
|
521
|
+
readonly description: "Which half of the registry an entry is on. `issues`: the community mints credentials of this type, and issuance refuses a type not registered as `issues`. `accepts`: the community recognises credentials of this type as evidence, and an Accepts criterion may reference only a registered type.";
|
|
522
|
+
};
|
|
523
|
+
readonly DtgType: {
|
|
524
|
+
readonly title: "DtgType";
|
|
525
|
+
readonly type: "string";
|
|
526
|
+
readonly minLength: 1;
|
|
527
|
+
readonly maxLength: 128;
|
|
528
|
+
readonly pattern: "^[A-Za-z][A-Za-z0-9]*$";
|
|
529
|
+
readonly description: "The DTG credential catalog type the entry binds to, e.g. `MembershipCredential`. Absent for a community-defined endorsement type that maps onto the generic `EndorsementCredential`.";
|
|
530
|
+
};
|
|
531
|
+
readonly CredentialTypeUri: {
|
|
532
|
+
readonly title: "CredentialTypeUri";
|
|
533
|
+
readonly type: "string";
|
|
534
|
+
readonly minLength: 1;
|
|
535
|
+
readonly maxLength: 512;
|
|
536
|
+
readonly description: "A credential type URI — the W3C `type` value or the SD-JWT-VC `vct` a credential of this type carries. The registry's primary key, compared as an exact string after surrounding whitespace is trimmed. Bounded at 512 bytes because it keys the community's storage.";
|
|
537
|
+
};
|
|
538
|
+
};
|
|
539
|
+
};
|
|
540
|
+
};
|
|
541
|
+
//# sourceMappingURL=payload.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"payload.d.ts","sourceRoot":"","sources":["../../../../../src/vtc/schemas/list/0.1/payload.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,EAAE,iBAAiB,EAAE,OAAO,EAAE,GAAG,EAAE,iBAAiB,EAAE,UAAU,EAAE,aAAa,EAAE,MAAM,mCAAmC,CAAC;AAGvI;;GAEG;AACH,MAAM,WAAW,qBAAqB;IACpC,IAAI,CAAC,EAAE,UAAU,CAAC;IAClB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,GAAG,CAAC,EAAE,GAAG,CAAC;CACX;AACD,MAAM,WAAW,6BAA6B;IAC5C;;OAEG;IACH,KAAK,EAAE,aAAa,EAAE,CAAC;IACvB;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,GAAG,CAAC,EAAE,GAAG,CAAC;CACX;AAED,kHAAkH;AAClH,YAAY,EAAE,iBAAiB,EAAE,OAAO,EAAE,GAAG,EAAE,iBAAiB,EAAE,UAAU,EAAE,aAAa,EAAE,CAAC;AAE9F,2BAA2B;AAC3B,eAAO,MAAM,QAAQ,EAAG,kDAA2D,CAAC;AAEpF,mEAAmE;AACnE,MAAM,MAAM,OAAO,GAAG,qBAAqB,CAAC;AAE5C,qEAAqE;AACrE,eAAO,MAAM,iBAAiB,EAAG,2DAAoE,CAAC;AAEtG,4EAA4E;AAC5E,MAAM,MAAM,QAAQ,GAAG,6BAA6B,CAAC;AAErD;;;;;;;;GAQG;AACH,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA0IjB,CAAC;AAEX,mEAAmE;AACnE,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAkH1B,CAAC;AAEX;;;;;GAKG;AACH,eAAO,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAOP,CAAC;AAEX;;;;GAIG;AACH,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAOhB,CAAC"}
|