@openvtc/trust-tasks 0.28.9 → 0.28.11
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 +95 -0
- package/dist/_shared/components.d.ts +903 -0
- package/dist/_shared/components.d.ts.map +1 -1
- package/dist/git-ns/bridge/event/0.1/payload.d.ts +4 -4
- package/dist/git-ns/bridge/event/0.1/payload.js +1 -1
- package/dist/git-ns/bridge/event/0.2/payload.d.ts +4 -4
- package/dist/git-ns/bridge/event/0.2/payload.js +1 -1
- package/dist/git-ns/bridge/event/0.3/payload.d.ts +4 -4
- package/dist/git-ns/bridge/event/0.3/payload.js +1 -1
- package/dist/git-ns/bridge/event/0.4/payload.d.ts +4 -4
- package/dist/git-ns/bridge/event/0.4/payload.js +1 -1
- package/dist/git-ns/bridge/event/0.5/payload.d.ts +14 -2
- package/dist/git-ns/bridge/event/0.5/payload.d.ts.map +1 -1
- package/dist/git-ns/bridge/event/0.5/payload.js +1 -1
- package/dist/git-ns/bridge/event/0.5/payload.js.map +1 -1
- package/dist/git-ns/bridge/event/0.6/payload.d.ts +2067 -0
- package/dist/git-ns/bridge/event/0.6/payload.d.ts.map +1 -0
- package/dist/git-ns/bridge/event/0.6/payload.js +1119 -0
- package/dist/git-ns/bridge/event/0.6/payload.js.map +1 -0
- package/dist/git-ns/bridge/job/0.1/payload.d.ts +4 -4
- package/dist/git-ns/bridge/job/0.1/payload.js +1 -1
- package/dist/git-ns/bridge/job/0.2/payload.d.ts +4 -4
- package/dist/git-ns/bridge/job/0.2/payload.js +1 -1
- package/dist/git-ns/bridge/job/0.3/payload.d.ts +4 -4
- package/dist/git-ns/bridge/job/0.3/payload.js +1 -1
- package/dist/git-ns/bridge/job/0.4/payload.d.ts +4 -4
- package/dist/git-ns/bridge/job/0.4/payload.js +1 -1
- package/dist/git-ns/bridge/job/0.5/payload.d.ts +4 -4
- package/dist/git-ns/bridge/job/0.5/payload.js +1 -1
- package/dist/git-ns/bridge/job/0.6/payload.d.ts +14 -2
- package/dist/git-ns/bridge/job/0.6/payload.d.ts.map +1 -1
- package/dist/git-ns/bridge/job/0.6/payload.js +1 -1
- package/dist/git-ns/bridge/job/0.6/payload.js.map +1 -1
- package/dist/git-ns/bridge/job/0.7/payload.d.ts +1120 -0
- package/dist/git-ns/bridge/job/0.7/payload.d.ts.map +1 -0
- package/dist/git-ns/bridge/job/0.7/payload.js +608 -0
- package/dist/git-ns/bridge/job/0.7/payload.js.map +1 -0
- package/dist/git-ns/bridge/job/list/0.4/payload.d.ts +5 -5
- package/dist/git-ns/bridge/job/list/0.4/payload.js +2 -2
- package/dist/index.d.ts +150 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +150 -0
- package/dist/index.js.map +1 -1
- package/dist/vta/notifications/deposit/0.1/payload.d.ts +349 -0
- package/dist/vta/notifications/deposit/0.1/payload.d.ts.map +1 -0
- package/dist/vta/notifications/deposit/0.1/payload.js +198 -0
- package/dist/vta/notifications/deposit/0.1/payload.js.map +1 -0
- package/dist/vta/pcs/vetter/recover/0.1/payload.d.ts +667 -0
- package/dist/vta/pcs/vetter/recover/0.1/payload.d.ts.map +1 -0
- package/dist/vta/pcs/vetter/recover/0.1/payload.js +387 -0
- package/dist/vta/pcs/vetter/recover/0.1/payload.js.map +1 -0
- package/dist/vtc/notifications/_shared/0.1/received-notification.d.ts +16 -0
- package/dist/vtc/notifications/_shared/0.1/received-notification.d.ts.map +1 -0
- package/dist/vtc/notifications/_shared/0.1/received-notification.js +6 -0
- package/dist/vtc/notifications/_shared/0.1/received-notification.js.map +1 -0
- package/dist/vtc/notifications/list/0.1/payload.d.ts +1311 -0
- package/dist/vtc/notifications/list/0.1/payload.d.ts.map +1 -0
- package/dist/vtc/notifications/list/0.1/payload.js +753 -0
- package/dist/vtc/notifications/list/0.1/payload.js.map +1 -0
- package/dist/vtc/notifications/relay/0.1/payload.d.ts +568 -0
- package/dist/vtc/notifications/relay/0.1/payload.d.ts.map +1 -0
- package/dist/vtc/notifications/relay/0.1/payload.js +339 -0
- package/dist/vtc/notifications/relay/0.1/payload.js.map +1 -0
- package/dist/vtc/notifications/show/0.1/payload.d.ts +1229 -0
- package/dist/vtc/notifications/show/0.1/payload.d.ts.map +1 -0
- package/dist/vtc/notifications/show/0.1/payload.js +727 -0
- package/dist/vtc/notifications/show/0.1/payload.js.map +1 -0
- package/dist/vtc/vetting/vetters/pcs-binding/reset/0.1/payload.d.ts +340 -0
- package/dist/vtc/vetting/vetters/pcs-binding/reset/0.1/payload.d.ts.map +1 -0
- package/dist/vtc/vetting/vetters/pcs-binding/reset/0.1/payload.js +194 -0
- package/dist/vtc/vetting/vetters/pcs-binding/reset/0.1/payload.js.map +1 -0
- package/dist/vtc/vetting/vetters/pcs-binding/show/0.1/payload.d.ts +425 -0
- package/dist/vtc/vetting/vetters/pcs-binding/show/0.1/payload.d.ts.map +1 -0
- package/dist/vtc/vetting/vetters/pcs-binding/show/0.1/payload.js +233 -0
- package/dist/vtc/vetting/vetters/pcs-binding/show/0.1/payload.js.map +1 -0
- package/dist/vtn/_shared/0.1/directory.d.ts +16 -0
- package/dist/vtn/_shared/0.1/directory.d.ts.map +1 -0
- package/dist/vtn/_shared/0.1/directory.js +6 -0
- package/dist/vtn/_shared/0.1/directory.js.map +1 -0
- package/dist/vtn/_shared/0.1/entry.d.ts +16 -0
- package/dist/vtn/_shared/0.1/entry.d.ts.map +1 -0
- package/dist/vtn/_shared/0.1/entry.js +6 -0
- package/dist/vtn/_shared/0.1/entry.js.map +1 -0
- package/dist/vtn/_shared/0.1/graph.d.ts +16 -0
- package/dist/vtn/_shared/0.1/graph.d.ts.map +1 -0
- package/dist/vtn/_shared/0.1/graph.js +6 -0
- package/dist/vtn/_shared/0.1/graph.js.map +1 -0
- package/dist/vtn/_shared/0.1/groups.d.ts +16 -0
- package/dist/vtn/_shared/0.1/groups.d.ts.map +1 -0
- package/dist/vtn/_shared/0.1/groups.js +6 -0
- package/dist/vtn/_shared/0.1/groups.js.map +1 -0
- package/dist/vtn/_shared/0.1/membership.d.ts +16 -0
- package/dist/vtn/_shared/0.1/membership.d.ts.map +1 -0
- package/dist/vtn/_shared/0.1/membership.js +6 -0
- package/dist/vtn/_shared/0.1/membership.js.map +1 -0
- package/dist/vtn/_shared/0.1/relay.d.ts +16 -0
- package/dist/vtn/_shared/0.1/relay.d.ts.map +1 -0
- package/dist/vtn/_shared/0.1/relay.js +6 -0
- package/dist/vtn/_shared/0.1/relay.js.map +1 -0
- package/dist/vtn/_shared/0.1/rooms.d.ts +16 -0
- package/dist/vtn/_shared/0.1/rooms.d.ts.map +1 -0
- package/dist/vtn/_shared/0.1/rooms.js +6 -0
- package/dist/vtn/_shared/0.1/rooms.js.map +1 -0
- package/dist/vtn/audit/list/0.1/payload.d.ts +457 -0
- package/dist/vtn/audit/list/0.1/payload.d.ts.map +1 -0
- package/dist/vtn/audit/list/0.1/payload.js +292 -0
- package/dist/vtn/audit/list/0.1/payload.js.map +1 -0
- package/dist/vtn/broadcasts/list/0.1/payload.d.ts +687 -0
- package/dist/vtn/broadcasts/list/0.1/payload.d.ts.map +1 -0
- package/dist/vtn/broadcasts/list/0.1/payload.js +407 -0
- package/dist/vtn/broadcasts/list/0.1/payload.js.map +1 -0
- package/dist/vtn/broadcasts/send/0.1/payload.d.ts +728 -0
- package/dist/vtn/broadcasts/send/0.1/payload.d.ts.map +1 -0
- package/dist/vtn/broadcasts/send/0.1/payload.js +425 -0
- package/dist/vtn/broadcasts/send/0.1/payload.js.map +1 -0
- package/dist/vtn/broadcasts/show/0.1/payload.d.ts +670 -0
- package/dist/vtn/broadcasts/show/0.1/payload.d.ts.map +1 -0
- package/dist/vtn/broadcasts/show/0.1/payload.js +402 -0
- package/dist/vtn/broadcasts/show/0.1/payload.js.map +1 -0
- package/dist/vtn/directory/federated/0.1/payload.d.ts +939 -0
- package/dist/vtn/directory/federated/0.1/payload.d.ts.map +1 -0
- package/dist/vtn/directory/federated/0.1/payload.js +536 -0
- package/dist/vtn/directory/federated/0.1/payload.js.map +1 -0
- package/dist/vtn/directory/search/0.1/payload.d.ts +643 -0
- package/dist/vtn/directory/search/0.1/payload.d.ts.map +1 -0
- package/dist/vtn/directory/search/0.1/payload.js +368 -0
- package/dist/vtn/directory/search/0.1/payload.js.map +1 -0
- package/dist/vtn/directory/summary/0.1/payload.d.ts +366 -0
- package/dist/vtn/directory/summary/0.1/payload.d.ts.map +1 -0
- package/dist/vtn/directory/summary/0.1/payload.js +216 -0
- package/dist/vtn/directory/summary/0.1/payload.js.map +1 -0
- package/dist/vtn/entries/show/0.1/payload.d.ts +682 -0
- package/dist/vtn/entries/show/0.1/payload.d.ts.map +1 -0
- package/dist/vtn/entries/show/0.1/payload.js +398 -0
- package/dist/vtn/entries/show/0.1/payload.js.map +1 -0
- package/dist/vtn/graph/member/0.1/payload.d.ts +754 -0
- package/dist/vtn/graph/member/0.1/payload.d.ts.map +1 -0
- package/dist/vtn/graph/member/0.1/payload.js +470 -0
- package/dist/vtn/graph/member/0.1/payload.js.map +1 -0
- package/dist/vtn/graph/show/0.1/payload.d.ts +754 -0
- package/dist/vtn/graph/show/0.1/payload.d.ts.map +1 -0
- package/dist/vtn/graph/show/0.1/payload.js +468 -0
- package/dist/vtn/graph/show/0.1/payload.js.map +1 -0
- package/dist/vtn/groups/list/0.1/payload.d.ts +489 -0
- package/dist/vtn/groups/list/0.1/payload.d.ts.map +1 -0
- package/dist/vtn/groups/list/0.1/payload.js +282 -0
- package/dist/vtn/groups/list/0.1/payload.js.map +1 -0
- package/dist/vtn/groups/register/0.1/payload.d.ts +504 -0
- package/dist/vtn/groups/register/0.1/payload.d.ts.map +1 -0
- package/dist/vtn/groups/register/0.1/payload.js +291 -0
- package/dist/vtn/groups/register/0.1/payload.js.map +1 -0
- package/dist/vtn/listings/create/0.1/payload.d.ts +954 -0
- package/dist/vtn/listings/create/0.1/payload.d.ts.map +1 -0
- package/dist/vtn/listings/create/0.1/payload.js +549 -0
- package/dist/vtn/listings/create/0.1/payload.js.map +1 -0
- package/dist/vtn/listings/list/0.1/payload.d.ts +933 -0
- package/dist/vtn/listings/list/0.1/payload.d.ts.map +1 -0
- package/dist/vtn/listings/list/0.1/payload.js +538 -0
- package/dist/vtn/listings/list/0.1/payload.js.map +1 -0
- package/dist/vtn/listings/reinstate/0.1/payload.d.ts +926 -0
- package/dist/vtn/listings/reinstate/0.1/payload.d.ts.map +1 -0
- package/dist/vtn/listings/reinstate/0.1/payload.js +536 -0
- package/dist/vtn/listings/reinstate/0.1/payload.js.map +1 -0
- package/dist/vtn/listings/remove/0.1/payload.d.ts +926 -0
- package/dist/vtn/listings/remove/0.1/payload.d.ts.map +1 -0
- package/dist/vtn/listings/remove/0.1/payload.js +536 -0
- package/dist/vtn/listings/remove/0.1/payload.js.map +1 -0
- package/dist/vtn/listings/show/0.1/payload.d.ts +914 -0
- package/dist/vtn/listings/show/0.1/payload.d.ts.map +1 -0
- package/dist/vtn/listings/show/0.1/payload.js +532 -0
- package/dist/vtn/listings/show/0.1/payload.js.map +1 -0
- package/dist/vtn/listings/suspend/0.1/payload.d.ts +926 -0
- package/dist/vtn/listings/suspend/0.1/payload.d.ts.map +1 -0
- package/dist/vtn/listings/suspend/0.1/payload.js +536 -0
- package/dist/vtn/listings/suspend/0.1/payload.js.map +1 -0
- package/dist/vtn/listings/update/0.1/payload.d.ts +966 -0
- package/dist/vtn/listings/update/0.1/payload.d.ts.map +1 -0
- package/dist/vtn/listings/update/0.1/payload.js +550 -0
- package/dist/vtn/listings/update/0.1/payload.js.map +1 -0
- package/dist/vtn/membership/acknowledge/0.1/payload.d.ts +654 -0
- package/dist/vtn/membership/acknowledge/0.1/payload.d.ts.map +1 -0
- package/dist/vtn/membership/acknowledge/0.1/payload.js +386 -0
- package/dist/vtn/membership/acknowledge/0.1/payload.js.map +1 -0
- package/dist/vtn/membership/offer/0.1/payload.d.ts +247 -0
- package/dist/vtn/membership/offer/0.1/payload.d.ts.map +1 -0
- package/dist/vtn/membership/offer/0.1/payload.js +147 -0
- package/dist/vtn/membership/offer/0.1/payload.js.map +1 -0
- package/dist/vtn/membership/repudiate/0.1/payload.d.ts +654 -0
- package/dist/vtn/membership/repudiate/0.1/payload.d.ts.map +1 -0
- package/dist/vtn/membership/repudiate/0.1/payload.js +386 -0
- package/dist/vtn/membership/repudiate/0.1/payload.js.map +1 -0
- package/dist/vtn/memberships/groups/add/0.1/payload.d.ts +677 -0
- package/dist/vtn/memberships/groups/add/0.1/payload.d.ts.map +1 -0
- package/dist/vtn/memberships/groups/add/0.1/payload.js +394 -0
- package/dist/vtn/memberships/groups/add/0.1/payload.js.map +1 -0
- package/dist/vtn/memberships/join/0.1/payload.d.ts +755 -0
- package/dist/vtn/memberships/join/0.1/payload.d.ts.map +1 -0
- package/dist/vtn/memberships/join/0.1/payload.js +438 -0
- package/dist/vtn/memberships/join/0.1/payload.js.map +1 -0
- package/dist/vtn/memberships/leave/0.1/payload.d.ts +653 -0
- package/dist/vtn/memberships/leave/0.1/payload.d.ts.map +1 -0
- package/dist/vtn/memberships/leave/0.1/payload.js +384 -0
- package/dist/vtn/memberships/leave/0.1/payload.js.map +1 -0
- package/dist/vtn/memberships/list/0.1/payload.d.ts +651 -0
- package/dist/vtn/memberships/list/0.1/payload.d.ts.map +1 -0
- package/dist/vtn/memberships/list/0.1/payload.js +383 -0
- package/dist/vtn/memberships/list/0.1/payload.js.map +1 -0
- package/dist/vtn/memberships/repudiate/0.1/payload.d.ts +669 -0
- package/dist/vtn/memberships/repudiate/0.1/payload.d.ts.map +1 -0
- package/dist/vtn/memberships/repudiate/0.1/payload.js +391 -0
- package/dist/vtn/memberships/repudiate/0.1/payload.js.map +1 -0
- package/dist/vtn/outbox/list/0.1/payload.d.ts +567 -0
- package/dist/vtn/outbox/list/0.1/payload.d.ts.map +1 -0
- package/dist/vtn/outbox/list/0.1/payload.js +333 -0
- package/dist/vtn/outbox/list/0.1/payload.js.map +1 -0
- package/dist/vtn/outbox/retry/0.1/payload.d.ts +235 -0
- package/dist/vtn/outbox/retry/0.1/payload.d.ts.map +1 -0
- package/dist/vtn/outbox/retry/0.1/payload.js +141 -0
- package/dist/vtn/outbox/retry/0.1/payload.js.map +1 -0
- package/dist/vtn/relay/deliver/0.1/payload.d.ts +592 -0
- package/dist/vtn/relay/deliver/0.1/payload.d.ts.map +1 -0
- package/dist/vtn/relay/deliver/0.1/payload.js +352 -0
- package/dist/vtn/relay/deliver/0.1/payload.js.map +1 -0
- package/dist/vtn/roles/list/0.1/payload.d.ts +371 -0
- package/dist/vtn/roles/list/0.1/payload.d.ts.map +1 -0
- package/dist/vtn/roles/list/0.1/payload.js +213 -0
- package/dist/vtn/roles/list/0.1/payload.js.map +1 -0
- package/dist/vtn/rooms/list/0.1/payload.d.ts +447 -0
- package/dist/vtn/rooms/list/0.1/payload.d.ts.map +1 -0
- package/dist/vtn/rooms/list/0.1/payload.js +255 -0
- package/dist/vtn/rooms/list/0.1/payload.js.map +1 -0
- package/dist/vtn/rooms/pass/0.1/payload.d.ts +674 -0
- package/dist/vtn/rooms/pass/0.1/payload.d.ts.map +1 -0
- package/dist/vtn/rooms/pass/0.1/payload.js +383 -0
- package/dist/vtn/rooms/pass/0.1/payload.js.map +1 -0
- package/package.json +1 -1
- package/src/_shared/components.ts +922 -0
- package/src/git-ns/bridge/event/0.1/payload.ts +5 -5
- package/src/git-ns/bridge/event/0.2/payload.ts +5 -5
- package/src/git-ns/bridge/event/0.3/payload.ts +5 -5
- package/src/git-ns/bridge/event/0.4/payload.ts +5 -5
- package/src/git-ns/bridge/event/0.5/payload.ts +15 -3
- package/src/git-ns/bridge/event/0.6/payload.ts +1450 -0
- package/src/git-ns/bridge/job/0.1/payload.ts +5 -5
- package/src/git-ns/bridge/job/0.2/payload.ts +5 -5
- package/src/git-ns/bridge/job/0.3/payload.ts +5 -5
- package/src/git-ns/bridge/job/0.4/payload.ts +5 -5
- package/src/git-ns/bridge/job/0.5/payload.ts +5 -5
- package/src/git-ns/bridge/job/0.6/payload.ts +15 -3
- package/src/git-ns/bridge/job/0.7/payload.ts +744 -0
- package/src/git-ns/bridge/job/list/0.4/payload.ts +3 -3
- package/src/index.ts +150 -0
- package/src/vta/notifications/deposit/0.1/payload.ts +243 -0
- package/src/vta/pcs/vetter/recover/0.1/payload.ts +437 -0
- package/src/vtc/notifications/_shared/0.1/received-notification.ts +17 -0
- package/src/vtc/notifications/list/0.1/payload.ts +809 -0
- package/src/vtc/notifications/relay/0.1/payload.ts +382 -0
- package/src/vtc/notifications/show/0.1/payload.ts +761 -0
- package/src/vtc/vetting/vetters/pcs-binding/reset/0.1/payload.ts +247 -0
- package/src/vtc/vetting/vetters/pcs-binding/show/0.1/payload.ts +295 -0
- package/src/vtn/_shared/0.1/directory.ts +17 -0
- package/src/vtn/_shared/0.1/entry.ts +17 -0
- package/src/vtn/_shared/0.1/graph.ts +17 -0
- package/src/vtn/_shared/0.1/groups.ts +17 -0
- package/src/vtn/_shared/0.1/membership.ts +17 -0
- package/src/vtn/_shared/0.1/relay.ts +17 -0
- package/src/vtn/_shared/0.1/rooms.ts +17 -0
- package/src/vtn/audit/list/0.1/payload.ts +336 -0
- package/src/vtn/broadcasts/list/0.1/payload.ts +447 -0
- package/src/vtn/broadcasts/send/0.1/payload.ts +478 -0
- package/src/vtn/broadcasts/show/0.1/payload.ts +439 -0
- package/src/vtn/directory/federated/0.1/payload.ts +594 -0
- package/src/vtn/directory/search/0.1/payload.ts +418 -0
- package/src/vtn/directory/summary/0.1/payload.ts +253 -0
- package/src/vtn/entries/show/0.1/payload.ts +439 -0
- package/src/vtn/graph/member/0.1/payload.ts +511 -0
- package/src/vtn/graph/show/0.1/payload.ts +509 -0
- package/src/vtn/groups/list/0.1/payload.ts +322 -0
- package/src/vtn/groups/register/0.1/payload.ts +336 -0
- package/src/vtn/listings/create/0.1/payload.ts +594 -0
- package/src/vtn/listings/list/0.1/payload.ts +578 -0
- package/src/vtn/listings/reinstate/0.1/payload.ts +577 -0
- package/src/vtn/listings/remove/0.1/payload.ts +577 -0
- package/src/vtn/listings/show/0.1/payload.ts +569 -0
- package/src/vtn/listings/suspend/0.1/payload.ts +577 -0
- package/src/vtn/listings/update/0.1/payload.ts +603 -0
- package/src/vtn/membership/acknowledge/0.1/payload.ts +423 -0
- package/src/vtn/membership/offer/0.1/payload.ts +183 -0
- package/src/vtn/membership/repudiate/0.1/payload.ts +423 -0
- package/src/vtn/memberships/groups/add/0.1/payload.ts +442 -0
- package/src/vtn/memberships/join/0.1/payload.ts +488 -0
- package/src/vtn/memberships/leave/0.1/payload.ts +424 -0
- package/src/vtn/memberships/list/0.1/payload.ts +419 -0
- package/src/vtn/memberships/repudiate/0.1/payload.ts +435 -0
- package/src/vtn/outbox/list/0.1/payload.ts +369 -0
- package/src/vtn/outbox/retry/0.1/payload.ts +177 -0
- package/src/vtn/relay/deliver/0.1/payload.ts +397 -0
- package/src/vtn/roles/list/0.1/payload.ts +253 -0
- package/src/vtn/rooms/list/0.1/payload.ts +295 -0
- package/src/vtn/rooms/pass/0.1/payload.ts +439 -0
|
@@ -0,0 +1,954 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by scripts/build-ts-bindings.mjs — DO NOT EDIT BY HAND.
|
|
3
|
+
* Source: specs/vtn/listings/create/0.1/payload.schema.json
|
|
4
|
+
*/
|
|
5
|
+
import type { Credential, Description, Did_VtnV0_1 as Did, Entry, EntryKind, EntryProfile, EntryState, Ext, Issued, Label, Reason_VtnV0_1 as Reason, StateChange, Tags, Url } from "../../../../_shared/components.js";
|
|
6
|
+
/**
|
|
7
|
+
* An administrator's instruction to list a community or network. The outer document members are owned by the framework — SPEC §6.3.
|
|
8
|
+
*/
|
|
9
|
+
export interface VTNListingsCreatePayload {
|
|
10
|
+
/**
|
|
11
|
+
* The DID of the community or network to list. Never the network's own.
|
|
12
|
+
*/
|
|
13
|
+
did: Did;
|
|
14
|
+
/**
|
|
15
|
+
* What is listed; carried in the listing credential as `nodeType` `VTC` or `VTN` (VTI-VTN-031).
|
|
16
|
+
*/
|
|
17
|
+
kind: EntryKind;
|
|
18
|
+
label?: Label;
|
|
19
|
+
description?: Description;
|
|
20
|
+
url?: Url;
|
|
21
|
+
tags?: Tags;
|
|
22
|
+
ext?: Ext;
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* The new entry as the network's administrators see it: state `listed`, with the signed listing credential and the unsigned membership offer.
|
|
26
|
+
*/
|
|
27
|
+
export interface VTNListingsCreateResponsePayload {
|
|
28
|
+
entry: Entry;
|
|
29
|
+
ext?: Ext;
|
|
30
|
+
}
|
|
31
|
+
/** Shared definitions this specification references, re-exported under the names it used to declare them with. */
|
|
32
|
+
export type { Credential, Description, Did, Entry, EntryKind, EntryProfile, EntryState, Ext, Issued, Label, Reason, StateChange, Tags, Url };
|
|
33
|
+
/** Trust Task type URI. */
|
|
34
|
+
export declare const TYPE_URI: "https://trusttasks.org/spec/vtn/listings/create/0.1";
|
|
35
|
+
/**
|
|
36
|
+
* The earlier version of this specification that this one declares it
|
|
37
|
+
* extends (front matter `extends`, SPEC §5.2 "Declared extension"), or
|
|
38
|
+
* `null`. Only the direct declaration — follow the chain with
|
|
39
|
+
* `extendsChain` / `readForSpec`.
|
|
40
|
+
*/
|
|
41
|
+
export declare const EXTENDS: string | null;
|
|
42
|
+
/**
|
|
43
|
+
* Why this version is deprecated, or `null` while it is current. A
|
|
44
|
+
* superseded or retired version is still supported, and is withdrawn from
|
|
45
|
+
* this package in a later scheduled batch (SPEC "Superseded and Withdrawn
|
|
46
|
+
* Versions").
|
|
47
|
+
*/
|
|
48
|
+
export declare const DEPRECATION: string | null;
|
|
49
|
+
/** Stable alias for this specification's request payload shape. */
|
|
50
|
+
export type Payload = VTNListingsCreatePayload;
|
|
51
|
+
/** Trust Task response type URI (request type URI + "#response"). */
|
|
52
|
+
export declare const RESPONSE_TYPE_URI: "https://trusttasks.org/spec/vtn/listings/create/0.1#response";
|
|
53
|
+
/** Stable alias for this specification's success-response payload shape. */
|
|
54
|
+
export type Response = VTNListingsCreateResponsePayload;
|
|
55
|
+
/**
|
|
56
|
+
* This specification's payload schema, as a value.
|
|
57
|
+
*
|
|
58
|
+
* SPEC.md §7.2 item 2 is performed against this. It is shipped as data
|
|
59
|
+
* rather than only as a `.json` file because TypeScript types are erased
|
|
60
|
+
* at runtime: without a schema a consumer has nothing to validate, and
|
|
61
|
+
* every REQUIRED payload member is optional in practice. Cross-file
|
|
62
|
+
* `$ref`s are already inlined, so it needs no resolver.
|
|
63
|
+
*/
|
|
64
|
+
export declare const PAYLOAD_SCHEMA: {
|
|
65
|
+
readonly $schema: "https://json-schema.org/draft/2020-12/schema";
|
|
66
|
+
readonly $id: "https://trusttasks.org/spec/vtn/listings/create/0.1";
|
|
67
|
+
readonly title: "VTN Listings — Create — payload";
|
|
68
|
+
readonly description: "An administrator's instruction to list a community or network. The outer document members are owned by the framework — SPEC §6.3.";
|
|
69
|
+
readonly type: "object";
|
|
70
|
+
readonly additionalProperties: false;
|
|
71
|
+
readonly required: readonly ["did", "kind"];
|
|
72
|
+
readonly properties: {
|
|
73
|
+
readonly did: {
|
|
74
|
+
readonly $ref: "#/$defs/Did";
|
|
75
|
+
readonly description: "The DID of the community or network to list. Never the network's own.";
|
|
76
|
+
};
|
|
77
|
+
readonly kind: {
|
|
78
|
+
readonly $ref: "#/$defs/EntryKind";
|
|
79
|
+
readonly description: "What is listed; carried in the listing credential as `nodeType` `VTC` or `VTN` (VTI-VTN-031).";
|
|
80
|
+
};
|
|
81
|
+
readonly label: {
|
|
82
|
+
readonly $ref: "#/$defs/Label";
|
|
83
|
+
};
|
|
84
|
+
readonly description: {
|
|
85
|
+
readonly $ref: "#/$defs/Description";
|
|
86
|
+
};
|
|
87
|
+
readonly url: {
|
|
88
|
+
readonly $ref: "#/$defs/Url";
|
|
89
|
+
};
|
|
90
|
+
readonly tags: {
|
|
91
|
+
readonly $ref: "#/$defs/Tags";
|
|
92
|
+
};
|
|
93
|
+
readonly ext: {
|
|
94
|
+
readonly $ref: "#/$defs/Ext";
|
|
95
|
+
};
|
|
96
|
+
};
|
|
97
|
+
readonly $defs: {
|
|
98
|
+
readonly Response: {
|
|
99
|
+
readonly $anchor: "response";
|
|
100
|
+
readonly title: "VTN Listings — Create — response payload";
|
|
101
|
+
readonly description: "The new entry as the network's administrators see it: state `listed`, with the signed listing credential and the unsigned membership offer.";
|
|
102
|
+
readonly type: "object";
|
|
103
|
+
readonly additionalProperties: false;
|
|
104
|
+
readonly required: readonly ["entry"];
|
|
105
|
+
readonly properties: {
|
|
106
|
+
readonly entry: {
|
|
107
|
+
readonly $ref: "#/$defs/Entry";
|
|
108
|
+
};
|
|
109
|
+
readonly ext: {
|
|
110
|
+
readonly $ref: "#/$defs/Ext";
|
|
111
|
+
};
|
|
112
|
+
};
|
|
113
|
+
};
|
|
114
|
+
readonly Ext: {
|
|
115
|
+
readonly title: "Ext";
|
|
116
|
+
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.";
|
|
117
|
+
readonly type: "object";
|
|
118
|
+
readonly minProperties: 1;
|
|
119
|
+
readonly additionalProperties: true;
|
|
120
|
+
readonly propertyNames: {
|
|
121
|
+
readonly pattern: "^[a-z][a-z0-9-]*(\\.[a-z0-9-]+)+$";
|
|
122
|
+
};
|
|
123
|
+
};
|
|
124
|
+
readonly Entry: {
|
|
125
|
+
readonly description: "An entry as its network's administrators see it.";
|
|
126
|
+
readonly type: "object";
|
|
127
|
+
readonly additionalProperties: false;
|
|
128
|
+
readonly required: readonly ["did", "kind", "profile", "state", "createdAt", "updatedAt", "listing", "history"];
|
|
129
|
+
readonly properties: {
|
|
130
|
+
readonly did: {
|
|
131
|
+
readonly $ref: "#/$defs/Did";
|
|
132
|
+
readonly description: "The listed party's DID.";
|
|
133
|
+
};
|
|
134
|
+
readonly kind: {
|
|
135
|
+
readonly $ref: "#/$defs/EntryKind";
|
|
136
|
+
};
|
|
137
|
+
readonly label: {
|
|
138
|
+
readonly $ref: "#/$defs/Label";
|
|
139
|
+
};
|
|
140
|
+
readonly profile: {
|
|
141
|
+
readonly $ref: "#/$defs/EntryProfile";
|
|
142
|
+
};
|
|
143
|
+
readonly state: {
|
|
144
|
+
readonly $ref: "#/$defs/EntryState";
|
|
145
|
+
};
|
|
146
|
+
readonly createdAt: {
|
|
147
|
+
readonly type: "string";
|
|
148
|
+
readonly format: "date-time";
|
|
149
|
+
readonly description: "When the party was first listed.";
|
|
150
|
+
};
|
|
151
|
+
readonly updatedAt: {
|
|
152
|
+
readonly type: "string";
|
|
153
|
+
readonly format: "date-time";
|
|
154
|
+
readonly description: "When the entry last changed.";
|
|
155
|
+
};
|
|
156
|
+
readonly listing: {
|
|
157
|
+
readonly $ref: "#/$defs/Issued";
|
|
158
|
+
readonly description: "The listing credential (`lists/1`).";
|
|
159
|
+
};
|
|
160
|
+
readonly offer: {
|
|
161
|
+
readonly $ref: "#/$defs/Issued";
|
|
162
|
+
readonly description: "The unsigned membership grant offered to the party, before it acknowledged.";
|
|
163
|
+
};
|
|
164
|
+
readonly grant: {
|
|
165
|
+
readonly $ref: "#/$defs/Issued";
|
|
166
|
+
readonly description: "The signed membership grant (VMC), once the party acknowledged.";
|
|
167
|
+
};
|
|
168
|
+
readonly ack: {
|
|
169
|
+
readonly $ref: "#/$defs/Credential";
|
|
170
|
+
readonly description: "The party's acknowledgement (VMC carrying the grant's digest).";
|
|
171
|
+
};
|
|
172
|
+
readonly repudiation: {
|
|
173
|
+
readonly $ref: "#/$defs/Credential";
|
|
174
|
+
readonly description: "The party's repudiation (`repudiates/1`) of the listing or the grant.";
|
|
175
|
+
};
|
|
176
|
+
readonly history: {
|
|
177
|
+
readonly type: "array";
|
|
178
|
+
readonly items: {
|
|
179
|
+
readonly $ref: "#/$defs/StateChange";
|
|
180
|
+
};
|
|
181
|
+
readonly description: "Every transition, oldest first.";
|
|
182
|
+
};
|
|
183
|
+
};
|
|
184
|
+
};
|
|
185
|
+
readonly StateChange: {
|
|
186
|
+
readonly description: "One transition in an entry's lifecycle.";
|
|
187
|
+
readonly type: "object";
|
|
188
|
+
readonly additionalProperties: false;
|
|
189
|
+
readonly required: readonly ["changedAt", "to"];
|
|
190
|
+
readonly properties: {
|
|
191
|
+
readonly changedAt: {
|
|
192
|
+
readonly type: "string";
|
|
193
|
+
readonly format: "date-time";
|
|
194
|
+
readonly description: "When the state changed.";
|
|
195
|
+
};
|
|
196
|
+
readonly from: {
|
|
197
|
+
readonly $ref: "#/$defs/EntryState";
|
|
198
|
+
readonly description: "The state before; absent for the first listing.";
|
|
199
|
+
};
|
|
200
|
+
readonly to: {
|
|
201
|
+
readonly $ref: "#/$defs/EntryState";
|
|
202
|
+
};
|
|
203
|
+
readonly reason: {
|
|
204
|
+
readonly $ref: "#/$defs/Reason";
|
|
205
|
+
};
|
|
206
|
+
};
|
|
207
|
+
};
|
|
208
|
+
readonly Reason: {
|
|
209
|
+
readonly type: "string";
|
|
210
|
+
readonly maxLength: 1000;
|
|
211
|
+
readonly description: "The reason given, if any.";
|
|
212
|
+
};
|
|
213
|
+
readonly EntryState: {
|
|
214
|
+
readonly type: "string";
|
|
215
|
+
readonly enum: readonly ["listed", "acknowledged", "repudiated", "suspended", "removed", "departed"];
|
|
216
|
+
readonly description: "`listed`: the network lists the party and the party has not answered; this is never membership (VTI-VTN-013). `acknowledged`: the party acknowledged the network's grant; it is a member. `repudiated`: the party rejected the listing. `suspended`: the network suspended the membership; reversible. `removed`: the network ended the entry. `departed`: the party left, by repudiating the grant.";
|
|
217
|
+
};
|
|
218
|
+
readonly Credential: {
|
|
219
|
+
readonly type: "object";
|
|
220
|
+
readonly description: "A DTG credential (W3C VC 2.0, JSON) exactly as signed. Verified by the party relying on it, never by its shape here: it is an open object so a binding cannot narrow away a member the proof covers.";
|
|
221
|
+
};
|
|
222
|
+
readonly Issued: {
|
|
223
|
+
readonly description: "A credential the network issued, with where its status is kept.";
|
|
224
|
+
readonly type: "object";
|
|
225
|
+
readonly additionalProperties: false;
|
|
226
|
+
readonly required: readonly ["credential", "statusIndex"];
|
|
227
|
+
readonly properties: {
|
|
228
|
+
readonly credential: {
|
|
229
|
+
readonly $ref: "#/$defs/Credential";
|
|
230
|
+
readonly description: "The credential as issued.";
|
|
231
|
+
};
|
|
232
|
+
readonly statusIndex: {
|
|
233
|
+
readonly type: "integer";
|
|
234
|
+
readonly minimum: 0;
|
|
235
|
+
readonly description: "The credential's index in the network's status lists.";
|
|
236
|
+
};
|
|
237
|
+
};
|
|
238
|
+
};
|
|
239
|
+
readonly EntryProfile: {
|
|
240
|
+
readonly description: "What the directory shows about an entry, set by the network's administrators.";
|
|
241
|
+
readonly type: "object";
|
|
242
|
+
readonly additionalProperties: false;
|
|
243
|
+
readonly required: readonly [];
|
|
244
|
+
readonly properties: {
|
|
245
|
+
readonly description: {
|
|
246
|
+
readonly $ref: "#/$defs/Description";
|
|
247
|
+
};
|
|
248
|
+
readonly url: {
|
|
249
|
+
readonly $ref: "#/$defs/Url";
|
|
250
|
+
};
|
|
251
|
+
readonly tags: {
|
|
252
|
+
readonly $ref: "#/$defs/Tags";
|
|
253
|
+
};
|
|
254
|
+
};
|
|
255
|
+
};
|
|
256
|
+
readonly Tags: {
|
|
257
|
+
readonly type: "array";
|
|
258
|
+
readonly items: {
|
|
259
|
+
readonly type: "string";
|
|
260
|
+
readonly minLength: 1;
|
|
261
|
+
readonly maxLength: 64;
|
|
262
|
+
};
|
|
263
|
+
readonly description: "Free-text tags the directory searches.";
|
|
264
|
+
readonly maxItems: 32;
|
|
265
|
+
};
|
|
266
|
+
readonly Url: {
|
|
267
|
+
readonly type: "string";
|
|
268
|
+
readonly format: "uri";
|
|
269
|
+
readonly maxLength: 2048;
|
|
270
|
+
readonly description: "The party's public address.";
|
|
271
|
+
};
|
|
272
|
+
readonly Description: {
|
|
273
|
+
readonly type: "string";
|
|
274
|
+
readonly maxLength: 2000;
|
|
275
|
+
readonly description: "What the listed party is, for the directory.";
|
|
276
|
+
};
|
|
277
|
+
readonly Label: {
|
|
278
|
+
readonly type: "string";
|
|
279
|
+
readonly maxLength: 200;
|
|
280
|
+
readonly description: "The name the directory shows.";
|
|
281
|
+
};
|
|
282
|
+
readonly EntryKind: {
|
|
283
|
+
readonly type: "string";
|
|
284
|
+
readonly enum: readonly ["community", "network"];
|
|
285
|
+
readonly description: "What the entry lists (VTI-VTN-031): a community, whose entries are its members, or a network, whose entries are further listings. A listing credential carries the same fact as `nodeType` `VTC` or `VTN`.";
|
|
286
|
+
};
|
|
287
|
+
readonly Did: {
|
|
288
|
+
readonly type: "string";
|
|
289
|
+
readonly pattern: "^did:[a-z0-9]+:.+$";
|
|
290
|
+
readonly maxLength: 2048;
|
|
291
|
+
readonly description: "A DID.";
|
|
292
|
+
};
|
|
293
|
+
};
|
|
294
|
+
};
|
|
295
|
+
/** As {@link PAYLOAD_SCHEMA}, for the success-response variant. */
|
|
296
|
+
export declare const RESPONSE_PAYLOAD_SCHEMA: {
|
|
297
|
+
readonly $schema: "https://json-schema.org/draft/2020-12/schema";
|
|
298
|
+
readonly $ref: "#/$defs/Response";
|
|
299
|
+
readonly $defs: {
|
|
300
|
+
readonly Response: {
|
|
301
|
+
readonly $anchor: "response";
|
|
302
|
+
readonly title: "VTN Listings — Create — response payload";
|
|
303
|
+
readonly description: "The new entry as the network's administrators see it: state `listed`, with the signed listing credential and the unsigned membership offer.";
|
|
304
|
+
readonly type: "object";
|
|
305
|
+
readonly additionalProperties: false;
|
|
306
|
+
readonly required: readonly ["entry"];
|
|
307
|
+
readonly properties: {
|
|
308
|
+
readonly entry: {
|
|
309
|
+
readonly $ref: "#/$defs/Entry";
|
|
310
|
+
};
|
|
311
|
+
readonly ext: {
|
|
312
|
+
readonly $ref: "#/$defs/Ext";
|
|
313
|
+
};
|
|
314
|
+
};
|
|
315
|
+
};
|
|
316
|
+
readonly Ext: {
|
|
317
|
+
readonly title: "Ext";
|
|
318
|
+
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.";
|
|
319
|
+
readonly type: "object";
|
|
320
|
+
readonly minProperties: 1;
|
|
321
|
+
readonly additionalProperties: true;
|
|
322
|
+
readonly propertyNames: {
|
|
323
|
+
readonly pattern: "^[a-z][a-z0-9-]*(\\.[a-z0-9-]+)+$";
|
|
324
|
+
};
|
|
325
|
+
};
|
|
326
|
+
readonly Entry: {
|
|
327
|
+
readonly description: "An entry as its network's administrators see it.";
|
|
328
|
+
readonly type: "object";
|
|
329
|
+
readonly additionalProperties: false;
|
|
330
|
+
readonly required: readonly ["did", "kind", "profile", "state", "createdAt", "updatedAt", "listing", "history"];
|
|
331
|
+
readonly properties: {
|
|
332
|
+
readonly did: {
|
|
333
|
+
readonly $ref: "#/$defs/Did";
|
|
334
|
+
readonly description: "The listed party's DID.";
|
|
335
|
+
};
|
|
336
|
+
readonly kind: {
|
|
337
|
+
readonly $ref: "#/$defs/EntryKind";
|
|
338
|
+
};
|
|
339
|
+
readonly label: {
|
|
340
|
+
readonly $ref: "#/$defs/Label";
|
|
341
|
+
};
|
|
342
|
+
readonly profile: {
|
|
343
|
+
readonly $ref: "#/$defs/EntryProfile";
|
|
344
|
+
};
|
|
345
|
+
readonly state: {
|
|
346
|
+
readonly $ref: "#/$defs/EntryState";
|
|
347
|
+
};
|
|
348
|
+
readonly createdAt: {
|
|
349
|
+
readonly type: "string";
|
|
350
|
+
readonly format: "date-time";
|
|
351
|
+
readonly description: "When the party was first listed.";
|
|
352
|
+
};
|
|
353
|
+
readonly updatedAt: {
|
|
354
|
+
readonly type: "string";
|
|
355
|
+
readonly format: "date-time";
|
|
356
|
+
readonly description: "When the entry last changed.";
|
|
357
|
+
};
|
|
358
|
+
readonly listing: {
|
|
359
|
+
readonly $ref: "#/$defs/Issued";
|
|
360
|
+
readonly description: "The listing credential (`lists/1`).";
|
|
361
|
+
};
|
|
362
|
+
readonly offer: {
|
|
363
|
+
readonly $ref: "#/$defs/Issued";
|
|
364
|
+
readonly description: "The unsigned membership grant offered to the party, before it acknowledged.";
|
|
365
|
+
};
|
|
366
|
+
readonly grant: {
|
|
367
|
+
readonly $ref: "#/$defs/Issued";
|
|
368
|
+
readonly description: "The signed membership grant (VMC), once the party acknowledged.";
|
|
369
|
+
};
|
|
370
|
+
readonly ack: {
|
|
371
|
+
readonly $ref: "#/$defs/Credential";
|
|
372
|
+
readonly description: "The party's acknowledgement (VMC carrying the grant's digest).";
|
|
373
|
+
};
|
|
374
|
+
readonly repudiation: {
|
|
375
|
+
readonly $ref: "#/$defs/Credential";
|
|
376
|
+
readonly description: "The party's repudiation (`repudiates/1`) of the listing or the grant.";
|
|
377
|
+
};
|
|
378
|
+
readonly history: {
|
|
379
|
+
readonly type: "array";
|
|
380
|
+
readonly items: {
|
|
381
|
+
readonly $ref: "#/$defs/StateChange";
|
|
382
|
+
};
|
|
383
|
+
readonly description: "Every transition, oldest first.";
|
|
384
|
+
};
|
|
385
|
+
};
|
|
386
|
+
};
|
|
387
|
+
readonly StateChange: {
|
|
388
|
+
readonly description: "One transition in an entry's lifecycle.";
|
|
389
|
+
readonly type: "object";
|
|
390
|
+
readonly additionalProperties: false;
|
|
391
|
+
readonly required: readonly ["changedAt", "to"];
|
|
392
|
+
readonly properties: {
|
|
393
|
+
readonly changedAt: {
|
|
394
|
+
readonly type: "string";
|
|
395
|
+
readonly format: "date-time";
|
|
396
|
+
readonly description: "When the state changed.";
|
|
397
|
+
};
|
|
398
|
+
readonly from: {
|
|
399
|
+
readonly $ref: "#/$defs/EntryState";
|
|
400
|
+
readonly description: "The state before; absent for the first listing.";
|
|
401
|
+
};
|
|
402
|
+
readonly to: {
|
|
403
|
+
readonly $ref: "#/$defs/EntryState";
|
|
404
|
+
};
|
|
405
|
+
readonly reason: {
|
|
406
|
+
readonly $ref: "#/$defs/Reason";
|
|
407
|
+
};
|
|
408
|
+
};
|
|
409
|
+
};
|
|
410
|
+
readonly Reason: {
|
|
411
|
+
readonly type: "string";
|
|
412
|
+
readonly maxLength: 1000;
|
|
413
|
+
readonly description: "The reason given, if any.";
|
|
414
|
+
};
|
|
415
|
+
readonly EntryState: {
|
|
416
|
+
readonly type: "string";
|
|
417
|
+
readonly enum: readonly ["listed", "acknowledged", "repudiated", "suspended", "removed", "departed"];
|
|
418
|
+
readonly description: "`listed`: the network lists the party and the party has not answered; this is never membership (VTI-VTN-013). `acknowledged`: the party acknowledged the network's grant; it is a member. `repudiated`: the party rejected the listing. `suspended`: the network suspended the membership; reversible. `removed`: the network ended the entry. `departed`: the party left, by repudiating the grant.";
|
|
419
|
+
};
|
|
420
|
+
readonly Credential: {
|
|
421
|
+
readonly type: "object";
|
|
422
|
+
readonly description: "A DTG credential (W3C VC 2.0, JSON) exactly as signed. Verified by the party relying on it, never by its shape here: it is an open object so a binding cannot narrow away a member the proof covers.";
|
|
423
|
+
};
|
|
424
|
+
readonly Issued: {
|
|
425
|
+
readonly description: "A credential the network issued, with where its status is kept.";
|
|
426
|
+
readonly type: "object";
|
|
427
|
+
readonly additionalProperties: false;
|
|
428
|
+
readonly required: readonly ["credential", "statusIndex"];
|
|
429
|
+
readonly properties: {
|
|
430
|
+
readonly credential: {
|
|
431
|
+
readonly $ref: "#/$defs/Credential";
|
|
432
|
+
readonly description: "The credential as issued.";
|
|
433
|
+
};
|
|
434
|
+
readonly statusIndex: {
|
|
435
|
+
readonly type: "integer";
|
|
436
|
+
readonly minimum: 0;
|
|
437
|
+
readonly description: "The credential's index in the network's status lists.";
|
|
438
|
+
};
|
|
439
|
+
};
|
|
440
|
+
};
|
|
441
|
+
readonly EntryProfile: {
|
|
442
|
+
readonly description: "What the directory shows about an entry, set by the network's administrators.";
|
|
443
|
+
readonly type: "object";
|
|
444
|
+
readonly additionalProperties: false;
|
|
445
|
+
readonly required: readonly [];
|
|
446
|
+
readonly properties: {
|
|
447
|
+
readonly description: {
|
|
448
|
+
readonly $ref: "#/$defs/Description";
|
|
449
|
+
};
|
|
450
|
+
readonly url: {
|
|
451
|
+
readonly $ref: "#/$defs/Url";
|
|
452
|
+
};
|
|
453
|
+
readonly tags: {
|
|
454
|
+
readonly $ref: "#/$defs/Tags";
|
|
455
|
+
};
|
|
456
|
+
};
|
|
457
|
+
};
|
|
458
|
+
readonly Tags: {
|
|
459
|
+
readonly type: "array";
|
|
460
|
+
readonly items: {
|
|
461
|
+
readonly type: "string";
|
|
462
|
+
readonly minLength: 1;
|
|
463
|
+
readonly maxLength: 64;
|
|
464
|
+
};
|
|
465
|
+
readonly description: "Free-text tags the directory searches.";
|
|
466
|
+
readonly maxItems: 32;
|
|
467
|
+
};
|
|
468
|
+
readonly Url: {
|
|
469
|
+
readonly type: "string";
|
|
470
|
+
readonly format: "uri";
|
|
471
|
+
readonly maxLength: 2048;
|
|
472
|
+
readonly description: "The party's public address.";
|
|
473
|
+
};
|
|
474
|
+
readonly Description: {
|
|
475
|
+
readonly type: "string";
|
|
476
|
+
readonly maxLength: 2000;
|
|
477
|
+
readonly description: "What the listed party is, for the directory.";
|
|
478
|
+
};
|
|
479
|
+
readonly Label: {
|
|
480
|
+
readonly type: "string";
|
|
481
|
+
readonly maxLength: 200;
|
|
482
|
+
readonly description: "The name the directory shows.";
|
|
483
|
+
};
|
|
484
|
+
readonly EntryKind: {
|
|
485
|
+
readonly type: "string";
|
|
486
|
+
readonly enum: readonly ["community", "network"];
|
|
487
|
+
readonly description: "What the entry lists (VTI-VTN-031): a community, whose entries are its members, or a network, whose entries are further listings. A listing credential carries the same fact as `nodeType` `VTC` or `VTN`.";
|
|
488
|
+
};
|
|
489
|
+
readonly Did: {
|
|
490
|
+
readonly type: "string";
|
|
491
|
+
readonly pattern: "^did:[a-z0-9]+:.+$";
|
|
492
|
+
readonly maxLength: 2048;
|
|
493
|
+
readonly description: "A DID.";
|
|
494
|
+
};
|
|
495
|
+
};
|
|
496
|
+
};
|
|
497
|
+
/**
|
|
498
|
+
* SPEC.md §7.2 policy for the request variant, from this specification's
|
|
499
|
+
* front matter. Pass to `consumeInbound` — items 5b, 7 and 8 are
|
|
500
|
+
* per-specification and cannot be derived from the document alone, and
|
|
501
|
+
* item 2 needs the schema this carries.
|
|
502
|
+
*/
|
|
503
|
+
export declare const SPEC: {
|
|
504
|
+
readonly typeUri: "https://trusttasks.org/spec/vtn/listings/create/0.1";
|
|
505
|
+
readonly isBearer: false;
|
|
506
|
+
readonly isProofRequired: true;
|
|
507
|
+
readonly isRecipientRequired: true;
|
|
508
|
+
readonly isIssuedAtRequired: true;
|
|
509
|
+
readonly payloadSchema: {
|
|
510
|
+
readonly $schema: "https://json-schema.org/draft/2020-12/schema";
|
|
511
|
+
readonly $id: "https://trusttasks.org/spec/vtn/listings/create/0.1";
|
|
512
|
+
readonly title: "VTN Listings — Create — payload";
|
|
513
|
+
readonly description: "An administrator's instruction to list a community or network. The outer document members are owned by the framework — SPEC §6.3.";
|
|
514
|
+
readonly type: "object";
|
|
515
|
+
readonly additionalProperties: false;
|
|
516
|
+
readonly required: readonly ["did", "kind"];
|
|
517
|
+
readonly properties: {
|
|
518
|
+
readonly did: {
|
|
519
|
+
readonly $ref: "#/$defs/Did";
|
|
520
|
+
readonly description: "The DID of the community or network to list. Never the network's own.";
|
|
521
|
+
};
|
|
522
|
+
readonly kind: {
|
|
523
|
+
readonly $ref: "#/$defs/EntryKind";
|
|
524
|
+
readonly description: "What is listed; carried in the listing credential as `nodeType` `VTC` or `VTN` (VTI-VTN-031).";
|
|
525
|
+
};
|
|
526
|
+
readonly label: {
|
|
527
|
+
readonly $ref: "#/$defs/Label";
|
|
528
|
+
};
|
|
529
|
+
readonly description: {
|
|
530
|
+
readonly $ref: "#/$defs/Description";
|
|
531
|
+
};
|
|
532
|
+
readonly url: {
|
|
533
|
+
readonly $ref: "#/$defs/Url";
|
|
534
|
+
};
|
|
535
|
+
readonly tags: {
|
|
536
|
+
readonly $ref: "#/$defs/Tags";
|
|
537
|
+
};
|
|
538
|
+
readonly ext: {
|
|
539
|
+
readonly $ref: "#/$defs/Ext";
|
|
540
|
+
};
|
|
541
|
+
};
|
|
542
|
+
readonly $defs: {
|
|
543
|
+
readonly Response: {
|
|
544
|
+
readonly $anchor: "response";
|
|
545
|
+
readonly title: "VTN Listings — Create — response payload";
|
|
546
|
+
readonly description: "The new entry as the network's administrators see it: state `listed`, with the signed listing credential and the unsigned membership offer.";
|
|
547
|
+
readonly type: "object";
|
|
548
|
+
readonly additionalProperties: false;
|
|
549
|
+
readonly required: readonly ["entry"];
|
|
550
|
+
readonly properties: {
|
|
551
|
+
readonly entry: {
|
|
552
|
+
readonly $ref: "#/$defs/Entry";
|
|
553
|
+
};
|
|
554
|
+
readonly ext: {
|
|
555
|
+
readonly $ref: "#/$defs/Ext";
|
|
556
|
+
};
|
|
557
|
+
};
|
|
558
|
+
};
|
|
559
|
+
readonly Ext: {
|
|
560
|
+
readonly title: "Ext";
|
|
561
|
+
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.";
|
|
562
|
+
readonly type: "object";
|
|
563
|
+
readonly minProperties: 1;
|
|
564
|
+
readonly additionalProperties: true;
|
|
565
|
+
readonly propertyNames: {
|
|
566
|
+
readonly pattern: "^[a-z][a-z0-9-]*(\\.[a-z0-9-]+)+$";
|
|
567
|
+
};
|
|
568
|
+
};
|
|
569
|
+
readonly Entry: {
|
|
570
|
+
readonly description: "An entry as its network's administrators see it.";
|
|
571
|
+
readonly type: "object";
|
|
572
|
+
readonly additionalProperties: false;
|
|
573
|
+
readonly required: readonly ["did", "kind", "profile", "state", "createdAt", "updatedAt", "listing", "history"];
|
|
574
|
+
readonly properties: {
|
|
575
|
+
readonly did: {
|
|
576
|
+
readonly $ref: "#/$defs/Did";
|
|
577
|
+
readonly description: "The listed party's DID.";
|
|
578
|
+
};
|
|
579
|
+
readonly kind: {
|
|
580
|
+
readonly $ref: "#/$defs/EntryKind";
|
|
581
|
+
};
|
|
582
|
+
readonly label: {
|
|
583
|
+
readonly $ref: "#/$defs/Label";
|
|
584
|
+
};
|
|
585
|
+
readonly profile: {
|
|
586
|
+
readonly $ref: "#/$defs/EntryProfile";
|
|
587
|
+
};
|
|
588
|
+
readonly state: {
|
|
589
|
+
readonly $ref: "#/$defs/EntryState";
|
|
590
|
+
};
|
|
591
|
+
readonly createdAt: {
|
|
592
|
+
readonly type: "string";
|
|
593
|
+
readonly format: "date-time";
|
|
594
|
+
readonly description: "When the party was first listed.";
|
|
595
|
+
};
|
|
596
|
+
readonly updatedAt: {
|
|
597
|
+
readonly type: "string";
|
|
598
|
+
readonly format: "date-time";
|
|
599
|
+
readonly description: "When the entry last changed.";
|
|
600
|
+
};
|
|
601
|
+
readonly listing: {
|
|
602
|
+
readonly $ref: "#/$defs/Issued";
|
|
603
|
+
readonly description: "The listing credential (`lists/1`).";
|
|
604
|
+
};
|
|
605
|
+
readonly offer: {
|
|
606
|
+
readonly $ref: "#/$defs/Issued";
|
|
607
|
+
readonly description: "The unsigned membership grant offered to the party, before it acknowledged.";
|
|
608
|
+
};
|
|
609
|
+
readonly grant: {
|
|
610
|
+
readonly $ref: "#/$defs/Issued";
|
|
611
|
+
readonly description: "The signed membership grant (VMC), once the party acknowledged.";
|
|
612
|
+
};
|
|
613
|
+
readonly ack: {
|
|
614
|
+
readonly $ref: "#/$defs/Credential";
|
|
615
|
+
readonly description: "The party's acknowledgement (VMC carrying the grant's digest).";
|
|
616
|
+
};
|
|
617
|
+
readonly repudiation: {
|
|
618
|
+
readonly $ref: "#/$defs/Credential";
|
|
619
|
+
readonly description: "The party's repudiation (`repudiates/1`) of the listing or the grant.";
|
|
620
|
+
};
|
|
621
|
+
readonly history: {
|
|
622
|
+
readonly type: "array";
|
|
623
|
+
readonly items: {
|
|
624
|
+
readonly $ref: "#/$defs/StateChange";
|
|
625
|
+
};
|
|
626
|
+
readonly description: "Every transition, oldest first.";
|
|
627
|
+
};
|
|
628
|
+
};
|
|
629
|
+
};
|
|
630
|
+
readonly StateChange: {
|
|
631
|
+
readonly description: "One transition in an entry's lifecycle.";
|
|
632
|
+
readonly type: "object";
|
|
633
|
+
readonly additionalProperties: false;
|
|
634
|
+
readonly required: readonly ["changedAt", "to"];
|
|
635
|
+
readonly properties: {
|
|
636
|
+
readonly changedAt: {
|
|
637
|
+
readonly type: "string";
|
|
638
|
+
readonly format: "date-time";
|
|
639
|
+
readonly description: "When the state changed.";
|
|
640
|
+
};
|
|
641
|
+
readonly from: {
|
|
642
|
+
readonly $ref: "#/$defs/EntryState";
|
|
643
|
+
readonly description: "The state before; absent for the first listing.";
|
|
644
|
+
};
|
|
645
|
+
readonly to: {
|
|
646
|
+
readonly $ref: "#/$defs/EntryState";
|
|
647
|
+
};
|
|
648
|
+
readonly reason: {
|
|
649
|
+
readonly $ref: "#/$defs/Reason";
|
|
650
|
+
};
|
|
651
|
+
};
|
|
652
|
+
};
|
|
653
|
+
readonly Reason: {
|
|
654
|
+
readonly type: "string";
|
|
655
|
+
readonly maxLength: 1000;
|
|
656
|
+
readonly description: "The reason given, if any.";
|
|
657
|
+
};
|
|
658
|
+
readonly EntryState: {
|
|
659
|
+
readonly type: "string";
|
|
660
|
+
readonly enum: readonly ["listed", "acknowledged", "repudiated", "suspended", "removed", "departed"];
|
|
661
|
+
readonly description: "`listed`: the network lists the party and the party has not answered; this is never membership (VTI-VTN-013). `acknowledged`: the party acknowledged the network's grant; it is a member. `repudiated`: the party rejected the listing. `suspended`: the network suspended the membership; reversible. `removed`: the network ended the entry. `departed`: the party left, by repudiating the grant.";
|
|
662
|
+
};
|
|
663
|
+
readonly Credential: {
|
|
664
|
+
readonly type: "object";
|
|
665
|
+
readonly description: "A DTG credential (W3C VC 2.0, JSON) exactly as signed. Verified by the party relying on it, never by its shape here: it is an open object so a binding cannot narrow away a member the proof covers.";
|
|
666
|
+
};
|
|
667
|
+
readonly Issued: {
|
|
668
|
+
readonly description: "A credential the network issued, with where its status is kept.";
|
|
669
|
+
readonly type: "object";
|
|
670
|
+
readonly additionalProperties: false;
|
|
671
|
+
readonly required: readonly ["credential", "statusIndex"];
|
|
672
|
+
readonly properties: {
|
|
673
|
+
readonly credential: {
|
|
674
|
+
readonly $ref: "#/$defs/Credential";
|
|
675
|
+
readonly description: "The credential as issued.";
|
|
676
|
+
};
|
|
677
|
+
readonly statusIndex: {
|
|
678
|
+
readonly type: "integer";
|
|
679
|
+
readonly minimum: 0;
|
|
680
|
+
readonly description: "The credential's index in the network's status lists.";
|
|
681
|
+
};
|
|
682
|
+
};
|
|
683
|
+
};
|
|
684
|
+
readonly EntryProfile: {
|
|
685
|
+
readonly description: "What the directory shows about an entry, set by the network's administrators.";
|
|
686
|
+
readonly type: "object";
|
|
687
|
+
readonly additionalProperties: false;
|
|
688
|
+
readonly required: readonly [];
|
|
689
|
+
readonly properties: {
|
|
690
|
+
readonly description: {
|
|
691
|
+
readonly $ref: "#/$defs/Description";
|
|
692
|
+
};
|
|
693
|
+
readonly url: {
|
|
694
|
+
readonly $ref: "#/$defs/Url";
|
|
695
|
+
};
|
|
696
|
+
readonly tags: {
|
|
697
|
+
readonly $ref: "#/$defs/Tags";
|
|
698
|
+
};
|
|
699
|
+
};
|
|
700
|
+
};
|
|
701
|
+
readonly Tags: {
|
|
702
|
+
readonly type: "array";
|
|
703
|
+
readonly items: {
|
|
704
|
+
readonly type: "string";
|
|
705
|
+
readonly minLength: 1;
|
|
706
|
+
readonly maxLength: 64;
|
|
707
|
+
};
|
|
708
|
+
readonly description: "Free-text tags the directory searches.";
|
|
709
|
+
readonly maxItems: 32;
|
|
710
|
+
};
|
|
711
|
+
readonly Url: {
|
|
712
|
+
readonly type: "string";
|
|
713
|
+
readonly format: "uri";
|
|
714
|
+
readonly maxLength: 2048;
|
|
715
|
+
readonly description: "The party's public address.";
|
|
716
|
+
};
|
|
717
|
+
readonly Description: {
|
|
718
|
+
readonly type: "string";
|
|
719
|
+
readonly maxLength: 2000;
|
|
720
|
+
readonly description: "What the listed party is, for the directory.";
|
|
721
|
+
};
|
|
722
|
+
readonly Label: {
|
|
723
|
+
readonly type: "string";
|
|
724
|
+
readonly maxLength: 200;
|
|
725
|
+
readonly description: "The name the directory shows.";
|
|
726
|
+
};
|
|
727
|
+
readonly EntryKind: {
|
|
728
|
+
readonly type: "string";
|
|
729
|
+
readonly enum: readonly ["community", "network"];
|
|
730
|
+
readonly description: "What the entry lists (VTI-VTN-031): a community, whose entries are its members, or a network, whose entries are further listings. A listing credential carries the same fact as `nodeType` `VTC` or `VTN`.";
|
|
731
|
+
};
|
|
732
|
+
readonly Did: {
|
|
733
|
+
readonly type: "string";
|
|
734
|
+
readonly pattern: "^did:[a-z0-9]+:.+$";
|
|
735
|
+
readonly maxLength: 2048;
|
|
736
|
+
readonly description: "A DID.";
|
|
737
|
+
};
|
|
738
|
+
};
|
|
739
|
+
};
|
|
740
|
+
};
|
|
741
|
+
/**
|
|
742
|
+
* SPEC.md §7.2 policy for the success-response variant. `isRecipientRequired`
|
|
743
|
+
* tracks the *issuer* party's requirement because a response swaps the
|
|
744
|
+
* parties (§7.3 item 5).
|
|
745
|
+
*/
|
|
746
|
+
export declare const RESPONSE_SPEC: {
|
|
747
|
+
readonly typeUri: "https://trusttasks.org/spec/vtn/listings/create/0.1#response";
|
|
748
|
+
readonly isBearer: false;
|
|
749
|
+
readonly isProofRequired: true;
|
|
750
|
+
readonly isRecipientRequired: true;
|
|
751
|
+
readonly isIssuedAtRequired: true;
|
|
752
|
+
readonly payloadSchema: {
|
|
753
|
+
readonly $schema: "https://json-schema.org/draft/2020-12/schema";
|
|
754
|
+
readonly $ref: "#/$defs/Response";
|
|
755
|
+
readonly $defs: {
|
|
756
|
+
readonly Response: {
|
|
757
|
+
readonly $anchor: "response";
|
|
758
|
+
readonly title: "VTN Listings — Create — response payload";
|
|
759
|
+
readonly description: "The new entry as the network's administrators see it: state `listed`, with the signed listing credential and the unsigned membership offer.";
|
|
760
|
+
readonly type: "object";
|
|
761
|
+
readonly additionalProperties: false;
|
|
762
|
+
readonly required: readonly ["entry"];
|
|
763
|
+
readonly properties: {
|
|
764
|
+
readonly entry: {
|
|
765
|
+
readonly $ref: "#/$defs/Entry";
|
|
766
|
+
};
|
|
767
|
+
readonly ext: {
|
|
768
|
+
readonly $ref: "#/$defs/Ext";
|
|
769
|
+
};
|
|
770
|
+
};
|
|
771
|
+
};
|
|
772
|
+
readonly Ext: {
|
|
773
|
+
readonly title: "Ext";
|
|
774
|
+
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.";
|
|
775
|
+
readonly type: "object";
|
|
776
|
+
readonly minProperties: 1;
|
|
777
|
+
readonly additionalProperties: true;
|
|
778
|
+
readonly propertyNames: {
|
|
779
|
+
readonly pattern: "^[a-z][a-z0-9-]*(\\.[a-z0-9-]+)+$";
|
|
780
|
+
};
|
|
781
|
+
};
|
|
782
|
+
readonly Entry: {
|
|
783
|
+
readonly description: "An entry as its network's administrators see it.";
|
|
784
|
+
readonly type: "object";
|
|
785
|
+
readonly additionalProperties: false;
|
|
786
|
+
readonly required: readonly ["did", "kind", "profile", "state", "createdAt", "updatedAt", "listing", "history"];
|
|
787
|
+
readonly properties: {
|
|
788
|
+
readonly did: {
|
|
789
|
+
readonly $ref: "#/$defs/Did";
|
|
790
|
+
readonly description: "The listed party's DID.";
|
|
791
|
+
};
|
|
792
|
+
readonly kind: {
|
|
793
|
+
readonly $ref: "#/$defs/EntryKind";
|
|
794
|
+
};
|
|
795
|
+
readonly label: {
|
|
796
|
+
readonly $ref: "#/$defs/Label";
|
|
797
|
+
};
|
|
798
|
+
readonly profile: {
|
|
799
|
+
readonly $ref: "#/$defs/EntryProfile";
|
|
800
|
+
};
|
|
801
|
+
readonly state: {
|
|
802
|
+
readonly $ref: "#/$defs/EntryState";
|
|
803
|
+
};
|
|
804
|
+
readonly createdAt: {
|
|
805
|
+
readonly type: "string";
|
|
806
|
+
readonly format: "date-time";
|
|
807
|
+
readonly description: "When the party was first listed.";
|
|
808
|
+
};
|
|
809
|
+
readonly updatedAt: {
|
|
810
|
+
readonly type: "string";
|
|
811
|
+
readonly format: "date-time";
|
|
812
|
+
readonly description: "When the entry last changed.";
|
|
813
|
+
};
|
|
814
|
+
readonly listing: {
|
|
815
|
+
readonly $ref: "#/$defs/Issued";
|
|
816
|
+
readonly description: "The listing credential (`lists/1`).";
|
|
817
|
+
};
|
|
818
|
+
readonly offer: {
|
|
819
|
+
readonly $ref: "#/$defs/Issued";
|
|
820
|
+
readonly description: "The unsigned membership grant offered to the party, before it acknowledged.";
|
|
821
|
+
};
|
|
822
|
+
readonly grant: {
|
|
823
|
+
readonly $ref: "#/$defs/Issued";
|
|
824
|
+
readonly description: "The signed membership grant (VMC), once the party acknowledged.";
|
|
825
|
+
};
|
|
826
|
+
readonly ack: {
|
|
827
|
+
readonly $ref: "#/$defs/Credential";
|
|
828
|
+
readonly description: "The party's acknowledgement (VMC carrying the grant's digest).";
|
|
829
|
+
};
|
|
830
|
+
readonly repudiation: {
|
|
831
|
+
readonly $ref: "#/$defs/Credential";
|
|
832
|
+
readonly description: "The party's repudiation (`repudiates/1`) of the listing or the grant.";
|
|
833
|
+
};
|
|
834
|
+
readonly history: {
|
|
835
|
+
readonly type: "array";
|
|
836
|
+
readonly items: {
|
|
837
|
+
readonly $ref: "#/$defs/StateChange";
|
|
838
|
+
};
|
|
839
|
+
readonly description: "Every transition, oldest first.";
|
|
840
|
+
};
|
|
841
|
+
};
|
|
842
|
+
};
|
|
843
|
+
readonly StateChange: {
|
|
844
|
+
readonly description: "One transition in an entry's lifecycle.";
|
|
845
|
+
readonly type: "object";
|
|
846
|
+
readonly additionalProperties: false;
|
|
847
|
+
readonly required: readonly ["changedAt", "to"];
|
|
848
|
+
readonly properties: {
|
|
849
|
+
readonly changedAt: {
|
|
850
|
+
readonly type: "string";
|
|
851
|
+
readonly format: "date-time";
|
|
852
|
+
readonly description: "When the state changed.";
|
|
853
|
+
};
|
|
854
|
+
readonly from: {
|
|
855
|
+
readonly $ref: "#/$defs/EntryState";
|
|
856
|
+
readonly description: "The state before; absent for the first listing.";
|
|
857
|
+
};
|
|
858
|
+
readonly to: {
|
|
859
|
+
readonly $ref: "#/$defs/EntryState";
|
|
860
|
+
};
|
|
861
|
+
readonly reason: {
|
|
862
|
+
readonly $ref: "#/$defs/Reason";
|
|
863
|
+
};
|
|
864
|
+
};
|
|
865
|
+
};
|
|
866
|
+
readonly Reason: {
|
|
867
|
+
readonly type: "string";
|
|
868
|
+
readonly maxLength: 1000;
|
|
869
|
+
readonly description: "The reason given, if any.";
|
|
870
|
+
};
|
|
871
|
+
readonly EntryState: {
|
|
872
|
+
readonly type: "string";
|
|
873
|
+
readonly enum: readonly ["listed", "acknowledged", "repudiated", "suspended", "removed", "departed"];
|
|
874
|
+
readonly description: "`listed`: the network lists the party and the party has not answered; this is never membership (VTI-VTN-013). `acknowledged`: the party acknowledged the network's grant; it is a member. `repudiated`: the party rejected the listing. `suspended`: the network suspended the membership; reversible. `removed`: the network ended the entry. `departed`: the party left, by repudiating the grant.";
|
|
875
|
+
};
|
|
876
|
+
readonly Credential: {
|
|
877
|
+
readonly type: "object";
|
|
878
|
+
readonly description: "A DTG credential (W3C VC 2.0, JSON) exactly as signed. Verified by the party relying on it, never by its shape here: it is an open object so a binding cannot narrow away a member the proof covers.";
|
|
879
|
+
};
|
|
880
|
+
readonly Issued: {
|
|
881
|
+
readonly description: "A credential the network issued, with where its status is kept.";
|
|
882
|
+
readonly type: "object";
|
|
883
|
+
readonly additionalProperties: false;
|
|
884
|
+
readonly required: readonly ["credential", "statusIndex"];
|
|
885
|
+
readonly properties: {
|
|
886
|
+
readonly credential: {
|
|
887
|
+
readonly $ref: "#/$defs/Credential";
|
|
888
|
+
readonly description: "The credential as issued.";
|
|
889
|
+
};
|
|
890
|
+
readonly statusIndex: {
|
|
891
|
+
readonly type: "integer";
|
|
892
|
+
readonly minimum: 0;
|
|
893
|
+
readonly description: "The credential's index in the network's status lists.";
|
|
894
|
+
};
|
|
895
|
+
};
|
|
896
|
+
};
|
|
897
|
+
readonly EntryProfile: {
|
|
898
|
+
readonly description: "What the directory shows about an entry, set by the network's administrators.";
|
|
899
|
+
readonly type: "object";
|
|
900
|
+
readonly additionalProperties: false;
|
|
901
|
+
readonly required: readonly [];
|
|
902
|
+
readonly properties: {
|
|
903
|
+
readonly description: {
|
|
904
|
+
readonly $ref: "#/$defs/Description";
|
|
905
|
+
};
|
|
906
|
+
readonly url: {
|
|
907
|
+
readonly $ref: "#/$defs/Url";
|
|
908
|
+
};
|
|
909
|
+
readonly tags: {
|
|
910
|
+
readonly $ref: "#/$defs/Tags";
|
|
911
|
+
};
|
|
912
|
+
};
|
|
913
|
+
};
|
|
914
|
+
readonly Tags: {
|
|
915
|
+
readonly type: "array";
|
|
916
|
+
readonly items: {
|
|
917
|
+
readonly type: "string";
|
|
918
|
+
readonly minLength: 1;
|
|
919
|
+
readonly maxLength: 64;
|
|
920
|
+
};
|
|
921
|
+
readonly description: "Free-text tags the directory searches.";
|
|
922
|
+
readonly maxItems: 32;
|
|
923
|
+
};
|
|
924
|
+
readonly Url: {
|
|
925
|
+
readonly type: "string";
|
|
926
|
+
readonly format: "uri";
|
|
927
|
+
readonly maxLength: 2048;
|
|
928
|
+
readonly description: "The party's public address.";
|
|
929
|
+
};
|
|
930
|
+
readonly Description: {
|
|
931
|
+
readonly type: "string";
|
|
932
|
+
readonly maxLength: 2000;
|
|
933
|
+
readonly description: "What the listed party is, for the directory.";
|
|
934
|
+
};
|
|
935
|
+
readonly Label: {
|
|
936
|
+
readonly type: "string";
|
|
937
|
+
readonly maxLength: 200;
|
|
938
|
+
readonly description: "The name the directory shows.";
|
|
939
|
+
};
|
|
940
|
+
readonly EntryKind: {
|
|
941
|
+
readonly type: "string";
|
|
942
|
+
readonly enum: readonly ["community", "network"];
|
|
943
|
+
readonly description: "What the entry lists (VTI-VTN-031): a community, whose entries are its members, or a network, whose entries are further listings. A listing credential carries the same fact as `nodeType` `VTC` or `VTN`.";
|
|
944
|
+
};
|
|
945
|
+
readonly Did: {
|
|
946
|
+
readonly type: "string";
|
|
947
|
+
readonly pattern: "^did:[a-z0-9]+:.+$";
|
|
948
|
+
readonly maxLength: 2048;
|
|
949
|
+
readonly description: "A DID.";
|
|
950
|
+
};
|
|
951
|
+
};
|
|
952
|
+
};
|
|
953
|
+
};
|
|
954
|
+
//# sourceMappingURL=payload.d.ts.map
|