@openvtc/trust-tasks 0.27.3 → 0.27.5
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/_shared/components.d.ts +1695 -288
- package/dist/_shared/components.d.ts.map +1 -1
- package/dist/acl/list/0.3/payload.d.ts +1833 -0
- package/dist/acl/list/0.3/payload.d.ts.map +1 -0
- package/dist/acl/list/0.3/payload.js +1031 -0
- package/dist/acl/list/0.3/payload.js.map +1 -0
- package/dist/audit/list/0.2/payload.d.ts +633 -0
- package/dist/audit/list/0.2/payload.d.ts.map +1 -0
- package/dist/audit/list/0.2/payload.js +342 -0
- package/dist/audit/list/0.2/payload.js.map +1 -0
- package/dist/auth/oob/claim/0.2/payload.d.ts +463 -0
- package/dist/auth/oob/claim/0.2/payload.d.ts.map +1 -0
- package/dist/auth/oob/claim/0.2/payload.js +264 -0
- package/dist/auth/oob/claim/0.2/payload.js.map +1 -0
- package/dist/auth/oob/grant/0.3/payload.d.ts +262 -0
- package/dist/auth/oob/grant/0.3/payload.d.ts.map +1 -0
- package/dist/auth/oob/grant/0.3/payload.js +140 -0
- package/dist/auth/oob/grant/0.3/payload.js.map +1 -0
- package/dist/auth/oob/prove/0.3/payload.d.ts +836 -0
- package/dist/auth/oob/prove/0.3/payload.d.ts.map +1 -0
- package/dist/auth/oob/prove/0.3/payload.js +468 -0
- package/dist/auth/oob/prove/0.3/payload.js.map +1 -0
- package/dist/auth/oob/redeem/0.2/payload.d.ts +364 -0
- package/dist/auth/oob/redeem/0.2/payload.d.ts.map +1 -0
- package/dist/auth/oob/redeem/0.2/payload.js +199 -0
- package/dist/auth/oob/redeem/0.2/payload.js.map +1 -0
- package/dist/auth/oob/request/0.2/payload.d.ts +330 -0
- package/dist/auth/oob/request/0.2/payload.d.ts.map +1 -0
- package/dist/auth/oob/request/0.2/payload.js +193 -0
- package/dist/auth/oob/request/0.2/payload.js.map +1 -0
- package/dist/auth/oob/respond/0.3/payload.d.ts +235 -0
- package/dist/auth/oob/respond/0.3/payload.d.ts.map +1 -0
- package/dist/auth/oob/respond/0.3/payload.js +140 -0
- package/dist/auth/oob/respond/0.3/payload.js.map +1 -0
- package/dist/auth/passkey/enroll/invite/0.3/payload.d.ts +456 -0
- package/dist/auth/passkey/enroll/invite/0.3/payload.d.ts.map +1 -0
- package/dist/auth/passkey/enroll/invite/0.3/payload.js +248 -0
- package/dist/auth/passkey/enroll/invite/0.3/payload.js.map +1 -0
- package/dist/auth/step-up/approve-request/0.5/payload.d.ts +672 -0
- package/dist/auth/step-up/approve-request/0.5/payload.d.ts.map +1 -0
- package/dist/auth/step-up/approve-request/0.5/payload.js +373 -0
- package/dist/auth/step-up/approve-request/0.5/payload.js.map +1 -0
- package/dist/auth/step-up/approver/invite/0.2/payload.d.ts +375 -0
- package/dist/auth/step-up/approver/invite/0.2/payload.d.ts.map +1 -0
- package/dist/auth/step-up/approver/invite/0.2/payload.js +200 -0
- package/dist/auth/step-up/approver/invite/0.2/payload.js.map +1 -0
- package/dist/consent/list/1.1/payload.d.ts +613 -0
- package/dist/consent/list/1.1/payload.d.ts.map +1 -0
- package/dist/consent/list/1.1/payload.js +353 -0
- package/dist/consent/list/1.1/payload.js.map +1 -0
- package/dist/device/heartbeat/0.3/payload.d.ts +372 -0
- package/dist/device/heartbeat/0.3/payload.d.ts.map +1 -0
- package/dist/device/heartbeat/0.3/payload.js +212 -0
- package/dist/device/heartbeat/0.3/payload.js.map +1 -0
- package/dist/device/list/0.3/payload.d.ts +1229 -0
- package/dist/device/list/0.3/payload.d.ts.map +1 -0
- package/dist/device/list/0.3/payload.js +796 -0
- package/dist/device/list/0.3/payload.js.map +1 -0
- package/dist/did-management/_shared/0.2/service-instance.d.ts +1 -1
- package/dist/did-management/_shared/0.2/service-instance.d.ts.map +1 -1
- package/dist/did-management/_shared/0.3/registered-instance.d.ts +16 -0
- package/dist/did-management/_shared/0.3/registered-instance.d.ts.map +1 -0
- package/dist/did-management/_shared/0.3/registered-instance.js +6 -0
- package/dist/did-management/_shared/0.3/registered-instance.js.map +1 -0
- package/dist/did-management/_shared/0.3/service-instance.d.ts +16 -0
- package/dist/did-management/_shared/0.3/service-instance.d.ts.map +1 -0
- package/dist/did-management/_shared/0.3/service-instance.js +6 -0
- package/dist/did-management/_shared/0.3/service-instance.js.map +1 -0
- package/dist/did-management/did/list/0.2/payload.d.ts +521 -0
- package/dist/did-management/did/list/0.2/payload.d.ts.map +1 -0
- package/dist/did-management/did/list/0.2/payload.js +285 -0
- package/dist/did-management/did/list/0.2/payload.js.map +1 -0
- package/dist/did-management/registry/admin-register/0.2/payload.d.ts +405 -0
- package/dist/did-management/registry/admin-register/0.2/payload.d.ts.map +1 -0
- package/dist/did-management/registry/admin-register/0.2/payload.js +231 -0
- package/dist/did-management/registry/admin-register/0.2/payload.js.map +1 -0
- package/dist/did-management/registry/check/0.1/payload.d.ts +1 -1
- package/dist/did-management/registry/check/0.1/payload.d.ts.map +1 -1
- package/dist/did-management/registry/check/0.2/payload.d.ts +639 -0
- package/dist/did-management/registry/check/0.2/payload.d.ts.map +1 -0
- package/dist/did-management/registry/check/0.2/payload.js +383 -0
- package/dist/did-management/registry/check/0.2/payload.js.map +1 -0
- package/dist/did-management/registry/get/0.1/payload.d.ts +1 -1
- package/dist/did-management/registry/get/0.1/payload.d.ts.map +1 -1
- package/dist/did-management/registry/get/0.2/payload.d.ts +632 -0
- package/dist/did-management/registry/get/0.2/payload.d.ts.map +1 -0
- package/dist/did-management/registry/get/0.2/payload.js +381 -0
- package/dist/did-management/registry/get/0.2/payload.js.map +1 -0
- package/dist/did-management/registry/list/0.1/payload.d.ts +1 -1
- package/dist/did-management/registry/list/0.1/payload.d.ts.map +1 -1
- package/dist/did-management/registry/list/0.2/payload.d.ts +661 -0
- package/dist/did-management/registry/list/0.2/payload.d.ts.map +1 -0
- package/dist/did-management/registry/list/0.2/payload.js +398 -0
- package/dist/did-management/registry/list/0.2/payload.js.map +1 -0
- package/dist/did-management/server/register/0.2/payload.d.ts +313 -0
- package/dist/did-management/server/register/0.2/payload.d.ts.map +1 -0
- package/dist/did-management/server/register/0.2/payload.js +179 -0
- package/dist/did-management/server/register/0.2/payload.js.map +1 -0
- package/dist/did-management/stats/timeseries/0.2/payload.d.ts +381 -0
- package/dist/did-management/stats/timeseries/0.2/payload.d.ts.map +1 -0
- package/dist/did-management/stats/timeseries/0.2/payload.js +227 -0
- package/dist/did-management/stats/timeseries/0.2/payload.js.map +1 -0
- package/dist/external/_shared/0.1/accounts.d.ts +1 -1
- package/dist/external/_shared/0.1/accounts.d.ts.map +1 -1
- package/dist/external/_shared/0.2/accounts.d.ts +18 -0
- package/dist/external/_shared/0.2/accounts.d.ts.map +1 -0
- package/dist/external/_shared/0.2/accounts.js +6 -0
- package/dist/external/_shared/0.2/accounts.js.map +1 -0
- package/dist/external/accounts/archive/0.1/payload.d.ts +1 -1
- package/dist/external/accounts/archive/0.1/payload.d.ts.map +1 -1
- package/dist/external/accounts/archive/0.2/payload.d.ts +2945 -0
- package/dist/external/accounts/archive/0.2/payload.d.ts.map +1 -0
- package/dist/external/accounts/archive/0.2/payload.js +1736 -0
- package/dist/external/accounts/archive/0.2/payload.js.map +1 -0
- package/dist/external/accounts/bindings/grant/0.1/payload.d.ts +1 -1
- package/dist/external/accounts/bindings/grant/0.1/payload.d.ts.map +1 -1
- package/dist/external/accounts/bindings/grant/0.2/payload.d.ts +2938 -0
- package/dist/external/accounts/bindings/grant/0.2/payload.d.ts.map +1 -0
- package/dist/external/accounts/bindings/grant/0.2/payload.js +1735 -0
- package/dist/external/accounts/bindings/grant/0.2/payload.js.map +1 -0
- package/dist/external/accounts/bindings/revoke/0.1/payload.d.ts +1 -1
- package/dist/external/accounts/bindings/revoke/0.1/payload.d.ts.map +1 -1
- package/dist/external/accounts/bindings/revoke/0.2/payload.d.ts +2958 -0
- package/dist/external/accounts/bindings/revoke/0.2/payload.d.ts.map +1 -0
- package/dist/external/accounts/bindings/revoke/0.2/payload.js +1743 -0
- package/dist/external/accounts/bindings/revoke/0.2/payload.js.map +1 -0
- package/dist/external/accounts/create/0.1/payload.d.ts +1 -1
- package/dist/external/accounts/create/0.1/payload.d.ts.map +1 -1
- package/dist/external/accounts/create/0.2/payload.d.ts +2954 -0
- package/dist/external/accounts/create/0.2/payload.d.ts.map +1 -0
- package/dist/external/accounts/create/0.2/payload.js +1742 -0
- package/dist/external/accounts/create/0.2/payload.js.map +1 -0
- package/dist/external/accounts/get/0.1/payload.d.ts +1 -1
- package/dist/external/accounts/get/0.1/payload.d.ts.map +1 -1
- package/dist/external/accounts/get/0.2/payload.d.ts +2931 -0
- package/dist/external/accounts/get/0.2/payload.d.ts.map +1 -0
- package/dist/external/accounts/get/0.2/payload.js +1731 -0
- package/dist/external/accounts/get/0.2/payload.js.map +1 -0
- package/dist/external/accounts/keys/rotate/0.1/payload.d.ts +1 -1
- package/dist/external/accounts/keys/rotate/0.1/payload.d.ts.map +1 -1
- package/dist/external/accounts/keys/rotate/0.2/payload.d.ts +3216 -0
- package/dist/external/accounts/keys/rotate/0.2/payload.d.ts.map +1 -0
- package/dist/external/accounts/keys/rotate/0.2/payload.js +1912 -0
- package/dist/external/accounts/keys/rotate/0.2/payload.js.map +1 -0
- package/dist/external/accounts/list/0.1/payload.d.ts +1 -1
- package/dist/external/accounts/list/0.1/payload.d.ts.map +1 -1
- package/dist/external/accounts/list/0.2/payload.d.ts +3034 -0
- package/dist/external/accounts/list/0.2/payload.d.ts.map +1 -0
- package/dist/external/accounts/list/0.2/payload.js +1791 -0
- package/dist/external/accounts/list/0.2/payload.js.map +1 -0
- package/dist/external/accounts/probe/0.1/payload.d.ts +1 -1
- package/dist/external/accounts/probe/0.1/payload.d.ts.map +1 -1
- package/dist/external/accounts/probe/0.2/payload.d.ts +511 -0
- package/dist/external/accounts/probe/0.2/payload.d.ts.map +1 -0
- package/dist/external/accounts/probe/0.2/payload.js +307 -0
- package/dist/external/accounts/probe/0.2/payload.js.map +1 -0
- package/dist/external/accounts/restore/0.1/payload.d.ts +1 -1
- package/dist/external/accounts/restore/0.1/payload.d.ts.map +1 -1
- package/dist/external/accounts/restore/0.2/payload.d.ts +2945 -0
- package/dist/external/accounts/restore/0.2/payload.d.ts.map +1 -0
- package/dist/external/accounts/restore/0.2/payload.js +1736 -0
- package/dist/external/accounts/restore/0.2/payload.js.map +1 -0
- package/dist/external/accounts/resume/0.1/payload.d.ts +1 -1
- package/dist/external/accounts/resume/0.1/payload.d.ts.map +1 -1
- package/dist/external/accounts/resume/0.2/payload.d.ts +2945 -0
- package/dist/external/accounts/resume/0.2/payload.d.ts.map +1 -0
- package/dist/external/accounts/resume/0.2/payload.js +1736 -0
- package/dist/external/accounts/resume/0.2/payload.js.map +1 -0
- package/dist/external/accounts/suspend/0.1/payload.d.ts +1 -1
- package/dist/external/accounts/suspend/0.1/payload.d.ts.map +1 -1
- package/dist/external/accounts/suspend/0.2/payload.d.ts +2945 -0
- package/dist/external/accounts/suspend/0.2/payload.d.ts.map +1 -0
- package/dist/external/accounts/suspend/0.2/payload.js +1736 -0
- package/dist/external/accounts/suspend/0.2/payload.js.map +1 -0
- package/dist/external/accounts/update/0.1/payload.d.ts +1 -1
- package/dist/external/accounts/update/0.1/payload.d.ts.map +1 -1
- package/dist/external/accounts/update/0.2/payload.d.ts +2949 -0
- package/dist/external/accounts/update/0.2/payload.d.ts.map +1 -0
- package/dist/external/accounts/update/0.2/payload.js +1739 -0
- package/dist/external/accounts/update/0.2/payload.js.map +1 -0
- package/dist/git-ns/_shared/0.1/git-ns.d.ts +1 -1
- package/dist/git-ns/_shared/0.1/git-ns.d.ts.map +1 -1
- package/dist/git-ns/_shared/0.2/git-ns.d.ts +1 -1
- package/dist/git-ns/_shared/0.2/git-ns.d.ts.map +1 -1
- package/dist/git-ns/_shared/0.3/git-ns.d.ts +1 -1
- package/dist/git-ns/_shared/0.3/git-ns.d.ts.map +1 -1
- package/dist/git-ns/_shared/0.4/git-ns.d.ts +1 -1
- package/dist/git-ns/_shared/0.4/git-ns.d.ts.map +1 -1
- package/dist/git-ns/_shared/0.5/git-ns.d.ts +1 -1
- package/dist/git-ns/_shared/0.5/git-ns.d.ts.map +1 -1
- package/dist/git-ns/_shared/0.6/git-ns.d.ts +16 -0
- package/dist/git-ns/_shared/0.6/git-ns.d.ts.map +1 -0
- package/dist/git-ns/_shared/0.6/git-ns.js +6 -0
- package/dist/git-ns/_shared/0.6/git-ns.js.map +1 -0
- package/dist/git-ns/account/link/0.1/payload.d.ts +1 -1
- package/dist/git-ns/account/link/0.1/payload.d.ts.map +1 -1
- package/dist/git-ns/account/link-status/0.1/payload.d.ts +1 -1
- package/dist/git-ns/account/link-status/0.1/payload.d.ts.map +1 -1
- package/dist/git-ns/account/list/0.1/payload.d.ts +1 -1
- package/dist/git-ns/account/list/0.1/payload.d.ts.map +1 -1
- package/dist/git-ns/account/list/0.2/payload.d.ts +598 -0
- package/dist/git-ns/account/list/0.2/payload.d.ts.map +1 -0
- package/dist/git-ns/account/list/0.2/payload.js +311 -0
- package/dist/git-ns/account/list/0.2/payload.js.map +1 -0
- package/dist/git-ns/account/unlink/0.1/payload.d.ts +1 -1
- package/dist/git-ns/account/unlink/0.1/payload.d.ts.map +1 -1
- package/dist/git-ns/activity/list/0.1/payload.d.ts +1 -1
- package/dist/git-ns/activity/list/0.1/payload.d.ts.map +1 -1
- package/dist/git-ns/activity/list/0.2/payload.d.ts +663 -0
- package/dist/git-ns/activity/list/0.2/payload.d.ts.map +1 -0
- package/dist/git-ns/activity/list/0.2/payload.js +345 -0
- package/dist/git-ns/activity/list/0.2/payload.js.map +1 -0
- package/dist/git-ns/activity/list/0.3/payload.d.ts +663 -0
- package/dist/git-ns/activity/list/0.3/payload.d.ts.map +1 -0
- package/dist/git-ns/activity/list/0.3/payload.js +345 -0
- package/dist/git-ns/activity/list/0.3/payload.js.map +1 -0
- package/dist/git-ns/bridge/event/0.1/payload.d.ts +1 -1
- package/dist/git-ns/bridge/event/0.1/payload.d.ts.map +1 -1
- package/dist/git-ns/bridge/event/0.2/payload.d.ts +1 -1
- package/dist/git-ns/bridge/event/0.2/payload.d.ts.map +1 -1
- package/dist/git-ns/bridge/event/0.3/payload.d.ts +1 -1
- package/dist/git-ns/bridge/event/0.3/payload.d.ts.map +1 -1
- package/dist/git-ns/bridge/event/0.4/payload.d.ts +1 -1
- package/dist/git-ns/bridge/event/0.4/payload.d.ts.map +1 -1
- package/dist/git-ns/bridge/event/0.5/payload.d.ts +1898 -0
- package/dist/git-ns/bridge/event/0.5/payload.d.ts.map +1 -0
- package/dist/git-ns/bridge/event/0.5/payload.js +1085 -0
- package/dist/git-ns/bridge/event/0.5/payload.js.map +1 -0
- package/dist/git-ns/bridge/job/0.1/payload.d.ts +1 -1
- package/dist/git-ns/bridge/job/0.1/payload.d.ts.map +1 -1
- package/dist/git-ns/bridge/job/0.2/payload.d.ts +1 -1
- package/dist/git-ns/bridge/job/0.2/payload.d.ts.map +1 -1
- package/dist/git-ns/bridge/job/0.3/payload.d.ts +1 -1
- package/dist/git-ns/bridge/job/0.3/payload.d.ts.map +1 -1
- package/dist/git-ns/bridge/job/0.4/payload.d.ts +1 -1
- package/dist/git-ns/bridge/job/0.4/payload.d.ts.map +1 -1
- package/dist/git-ns/bridge/job/0.5/payload.d.ts +1 -1
- package/dist/git-ns/bridge/job/0.5/payload.d.ts.map +1 -1
- package/dist/git-ns/bridge/job/0.6/payload.d.ts +1106 -0
- package/dist/git-ns/bridge/job/0.6/payload.d.ts.map +1 -0
- package/dist/git-ns/bridge/job/0.6/payload.js +594 -0
- package/dist/git-ns/bridge/job/0.6/payload.js.map +1 -0
- package/dist/git-ns/bridge/job/list/0.1/payload.d.ts +1 -1
- package/dist/git-ns/bridge/job/list/0.1/payload.d.ts.map +1 -1
- package/dist/git-ns/bridge/job/list/0.2/payload.d.ts +1 -1
- package/dist/git-ns/bridge/job/list/0.2/payload.d.ts.map +1 -1
- package/dist/git-ns/bridge/job/list/0.3/payload.d.ts +733 -0
- package/dist/git-ns/bridge/job/list/0.3/payload.d.ts.map +1 -0
- package/dist/git-ns/bridge/job/list/0.3/payload.js +402 -0
- package/dist/git-ns/bridge/job/list/0.3/payload.js.map +1 -0
- package/dist/git-ns/bridge/job/list/0.4/payload.d.ts +733 -0
- package/dist/git-ns/bridge/job/list/0.4/payload.d.ts.map +1 -0
- package/dist/git-ns/bridge/job/list/0.4/payload.js +402 -0
- package/dist/git-ns/bridge/job/list/0.4/payload.js.map +1 -0
- package/dist/git-ns/bridge/result/0.1/payload.d.ts +1 -1
- package/dist/git-ns/bridge/result/0.1/payload.d.ts.map +1 -1
- package/dist/git-ns/bridge/result/0.2/payload.d.ts +462 -0
- package/dist/git-ns/bridge/result/0.2/payload.d.ts.map +1 -0
- package/dist/git-ns/bridge/result/0.2/payload.js +248 -0
- package/dist/git-ns/bridge/result/0.2/payload.js.map +1 -0
- package/dist/git-ns/drift/resolve/0.1/payload.d.ts +1 -1
- package/dist/git-ns/drift/resolve/0.1/payload.d.ts.map +1 -1
- package/dist/git-ns/drift/resolve/0.2/payload.d.ts +1 -1
- package/dist/git-ns/drift/resolve/0.2/payload.d.ts.map +1 -1
- package/dist/git-ns/drift/resolve/0.3/payload.d.ts +1 -1
- package/dist/git-ns/drift/resolve/0.3/payload.d.ts.map +1 -1
- package/dist/git-ns/drift/resolve/0.4/payload.d.ts +1244 -0
- package/dist/git-ns/drift/resolve/0.4/payload.d.ts.map +1 -0
- package/dist/git-ns/drift/resolve/0.4/payload.js +728 -0
- package/dist/git-ns/drift/resolve/0.4/payload.js.map +1 -0
- package/dist/git-ns/namespace/bind/0.1/payload.d.ts +1 -1
- package/dist/git-ns/namespace/bind/0.1/payload.d.ts.map +1 -1
- package/dist/git-ns/namespace/bind/0.2/payload.d.ts +547 -0
- package/dist/git-ns/namespace/bind/0.2/payload.d.ts.map +1 -0
- package/dist/git-ns/namespace/bind/0.2/payload.js +322 -0
- package/dist/git-ns/namespace/bind/0.2/payload.js.map +1 -0
- package/dist/git-ns/namespace/list/0.1/payload.d.ts +1 -1
- package/dist/git-ns/namespace/list/0.1/payload.d.ts.map +1 -1
- package/dist/git-ns/namespace/list/0.2/payload.d.ts +1343 -0
- package/dist/git-ns/namespace/list/0.2/payload.d.ts.map +1 -0
- package/dist/git-ns/namespace/list/0.2/payload.js +704 -0
- package/dist/git-ns/namespace/list/0.2/payload.js.map +1 -0
- package/dist/git-ns/namespace/reseat/0.1/payload.d.ts +1 -1
- package/dist/git-ns/namespace/reseat/0.1/payload.d.ts.map +1 -1
- package/dist/git-ns/namespace/reseat/0.2/payload.d.ts +1 -1
- package/dist/git-ns/namespace/reseat/0.2/payload.d.ts.map +1 -1
- package/dist/git-ns/namespace/reseat/0.3/payload.d.ts +1 -1
- package/dist/git-ns/namespace/reseat/0.3/payload.d.ts.map +1 -1
- package/dist/git-ns/namespace/reseat/0.4/payload.d.ts +687 -0
- package/dist/git-ns/namespace/reseat/0.4/payload.d.ts.map +1 -0
- package/dist/git-ns/namespace/reseat/0.4/payload.js +390 -0
- package/dist/git-ns/namespace/reseat/0.4/payload.js.map +1 -0
- package/dist/git-ns/projection/show/0.1/payload.d.ts +1 -1
- package/dist/git-ns/projection/show/0.1/payload.d.ts.map +1 -1
- package/dist/git-ns/projection/show/0.2/payload.d.ts +705 -0
- package/dist/git-ns/projection/show/0.2/payload.d.ts.map +1 -0
- package/dist/git-ns/projection/show/0.2/payload.js +371 -0
- package/dist/git-ns/projection/show/0.2/payload.js.map +1 -0
- package/dist/git-ns/projection/show/0.3/payload.d.ts +705 -0
- package/dist/git-ns/projection/show/0.3/payload.d.ts.map +1 -0
- package/dist/git-ns/projection/show/0.3/payload.js +371 -0
- package/dist/git-ns/projection/show/0.3/payload.js.map +1 -0
- package/dist/git-ns/repo/adopt/0.1/payload.d.ts +1 -1
- package/dist/git-ns/repo/adopt/0.1/payload.d.ts.map +1 -1
- package/dist/git-ns/repo/adopt/0.2/payload.d.ts +1 -1
- package/dist/git-ns/repo/adopt/0.2/payload.d.ts.map +1 -1
- package/dist/git-ns/repo/adopt/0.3/payload.d.ts +962 -0
- package/dist/git-ns/repo/adopt/0.3/payload.d.ts.map +1 -0
- package/dist/git-ns/repo/adopt/0.3/payload.js +583 -0
- package/dist/git-ns/repo/adopt/0.3/payload.js.map +1 -0
- package/dist/git-ns/repo/archive/0.1/payload.d.ts +1 -1
- package/dist/git-ns/repo/archive/0.1/payload.d.ts.map +1 -1
- package/dist/git-ns/repo/archive/0.2/payload.d.ts +1 -1
- package/dist/git-ns/repo/archive/0.2/payload.d.ts.map +1 -1
- package/dist/git-ns/repo/archive/0.3/payload.d.ts +959 -0
- package/dist/git-ns/repo/archive/0.3/payload.d.ts.map +1 -0
- package/dist/git-ns/repo/archive/0.3/payload.js +584 -0
- package/dist/git-ns/repo/archive/0.3/payload.js.map +1 -0
- package/dist/git-ns/repo/create/0.1/payload.d.ts +1 -1
- package/dist/git-ns/repo/create/0.1/payload.d.ts.map +1 -1
- package/dist/git-ns/repo/create/0.2/payload.d.ts +1 -1
- package/dist/git-ns/repo/create/0.2/payload.d.ts.map +1 -1
- package/dist/git-ns/repo/create/0.3/payload.d.ts +1 -1
- package/dist/git-ns/repo/create/0.3/payload.d.ts.map +1 -1
- package/dist/git-ns/repo/create/0.4/payload.d.ts +1101 -0
- package/dist/git-ns/repo/create/0.4/payload.d.ts.map +1 -0
- package/dist/git-ns/repo/create/0.4/payload.js +646 -0
- package/dist/git-ns/repo/create/0.4/payload.js.map +1 -0
- package/dist/git-ns/repo/list/0.1/payload.d.ts +1 -1
- package/dist/git-ns/repo/list/0.1/payload.d.ts.map +1 -1
- package/dist/git-ns/repo/list/0.2/payload.d.ts +1377 -0
- package/dist/git-ns/repo/list/0.2/payload.d.ts.map +1 -0
- package/dist/git-ns/repo/list/0.2/payload.js +744 -0
- package/dist/git-ns/repo/list/0.2/payload.js.map +1 -0
- package/dist/git-ns/repo/transfer/0.1/payload.d.ts +1 -1
- package/dist/git-ns/repo/transfer/0.1/payload.d.ts.map +1 -1
- package/dist/git-ns/repo/transfer/0.2/payload.d.ts +1 -1
- package/dist/git-ns/repo/transfer/0.2/payload.d.ts.map +1 -1
- package/dist/git-ns/repo/transfer/0.3/payload.d.ts +947 -0
- package/dist/git-ns/repo/transfer/0.3/payload.d.ts.map +1 -0
- package/dist/git-ns/repo/transfer/0.3/payload.js +577 -0
- package/dist/git-ns/repo/transfer/0.3/payload.js.map +1 -0
- package/dist/git-ns/right/break-glass/0.1/payload.d.ts +1 -1
- package/dist/git-ns/right/break-glass/0.1/payload.d.ts.map +1 -1
- package/dist/git-ns/right/break-glass/0.2/payload.d.ts +685 -0
- package/dist/git-ns/right/break-glass/0.2/payload.d.ts.map +1 -0
- package/dist/git-ns/right/break-glass/0.2/payload.js +397 -0
- package/dist/git-ns/right/break-glass/0.2/payload.js.map +1 -0
- package/dist/git-ns/right/break-glass-notice/0.1/payload.d.ts +1 -1
- package/dist/git-ns/right/break-glass-notice/0.1/payload.d.ts.map +1 -1
- package/dist/git-ns/right/break-glass-notice/0.2/payload.d.ts +384 -0
- package/dist/git-ns/right/break-glass-notice/0.2/payload.d.ts.map +1 -0
- package/dist/git-ns/right/break-glass-notice/0.2/payload.js +216 -0
- package/dist/git-ns/right/break-glass-notice/0.2/payload.js.map +1 -0
- package/dist/git-ns/right/grant/0.1/payload.d.ts +1 -1
- package/dist/git-ns/right/grant/0.1/payload.d.ts.map +1 -1
- package/dist/git-ns/right/grant/0.2/payload.d.ts +1 -1
- package/dist/git-ns/right/grant/0.2/payload.d.ts.map +1 -1
- package/dist/git-ns/right/grant/0.3/payload.d.ts +1 -1
- package/dist/git-ns/right/grant/0.3/payload.d.ts.map +1 -1
- package/dist/git-ns/right/grant/0.4/payload.d.ts +678 -0
- package/dist/git-ns/right/grant/0.4/payload.d.ts.map +1 -0
- package/dist/git-ns/right/grant/0.4/payload.js +383 -0
- package/dist/git-ns/right/grant/0.4/payload.js.map +1 -0
- package/dist/git-ns/right/issued-by-departed/0.1/payload.d.ts +1 -1
- package/dist/git-ns/right/issued-by-departed/0.1/payload.d.ts.map +1 -1
- package/dist/git-ns/right/issued-by-departed/0.2/payload.d.ts +862 -0
- package/dist/git-ns/right/issued-by-departed/0.2/payload.d.ts.map +1 -0
- package/dist/git-ns/right/issued-by-departed/0.2/payload.js +481 -0
- package/dist/git-ns/right/issued-by-departed/0.2/payload.js.map +1 -0
- package/dist/git-ns/right/issued-by-departed/0.3/payload.d.ts +862 -0
- package/dist/git-ns/right/issued-by-departed/0.3/payload.d.ts.map +1 -0
- package/dist/git-ns/right/issued-by-departed/0.3/payload.js +481 -0
- package/dist/git-ns/right/issued-by-departed/0.3/payload.js.map +1 -0
- package/dist/git-ns/right/list/0.1/payload.d.ts +1 -1
- package/dist/git-ns/right/list/0.1/payload.d.ts.map +1 -1
- package/dist/git-ns/right/list/0.2/payload.d.ts +773 -0
- package/dist/git-ns/right/list/0.2/payload.d.ts.map +1 -0
- package/dist/git-ns/right/list/0.2/payload.js +433 -0
- package/dist/git-ns/right/list/0.2/payload.js.map +1 -0
- package/dist/git-ns/right/list/0.3/payload.d.ts +773 -0
- package/dist/git-ns/right/list/0.3/payload.d.ts.map +1 -0
- package/dist/git-ns/right/list/0.3/payload.js +433 -0
- package/dist/git-ns/right/list/0.3/payload.js.map +1 -0
- package/dist/git-ns/right/ratify/0.1/payload.d.ts +1 -1
- package/dist/git-ns/right/ratify/0.1/payload.d.ts.map +1 -1
- package/dist/git-ns/right/ratify/0.2/payload.d.ts +702 -0
- package/dist/git-ns/right/ratify/0.2/payload.d.ts.map +1 -0
- package/dist/git-ns/right/ratify/0.2/payload.js +404 -0
- package/dist/git-ns/right/ratify/0.2/payload.js.map +1 -0
- package/dist/git-ns/right/revoke/0.1/payload.d.ts +1 -1
- package/dist/git-ns/right/revoke/0.1/payload.d.ts.map +1 -1
- package/dist/git-ns/right/revoke/0.2/payload.d.ts +1 -1
- package/dist/git-ns/right/revoke/0.2/payload.d.ts.map +1 -1
- package/dist/git-ns/right/revoke/0.3/payload.d.ts +1 -1
- package/dist/git-ns/right/revoke/0.3/payload.d.ts.map +1 -1
- package/dist/git-ns/right/revoke/0.4/payload.d.ts +664 -0
- package/dist/git-ns/right/revoke/0.4/payload.d.ts.map +1 -0
- package/dist/git-ns/right/revoke/0.4/payload.js +378 -0
- package/dist/git-ns/right/revoke/0.4/payload.js.map +1 -0
- package/dist/git-ns/roles/reproject/0.1/payload.d.ts +1 -1
- package/dist/git-ns/roles/reproject/0.1/payload.d.ts.map +1 -1
- package/dist/git-ns/roles/reproject/0.2/payload.d.ts +325 -0
- package/dist/git-ns/roles/reproject/0.2/payload.d.ts.map +1 -0
- package/dist/git-ns/roles/reproject/0.2/payload.js +176 -0
- package/dist/git-ns/roles/reproject/0.2/payload.js.map +1 -0
- package/dist/git-ns/view/0.1/payload.d.ts +1 -1
- package/dist/git-ns/view/0.1/payload.d.ts.map +1 -1
- package/dist/git-ns/view/0.2/payload.d.ts +1 -1
- package/dist/git-ns/view/0.2/payload.d.ts.map +1 -1
- package/dist/git-ns/view/0.3/payload.d.ts +1 -1
- package/dist/git-ns/view/0.3/payload.d.ts.map +1 -1
- package/dist/git-ns/view/0.4/payload.d.ts +1 -1
- package/dist/git-ns/view/0.4/payload.d.ts.map +1 -1
- package/dist/git-ns/view/0.5/payload.d.ts +1 -1
- package/dist/git-ns/view/0.5/payload.d.ts.map +1 -1
- package/dist/git-ns/view/0.6/payload.d.ts +1722 -0
- package/dist/git-ns/view/0.6/payload.d.ts.map +1 -0
- package/dist/git-ns/view/0.6/payload.js +1024 -0
- package/dist/git-ns/view/0.6/payload.js.map +1 -0
- package/dist/index.d.ts +187 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +187 -0
- package/dist/index.js.map +1 -1
- package/dist/keys/list/0.2/payload.d.ts +627 -0
- package/dist/keys/list/0.2/payload.d.ts.map +1 -0
- package/dist/keys/list/0.2/payload.js +358 -0
- package/dist/keys/list/0.2/payload.js.map +1 -0
- package/dist/messaging/_shared/0.1/mediator-ops.d.ts +1 -1
- package/dist/messaging/_shared/0.1/mediator-ops.d.ts.map +1 -1
- package/dist/messaging/_shared/0.1/messaging.d.ts +1 -1
- package/dist/messaging/_shared/0.1/messaging.d.ts.map +1 -1
- package/dist/messaging/_shared/0.2/messaging.d.ts +16 -0
- package/dist/messaging/_shared/0.2/messaging.d.ts.map +1 -0
- package/dist/messaging/_shared/0.2/messaging.js +6 -0
- package/dist/messaging/_shared/0.2/messaging.js.map +1 -0
- package/dist/messaging/_shared/0.3/mediator-ops.d.ts +16 -0
- package/dist/messaging/_shared/0.3/mediator-ops.d.ts.map +1 -0
- package/dist/messaging/_shared/0.3/mediator-ops.js +6 -0
- package/dist/messaging/_shared/0.3/mediator-ops.js.map +1 -0
- package/dist/messaging/account/add/0.1/payload.d.ts +1 -1
- package/dist/messaging/account/add/0.1/payload.d.ts.map +1 -1
- package/dist/messaging/account/add/0.2/payload.d.ts +1156 -0
- package/dist/messaging/account/add/0.2/payload.d.ts.map +1 -0
- package/dist/messaging/account/add/0.2/payload.js +611 -0
- package/dist/messaging/account/add/0.2/payload.js.map +1 -0
- package/dist/messaging/account/change-queue-limits/0.1/payload.d.ts +1 -1
- package/dist/messaging/account/change-queue-limits/0.1/payload.d.ts.map +1 -1
- package/dist/messaging/account/change-type/0.1/payload.d.ts +1 -1
- package/dist/messaging/account/change-type/0.1/payload.d.ts.map +1 -1
- package/dist/messaging/account/get/0.1/payload.d.ts +1 -1
- package/dist/messaging/account/get/0.1/payload.d.ts.map +1 -1
- package/dist/messaging/account/get/0.2/payload.d.ts +1142 -0
- package/dist/messaging/account/get/0.2/payload.d.ts.map +1 -0
- package/dist/messaging/account/get/0.2/payload.js +606 -0
- package/dist/messaging/account/get/0.2/payload.js.map +1 -0
- package/dist/messaging/account/list/0.1/payload.d.ts +1 -1
- package/dist/messaging/account/list/0.1/payload.d.ts.map +1 -1
- package/dist/messaging/account/list/0.2/payload.d.ts +1206 -0
- package/dist/messaging/account/list/0.2/payload.d.ts.map +1 -0
- package/dist/messaging/account/list/0.2/payload.js +630 -0
- package/dist/messaging/account/list/0.2/payload.js.map +1 -0
- package/dist/messaging/account/update/0.1/payload.d.ts +1 -1
- package/dist/messaging/account/update/0.1/payload.d.ts.map +1 -1
- package/dist/messaging/account/update/0.2/payload.d.ts +1154 -0
- package/dist/messaging/account/update/0.2/payload.d.ts.map +1 -0
- package/dist/messaging/account/update/0.2/payload.js +610 -0
- package/dist/messaging/account/update/0.2/payload.js.map +1 -0
- package/dist/messaging/message/status/0.2/payload.d.ts +372 -0
- package/dist/messaging/message/status/0.2/payload.d.ts.map +1 -0
- package/dist/messaging/message/status/0.2/payload.js +214 -0
- package/dist/messaging/message/status/0.2/payload.js.map +1 -0
- package/dist/messaging/monitor/event/0.1/payload.d.ts +1 -1
- package/dist/messaging/monitor/event/0.1/payload.d.ts.map +1 -1
- package/dist/messaging/monitor/event/0.2/payload.d.ts +385 -0
- package/dist/messaging/monitor/event/0.2/payload.d.ts.map +1 -0
- package/dist/messaging/monitor/event/0.2/payload.js +230 -0
- package/dist/messaging/monitor/event/0.2/payload.js.map +1 -0
- package/dist/messaging/ping/0.2/payload.d.ts +316 -0
- package/dist/messaging/ping/0.2/payload.d.ts.map +1 -0
- package/dist/messaging/ping/0.2/payload.js +173 -0
- package/dist/messaging/ping/0.2/payload.js.map +1 -0
- package/dist/persona/attribute/promote/1.1/payload.d.ts +506 -0
- package/dist/persona/attribute/promote/1.1/payload.d.ts.map +1 -0
- package/dist/persona/attribute/promote/1.1/payload.js +263 -0
- package/dist/persona/attribute/promote/1.1/payload.js.map +1 -0
- package/dist/persona/attribute/put/1.1/payload.d.ts +1190 -0
- package/dist/persona/attribute/put/1.1/payload.d.ts.map +1 -0
- package/dist/persona/attribute/put/1.1/payload.js +687 -0
- package/dist/persona/attribute/put/1.1/payload.js.map +1 -0
- package/dist/persona/contact/lists/put/1.1/payload.d.ts +629 -0
- package/dist/persona/contact/lists/put/1.1/payload.d.ts.map +1 -0
- package/dist/persona/contact/lists/put/1.1/payload.js +366 -0
- package/dist/persona/contact/lists/put/1.1/payload.js.map +1 -0
- package/dist/persona/contact/put/1.2/payload.d.ts +1470 -0
- package/dist/persona/contact/put/1.2/payload.d.ts.map +1 -0
- package/dist/persona/contact/put/1.2/payload.js +880 -0
- package/dist/persona/contact/put/1.2/payload.js.map +1 -0
- package/dist/persona/correlation/analyze/1.2/payload.d.ts +730 -0
- package/dist/persona/correlation/analyze/1.2/payload.d.ts.map +1 -0
- package/dist/persona/correlation/analyze/1.2/payload.js +372 -0
- package/dist/persona/correlation/analyze/1.2/payload.js.map +1 -0
- package/dist/persona/local/profile/put/1.1/payload.d.ts +587 -0
- package/dist/persona/local/profile/put/1.1/payload.d.ts.map +1 -0
- package/dist/persona/local/profile/put/1.1/payload.js +331 -0
- package/dist/persona/local/profile/put/1.1/payload.js.map +1 -0
- package/dist/persona/profile/compose/1.1/payload.d.ts +979 -0
- package/dist/persona/profile/compose/1.1/payload.d.ts.map +1 -0
- package/dist/persona/profile/compose/1.1/payload.js +536 -0
- package/dist/persona/profile/compose/1.1/payload.js.map +1 -0
- package/dist/persona/profile/put/1.1/payload.d.ts +1411 -0
- package/dist/persona/profile/put/1.1/payload.d.ts.map +1 -0
- package/dist/persona/profile/put/1.1/payload.js +847 -0
- package/dist/persona/profile/put/1.1/payload.js.map +1 -0
- package/dist/persona/profile/timeline/1.1/payload.d.ts +588 -0
- package/dist/persona/profile/timeline/1.1/payload.d.ts.map +1 -0
- package/dist/persona/profile/timeline/1.1/payload.js +322 -0
- package/dist/persona/profile/timeline/1.1/payload.js.map +1 -0
- package/dist/persona/world/put/1.1/payload.d.ts +490 -0
- package/dist/persona/world/put/1.1/payload.d.ts.map +1 -0
- package/dist/persona/world/put/1.1/payload.js +272 -0
- package/dist/persona/world/put/1.1/payload.js.map +1 -0
- package/dist/policy/list/0.3/payload.d.ts +516 -0
- package/dist/policy/list/0.3/payload.d.ts.map +1 -0
- package/dist/policy/list/0.3/payload.js +286 -0
- package/dist/policy/list/0.3/payload.js.map +1 -0
- package/dist/policy/upsert/0.3/payload.d.ts +540 -0
- package/dist/policy/upsert/0.3/payload.d.ts.map +1 -0
- package/dist/policy/upsert/0.3/payload.js +304 -0
- package/dist/policy/upsert/0.3/payload.js.map +1 -0
- package/dist/registry/record/put/0.2/payload.d.ts +443 -0
- package/dist/registry/record/put/0.2/payload.d.ts.map +1 -0
- package/dist/registry/record/put/0.2/payload.js +255 -0
- package/dist/registry/record/put/0.2/payload.js.map +1 -0
- package/dist/registry/record/query/0.2/payload.d.ts +486 -0
- package/dist/registry/record/query/0.2/payload.d.ts.map +1 -0
- package/dist/registry/record/query/0.2/payload.js +265 -0
- package/dist/registry/record/query/0.2/payload.js.map +1 -0
- package/dist/rooms/_shared/0.1/room.d.ts +1 -1
- package/dist/rooms/_shared/0.1/room.d.ts.map +1 -1
- package/dist/rooms/_shared/0.2/room.d.ts +16 -0
- package/dist/rooms/_shared/0.2/room.d.ts.map +1 -0
- package/dist/rooms/_shared/0.2/room.js +6 -0
- package/dist/rooms/_shared/0.2/room.js.map +1 -0
- package/dist/rooms/info/0.2/payload.d.ts +1 -1
- package/dist/rooms/info/0.2/payload.d.ts.map +1 -1
- package/dist/rooms/info/0.3/payload.d.ts +1129 -0
- package/dist/rooms/info/0.3/payload.d.ts.map +1 -0
- package/dist/rooms/info/0.3/payload.js +618 -0
- package/dist/rooms/info/0.3/payload.js.map +1 -0
- package/dist/rooms/keys/act/0.7/payload.d.ts +546 -0
- package/dist/rooms/keys/act/0.7/payload.d.ts.map +1 -0
- package/dist/rooms/keys/act/0.7/payload.js +305 -0
- package/dist/rooms/keys/act/0.7/payload.js.map +1 -0
- package/dist/rooms/keys/act/0.8/payload.d.ts +546 -0
- package/dist/rooms/keys/act/0.8/payload.d.ts.map +1 -0
- package/dist/rooms/keys/act/0.8/payload.js +305 -0
- package/dist/rooms/keys/act/0.8/payload.js.map +1 -0
- package/dist/rooms/keys/browse/0.2/payload.d.ts +1 -1
- package/dist/rooms/keys/browse/0.2/payload.d.ts.map +1 -1
- package/dist/rooms/keys/browse/0.3/payload.d.ts +941 -0
- package/dist/rooms/keys/browse/0.3/payload.d.ts.map +1 -0
- package/dist/rooms/keys/browse/0.3/payload.js +558 -0
- package/dist/rooms/keys/browse/0.3/payload.js.map +1 -0
- package/dist/rooms/records/list/0.3/payload.d.ts +1 -1
- package/dist/rooms/records/list/0.3/payload.d.ts.map +1 -1
- package/dist/rooms/records/list/0.4/payload.d.ts +970 -0
- package/dist/rooms/records/list/0.4/payload.d.ts.map +1 -0
- package/dist/rooms/records/list/0.4/payload.js +526 -0
- package/dist/rooms/records/list/0.4/payload.js.map +1 -0
- package/dist/rooms/records/list/0.5/payload.d.ts +970 -0
- package/dist/rooms/records/list/0.5/payload.d.ts.map +1 -0
- package/dist/rooms/records/list/0.5/payload.js +526 -0
- package/dist/rooms/records/list/0.5/payload.js.map +1 -0
- package/dist/rooms/records/prune/0.1/payload.d.ts +1 -1
- package/dist/rooms/records/prune/0.1/payload.d.ts.map +1 -1
- package/dist/rooms/records/prune/0.2/payload.d.ts +706 -0
- package/dist/rooms/records/prune/0.2/payload.d.ts.map +1 -0
- package/dist/rooms/records/prune/0.2/payload.js +374 -0
- package/dist/rooms/records/prune/0.2/payload.js.map +1 -0
- package/dist/vault/list/0.4/payload.d.ts +1537 -0
- package/dist/vault/list/0.4/payload.d.ts.map +1 -0
- package/dist/vault/list/0.4/payload.js +841 -0
- package/dist/vault/list/0.4/payload.js.map +1 -0
- package/dist/vault/sync/0.3/payload.d.ts +1790 -0
- package/dist/vault/sync/0.3/payload.d.ts.map +1 -0
- package/dist/vault/sync/0.3/payload.js +1069 -0
- package/dist/vault/sync/0.3/payload.js.map +1 -0
- package/dist/vault/upsert/0.4/payload.d.ts +1755 -0
- package/dist/vault/upsert/0.4/payload.d.ts.map +1 -0
- package/dist/vault/upsert/0.4/payload.js +1013 -0
- package/dist/vault/upsert/0.4/payload.js.map +1 -0
- package/dist/vault/usage/0.3/payload.d.ts +586 -0
- package/dist/vault/usage/0.3/payload.d.ts.map +1 -0
- package/dist/vault/usage/0.3/payload.js +326 -0
- package/dist/vault/usage/0.3/payload.js.map +1 -0
- package/dist/voting/_shared/0.1/voting.d.ts +1 -1
- package/dist/voting/_shared/0.1/voting.d.ts.map +1 -1
- package/dist/voting/_shared/0.2/voting.d.ts +16 -0
- package/dist/voting/_shared/0.2/voting.d.ts.map +1 -0
- package/dist/voting/_shared/0.2/voting.js +6 -0
- package/dist/voting/_shared/0.2/voting.js.map +1 -0
- package/dist/voting/board/read/0.1/payload.d.ts +1 -1
- package/dist/voting/board/read/0.1/payload.d.ts.map +1 -1
- package/dist/voting/board/read/0.2/payload.d.ts +3584 -0
- package/dist/voting/board/read/0.2/payload.d.ts.map +1 -0
- package/dist/voting/board/read/0.2/payload.js +2138 -0
- package/dist/voting/board/read/0.2/payload.js.map +1 -0
- package/dist/voting/election/close/0.1/payload.d.ts +3 -3
- package/dist/voting/election/close/0.1/payload.js +1 -1
- package/dist/voting/election/close/0.1/payload.js.map +1 -1
- package/dist/voting/election/register/0.1/payload.d.ts +1 -1
- package/dist/voting/election/register/0.1/payload.d.ts.map +1 -1
- package/dist/voting/election/register/0.2/payload.d.ts +1920 -0
- package/dist/voting/election/register/0.2/payload.d.ts.map +1 -0
- package/dist/voting/election/register/0.2/payload.js +1166 -0
- package/dist/voting/election/register/0.2/payload.js.map +1 -0
- package/dist/voting/election/show/0.1/payload.d.ts +1 -1
- package/dist/voting/election/show/0.1/payload.d.ts.map +1 -1
- package/dist/voting/election/show/0.2/payload.d.ts +1824 -0
- package/dist/voting/election/show/0.2/payload.d.ts.map +1 -0
- package/dist/voting/election/show/0.2/payload.js +1112 -0
- package/dist/voting/election/show/0.2/payload.js.map +1 -0
- package/dist/vta/_shared/0.1/app-state-record.d.ts +1 -1
- package/dist/vta/_shared/0.1/app-state-record.d.ts.map +1 -1
- package/dist/vta/_shared/0.1/service.d.ts +1 -1
- package/dist/vta/_shared/0.1/service.d.ts.map +1 -1
- package/dist/vta/_shared/0.1/webvh-records.d.ts +1 -1
- package/dist/vta/_shared/0.1/webvh-records.d.ts.map +1 -1
- package/dist/vta/_shared/0.7/app-state-record.d.ts +22 -0
- package/dist/vta/_shared/0.7/app-state-record.d.ts.map +1 -0
- package/dist/vta/_shared/0.7/app-state-record.js +6 -0
- package/dist/vta/_shared/0.7/app-state-record.js.map +1 -0
- package/dist/vta/_shared/0.7/did-template.d.ts +16 -0
- package/dist/vta/_shared/0.7/did-template.d.ts.map +1 -0
- package/dist/vta/_shared/0.7/did-template.js +6 -0
- package/dist/vta/_shared/0.7/did-template.js.map +1 -0
- package/dist/vta/_shared/0.7/webvh-records.d.ts +16 -0
- package/dist/vta/_shared/0.7/webvh-records.d.ts.map +1 -0
- package/dist/vta/_shared/0.7/webvh-records.js +6 -0
- package/dist/vta/_shared/0.7/webvh-records.js.map +1 -0
- package/dist/vta/_shared/0.8/service.d.ts +16 -0
- package/dist/vta/_shared/0.8/service.d.ts.map +1 -0
- package/dist/vta/_shared/0.8/service.js +6 -0
- package/dist/vta/_shared/0.8/service.js.map +1 -0
- package/dist/vta/app-state/list/1.1/payload.d.ts +705 -0
- package/dist/vta/app-state/list/1.1/payload.d.ts.map +1 -0
- package/dist/vta/app-state/list/1.1/payload.js +360 -0
- package/dist/vta/app-state/list/1.1/payload.js.map +1 -0
- package/dist/vta/app-state/put/1.1/payload.d.ts +549 -0
- package/dist/vta/app-state/put/1.1/payload.d.ts.map +1 -0
- package/dist/vta/app-state/put/1.1/payload.js +293 -0
- package/dist/vta/app-state/put/1.1/payload.js.map +1 -0
- package/dist/vta/app-state/put-many/1.0/payload.d.ts +1 -1
- package/dist/vta/app-state/put-many/1.0/payload.d.ts.map +1 -1
- package/dist/vta/app-state/put-many/1.1/payload.d.ts +807 -0
- package/dist/vta/app-state/put-many/1.1/payload.d.ts.map +1 -0
- package/dist/vta/app-state/put-many/1.1/payload.js +457 -0
- package/dist/vta/app-state/put-many/1.1/payload.js.map +1 -0
- package/dist/vta/attestation/mnemonic-export/1.1/payload.d.ts +326 -0
- package/dist/vta/attestation/mnemonic-export/1.1/payload.d.ts.map +1 -0
- package/dist/vta/attestation/mnemonic-export/1.1/payload.js +175 -0
- package/dist/vta/attestation/mnemonic-export/1.1/payload.js.map +1 -0
- package/dist/vta/attestation/mnemonic-status/0.2/payload.d.ts +281 -0
- package/dist/vta/attestation/mnemonic-status/0.2/payload.d.ts.map +1 -0
- package/dist/vta/attestation/mnemonic-status/0.2/payload.js +157 -0
- package/dist/vta/attestation/mnemonic-status/0.2/payload.js.map +1 -0
- package/dist/vta/credentials/list/0.2/payload.d.ts +610 -0
- package/dist/vta/credentials/list/0.2/payload.d.ts.map +1 -0
- package/dist/vta/credentials/list/0.2/payload.js +312 -0
- package/dist/vta/credentials/list/0.2/payload.js.map +1 -0
- package/dist/vta/did-templates/create/3.1/payload.d.ts +1100 -0
- package/dist/vta/did-templates/create/3.1/payload.d.ts.map +1 -0
- package/dist/vta/did-templates/create/3.1/payload.js +686 -0
- package/dist/vta/did-templates/create/3.1/payload.js.map +1 -0
- package/dist/vta/did-templates/get/3.1/payload.d.ts +750 -0
- package/dist/vta/did-templates/get/3.1/payload.d.ts.map +1 -0
- package/dist/vta/did-templates/get/3.1/payload.js +465 -0
- package/dist/vta/did-templates/get/3.1/payload.js.map +1 -0
- package/dist/vta/did-templates/list/3.1/payload.d.ts +807 -0
- package/dist/vta/did-templates/list/3.1/payload.d.ts.map +1 -0
- package/dist/vta/did-templates/list/3.1/payload.js +491 -0
- package/dist/vta/did-templates/list/3.1/payload.js.map +1 -0
- package/dist/vta/did-templates/update/3.1/payload.d.ts +1114 -0
- package/dist/vta/did-templates/update/3.1/payload.d.ts.map +1 -0
- package/dist/vta/did-templates/update/3.1/payload.js +692 -0
- package/dist/vta/did-templates/update/3.1/payload.js.map +1 -0
- package/dist/vta/passkey-vms/enroll-submit/0.2/payload.d.ts +589 -0
- package/dist/vta/passkey-vms/enroll-submit/0.2/payload.d.ts.map +1 -0
- package/dist/vta/passkey-vms/enroll-submit/0.2/payload.js +309 -0
- package/dist/vta/passkey-vms/enroll-submit/0.2/payload.js.map +1 -0
- package/dist/vta/pcs/trustee/deal/0.1/payload.d.ts +1 -1
- package/dist/vta/pcs/trustee/deal/0.1/payload.d.ts.map +1 -1
- package/dist/vta/pcs/trustee/deal/0.2/payload.d.ts +1 -1
- package/dist/vta/pcs/trustee/deal/0.2/payload.d.ts.map +1 -1
- package/dist/vta/pcs/trustee/deal/0.3/payload.d.ts +1832 -0
- package/dist/vta/pcs/trustee/deal/0.3/payload.d.ts.map +1 -0
- package/dist/vta/pcs/trustee/deal/0.3/payload.js +1077 -0
- package/dist/vta/pcs/trustee/deal/0.3/payload.js.map +1 -0
- package/dist/vta/pcs/trustee/enrol/0.1/payload.d.ts +1 -1
- package/dist/vta/pcs/trustee/enrol/0.1/payload.d.ts.map +1 -1
- package/dist/vta/pcs/trustee/enrol/0.2/payload.d.ts +1756 -0
- package/dist/vta/pcs/trustee/enrol/0.2/payload.d.ts.map +1 -0
- package/dist/vta/pcs/trustee/enrol/0.2/payload.js +1040 -0
- package/dist/vta/pcs/trustee/enrol/0.2/payload.js.map +1 -0
- package/dist/vta/pcs/trustee/justify/0.2/payload.d.ts +1 -1
- package/dist/vta/pcs/trustee/justify/0.2/payload.d.ts.map +1 -1
- package/dist/vta/pcs/trustee/justify/0.3/payload.d.ts +1867 -0
- package/dist/vta/pcs/trustee/justify/0.3/payload.d.ts.map +1 -0
- package/dist/vta/pcs/trustee/justify/0.3/payload.js +1095 -0
- package/dist/vta/pcs/trustee/justify/0.3/payload.js.map +1 -0
- package/dist/vta/pcs/trustee/keys/0.1/payload.d.ts +1 -1
- package/dist/vta/pcs/trustee/keys/0.1/payload.d.ts.map +1 -1
- package/dist/vta/pcs/trustee/keys/0.2/payload.d.ts +1 -1
- package/dist/vta/pcs/trustee/keys/0.2/payload.d.ts.map +1 -1
- package/dist/vta/pcs/trustee/keys/0.3/payload.d.ts +1912 -0
- package/dist/vta/pcs/trustee/keys/0.3/payload.d.ts.map +1 -0
- package/dist/vta/pcs/trustee/keys/0.3/payload.js +1115 -0
- package/dist/vta/pcs/trustee/keys/0.3/payload.js.map +1 -0
- package/dist/vta/pcs/trustee/read/0.2/payload.d.ts +526 -0
- package/dist/vta/pcs/trustee/read/0.2/payload.d.ts.map +1 -0
- package/dist/vta/pcs/trustee/read/0.2/payload.js +290 -0
- package/dist/vta/pcs/trustee/read/0.2/payload.js.map +1 -0
- package/dist/vta/pcs/vote/0.1/payload.d.ts +1 -1
- package/dist/vta/pcs/vote/0.1/payload.d.ts.map +1 -1
- package/dist/vta/pcs/vote/0.2/payload.d.ts +2208 -0
- package/dist/vta/pcs/vote/0.2/payload.d.ts.map +1 -0
- package/dist/vta/pcs/vote/0.2/payload.js +1282 -0
- package/dist/vta/pcs/vote/0.2/payload.js.map +1 -0
- package/dist/vta/pcs/vote-encrypted/0.1/payload.d.ts +1 -1
- package/dist/vta/pcs/vote-encrypted/0.1/payload.d.ts.map +1 -1
- package/dist/vta/pcs/vote-encrypted/0.2/payload.d.ts +1 -1
- package/dist/vta/pcs/vote-encrypted/0.2/payload.d.ts.map +1 -1
- package/dist/vta/pcs/vote-encrypted/0.3/payload.d.ts +2228 -0
- package/dist/vta/pcs/vote-encrypted/0.3/payload.d.ts.map +1 -0
- package/dist/vta/pcs/vote-encrypted/0.3/payload.js +1300 -0
- package/dist/vta/pcs/vote-encrypted/0.3/payload.js.map +1 -0
- package/dist/vta/pcs/voter/read/0.2/payload.d.ts +489 -0
- package/dist/vta/pcs/voter/read/0.2/payload.d.ts.map +1 -0
- package/dist/vta/pcs/voter/read/0.2/payload.js +271 -0
- package/dist/vta/pcs/voter/read/0.2/payload.js.map +1 -0
- package/dist/vta/pcs/voter/register/0.1/payload.d.ts +1 -1
- package/dist/vta/pcs/voter/register/0.1/payload.d.ts.map +1 -1
- package/dist/vta/pcs/voter/register/0.2/payload.d.ts +2162 -0
- package/dist/vta/pcs/voter/register/0.2/payload.d.ts.map +1 -0
- package/dist/vta/pcs/voter/register/0.2/payload.js +1248 -0
- package/dist/vta/pcs/voter/register/0.2/payload.js.map +1 -0
- package/dist/vta/services/disable/1.0/payload.d.ts +1 -1
- package/dist/vta/services/disable/1.0/payload.d.ts.map +1 -1
- package/dist/vta/services/disable/1.1/payload.d.ts +417 -0
- package/dist/vta/services/disable/1.1/payload.d.ts.map +1 -0
- package/dist/vta/services/disable/1.1/payload.js +242 -0
- package/dist/vta/services/disable/1.1/payload.js.map +1 -0
- package/dist/vta/services/drain/cancel/1.0/payload.d.ts +3 -3
- package/dist/vta/services/drain/cancel/1.0/payload.js +1 -1
- package/dist/vta/services/drain/cancel/1.0/payload.js.map +1 -1
- package/dist/vta/services/drain/list/1.0/payload.d.ts +1 -1
- package/dist/vta/services/drain/list/1.0/payload.d.ts.map +1 -1
- package/dist/vta/services/drain/list/1.1/payload.d.ts +333 -0
- package/dist/vta/services/drain/list/1.1/payload.d.ts.map +1 -0
- package/dist/vta/services/drain/list/1.1/payload.js +191 -0
- package/dist/vta/services/drain/list/1.1/payload.js.map +1 -0
- package/dist/vta/services/enable/1.0/payload.d.ts +1 -1
- package/dist/vta/services/enable/1.0/payload.d.ts.map +1 -1
- package/dist/vta/services/enable/1.1/payload.d.ts +476 -0
- package/dist/vta/services/enable/1.1/payload.d.ts.map +1 -0
- package/dist/vta/services/enable/1.1/payload.js +264 -0
- package/dist/vta/services/enable/1.1/payload.js.map +1 -0
- package/dist/vta/services/get/1.0/payload.d.ts +1 -1
- package/dist/vta/services/get/1.0/payload.d.ts.map +1 -1
- package/dist/vta/services/get/1.1/payload.d.ts +371 -0
- package/dist/vta/services/get/1.1/payload.d.ts.map +1 -0
- package/dist/vta/services/get/1.1/payload.js +221 -0
- package/dist/vta/services/get/1.1/payload.js.map +1 -0
- package/dist/vta/services/list/1.0/payload.d.ts +1 -1
- package/dist/vta/services/list/1.0/payload.d.ts.map +1 -1
- package/dist/vta/services/list/1.1/payload.d.ts +381 -0
- package/dist/vta/services/list/1.1/payload.d.ts.map +1 -0
- package/dist/vta/services/list/1.1/payload.js +223 -0
- package/dist/vta/services/list/1.1/payload.js.map +1 -0
- package/dist/vta/services/report/0.2/payload.d.ts +618 -0
- package/dist/vta/services/report/0.2/payload.d.ts.map +1 -0
- package/dist/vta/services/report/0.2/payload.js +322 -0
- package/dist/vta/services/report/0.2/payload.js.map +1 -0
- package/dist/vta/services/rollback/1.0/payload.d.ts +1 -1
- package/dist/vta/services/rollback/1.0/payload.d.ts.map +1 -1
- package/dist/vta/services/rollback/1.1/payload.d.ts +1 -1
- package/dist/vta/services/rollback/1.1/payload.d.ts.map +1 -1
- package/dist/vta/services/rollback/1.2/payload.d.ts +433 -0
- package/dist/vta/services/rollback/1.2/payload.d.ts.map +1 -0
- package/dist/vta/services/rollback/1.2/payload.js +258 -0
- package/dist/vta/services/rollback/1.2/payload.js.map +1 -0
- package/dist/vta/services/update/1.0/payload.d.ts +1 -1
- package/dist/vta/services/update/1.0/payload.d.ts.map +1 -1
- package/dist/vta/services/update/1.1/payload.d.ts +1 -1
- package/dist/vta/services/update/1.1/payload.d.ts.map +1 -1
- package/dist/vta/services/update/1.2/payload.d.ts +490 -0
- package/dist/vta/services/update/1.2/payload.d.ts.map +1 -0
- package/dist/vta/services/update/1.2/payload.js +269 -0
- package/dist/vta/services/update/1.2/payload.js.map +1 -0
- package/dist/vta/webvh/agent-name/list/1.0/payload.d.ts +1 -1
- package/dist/vta/webvh/agent-name/list/1.0/payload.d.ts.map +1 -1
- package/dist/vta/webvh/agent-name/list/1.1/payload.d.ts +358 -0
- package/dist/vta/webvh/agent-name/list/1.1/payload.d.ts.map +1 -0
- package/dist/vta/webvh/agent-name/list/1.1/payload.js +203 -0
- package/dist/vta/webvh/agent-name/list/1.1/payload.js.map +1 -0
- package/dist/vta/webvh/dids/update/2.1/payload.d.ts +1062 -0
- package/dist/vta/webvh/dids/update/2.1/payload.d.ts.map +1 -0
- package/dist/vta/webvh/dids/update/2.1/payload.js +616 -0
- package/dist/vta/webvh/dids/update/2.1/payload.js.map +1 -0
- package/dist/vta/witness/list/0.2/payload.d.ts +653 -0
- package/dist/vta/witness/list/0.2/payload.d.ts.map +1 -0
- package/dist/vta/witness/list/0.2/payload.js +341 -0
- package/dist/vta/witness/list/0.2/payload.js.map +1 -0
- package/dist/vtc/_shared/0.1/community-room.d.ts +1 -1
- package/dist/vtc/_shared/0.1/community-room.d.ts.map +1 -1
- package/dist/vtc/_shared/0.1/relationship-lifecycle.d.ts +1 -1
- package/dist/vtc/_shared/0.1/relationship-lifecycle.d.ts.map +1 -1
- package/dist/vtc/_shared/0.1/room-storage.d.ts +1 -1
- package/dist/vtc/_shared/0.1/room-storage.d.ts.map +1 -1
- package/dist/vtc/_shared/0.3/community-room.d.ts +16 -0
- package/dist/vtc/_shared/0.3/community-room.d.ts.map +1 -0
- package/dist/vtc/_shared/0.3/community-room.js +6 -0
- package/dist/vtc/_shared/0.3/community-room.js.map +1 -0
- package/dist/vtc/_shared/0.3/room-storage.d.ts +16 -0
- package/dist/vtc/_shared/0.3/room-storage.d.ts.map +1 -0
- package/dist/vtc/_shared/0.3/room-storage.js +6 -0
- package/dist/vtc/_shared/0.3/room-storage.js.map +1 -0
- package/dist/vtc/_shared/0.4/community-room.d.ts +16 -0
- package/dist/vtc/_shared/0.4/community-room.d.ts.map +1 -0
- package/dist/vtc/_shared/0.4/community-room.js +6 -0
- package/dist/vtc/_shared/0.4/community-room.js.map +1 -0
- package/dist/vtc/_shared/0.4/relationship-lifecycle.d.ts +16 -0
- package/dist/vtc/_shared/0.4/relationship-lifecycle.d.ts.map +1 -0
- package/dist/vtc/_shared/0.4/relationship-lifecycle.js +6 -0
- package/dist/vtc/_shared/0.4/relationship-lifecycle.js.map +1 -0
- package/dist/vtc/admin/actions/_shared/0.3/action.d.ts +28 -0
- package/dist/vtc/admin/actions/_shared/0.3/action.d.ts.map +1 -0
- package/dist/vtc/admin/actions/_shared/0.3/action.js +6 -0
- package/dist/vtc/admin/actions/_shared/0.3/action.js.map +1 -0
- package/dist/vtc/admin/actions/acknowledge/0.3/payload.d.ts +1052 -0
- package/dist/vtc/admin/actions/acknowledge/0.3/payload.d.ts.map +1 -0
- package/dist/vtc/admin/actions/acknowledge/0.3/payload.js +666 -0
- package/dist/vtc/admin/actions/acknowledge/0.3/payload.js.map +1 -0
- package/dist/vtc/admin/actions/cancel/0.3/payload.d.ts +1066 -0
- package/dist/vtc/admin/actions/cancel/0.3/payload.d.ts.map +1 -0
- package/dist/vtc/admin/actions/cancel/0.3/payload.js +671 -0
- package/dist/vtc/admin/actions/cancel/0.3/payload.js.map +1 -0
- package/dist/vtc/admin/actions/list/0.3/payload.d.ts +1240 -0
- package/dist/vtc/admin/actions/list/0.3/payload.d.ts.map +1 -0
- package/dist/vtc/admin/actions/list/0.3/payload.js +756 -0
- package/dist/vtc/admin/actions/list/0.3/payload.js.map +1 -0
- package/dist/vtc/admin/actions/show/0.3/payload.d.ts +1052 -0
- package/dist/vtc/admin/actions/show/0.3/payload.d.ts.map +1 -0
- package/dist/vtc/admin/actions/show/0.3/payload.js +666 -0
- package/dist/vtc/admin/actions/show/0.3/payload.js.map +1 -0
- package/dist/vtc/admin/events/event/0.5/payload.d.ts +172 -0
- package/dist/vtc/admin/events/event/0.5/payload.d.ts.map +1 -0
- package/dist/vtc/admin/events/event/0.5/payload.js +103 -0
- package/dist/vtc/admin/events/event/0.5/payload.js.map +1 -0
- package/dist/vtc/admin/events/subscribe/0.5/payload.d.ts +409 -0
- package/dist/vtc/admin/events/subscribe/0.5/payload.d.ts.map +1 -0
- package/dist/vtc/admin/events/subscribe/0.5/payload.js +238 -0
- package/dist/vtc/admin/events/subscribe/0.5/payload.js.map +1 -0
- package/dist/vtc/admin/events/subscribe/0.6/payload.d.ts +409 -0
- package/dist/vtc/admin/events/subscribe/0.6/payload.d.ts.map +1 -0
- package/dist/vtc/admin/events/subscribe/0.6/payload.js +238 -0
- package/dist/vtc/admin/events/subscribe/0.6/payload.js.map +1 -0
- package/dist/vtc/auth/admin-session/0.2/payload.d.ts +249 -0
- package/dist/vtc/auth/admin-session/0.2/payload.d.ts.map +1 -0
- package/dist/vtc/auth/admin-session/0.2/payload.js +144 -0
- package/dist/vtc/auth/admin-session/0.2/payload.js.map +1 -0
- package/dist/vtc/auth/recognise/0.3/payload.d.ts +325 -0
- package/dist/vtc/auth/recognise/0.3/payload.d.ts.map +1 -0
- package/dist/vtc/auth/recognise/0.3/payload.js +187 -0
- package/dist/vtc/auth/recognise/0.3/payload.js.map +1 -0
- package/dist/vtc/auth/recognise/challenge/0.2/payload.d.ts +233 -0
- package/dist/vtc/auth/recognise/challenge/0.2/payload.d.ts.map +1 -0
- package/dist/vtc/auth/recognise/challenge/0.2/payload.js +136 -0
- package/dist/vtc/auth/recognise/challenge/0.2/payload.js.map +1 -0
- package/dist/vtc/directory/entries/list/0.2/payload.d.ts +5525 -0
- package/dist/vtc/directory/entries/list/0.2/payload.d.ts.map +1 -0
- package/dist/vtc/directory/entries/list/0.2/payload.js +650 -0
- package/dist/vtc/directory/entries/list/0.2/payload.js.map +1 -0
- package/dist/vtc/directory/export/0.2/payload.d.ts +358 -0
- package/dist/vtc/directory/export/0.2/payload.d.ts.map +1 -0
- package/dist/vtc/directory/export/0.2/payload.js +189 -0
- package/dist/vtc/directory/export/0.2/payload.js.map +1 -0
- package/dist/vtc/directory/notes/list/0.2/payload.d.ts +540 -0
- package/dist/vtc/directory/notes/list/0.2/payload.d.ts.map +1 -0
- package/dist/vtc/directory/notes/list/0.2/payload.js +291 -0
- package/dist/vtc/directory/notes/list/0.2/payload.js.map +1 -0
- package/dist/vtc/elections/create/0.1/payload.d.ts +1 -1
- package/dist/vtc/elections/create/0.1/payload.d.ts.map +1 -1
- package/dist/vtc/elections/create/0.2/payload.d.ts +1656 -0
- package/dist/vtc/elections/create/0.2/payload.d.ts.map +1 -0
- package/dist/vtc/elections/create/0.2/payload.js +994 -0
- package/dist/vtc/elections/create/0.2/payload.js.map +1 -0
- package/dist/vtc/elections/list/0.2/payload.d.ts +521 -0
- package/dist/vtc/elections/list/0.2/payload.d.ts.map +1 -0
- package/dist/vtc/elections/list/0.2/payload.js +290 -0
- package/dist/vtc/elections/list/0.2/payload.js.map +1 -0
- package/dist/vtc/elections/list/0.3/payload.d.ts +521 -0
- package/dist/vtc/elections/list/0.3/payload.d.ts.map +1 -0
- package/dist/vtc/elections/list/0.3/payload.js +290 -0
- package/dist/vtc/elections/list/0.3/payload.js.map +1 -0
- package/dist/vtc/elections/show/0.1/payload.d.ts +1 -1
- package/dist/vtc/elections/show/0.1/payload.d.ts.map +1 -1
- package/dist/vtc/elections/show/0.2/payload.d.ts +3008 -0
- package/dist/vtc/elections/show/0.2/payload.d.ts.map +1 -0
- package/dist/vtc/elections/show/0.2/payload.js +1751 -0
- package/dist/vtc/elections/show/0.2/payload.js.map +1 -0
- package/dist/vtc/endorsement-types/list/0.2/payload.d.ts +382 -0
- package/dist/vtc/endorsement-types/list/0.2/payload.d.ts.map +1 -0
- package/dist/vtc/endorsement-types/list/0.2/payload.js +210 -0
- package/dist/vtc/endorsement-types/list/0.2/payload.js.map +1 -0
- package/dist/vtc/endorsements/list/0.2/payload.d.ts +612 -0
- package/dist/vtc/endorsements/list/0.2/payload.d.ts.map +1 -0
- package/dist/vtc/endorsements/list/0.2/payload.js +347 -0
- package/dist/vtc/endorsements/list/0.2/payload.js.map +1 -0
- package/dist/vtc/groups/list/0.2/payload.d.ts +1139 -0
- package/dist/vtc/groups/list/0.2/payload.d.ts.map +1 -0
- package/dist/vtc/groups/list/0.2/payload.js +671 -0
- package/dist/vtc/groups/list/0.2/payload.js.map +1 -0
- package/dist/vtc/groups/members/list/0.2/payload.d.ts +1030 -0
- package/dist/vtc/groups/members/list/0.2/payload.d.ts.map +1 -0
- package/dist/vtc/groups/members/list/0.2/payload.js +603 -0
- package/dist/vtc/groups/members/list/0.2/payload.js.map +1 -0
- package/dist/vtc/groups/requests/list/0.2/payload.d.ts +1080 -0
- package/dist/vtc/groups/requests/list/0.2/payload.d.ts.map +1 -0
- package/dist/vtc/groups/requests/list/0.2/payload.js +620 -0
- package/dist/vtc/groups/requests/list/0.2/payload.js.map +1 -0
- package/dist/vtc/join-requests/list/0.2/payload.d.ts +653 -0
- package/dist/vtc/join-requests/list/0.2/payload.d.ts.map +1 -0
- package/dist/vtc/join-requests/list/0.2/payload.js +405 -0
- package/dist/vtc/join-requests/list/0.2/payload.js.map +1 -0
- package/dist/vtc/members/authority-reduction-pending-notice/0.1/payload.d.ts +3 -3
- package/dist/vtc/members/authority-reduction-pending-notice/0.1/payload.js +1 -1
- package/dist/vtc/members/authority-reduction-pending-notice/0.1/payload.js.map +1 -1
- package/dist/vtc/members/list/0.2/payload.d.ts +596 -0
- package/dist/vtc/members/list/0.2/payload.d.ts.map +1 -0
- package/dist/vtc/members/list/0.2/payload.js +381 -0
- package/dist/vtc/members/list/0.2/payload.js.map +1 -0
- package/dist/vtc/members/step-up-passkey-notice/0.2/payload.d.ts +176 -0
- package/dist/vtc/members/step-up-passkey-notice/0.2/payload.d.ts.map +1 -0
- package/dist/vtc/members/step-up-passkey-notice/0.2/payload.js +95 -0
- package/dist/vtc/members/step-up-passkey-notice/0.2/payload.js.map +1 -0
- package/dist/vtc/operator/offline-write/0.2/payload.d.ts +167 -0
- package/dist/vtc/operator/offline-write/0.2/payload.d.ts.map +1 -0
- package/dist/vtc/operator/offline-write/0.2/payload.js +96 -0
- package/dist/vtc/operator/offline-write/0.2/payload.js.map +1 -0
- package/dist/vtc/registry/records/list/0.2/payload.d.ts +576 -0
- package/dist/vtc/registry/records/list/0.2/payload.d.ts.map +1 -0
- package/dist/vtc/registry/records/list/0.2/payload.js +306 -0
- package/dist/vtc/registry/records/list/0.2/payload.js.map +1 -0
- package/dist/vtc/registry/sync-jobs/list/0.2/payload.d.ts +584 -0
- package/dist/vtc/registry/sync-jobs/list/0.2/payload.d.ts.map +1 -0
- package/dist/vtc/registry/sync-jobs/list/0.2/payload.js +337 -0
- package/dist/vtc/registry/sync-jobs/list/0.2/payload.js.map +1 -0
- package/dist/vtc/relationships/list/0.3/payload.d.ts +444 -0
- package/dist/vtc/relationships/list/0.3/payload.d.ts.map +1 -0
- package/dist/vtc/relationships/list/0.3/payload.js +254 -0
- package/dist/vtc/relationships/list/0.3/payload.js.map +1 -0
- package/dist/vtc/relationships/restore/0.1/payload.d.ts +1 -1
- package/dist/vtc/relationships/restore/0.1/payload.d.ts.map +1 -1
- package/dist/vtc/relationships/restore/0.2/payload.d.ts +462 -0
- package/dist/vtc/relationships/restore/0.2/payload.d.ts.map +1 -0
- package/dist/vtc/relationships/restore/0.2/payload.js +270 -0
- package/dist/vtc/relationships/restore/0.2/payload.js.map +1 -0
- package/dist/vtc/relationships/suspend/0.1/payload.d.ts +1 -1
- package/dist/vtc/relationships/suspend/0.1/payload.d.ts.map +1 -1
- package/dist/vtc/relationships/suspend/0.2/payload.d.ts +462 -0
- package/dist/vtc/relationships/suspend/0.2/payload.d.ts.map +1 -0
- package/dist/vtc/relationships/suspend/0.2/payload.js +270 -0
- package/dist/vtc/relationships/suspend/0.2/payload.js.map +1 -0
- package/dist/vtc/rooms/community/create/0.1/payload.d.ts +1 -1
- package/dist/vtc/rooms/community/create/0.1/payload.d.ts.map +1 -1
- package/dist/vtc/rooms/community/create/0.2/payload.d.ts +1 -1
- package/dist/vtc/rooms/community/create/0.2/payload.d.ts.map +1 -1
- package/dist/vtc/rooms/community/create/0.3/payload.d.ts +1 -1
- package/dist/vtc/rooms/community/create/0.3/payload.d.ts.map +1 -1
- package/dist/vtc/rooms/community/create/0.4/payload.d.ts +1013 -0
- package/dist/vtc/rooms/community/create/0.4/payload.d.ts.map +1 -0
- package/dist/vtc/rooms/community/create/0.4/payload.js +577 -0
- package/dist/vtc/rooms/community/create/0.4/payload.js.map +1 -0
- package/dist/vtc/rooms/community/get/0.1/payload.d.ts +1 -1
- package/dist/vtc/rooms/community/get/0.1/payload.d.ts.map +1 -1
- package/dist/vtc/rooms/community/get/0.2/payload.d.ts +1 -1
- package/dist/vtc/rooms/community/get/0.2/payload.d.ts.map +1 -1
- package/dist/vtc/rooms/community/get/0.3/payload.d.ts +887 -0
- package/dist/vtc/rooms/community/get/0.3/payload.d.ts.map +1 -0
- package/dist/vtc/rooms/community/get/0.3/payload.js +517 -0
- package/dist/vtc/rooms/community/get/0.3/payload.js.map +1 -0
- package/dist/vtc/rooms/community/list/0.1/payload.d.ts +1 -1
- package/dist/vtc/rooms/community/list/0.1/payload.d.ts.map +1 -1
- package/dist/vtc/rooms/community/list/0.2/payload.d.ts +1 -1
- package/dist/vtc/rooms/community/list/0.2/payload.d.ts.map +1 -1
- package/dist/vtc/rooms/community/list/0.3/payload.d.ts +960 -0
- package/dist/vtc/rooms/community/list/0.3/payload.d.ts.map +1 -0
- package/dist/vtc/rooms/community/list/0.3/payload.js +544 -0
- package/dist/vtc/rooms/community/list/0.3/payload.js.map +1 -0
- package/dist/vtc/rooms/community/update/0.1/payload.d.ts +1 -1
- package/dist/vtc/rooms/community/update/0.1/payload.d.ts.map +1 -1
- package/dist/vtc/rooms/community/update/0.2/payload.d.ts +1 -1
- package/dist/vtc/rooms/community/update/0.2/payload.d.ts.map +1 -1
- package/dist/vtc/rooms/community/update/0.3/payload.d.ts +1037 -0
- package/dist/vtc/rooms/community/update/0.3/payload.d.ts.map +1 -0
- package/dist/vtc/rooms/community/update/0.3/payload.js +593 -0
- package/dist/vtc/rooms/community/update/0.3/payload.js.map +1 -0
- package/dist/vtc/rooms/get/0.1/payload.d.ts +1 -1
- package/dist/vtc/rooms/get/0.1/payload.d.ts.map +1 -1
- package/dist/vtc/rooms/get/0.2/payload.d.ts +1 -1
- package/dist/vtc/rooms/get/0.2/payload.d.ts.map +1 -1
- package/dist/vtc/rooms/get/0.3/payload.d.ts +1966 -0
- package/dist/vtc/rooms/get/0.3/payload.d.ts.map +1 -0
- package/dist/vtc/rooms/get/0.3/payload.js +976 -0
- package/dist/vtc/rooms/get/0.3/payload.js.map +1 -0
- package/dist/vtc/rooms/list/0.2/payload.d.ts +653 -0
- package/dist/vtc/rooms/list/0.2/payload.d.ts.map +1 -0
- package/dist/vtc/rooms/list/0.2/payload.js +360 -0
- package/dist/vtc/rooms/list/0.2/payload.js.map +1 -0
- package/dist/vtc/rooms/offers/list/0.3/payload.d.ts +1 -1
- package/dist/vtc/rooms/offers/list/0.3/payload.d.ts.map +1 -1
- package/dist/vtc/rooms/offers/list/0.4/payload.d.ts +1058 -0
- package/dist/vtc/rooms/offers/list/0.4/payload.d.ts.map +1 -0
- package/dist/vtc/rooms/offers/list/0.4/payload.js +614 -0
- package/dist/vtc/rooms/offers/list/0.4/payload.js.map +1 -0
- package/dist/vtc/website/files/list/0.2/payload.d.ts +371 -0
- package/dist/vtc/website/files/list/0.2/payload.d.ts.map +1 -0
- package/dist/vtc/website/files/list/0.2/payload.js +198 -0
- package/dist/vtc/website/files/list/0.2/payload.js.map +1 -0
- package/dist/vtc/website/files/list/0.3/payload.d.ts +371 -0
- package/dist/vtc/website/files/list/0.3/payload.d.ts.map +1 -0
- package/dist/vtc/website/files/list/0.3/payload.js +198 -0
- package/dist/vtc/website/files/list/0.3/payload.js.map +1 -0
- package/package.json +1 -1
- package/src/_shared/components.ts +1754 -298
- package/src/acl/list/0.3/payload.ts +1111 -0
- package/src/audit/list/0.2/payload.ts +406 -0
- package/src/auth/oob/claim/0.2/payload.ts +306 -0
- package/src/auth/oob/grant/0.3/payload.ts +186 -0
- package/src/auth/oob/prove/0.3/payload.ts +523 -0
- package/src/auth/oob/redeem/0.2/payload.ts +248 -0
- package/src/auth/oob/request/0.2/payload.ts +230 -0
- package/src/auth/oob/respond/0.3/payload.ts +178 -0
- package/src/auth/passkey/enroll/invite/0.3/payload.ts +325 -0
- package/src/auth/step-up/approve-request/0.5/payload.ts +461 -0
- package/src/auth/step-up/approver/invite/0.2/payload.ts +258 -0
- package/src/consent/list/1.1/payload.ts +407 -0
- package/src/device/heartbeat/0.3/payload.ts +271 -0
- package/src/device/list/0.3/payload.ts +846 -0
- package/src/did-management/_shared/0.2/service-instance.ts +1 -1
- package/src/did-management/_shared/0.3/registered-instance.ts +17 -0
- package/src/did-management/_shared/0.3/service-instance.ts +17 -0
- package/src/did-management/did/list/0.2/payload.ts +327 -0
- package/src/did-management/registry/admin-register/0.2/payload.ts +261 -0
- package/src/did-management/registry/check/0.1/payload.ts +1 -1
- package/src/did-management/registry/check/0.2/payload.ts +415 -0
- package/src/did-management/registry/get/0.1/payload.ts +1 -1
- package/src/did-management/registry/get/0.2/payload.ts +410 -0
- package/src/did-management/registry/list/0.1/payload.ts +1 -1
- package/src/did-management/registry/list/0.2/payload.ts +434 -0
- package/src/did-management/server/register/0.2/payload.ts +219 -0
- package/src/did-management/stats/timeseries/0.2/payload.ts +279 -0
- package/src/external/_shared/0.1/accounts.ts +1 -1
- package/src/external/_shared/0.2/accounts.ts +19 -0
- package/src/external/accounts/archive/0.1/payload.ts +1 -1
- package/src/external/accounts/archive/0.2/payload.ts +1770 -0
- package/src/external/accounts/bindings/grant/0.1/payload.ts +1 -1
- package/src/external/accounts/bindings/grant/0.2/payload.ts +1766 -0
- package/src/external/accounts/bindings/revoke/0.1/payload.ts +1 -1
- package/src/external/accounts/bindings/revoke/0.2/payload.ts +1778 -0
- package/src/external/accounts/create/0.1/payload.ts +1 -1
- package/src/external/accounts/create/0.2/payload.ts +1777 -0
- package/src/external/accounts/get/0.1/payload.ts +1 -1
- package/src/external/accounts/get/0.2/payload.ts +1761 -0
- package/src/external/accounts/keys/rotate/0.1/payload.ts +1 -1
- package/src/external/accounts/keys/rotate/0.2/payload.ts +1947 -0
- package/src/external/accounts/list/0.1/payload.ts +1 -1
- package/src/external/accounts/list/0.2/payload.ts +1834 -0
- package/src/external/accounts/probe/0.1/payload.ts +1 -1
- package/src/external/accounts/probe/0.2/payload.ts +337 -0
- package/src/external/accounts/restore/0.1/payload.ts +1 -1
- package/src/external/accounts/restore/0.2/payload.ts +1770 -0
- package/src/external/accounts/resume/0.1/payload.ts +1 -1
- package/src/external/accounts/resume/0.2/payload.ts +1770 -0
- package/src/external/accounts/suspend/0.1/payload.ts +1 -1
- package/src/external/accounts/suspend/0.2/payload.ts +1770 -0
- package/src/external/accounts/update/0.1/payload.ts +1 -1
- package/src/external/accounts/update/0.2/payload.ts +1771 -0
- package/src/git-ns/_shared/0.1/git-ns.ts +1 -1
- package/src/git-ns/_shared/0.2/git-ns.ts +1 -1
- package/src/git-ns/_shared/0.3/git-ns.ts +1 -1
- package/src/git-ns/_shared/0.4/git-ns.ts +1 -1
- package/src/git-ns/_shared/0.5/git-ns.ts +1 -1
- package/src/git-ns/_shared/0.6/git-ns.ts +17 -0
- package/src/git-ns/account/link/0.1/payload.ts +1 -1
- package/src/git-ns/account/link-status/0.1/payload.ts +1 -1
- package/src/git-ns/account/list/0.1/payload.ts +1 -1
- package/src/git-ns/account/list/0.2/payload.ts +386 -0
- package/src/git-ns/account/unlink/0.1/payload.ts +1 -1
- package/src/git-ns/activity/list/0.1/payload.ts +1 -1
- package/src/git-ns/activity/list/0.2/payload.ts +438 -0
- package/src/git-ns/activity/list/0.3/payload.ts +438 -0
- package/src/git-ns/bridge/event/0.1/payload.ts +1 -1
- package/src/git-ns/bridge/event/0.2/payload.ts +1 -1
- package/src/git-ns/bridge/event/0.3/payload.ts +1 -1
- package/src/git-ns/bridge/event/0.4/payload.ts +1 -1
- package/src/git-ns/bridge/event/0.5/payload.ts +1283 -0
- package/src/git-ns/bridge/job/0.1/payload.ts +1 -1
- package/src/git-ns/bridge/job/0.2/payload.ts +1 -1
- package/src/git-ns/bridge/job/0.3/payload.ts +1 -1
- package/src/git-ns/bridge/job/0.4/payload.ts +1 -1
- package/src/git-ns/bridge/job/0.5/payload.ts +1 -1
- package/src/git-ns/bridge/job/0.6/payload.ts +728 -0
- package/src/git-ns/bridge/job/list/0.1/payload.ts +1 -1
- package/src/git-ns/bridge/job/list/0.2/payload.ts +1 -1
- package/src/git-ns/bridge/job/list/0.3/payload.ts +511 -0
- package/src/git-ns/bridge/job/list/0.4/payload.ts +511 -0
- package/src/git-ns/bridge/result/0.1/payload.ts +1 -1
- package/src/git-ns/bridge/result/0.2/payload.ts +321 -0
- package/src/git-ns/drift/resolve/0.1/payload.ts +1 -1
- package/src/git-ns/drift/resolve/0.2/payload.ts +1 -1
- package/src/git-ns/drift/resolve/0.3/payload.ts +1 -1
- package/src/git-ns/drift/resolve/0.4/payload.ts +801 -0
- package/src/git-ns/namespace/bind/0.1/payload.ts +1 -1
- package/src/git-ns/namespace/bind/0.2/payload.ts +374 -0
- package/src/git-ns/namespace/list/0.1/payload.ts +1 -1
- package/src/git-ns/namespace/list/0.2/payload.ts +883 -0
- package/src/git-ns/namespace/reseat/0.1/payload.ts +1 -1
- package/src/git-ns/namespace/reseat/0.2/payload.ts +1 -1
- package/src/git-ns/namespace/reseat/0.3/payload.ts +1 -1
- package/src/git-ns/namespace/reseat/0.4/payload.ts +436 -0
- package/src/git-ns/projection/show/0.1/payload.ts +1 -1
- package/src/git-ns/projection/show/0.2/payload.ts +473 -0
- package/src/git-ns/projection/show/0.3/payload.ts +473 -0
- package/src/git-ns/repo/adopt/0.1/payload.ts +1 -1
- package/src/git-ns/repo/adopt/0.2/payload.ts +1 -1
- package/src/git-ns/repo/adopt/0.3/payload.ts +628 -0
- package/src/git-ns/repo/archive/0.1/payload.ts +1 -1
- package/src/git-ns/repo/archive/0.2/payload.ts +1 -1
- package/src/git-ns/repo/archive/0.3/payload.ts +626 -0
- package/src/git-ns/repo/create/0.1/payload.ts +1 -1
- package/src/git-ns/repo/create/0.2/payload.ts +1 -1
- package/src/git-ns/repo/create/0.3/payload.ts +1 -1
- package/src/git-ns/repo/create/0.4/payload.ts +706 -0
- package/src/git-ns/repo/list/0.1/payload.ts +1 -1
- package/src/git-ns/repo/list/0.2/payload.ts +909 -0
- package/src/git-ns/repo/transfer/0.1/payload.ts +1 -1
- package/src/git-ns/repo/transfer/0.2/payload.ts +1 -1
- package/src/git-ns/repo/transfer/0.3/payload.ts +619 -0
- package/src/git-ns/right/break-glass/0.1/payload.ts +1 -1
- package/src/git-ns/right/break-glass/0.2/payload.ts +443 -0
- package/src/git-ns/right/break-glass-notice/0.1/payload.ts +1 -1
- package/src/git-ns/right/break-glass-notice/0.2/payload.ts +258 -0
- package/src/git-ns/right/grant/0.1/payload.ts +1 -1
- package/src/git-ns/right/grant/0.2/payload.ts +1 -1
- package/src/git-ns/right/grant/0.3/payload.ts +1 -1
- package/src/git-ns/right/grant/0.4/payload.ts +434 -0
- package/src/git-ns/right/issued-by-departed/0.1/payload.ts +1 -1
- package/src/git-ns/right/issued-by-departed/0.2/payload.ts +544 -0
- package/src/git-ns/right/issued-by-departed/0.3/payload.ts +544 -0
- package/src/git-ns/right/list/0.1/payload.ts +1 -1
- package/src/git-ns/right/list/0.2/payload.ts +487 -0
- package/src/git-ns/right/list/0.3/payload.ts +487 -0
- package/src/git-ns/right/ratify/0.1/payload.ts +1 -1
- package/src/git-ns/right/ratify/0.2/payload.ts +455 -0
- package/src/git-ns/right/revoke/0.1/payload.ts +1 -1
- package/src/git-ns/right/revoke/0.2/payload.ts +1 -1
- package/src/git-ns/right/revoke/0.3/payload.ts +1 -1
- package/src/git-ns/right/revoke/0.4/payload.ts +425 -0
- package/src/git-ns/roles/reproject/0.1/payload.ts +1 -1
- package/src/git-ns/roles/reproject/0.2/payload.ts +220 -0
- package/src/git-ns/view/0.1/payload.ts +1 -1
- package/src/git-ns/view/0.2/payload.ts +1 -1
- package/src/git-ns/view/0.3/payload.ts +1 -1
- package/src/git-ns/view/0.4/payload.ts +1 -1
- package/src/git-ns/view/0.5/payload.ts +1 -1
- package/src/git-ns/view/0.6/payload.ts +1095 -0
- package/src/index.ts +187 -0
- package/src/keys/list/0.2/payload.ts +412 -0
- package/src/messaging/_shared/0.1/mediator-ops.ts +1 -1
- package/src/messaging/_shared/0.1/messaging.ts +1 -1
- package/src/messaging/_shared/0.2/messaging.ts +17 -0
- package/src/messaging/_shared/0.3/mediator-ops.ts +17 -0
- package/src/messaging/account/add/0.1/payload.ts +1 -1
- package/src/messaging/account/add/0.2/payload.ts +664 -0
- package/src/messaging/account/change-queue-limits/0.1/payload.ts +1 -1
- package/src/messaging/account/change-type/0.1/payload.ts +1 -1
- package/src/messaging/account/get/0.1/payload.ts +1 -1
- package/src/messaging/account/get/0.2/payload.ts +655 -0
- package/src/messaging/account/list/0.1/payload.ts +1 -1
- package/src/messaging/account/list/0.2/payload.ts +691 -0
- package/src/messaging/account/update/0.1/payload.ts +1 -1
- package/src/messaging/account/update/0.2/payload.ts +663 -0
- package/src/messaging/message/status/0.2/payload.ts +270 -0
- package/src/messaging/monitor/event/0.1/payload.ts +1 -1
- package/src/messaging/monitor/event/0.2/payload.ts +267 -0
- package/src/messaging/ping/0.2/payload.ts +226 -0
- package/src/persona/attribute/promote/1.1/payload.ts +344 -0
- package/src/persona/attribute/put/1.1/payload.ts +792 -0
- package/src/persona/contact/lists/put/1.1/payload.ts +429 -0
- package/src/persona/contact/put/1.2/payload.ts +988 -0
- package/src/persona/correlation/analyze/1.2/payload.ts +514 -0
- package/src/persona/local/profile/put/1.1/payload.ts +399 -0
- package/src/persona/profile/compose/1.1/payload.ts +659 -0
- package/src/persona/profile/put/1.1/payload.ts +917 -0
- package/src/persona/profile/timeline/1.1/payload.ts +402 -0
- package/src/persona/world/put/1.1/payload.ts +339 -0
- package/src/policy/list/0.3/payload.ts +325 -0
- package/src/policy/upsert/0.3/payload.ts +341 -0
- package/src/registry/record/put/0.2/payload.ts +299 -0
- package/src/registry/record/query/0.2/payload.ts +324 -0
- package/src/rooms/_shared/0.1/room.ts +1 -1
- package/src/rooms/_shared/0.2/room.ts +17 -0
- package/src/rooms/info/0.2/payload.ts +1 -1
- package/src/rooms/info/0.3/payload.ts +700 -0
- package/src/rooms/keys/act/0.7/payload.ts +380 -0
- package/src/rooms/keys/act/0.8/payload.ts +380 -0
- package/src/rooms/keys/browse/0.2/payload.ts +1 -1
- package/src/rooms/keys/browse/0.3/payload.ts +628 -0
- package/src/rooms/records/list/0.3/payload.ts +1 -1
- package/src/rooms/records/list/0.4/payload.ts +601 -0
- package/src/rooms/records/list/0.5/payload.ts +601 -0
- package/src/rooms/records/prune/0.1/payload.ts +1 -1
- package/src/rooms/records/prune/0.2/payload.ts +451 -0
- package/src/vault/list/0.4/payload.ts +945 -0
- package/src/vault/sync/0.3/payload.ts +1120 -0
- package/src/vault/upsert/0.4/payload.ts +1077 -0
- package/src/vault/usage/0.3/payload.ts +416 -0
- package/src/voting/_shared/0.1/voting.ts +1 -1
- package/src/voting/_shared/0.2/voting.ts +17 -0
- package/src/voting/board/read/0.1/payload.ts +1 -1
- package/src/voting/board/read/0.2/payload.ts +2199 -0
- package/src/voting/election/close/0.1/payload.ts +2 -2
- package/src/voting/election/register/0.1/payload.ts +1 -1
- package/src/voting/election/register/0.2/payload.ts +1207 -0
- package/src/voting/election/show/0.1/payload.ts +1 -1
- package/src/voting/election/show/0.2/payload.ts +1149 -0
- package/src/vta/_shared/0.1/app-state-record.ts +1 -1
- package/src/vta/_shared/0.1/service.ts +1 -1
- package/src/vta/_shared/0.1/webvh-records.ts +1 -1
- package/src/vta/_shared/0.7/app-state-record.ts +23 -0
- package/src/vta/_shared/0.7/did-template.ts +17 -0
- package/src/vta/_shared/0.7/webvh-records.ts +17 -0
- package/src/vta/_shared/0.8/service.ts +17 -0
- package/src/vta/app-state/list/1.1/payload.ts +444 -0
- package/src/vta/app-state/put/1.1/payload.ts +374 -0
- package/src/vta/app-state/put-many/1.0/payload.ts +1 -1
- package/src/vta/app-state/put-many/1.1/payload.ts +538 -0
- package/src/vta/attestation/mnemonic-export/1.1/payload.ts +232 -0
- package/src/vta/attestation/mnemonic-status/0.2/payload.ts +203 -0
- package/src/vta/credentials/list/0.2/payload.ts +406 -0
- package/src/vta/did-templates/create/3.1/payload.ts +721 -0
- package/src/vta/did-templates/get/3.1/payload.ts +500 -0
- package/src/vta/did-templates/list/3.1/payload.ts +535 -0
- package/src/vta/did-templates/update/3.1/payload.ts +731 -0
- package/src/vta/passkey-vms/enroll-submit/0.2/payload.ts +393 -0
- package/src/vta/pcs/trustee/deal/0.1/payload.ts +1 -1
- package/src/vta/pcs/trustee/deal/0.2/payload.ts +1 -1
- package/src/vta/pcs/trustee/deal/0.3/payload.ts +1148 -0
- package/src/vta/pcs/trustee/enrol/0.1/payload.ts +1 -1
- package/src/vta/pcs/trustee/enrol/0.2/payload.ts +1107 -0
- package/src/vta/pcs/trustee/justify/0.2/payload.ts +1 -1
- package/src/vta/pcs/trustee/justify/0.3/payload.ts +1167 -0
- package/src/vta/pcs/trustee/keys/0.1/payload.ts +1 -1
- package/src/vta/pcs/trustee/keys/0.2/payload.ts +1 -1
- package/src/vta/pcs/trustee/keys/0.3/payload.ts +1194 -0
- package/src/vta/pcs/trustee/read/0.2/payload.ts +369 -0
- package/src/vta/pcs/vote/0.1/payload.ts +1 -1
- package/src/vta/pcs/vote/0.2/payload.ts +1365 -0
- package/src/vta/pcs/vote-encrypted/0.1/payload.ts +1 -1
- package/src/vta/pcs/vote-encrypted/0.2/payload.ts +1 -1
- package/src/vta/pcs/vote-encrypted/0.3/payload.ts +1369 -0
- package/src/vta/pcs/voter/read/0.2/payload.ts +347 -0
- package/src/vta/pcs/voter/register/0.1/payload.ts +1 -1
- package/src/vta/pcs/voter/register/0.2/payload.ts +1356 -0
- package/src/vta/services/disable/1.0/payload.ts +1 -1
- package/src/vta/services/disable/1.1/payload.ts +278 -0
- package/src/vta/services/drain/cancel/1.0/payload.ts +2 -2
- package/src/vta/services/drain/list/1.0/payload.ts +1 -1
- package/src/vta/services/drain/list/1.1/payload.ts +225 -0
- package/src/vta/services/enable/1.0/payload.ts +1 -1
- package/src/vta/services/enable/1.1/payload.ts +317 -0
- package/src/vta/services/get/1.0/payload.ts +1 -1
- package/src/vta/services/get/1.1/payload.ts +253 -0
- package/src/vta/services/list/1.0/payload.ts +1 -1
- package/src/vta/services/list/1.1/payload.ts +257 -0
- package/src/vta/services/report/0.2/payload.ts +419 -0
- package/src/vta/services/rollback/1.0/payload.ts +1 -1
- package/src/vta/services/rollback/1.1/payload.ts +1 -1
- package/src/vta/services/rollback/1.2/payload.ts +294 -0
- package/src/vta/services/update/1.0/payload.ts +1 -1
- package/src/vta/services/update/1.1/payload.ts +1 -1
- package/src/vta/services/update/1.2/payload.ts +326 -0
- package/src/vta/webvh/agent-name/list/1.0/payload.ts +1 -1
- package/src/vta/webvh/agent-name/list/1.1/payload.ts +242 -0
- package/src/vta/webvh/dids/update/2.1/payload.ts +713 -0
- package/src/vta/witness/list/0.2/payload.ts +427 -0
- package/src/vtc/_shared/0.1/community-room.ts +1 -1
- package/src/vtc/_shared/0.1/relationship-lifecycle.ts +1 -1
- package/src/vtc/_shared/0.1/room-storage.ts +1 -1
- package/src/vtc/_shared/0.3/community-room.ts +17 -0
- package/src/vtc/_shared/0.3/room-storage.ts +17 -0
- package/src/vtc/_shared/0.4/community-room.ts +17 -0
- package/src/vtc/_shared/0.4/relationship-lifecycle.ts +17 -0
- package/src/vtc/admin/actions/_shared/0.3/action.ts +29 -0
- package/src/vtc/admin/actions/acknowledge/0.3/payload.ts +701 -0
- package/src/vtc/admin/actions/cancel/0.3/payload.ts +710 -0
- package/src/vtc/admin/actions/list/0.3/payload.ts +825 -0
- package/src/vtc/admin/actions/show/0.3/payload.ts +701 -0
- package/src/vtc/admin/events/event/0.5/payload.ts +137 -0
- package/src/vtc/admin/events/subscribe/0.5/payload.ts +318 -0
- package/src/vtc/admin/events/subscribe/0.6/payload.ts +318 -0
- package/src/vtc/auth/admin-session/0.2/payload.ts +180 -0
- package/src/vtc/auth/recognise/0.3/payload.ts +233 -0
- package/src/vtc/auth/recognise/challenge/0.2/payload.ts +168 -0
- package/src/vtc/directory/entries/list/0.2/payload.ts +5670 -0
- package/src/vtc/directory/export/0.2/payload.ts +244 -0
- package/src/vtc/directory/notes/list/0.2/payload.ts +340 -0
- package/src/vtc/elections/create/0.1/payload.ts +1 -1
- package/src/vtc/elections/create/0.2/payload.ts +1041 -0
- package/src/vtc/elections/list/0.2/payload.ts +371 -0
- package/src/vtc/elections/list/0.3/payload.ts +371 -0
- package/src/vtc/elections/show/0.1/payload.ts +1 -1
- package/src/vtc/elections/show/0.2/payload.ts +1849 -0
- package/src/vtc/endorsement-types/list/0.2/payload.ts +247 -0
- package/src/vtc/endorsements/list/0.2/payload.ts +400 -0
- package/src/vtc/groups/list/0.2/payload.ts +731 -0
- package/src/vtc/groups/members/list/0.2/payload.ts +650 -0
- package/src/vtc/groups/requests/list/0.2/payload.ts +677 -0
- package/src/vtc/join-requests/list/0.2/payload.ts +447 -0
- package/src/vtc/members/authority-reduction-pending-notice/0.1/payload.ts +2 -2
- package/src/vtc/members/list/0.2/payload.ts +426 -0
- package/src/vtc/members/step-up-passkey-notice/0.2/payload.ts +137 -0
- package/src/vtc/operator/offline-write/0.2/payload.ts +133 -0
- package/src/vtc/registry/records/list/0.2/payload.ts +401 -0
- package/src/vtc/registry/sync-jobs/list/0.2/payload.ts +427 -0
- package/src/vtc/relationships/list/0.3/payload.ts +309 -0
- package/src/vtc/relationships/restore/0.1/payload.ts +1 -1
- package/src/vtc/relationships/restore/0.2/payload.ts +307 -0
- package/src/vtc/relationships/suspend/0.1/payload.ts +1 -1
- package/src/vtc/relationships/suspend/0.2/payload.ts +307 -0
- package/src/vtc/rooms/community/create/0.1/payload.ts +1 -1
- package/src/vtc/rooms/community/create/0.2/payload.ts +1 -1
- package/src/vtc/rooms/community/create/0.3/payload.ts +1 -1
- package/src/vtc/rooms/community/create/0.4/payload.ts +635 -0
- package/src/vtc/rooms/community/get/0.1/payload.ts +1 -1
- package/src/vtc/rooms/community/get/0.2/payload.ts +1 -1
- package/src/vtc/rooms/community/get/0.3/payload.ts +549 -0
- package/src/vtc/rooms/community/list/0.1/payload.ts +1 -1
- package/src/vtc/rooms/community/list/0.2/payload.ts +1 -1
- package/src/vtc/rooms/community/list/0.3/payload.ts +591 -0
- package/src/vtc/rooms/community/update/0.1/payload.ts +1 -1
- package/src/vtc/rooms/community/update/0.2/payload.ts +1 -1
- package/src/vtc/rooms/community/update/0.3/payload.ts +653 -0
- package/src/vtc/rooms/get/0.1/payload.ts +1 -1
- package/src/vtc/rooms/get/0.2/payload.ts +1 -1
- package/src/vtc/rooms/get/0.3/payload.ts +1372 -0
- package/src/vtc/rooms/list/0.2/payload.ts +449 -0
- package/src/vtc/rooms/offers/list/0.3/payload.ts +1 -1
- package/src/vtc/rooms/offers/list/0.4/payload.ts +663 -0
- package/src/vtc/website/files/list/0.2/payload.ts +252 -0
- package/src/vtc/website/files/list/0.3/payload.ts +252 -0
|
@@ -0,0 +1,3584 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by scripts/build-ts-bindings.mjs — DO NOT EDIT BY HAND.
|
|
3
|
+
* Source: specs/voting/board/read/0.2/payload.schema.json
|
|
4
|
+
*/
|
|
5
|
+
import type { Answer, Ballot, BoardEntry_VotingV0_2 as BoardEntry, BoardHead, Cast, CastEntry_VotingV0_2 as CastEntry, ConfirmationEntry_VotingV0_2 as ConfirmationEntry, Dealing, DealingEntry_VotingV0_2 as DealingEntry, DecryptionAuthorizedEntry_VotingV0_2 as DecryptionAuthorizedEntry, DecryptionTarget, DigestMultibase, ElectionId, ElectionKey, ElectionKeyEntry_VotingV0_2 as ElectionKeyEntry, ElectionResult, ElGamalCiphertext, EncryptedCast, EncryptedCastEntry_VotingV0_2 as EncryptedCastEntry, Ext, GroupElement, GroupScalar, JustificationEntry_VotingV0_2 as JustificationEntry, Key_VotingV0_1 as Key, LifecycleEntry_VotingV0_2 as LifecycleEntry, Multibase_VotingV0_1 as Multibase, PartialDecryption, PartialDecryptionsEntry_VotingV0_2 as PartialDecryptionsEntry, QuestionResult, ReplacementEntry_VotingV0_2 as ReplacementEntry, ResultEntry_VotingV0_2 as ResultEntry, SealedPayload, SealedShare, SigmaProof, SignedRequest, SpoiledEntry_VotingV0_2 as SpoiledEntry, TransportKey, TransportKeyEntry_VotingV0_2 as TransportKeyEntry, TrusteeIndex, TrusteeStepEntry_VotingV0_2 as TrusteeStepEntry, UnsealedEntry_VotingV0_2 as UnsealedEntry } from "../../../../_shared/components.js";
|
|
6
|
+
/**
|
|
7
|
+
* Reads a range of an election board's entries, against the current head or against an earlier tree size.
|
|
8
|
+
*/
|
|
9
|
+
export interface VotingBoardReadPayload {
|
|
10
|
+
/**
|
|
11
|
+
* The community's DID.
|
|
12
|
+
*/
|
|
13
|
+
community: string;
|
|
14
|
+
electionId: ElectionId;
|
|
15
|
+
/**
|
|
16
|
+
* The index of the first entry to return.
|
|
17
|
+
*/
|
|
18
|
+
from: number;
|
|
19
|
+
/**
|
|
20
|
+
* The most entries to return.
|
|
21
|
+
*/
|
|
22
|
+
limit: number;
|
|
23
|
+
/**
|
|
24
|
+
* Read against the board as it stood at this size — the size of a head the reader holds. At most the current size. Absent: the current size.
|
|
25
|
+
*/
|
|
26
|
+
treeSize?: number;
|
|
27
|
+
ext?: Ext;
|
|
28
|
+
}
|
|
29
|
+
export interface VotingBoardReadResponsePayload {
|
|
30
|
+
/**
|
|
31
|
+
* The tree size the page was read against. No entry at or beyond it is returned.
|
|
32
|
+
*/
|
|
33
|
+
treeSize: number;
|
|
34
|
+
/**
|
|
35
|
+
* Consecutive entries from `from`, in board order.
|
|
36
|
+
*
|
|
37
|
+
* @maxItems 1000
|
|
38
|
+
*/
|
|
39
|
+
entries: {
|
|
40
|
+
index: number;
|
|
41
|
+
entry: BoardEntry;
|
|
42
|
+
}[];
|
|
43
|
+
/**
|
|
44
|
+
* The `from` of the next page. Absent when the page reaches `treeSize`.
|
|
45
|
+
*/
|
|
46
|
+
next?: number;
|
|
47
|
+
ext?: Ext;
|
|
48
|
+
}
|
|
49
|
+
/** Shared definitions this specification references, re-exported under the names it used to declare them with. */
|
|
50
|
+
export type { Answer, Ballot, BoardEntry, BoardHead, Cast, CastEntry, ConfirmationEntry, Dealing, DealingEntry, DecryptionAuthorizedEntry, DecryptionTarget, DigestMultibase, ElectionId, ElectionKey, ElectionKeyEntry, ElectionResult, ElGamalCiphertext, EncryptedCast, EncryptedCastEntry, Ext, GroupElement, GroupScalar, JustificationEntry, Key, LifecycleEntry, Multibase, PartialDecryption, PartialDecryptionsEntry, QuestionResult, ReplacementEntry, ResultEntry, SealedPayload, SealedShare, SigmaProof, SignedRequest, SpoiledEntry, TransportKey, TransportKeyEntry, TrusteeIndex, TrusteeStepEntry, UnsealedEntry };
|
|
51
|
+
/** Trust Task type URI. */
|
|
52
|
+
export declare const TYPE_URI: "https://trusttasks.org/spec/voting/board/read/0.2";
|
|
53
|
+
/** Stable alias for this specification's request payload shape. */
|
|
54
|
+
export type Payload = VotingBoardReadPayload;
|
|
55
|
+
/** Trust Task response type URI (request type URI + "#response"). */
|
|
56
|
+
export declare const RESPONSE_TYPE_URI: "https://trusttasks.org/spec/voting/board/read/0.2#response";
|
|
57
|
+
/** Stable alias for this specification's success-response payload shape. */
|
|
58
|
+
export type Response = VotingBoardReadResponsePayload;
|
|
59
|
+
/**
|
|
60
|
+
* This specification's payload schema, as a value.
|
|
61
|
+
*
|
|
62
|
+
* SPEC.md §7.2 item 2 is performed against this. It is shipped as data
|
|
63
|
+
* rather than only as a `.json` file because TypeScript types are erased
|
|
64
|
+
* at runtime: without a schema a consumer has nothing to validate, and
|
|
65
|
+
* every REQUIRED payload member is optional in practice. Cross-file
|
|
66
|
+
* `$ref`s are already inlined, so it needs no resolver.
|
|
67
|
+
*/
|
|
68
|
+
export declare const PAYLOAD_SCHEMA: {
|
|
69
|
+
readonly $schema: "https://json-schema.org/draft/2020-12/schema";
|
|
70
|
+
readonly $id: "https://trusttasks.org/spec/voting/board/read/0.2";
|
|
71
|
+
readonly title: "Voting — Board Read — payload";
|
|
72
|
+
readonly description: "Reads a range of an election board's entries, against the current head or against an earlier tree size.";
|
|
73
|
+
readonly type: "object";
|
|
74
|
+
readonly additionalProperties: false;
|
|
75
|
+
readonly required: readonly ["community", "electionId", "from", "limit"];
|
|
76
|
+
readonly properties: {
|
|
77
|
+
readonly community: {
|
|
78
|
+
readonly type: "string";
|
|
79
|
+
readonly minLength: 1;
|
|
80
|
+
readonly maxLength: 2048;
|
|
81
|
+
readonly description: "The community's DID.";
|
|
82
|
+
};
|
|
83
|
+
readonly electionId: {
|
|
84
|
+
readonly $ref: "#/$defs/ElectionId";
|
|
85
|
+
};
|
|
86
|
+
readonly from: {
|
|
87
|
+
readonly type: "integer";
|
|
88
|
+
readonly minimum: 0;
|
|
89
|
+
readonly description: "The index of the first entry to return.";
|
|
90
|
+
};
|
|
91
|
+
readonly limit: {
|
|
92
|
+
readonly type: "integer";
|
|
93
|
+
readonly minimum: 1;
|
|
94
|
+
readonly maximum: 1000;
|
|
95
|
+
readonly description: "The most entries to return.";
|
|
96
|
+
};
|
|
97
|
+
readonly treeSize: {
|
|
98
|
+
readonly type: "integer";
|
|
99
|
+
readonly minimum: 0;
|
|
100
|
+
readonly description: "Read against the board as it stood at this size — the size of a head the reader holds. At most the current size. Absent: the current size.";
|
|
101
|
+
};
|
|
102
|
+
readonly ext: {
|
|
103
|
+
readonly $ref: "#/$defs/Ext";
|
|
104
|
+
};
|
|
105
|
+
};
|
|
106
|
+
readonly $defs: {
|
|
107
|
+
readonly Response: {
|
|
108
|
+
readonly $anchor: "response";
|
|
109
|
+
readonly title: "Voting — Board Read — response payload";
|
|
110
|
+
readonly type: "object";
|
|
111
|
+
readonly additionalProperties: false;
|
|
112
|
+
readonly required: readonly ["treeSize", "entries"];
|
|
113
|
+
readonly properties: {
|
|
114
|
+
readonly treeSize: {
|
|
115
|
+
readonly type: "integer";
|
|
116
|
+
readonly minimum: 0;
|
|
117
|
+
readonly description: "The tree size the page was read against. No entry at or beyond it is returned.";
|
|
118
|
+
};
|
|
119
|
+
readonly entries: {
|
|
120
|
+
readonly type: "array";
|
|
121
|
+
readonly maxItems: 1000;
|
|
122
|
+
readonly items: {
|
|
123
|
+
readonly type: "object";
|
|
124
|
+
readonly additionalProperties: false;
|
|
125
|
+
readonly required: readonly ["index", "entry"];
|
|
126
|
+
readonly properties: {
|
|
127
|
+
readonly index: {
|
|
128
|
+
readonly type: "integer";
|
|
129
|
+
readonly minimum: 0;
|
|
130
|
+
};
|
|
131
|
+
readonly entry: {
|
|
132
|
+
readonly $ref: "#/$defs/BoardEntry";
|
|
133
|
+
};
|
|
134
|
+
};
|
|
135
|
+
};
|
|
136
|
+
readonly description: "Consecutive entries from `from`, in board order.";
|
|
137
|
+
};
|
|
138
|
+
readonly next: {
|
|
139
|
+
readonly type: "integer";
|
|
140
|
+
readonly minimum: 1;
|
|
141
|
+
readonly description: "The `from` of the next page. Absent when the page reaches `treeSize`.";
|
|
142
|
+
};
|
|
143
|
+
readonly ext: {
|
|
144
|
+
readonly $ref: "#/$defs/Ext";
|
|
145
|
+
};
|
|
146
|
+
};
|
|
147
|
+
};
|
|
148
|
+
readonly Ext: {
|
|
149
|
+
readonly title: "Ext";
|
|
150
|
+
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.";
|
|
151
|
+
readonly type: "object";
|
|
152
|
+
readonly minProperties: 1;
|
|
153
|
+
readonly additionalProperties: true;
|
|
154
|
+
readonly propertyNames: {
|
|
155
|
+
readonly pattern: "^[a-z][a-z0-9-]*(\\.[a-z0-9-]+)+$";
|
|
156
|
+
};
|
|
157
|
+
};
|
|
158
|
+
readonly BoardEntry: {
|
|
159
|
+
readonly title: "BoardEntry";
|
|
160
|
+
readonly description: "One leaf of a board. A leaf's hash is the RFC 9162 leaf hash of the JCS canonicalization of this object. Entries carry no time of arrival: the order is the board's, and a timestamp would hand anyone who reads the board the timing the registrar's log would need to pair a ticket with its cast.";
|
|
161
|
+
readonly oneOf: readonly [{
|
|
162
|
+
readonly title: "CastEntry";
|
|
163
|
+
readonly type: "object";
|
|
164
|
+
readonly additionalProperties: false;
|
|
165
|
+
readonly required: readonly ["kind", "cast"];
|
|
166
|
+
readonly properties: {
|
|
167
|
+
readonly kind: {
|
|
168
|
+
readonly const: "cast";
|
|
169
|
+
};
|
|
170
|
+
readonly cast: {
|
|
171
|
+
readonly $ref: "#/$defs/Cast";
|
|
172
|
+
};
|
|
173
|
+
};
|
|
174
|
+
}, {
|
|
175
|
+
readonly title: "ReplacementEntry";
|
|
176
|
+
readonly description: "The cast at `replaces` is no longer counted: a later cast under the same tag is.";
|
|
177
|
+
readonly type: "object";
|
|
178
|
+
readonly additionalProperties: false;
|
|
179
|
+
readonly required: readonly ["kind", "tag", "replaces", "by"];
|
|
180
|
+
readonly properties: {
|
|
181
|
+
readonly kind: {
|
|
182
|
+
readonly const: "replaced";
|
|
183
|
+
};
|
|
184
|
+
readonly tag: {
|
|
185
|
+
readonly $ref: "#/$defs/Multibase";
|
|
186
|
+
};
|
|
187
|
+
readonly replaces: {
|
|
188
|
+
readonly type: "integer";
|
|
189
|
+
readonly minimum: 0;
|
|
190
|
+
};
|
|
191
|
+
readonly by: {
|
|
192
|
+
readonly type: "integer";
|
|
193
|
+
readonly minimum: 0;
|
|
194
|
+
};
|
|
195
|
+
};
|
|
196
|
+
}, {
|
|
197
|
+
readonly title: "LifecycleEntry";
|
|
198
|
+
readonly type: "object";
|
|
199
|
+
readonly additionalProperties: false;
|
|
200
|
+
readonly required: readonly ["kind", "occurredAt"];
|
|
201
|
+
readonly properties: {
|
|
202
|
+
readonly kind: {
|
|
203
|
+
readonly enum: readonly ["opened", "closed", "closedEarly", "cancelled"];
|
|
204
|
+
};
|
|
205
|
+
readonly occurredAt: {
|
|
206
|
+
readonly type: "string";
|
|
207
|
+
readonly format: "date-time";
|
|
208
|
+
};
|
|
209
|
+
};
|
|
210
|
+
}, {
|
|
211
|
+
readonly title: "ResultEntry";
|
|
212
|
+
readonly type: "object";
|
|
213
|
+
readonly additionalProperties: false;
|
|
214
|
+
readonly required: readonly ["kind", "result"];
|
|
215
|
+
readonly properties: {
|
|
216
|
+
readonly kind: {
|
|
217
|
+
readonly const: "result";
|
|
218
|
+
};
|
|
219
|
+
readonly result: {
|
|
220
|
+
readonly $ref: "#/$defs/ElectionResult";
|
|
221
|
+
};
|
|
222
|
+
};
|
|
223
|
+
}, {
|
|
224
|
+
readonly title: "EncryptedCastEntry";
|
|
225
|
+
readonly type: "object";
|
|
226
|
+
readonly additionalProperties: false;
|
|
227
|
+
readonly required: readonly ["kind", "cast"];
|
|
228
|
+
readonly properties: {
|
|
229
|
+
readonly kind: {
|
|
230
|
+
readonly const: "encryptedCast";
|
|
231
|
+
};
|
|
232
|
+
readonly cast: {
|
|
233
|
+
readonly $ref: "#/$defs/EncryptedCast";
|
|
234
|
+
};
|
|
235
|
+
};
|
|
236
|
+
}, {
|
|
237
|
+
readonly title: "TransportKeyEntry";
|
|
238
|
+
readonly type: "object";
|
|
239
|
+
readonly additionalProperties: false;
|
|
240
|
+
readonly required: readonly ["kind", "transportKey"];
|
|
241
|
+
readonly properties: {
|
|
242
|
+
readonly kind: {
|
|
243
|
+
readonly const: "transportKey";
|
|
244
|
+
};
|
|
245
|
+
readonly transportKey: {
|
|
246
|
+
readonly $ref: "#/$defs/TransportKey";
|
|
247
|
+
};
|
|
248
|
+
};
|
|
249
|
+
readonly description: "Not appended: each enrolment, dealing, confirmation and justification is a `trusteeStep` entry carrying the trustee's signed request (CONVENTIONS §9.6). A consumer MUST refuse a board holding this kind.";
|
|
250
|
+
}, {
|
|
251
|
+
readonly title: "DealingEntry";
|
|
252
|
+
readonly type: "object";
|
|
253
|
+
readonly additionalProperties: false;
|
|
254
|
+
readonly required: readonly ["kind", "dealing"];
|
|
255
|
+
readonly properties: {
|
|
256
|
+
readonly kind: {
|
|
257
|
+
readonly const: "dealing";
|
|
258
|
+
};
|
|
259
|
+
readonly dealing: {
|
|
260
|
+
readonly $ref: "#/$defs/Dealing";
|
|
261
|
+
};
|
|
262
|
+
};
|
|
263
|
+
readonly description: "Not appended: each enrolment, dealing, confirmation and justification is a `trusteeStep` entry carrying the trustee's signed request (CONVENTIONS §9.6). A consumer MUST refuse a board holding this kind.";
|
|
264
|
+
}, {
|
|
265
|
+
readonly title: "ConfirmationEntry";
|
|
266
|
+
readonly type: "object";
|
|
267
|
+
readonly additionalProperties: false;
|
|
268
|
+
readonly required: readonly ["kind", "trustee", "complaints"];
|
|
269
|
+
readonly properties: {
|
|
270
|
+
readonly kind: {
|
|
271
|
+
readonly const: "confirmation";
|
|
272
|
+
};
|
|
273
|
+
readonly trustee: {
|
|
274
|
+
readonly $ref: "#/$defs/TrusteeIndex";
|
|
275
|
+
};
|
|
276
|
+
readonly complaints: {
|
|
277
|
+
readonly type: "array";
|
|
278
|
+
readonly maxItems: 64;
|
|
279
|
+
readonly items: {
|
|
280
|
+
readonly $ref: "#/$defs/TrusteeIndex";
|
|
281
|
+
};
|
|
282
|
+
};
|
|
283
|
+
};
|
|
284
|
+
readonly description: "Not appended: each enrolment, dealing, confirmation and justification is a `trusteeStep` entry carrying the trustee's signed request (CONVENTIONS §9.6). A consumer MUST refuse a board holding this kind.";
|
|
285
|
+
}, {
|
|
286
|
+
readonly title: "JustificationEntry";
|
|
287
|
+
readonly type: "object";
|
|
288
|
+
readonly additionalProperties: false;
|
|
289
|
+
readonly required: readonly ["kind", "dealer", "recipient", "share"];
|
|
290
|
+
readonly properties: {
|
|
291
|
+
readonly kind: {
|
|
292
|
+
readonly const: "justification";
|
|
293
|
+
};
|
|
294
|
+
readonly dealer: {
|
|
295
|
+
readonly $ref: "#/$defs/TrusteeIndex";
|
|
296
|
+
};
|
|
297
|
+
readonly recipient: {
|
|
298
|
+
readonly $ref: "#/$defs/TrusteeIndex";
|
|
299
|
+
};
|
|
300
|
+
readonly share: {
|
|
301
|
+
readonly $ref: "#/$defs/GroupScalar";
|
|
302
|
+
};
|
|
303
|
+
};
|
|
304
|
+
readonly description: "Not appended: each enrolment, dealing, confirmation and justification is a `trusteeStep` entry carrying the trustee's signed request (CONVENTIONS §9.6). A consumer MUST refuse a board holding this kind.";
|
|
305
|
+
}, {
|
|
306
|
+
readonly title: "ElectionKeyEntry";
|
|
307
|
+
readonly type: "object";
|
|
308
|
+
readonly additionalProperties: false;
|
|
309
|
+
readonly required: readonly ["kind", "electionKey"];
|
|
310
|
+
readonly properties: {
|
|
311
|
+
readonly kind: {
|
|
312
|
+
readonly const: "electionKey";
|
|
313
|
+
};
|
|
314
|
+
readonly electionKey: {
|
|
315
|
+
readonly $ref: "#/$defs/ElectionKey";
|
|
316
|
+
};
|
|
317
|
+
};
|
|
318
|
+
}, {
|
|
319
|
+
readonly title: "PartialDecryptionsEntry";
|
|
320
|
+
readonly type: "object";
|
|
321
|
+
readonly additionalProperties: false;
|
|
322
|
+
readonly required: readonly ["kind", "trustee", "partials"];
|
|
323
|
+
readonly properties: {
|
|
324
|
+
readonly kind: {
|
|
325
|
+
readonly const: "partials";
|
|
326
|
+
};
|
|
327
|
+
readonly trustee: {
|
|
328
|
+
readonly $ref: "#/$defs/TrusteeIndex";
|
|
329
|
+
};
|
|
330
|
+
readonly partials: {
|
|
331
|
+
readonly type: "array";
|
|
332
|
+
readonly minItems: 1;
|
|
333
|
+
readonly maxItems: 100000;
|
|
334
|
+
readonly items: {
|
|
335
|
+
readonly $ref: "#/$defs/PartialDecryption";
|
|
336
|
+
};
|
|
337
|
+
};
|
|
338
|
+
};
|
|
339
|
+
}, {
|
|
340
|
+
readonly title: "UnsealedEntry";
|
|
341
|
+
readonly type: "object";
|
|
342
|
+
readonly additionalProperties: false;
|
|
343
|
+
readonly required: readonly ["kind", "leafIndex", "ballot"];
|
|
344
|
+
readonly properties: {
|
|
345
|
+
readonly kind: {
|
|
346
|
+
readonly const: "unsealed";
|
|
347
|
+
};
|
|
348
|
+
readonly leafIndex: {
|
|
349
|
+
readonly type: "integer";
|
|
350
|
+
readonly minimum: 0;
|
|
351
|
+
};
|
|
352
|
+
readonly ballot: {
|
|
353
|
+
readonly $ref: "#/$defs/Ballot";
|
|
354
|
+
};
|
|
355
|
+
};
|
|
356
|
+
}, {
|
|
357
|
+
readonly title: "SpoiledEntry";
|
|
358
|
+
readonly description: "A sealed cast that did not open, or opened to no valid ballot: not counted (CONVENTIONS §9.7).";
|
|
359
|
+
readonly type: "object";
|
|
360
|
+
readonly additionalProperties: false;
|
|
361
|
+
readonly required: readonly ["kind", "leafIndex"];
|
|
362
|
+
readonly properties: {
|
|
363
|
+
readonly kind: {
|
|
364
|
+
readonly const: "spoiled";
|
|
365
|
+
};
|
|
366
|
+
readonly leafIndex: {
|
|
367
|
+
readonly type: "integer";
|
|
368
|
+
readonly minimum: 0;
|
|
369
|
+
};
|
|
370
|
+
};
|
|
371
|
+
}, {
|
|
372
|
+
readonly title: "TrusteeStepEntry";
|
|
373
|
+
readonly description: "One step of the trustees' ceremony — an enrolment, a dealing, a confirmation or a justification — as the trustee's own signed request, so that anyone reading the board can tell who took it (CONVENTIONS §9.6).";
|
|
374
|
+
readonly type: "object";
|
|
375
|
+
readonly additionalProperties: false;
|
|
376
|
+
readonly required: readonly ["kind", "request"];
|
|
377
|
+
readonly properties: {
|
|
378
|
+
readonly kind: {
|
|
379
|
+
readonly const: "trusteeStep";
|
|
380
|
+
};
|
|
381
|
+
readonly request: {
|
|
382
|
+
readonly $ref: "#/$defs/SignedRequest";
|
|
383
|
+
};
|
|
384
|
+
};
|
|
385
|
+
}, {
|
|
386
|
+
readonly title: "DecryptionAuthorizedEntry";
|
|
387
|
+
readonly description: "The community's voting/trustees/authorize request, exactly as the ballot box received it: the decryption targets of a closed election, pinned by digest to a head of the board (CONVENTIONS §9.7).";
|
|
388
|
+
readonly type: "object";
|
|
389
|
+
readonly additionalProperties: false;
|
|
390
|
+
readonly required: readonly ["kind", "request"];
|
|
391
|
+
readonly properties: {
|
|
392
|
+
readonly kind: {
|
|
393
|
+
readonly const: "decryptionAuthorized";
|
|
394
|
+
};
|
|
395
|
+
readonly request: {
|
|
396
|
+
readonly $ref: "#/$defs/SignedRequest";
|
|
397
|
+
};
|
|
398
|
+
};
|
|
399
|
+
}];
|
|
400
|
+
};
|
|
401
|
+
readonly SignedRequest: {
|
|
402
|
+
readonly title: "SignedRequest";
|
|
403
|
+
readonly description: "A whole Trust Task request document — `id`, `type`, `issuer`, `payload` and every other member, `proof` included — exactly as the ballot box received it, never re-serialised: its proof is taken over its members, and a re-serialised copy does not reliably reproduce them. Typed as an open object so every member survives; CONVENTIONS §9.6 gives the checks that make it a trustee's step.";
|
|
404
|
+
readonly type: "object";
|
|
405
|
+
readonly minProperties: 1;
|
|
406
|
+
};
|
|
407
|
+
readonly Ballot: {
|
|
408
|
+
readonly title: "Ballot";
|
|
409
|
+
readonly description: "An open ballot: one answer per question of the manifest, in any order. The bytes a cast's proof binds are the RFC 8785 (JCS) canonicalization of this object as received.";
|
|
410
|
+
readonly type: "object";
|
|
411
|
+
readonly additionalProperties: false;
|
|
412
|
+
readonly required: readonly ["electionId", "manifestDigest", "answers"];
|
|
413
|
+
readonly properties: {
|
|
414
|
+
readonly electionId: {
|
|
415
|
+
readonly $ref: "#/$defs/ElectionId";
|
|
416
|
+
};
|
|
417
|
+
readonly manifestDigest: {
|
|
418
|
+
readonly $ref: "#/$defs/DigestMultibase";
|
|
419
|
+
};
|
|
420
|
+
readonly answers: {
|
|
421
|
+
readonly type: "array";
|
|
422
|
+
readonly minItems: 1;
|
|
423
|
+
readonly maxItems: 128;
|
|
424
|
+
readonly items: {
|
|
425
|
+
readonly $ref: "#/$defs/Answer";
|
|
426
|
+
};
|
|
427
|
+
};
|
|
428
|
+
};
|
|
429
|
+
};
|
|
430
|
+
readonly Answer: {
|
|
431
|
+
readonly title: "Answer";
|
|
432
|
+
readonly description: "The answer to one question. Exactly one member besides `question` is present, matching the question's type, or `abstain` for an optional question left unanswered.";
|
|
433
|
+
readonly type: "object";
|
|
434
|
+
readonly additionalProperties: false;
|
|
435
|
+
readonly required: readonly ["question"];
|
|
436
|
+
readonly minProperties: 2;
|
|
437
|
+
readonly maxProperties: 2;
|
|
438
|
+
readonly properties: {
|
|
439
|
+
readonly question: {
|
|
440
|
+
readonly $ref: "#/$defs/Key";
|
|
441
|
+
};
|
|
442
|
+
readonly choice: {
|
|
443
|
+
readonly type: "array";
|
|
444
|
+
readonly items: {
|
|
445
|
+
readonly $ref: "#/$defs/Key";
|
|
446
|
+
};
|
|
447
|
+
readonly uniqueItems: true;
|
|
448
|
+
};
|
|
449
|
+
readonly ranking: {
|
|
450
|
+
readonly type: "array";
|
|
451
|
+
readonly items: {
|
|
452
|
+
readonly $ref: "#/$defs/Key";
|
|
453
|
+
};
|
|
454
|
+
readonly uniqueItems: true;
|
|
455
|
+
};
|
|
456
|
+
readonly scores: {
|
|
457
|
+
readonly type: "object";
|
|
458
|
+
readonly propertyNames: {
|
|
459
|
+
readonly $ref: "#/$defs/Key";
|
|
460
|
+
};
|
|
461
|
+
readonly additionalProperties: {
|
|
462
|
+
readonly type: "integer";
|
|
463
|
+
};
|
|
464
|
+
};
|
|
465
|
+
readonly text: {
|
|
466
|
+
readonly type: "string";
|
|
467
|
+
readonly maxLength: 4096;
|
|
468
|
+
};
|
|
469
|
+
readonly abstain: {
|
|
470
|
+
readonly const: true;
|
|
471
|
+
};
|
|
472
|
+
};
|
|
473
|
+
};
|
|
474
|
+
readonly Key: {
|
|
475
|
+
readonly title: "Key";
|
|
476
|
+
readonly description: "A question or option key, unique within its manifest or question.";
|
|
477
|
+
readonly type: "string";
|
|
478
|
+
readonly pattern: "^[A-Za-z0-9._-]{1,64}$";
|
|
479
|
+
};
|
|
480
|
+
readonly ElectionId: {
|
|
481
|
+
readonly title: "ElectionId";
|
|
482
|
+
readonly description: "An election's identifier, unique within its community. A closed alphabet: it appears in the ticket class label `voter/<electionId>` and is framed into every hash a cast is bound to.";
|
|
483
|
+
readonly type: "string";
|
|
484
|
+
readonly pattern: "^[A-Za-z0-9._-]{1,128}$";
|
|
485
|
+
};
|
|
486
|
+
readonly DigestMultibase: {
|
|
487
|
+
readonly title: "DigestMultibase";
|
|
488
|
+
readonly description: "A cryptographic digest as a multibase-encoded multihash — the encoding the W3C Verifiable Credentials Data Model 2.0 defines for `digestMultibase`, and the one `did:webvh` uses for its SCID and entry hashes.\n\nMultihash carries the hash algorithm in-band, so the value is self-describing and the wire format survives an algorithm change without a schema revision; multibase does the same for the base encoding, so a verifier never infers base58 from base64url by context. A bare hex string or a `sha-256:`-style prefix hard-codes one algorithm into the wire contract and is non-conforming here.\n\nThis definition constrains the *encoding only*. What the digest is computed over is stated by each referencing field, because it differs legitimately: a digest over a JSON document is taken over its RFC 8785 (JCS) canonicalization, while a digest over an opaque artifact is taken over its bytes. A field whose input is a JSON document and which does not name a canonicalization is not reproducible.\n\nRestricted to the two multibase headers W3C Controlled Identifiers 1.0 §2.4 normatively requires — `z` (base58btc) and `u` (base64url-no-pad). CID permits others but states that \"interoperability is not guaranteed between implementations using such values\", and a registry whose purpose is interoperability should not mint digests a conforming verifier may be unable to read. The alphabets are enforced rather than assumed: base58btc excludes 0, O, I and l, and an earlier permissive pattern let three published examples carry digests that were not valid base58 at all. base58btc is RECOMMENDED, for consistency with `did:key` and `did:webvh`.";
|
|
489
|
+
readonly type: "string";
|
|
490
|
+
readonly minLength: 16;
|
|
491
|
+
readonly pattern: "^(z[1-9A-HJ-NP-Za-km-z]+|u[A-Za-z0-9_-]+)$";
|
|
492
|
+
readonly examples: readonly ["zQmbWqxBEKC3P8tqsKc98xmWNzrzDtRLMiMPL8wBuTGsMnR"];
|
|
493
|
+
};
|
|
494
|
+
readonly PartialDecryption: {
|
|
495
|
+
readonly title: "PartialDecryption";
|
|
496
|
+
readonly description: "Trustee `trustee`'s share of one decryption, `d = x_j·a`, with a Chaum–Pedersen proof against its verification key (CONVENTIONS §9.7).";
|
|
497
|
+
readonly type: "object";
|
|
498
|
+
readonly additionalProperties: false;
|
|
499
|
+
readonly required: readonly ["target", "d", "proof"];
|
|
500
|
+
readonly properties: {
|
|
501
|
+
readonly target: {
|
|
502
|
+
readonly $ref: "#/$defs/DecryptionTarget";
|
|
503
|
+
};
|
|
504
|
+
readonly d: {
|
|
505
|
+
readonly $ref: "#/$defs/GroupElement";
|
|
506
|
+
};
|
|
507
|
+
readonly proof: {
|
|
508
|
+
readonly $ref: "#/$defs/SigmaProof";
|
|
509
|
+
};
|
|
510
|
+
};
|
|
511
|
+
};
|
|
512
|
+
readonly SigmaProof: {
|
|
513
|
+
readonly title: "SigmaProof";
|
|
514
|
+
readonly description: "A non-interactive sigma proof as its challenge and response `(c, z)` (Schnorr or Chaum–Pedersen; CONVENTIONS §9.3).";
|
|
515
|
+
readonly type: "object";
|
|
516
|
+
readonly additionalProperties: false;
|
|
517
|
+
readonly required: readonly ["c", "z"];
|
|
518
|
+
readonly properties: {
|
|
519
|
+
readonly c: {
|
|
520
|
+
readonly $ref: "#/$defs/GroupScalar";
|
|
521
|
+
};
|
|
522
|
+
readonly z: {
|
|
523
|
+
readonly $ref: "#/$defs/GroupScalar";
|
|
524
|
+
};
|
|
525
|
+
};
|
|
526
|
+
};
|
|
527
|
+
readonly GroupScalar: {
|
|
528
|
+
readonly title: "GroupScalar";
|
|
529
|
+
readonly description: "A scalar mod the Ristretto group order: 32 canonical little-endian bytes, multibase base58btc (CONVENTIONS §9.1).";
|
|
530
|
+
readonly type: "string";
|
|
531
|
+
readonly minLength: 2;
|
|
532
|
+
readonly maxLength: 64;
|
|
533
|
+
readonly pattern: "^z[1-9A-HJ-NP-Za-km-z]+$";
|
|
534
|
+
};
|
|
535
|
+
readonly GroupElement: {
|
|
536
|
+
readonly title: "GroupElement";
|
|
537
|
+
readonly description: "A Ristretto group element: its 32-byte compression, multibase base58btc. Never the identity (CONVENTIONS §9.1).";
|
|
538
|
+
readonly type: "string";
|
|
539
|
+
readonly minLength: 2;
|
|
540
|
+
readonly maxLength: 64;
|
|
541
|
+
readonly pattern: "^z[1-9A-HJ-NP-Za-km-z]+$";
|
|
542
|
+
};
|
|
543
|
+
readonly DecryptionTarget: {
|
|
544
|
+
readonly title: "DecryptionTarget";
|
|
545
|
+
readonly description: "What a partial decryption decrypts: the sealed cast at a board leaf, or the total of one option of one question.";
|
|
546
|
+
readonly type: "object";
|
|
547
|
+
readonly additionalProperties: false;
|
|
548
|
+
readonly required: readonly ["ciphertext"];
|
|
549
|
+
readonly properties: {
|
|
550
|
+
readonly leafIndex: {
|
|
551
|
+
readonly type: "integer";
|
|
552
|
+
readonly minimum: 0;
|
|
553
|
+
readonly description: "A sealed cast's board leaf.";
|
|
554
|
+
};
|
|
555
|
+
readonly question: {
|
|
556
|
+
readonly $ref: "#/$defs/Key";
|
|
557
|
+
};
|
|
558
|
+
readonly option: {
|
|
559
|
+
readonly $ref: "#/$defs/Key";
|
|
560
|
+
};
|
|
561
|
+
readonly ciphertext: {
|
|
562
|
+
readonly $ref: "#/$defs/ElGamalCiphertext";
|
|
563
|
+
};
|
|
564
|
+
};
|
|
565
|
+
readonly oneOf: readonly [{
|
|
566
|
+
readonly required: readonly ["leafIndex"];
|
|
567
|
+
}, {
|
|
568
|
+
readonly required: readonly ["question", "option"];
|
|
569
|
+
}];
|
|
570
|
+
};
|
|
571
|
+
readonly ElGamalCiphertext: {
|
|
572
|
+
readonly title: "ElGamalCiphertext";
|
|
573
|
+
readonly description: "`(a, b) = (r·G, M + r·Y)` under the election key `Y` (CONVENTIONS §9.2).";
|
|
574
|
+
readonly type: "object";
|
|
575
|
+
readonly additionalProperties: false;
|
|
576
|
+
readonly required: readonly ["a", "b"];
|
|
577
|
+
readonly properties: {
|
|
578
|
+
readonly a: {
|
|
579
|
+
readonly $ref: "#/$defs/GroupElement";
|
|
580
|
+
};
|
|
581
|
+
readonly b: {
|
|
582
|
+
readonly $ref: "#/$defs/GroupElement";
|
|
583
|
+
};
|
|
584
|
+
};
|
|
585
|
+
};
|
|
586
|
+
readonly TrusteeIndex: {
|
|
587
|
+
readonly title: "TrusteeIndex";
|
|
588
|
+
readonly description: "A trustee's index: its position in the manifest's `trustees.dids`, counting from 1.";
|
|
589
|
+
readonly type: "integer";
|
|
590
|
+
readonly minimum: 1;
|
|
591
|
+
readonly maximum: 64;
|
|
592
|
+
};
|
|
593
|
+
readonly ElectionKey: {
|
|
594
|
+
readonly title: "ElectionKey";
|
|
595
|
+
readonly description: "The election key and each trustee's public verification key, computed from the qualified dealings (CONVENTIONS §9.6). Anyone can recompute it from the board.";
|
|
596
|
+
readonly type: "object";
|
|
597
|
+
readonly additionalProperties: false;
|
|
598
|
+
readonly required: readonly ["key", "qualified", "verification"];
|
|
599
|
+
readonly properties: {
|
|
600
|
+
readonly key: {
|
|
601
|
+
readonly $ref: "#/$defs/GroupElement";
|
|
602
|
+
};
|
|
603
|
+
readonly qualified: {
|
|
604
|
+
readonly type: "array";
|
|
605
|
+
readonly minItems: 1;
|
|
606
|
+
readonly maxItems: 64;
|
|
607
|
+
readonly items: {
|
|
608
|
+
readonly $ref: "#/$defs/TrusteeIndex";
|
|
609
|
+
};
|
|
610
|
+
readonly description: "The dealers whose dealings the key is formed from.";
|
|
611
|
+
};
|
|
612
|
+
readonly verification: {
|
|
613
|
+
readonly type: "array";
|
|
614
|
+
readonly minItems: 2;
|
|
615
|
+
readonly maxItems: 64;
|
|
616
|
+
readonly items: {
|
|
617
|
+
readonly type: "object";
|
|
618
|
+
readonly additionalProperties: false;
|
|
619
|
+
readonly required: readonly ["trustee", "key"];
|
|
620
|
+
readonly properties: {
|
|
621
|
+
readonly trustee: {
|
|
622
|
+
readonly $ref: "#/$defs/TrusteeIndex";
|
|
623
|
+
};
|
|
624
|
+
readonly key: {
|
|
625
|
+
readonly $ref: "#/$defs/GroupElement";
|
|
626
|
+
};
|
|
627
|
+
};
|
|
628
|
+
};
|
|
629
|
+
};
|
|
630
|
+
};
|
|
631
|
+
};
|
|
632
|
+
readonly Dealing: {
|
|
633
|
+
readonly title: "Dealing";
|
|
634
|
+
readonly description: "A trustee's contribution to the election key: Feldman commitments to its polynomial, a proof of knowledge of the constant term, and one share per trustee sealed to that trustee's transport key (CONVENTIONS §9.6).";
|
|
635
|
+
readonly type: "object";
|
|
636
|
+
readonly additionalProperties: false;
|
|
637
|
+
readonly required: readonly ["dealer", "commitments", "pok", "shares"];
|
|
638
|
+
readonly properties: {
|
|
639
|
+
readonly dealer: {
|
|
640
|
+
readonly $ref: "#/$defs/TrusteeIndex";
|
|
641
|
+
};
|
|
642
|
+
readonly commitments: {
|
|
643
|
+
readonly type: "array";
|
|
644
|
+
readonly minItems: 2;
|
|
645
|
+
readonly maxItems: 64;
|
|
646
|
+
readonly items: {
|
|
647
|
+
readonly $ref: "#/$defs/GroupElement";
|
|
648
|
+
};
|
|
649
|
+
};
|
|
650
|
+
readonly pok: {
|
|
651
|
+
readonly $ref: "#/$defs/SigmaProof";
|
|
652
|
+
};
|
|
653
|
+
readonly shares: {
|
|
654
|
+
readonly type: "array";
|
|
655
|
+
readonly minItems: 2;
|
|
656
|
+
readonly maxItems: 64;
|
|
657
|
+
readonly items: {
|
|
658
|
+
readonly $ref: "#/$defs/SealedShare";
|
|
659
|
+
};
|
|
660
|
+
};
|
|
661
|
+
};
|
|
662
|
+
};
|
|
663
|
+
readonly SealedShare: {
|
|
664
|
+
readonly title: "SealedShare";
|
|
665
|
+
readonly type: "object";
|
|
666
|
+
readonly additionalProperties: false;
|
|
667
|
+
readonly required: readonly ["recipient", "share"];
|
|
668
|
+
readonly properties: {
|
|
669
|
+
readonly recipient: {
|
|
670
|
+
readonly $ref: "#/$defs/TrusteeIndex";
|
|
671
|
+
};
|
|
672
|
+
readonly share: {
|
|
673
|
+
readonly $ref: "#/$defs/SealedPayload";
|
|
674
|
+
};
|
|
675
|
+
};
|
|
676
|
+
};
|
|
677
|
+
readonly SealedPayload: {
|
|
678
|
+
readonly title: "SealedPayload";
|
|
679
|
+
readonly description: "Bytes sealed to a key: a random group element encrypted as `kem`, and the bytes under ChaCha20-Poly1305 with a key derived from it, multibase base58btc (CONVENTIONS §9.4).";
|
|
680
|
+
readonly type: "object";
|
|
681
|
+
readonly additionalProperties: false;
|
|
682
|
+
readonly required: readonly ["kem", "body"];
|
|
683
|
+
readonly properties: {
|
|
684
|
+
readonly kem: {
|
|
685
|
+
readonly $ref: "#/$defs/ElGamalCiphertext";
|
|
686
|
+
};
|
|
687
|
+
readonly body: {
|
|
688
|
+
readonly type: "string";
|
|
689
|
+
readonly minLength: 2;
|
|
690
|
+
readonly maxLength: 131072;
|
|
691
|
+
readonly pattern: "^z[1-9A-HJ-NP-Za-km-z]+$";
|
|
692
|
+
};
|
|
693
|
+
};
|
|
694
|
+
};
|
|
695
|
+
readonly TransportKey: {
|
|
696
|
+
readonly title: "TransportKey";
|
|
697
|
+
readonly description: "The group element a trustee's shares are sealed to, with a Schnorr proof of knowledge of its discrete log (CONVENTIONS §9.6).";
|
|
698
|
+
readonly type: "object";
|
|
699
|
+
readonly additionalProperties: false;
|
|
700
|
+
readonly required: readonly ["trustee", "key", "pok"];
|
|
701
|
+
readonly properties: {
|
|
702
|
+
readonly trustee: {
|
|
703
|
+
readonly $ref: "#/$defs/TrusteeIndex";
|
|
704
|
+
};
|
|
705
|
+
readonly key: {
|
|
706
|
+
readonly $ref: "#/$defs/GroupElement";
|
|
707
|
+
};
|
|
708
|
+
readonly pok: {
|
|
709
|
+
readonly $ref: "#/$defs/SigmaProof";
|
|
710
|
+
};
|
|
711
|
+
};
|
|
712
|
+
};
|
|
713
|
+
readonly EncryptedCast: {
|
|
714
|
+
readonly title: "EncryptedCast";
|
|
715
|
+
readonly description: "A cast of a sealed or tallied-encrypted election: exactly one of `sealed` (the Ballot's JCS bytes sealed to the election key) or `encrypted`, with the tag and the attestation over the JCS bytes of whichever is present (CONVENTIONS §3.6, §9.5).";
|
|
716
|
+
readonly type: "object";
|
|
717
|
+
readonly additionalProperties: false;
|
|
718
|
+
readonly required: readonly ["tag", "attestation"];
|
|
719
|
+
readonly properties: {
|
|
720
|
+
readonly sealed: {
|
|
721
|
+
readonly $ref: "#/$defs/SealedPayload";
|
|
722
|
+
};
|
|
723
|
+
readonly encrypted: {
|
|
724
|
+
readonly $ref: "#/$defs/EncryptedBallot";
|
|
725
|
+
};
|
|
726
|
+
readonly tag: {
|
|
727
|
+
readonly $ref: "#/$defs/Multibase";
|
|
728
|
+
};
|
|
729
|
+
readonly attestation: {
|
|
730
|
+
readonly $ref: "#/$defs/Multibase";
|
|
731
|
+
};
|
|
732
|
+
};
|
|
733
|
+
readonly oneOf: readonly [{
|
|
734
|
+
readonly required: readonly ["sealed"];
|
|
735
|
+
}, {
|
|
736
|
+
readonly required: readonly ["encrypted"];
|
|
737
|
+
}];
|
|
738
|
+
};
|
|
739
|
+
readonly Multibase: {
|
|
740
|
+
readonly title: "Multibase";
|
|
741
|
+
readonly description: "A binary value, multibase base58btc over the suite's canonical (compressed) encoding.";
|
|
742
|
+
readonly type: "string";
|
|
743
|
+
readonly maxLength: 16384;
|
|
744
|
+
readonly pattern: "^z[1-9A-HJ-NP-Za-km-z]+$";
|
|
745
|
+
};
|
|
746
|
+
readonly EncryptedBallot: {
|
|
747
|
+
readonly title: "EncryptedBallot";
|
|
748
|
+
readonly description: "A tallied-encrypted ballot: one EncryptedQuestion per manifest question, in the manifest's order. Never decrypted (VTI-VOT-064).";
|
|
749
|
+
readonly type: "object";
|
|
750
|
+
readonly additionalProperties: false;
|
|
751
|
+
readonly required: readonly ["electionId", "manifestDigest", "questions"];
|
|
752
|
+
readonly properties: {
|
|
753
|
+
readonly electionId: {
|
|
754
|
+
readonly $ref: "#/$defs/ElectionId";
|
|
755
|
+
};
|
|
756
|
+
readonly manifestDigest: {
|
|
757
|
+
readonly $ref: "#/$defs/DigestMultibase";
|
|
758
|
+
};
|
|
759
|
+
readonly questions: {
|
|
760
|
+
readonly type: "array";
|
|
761
|
+
readonly minItems: 1;
|
|
762
|
+
readonly maxItems: 64;
|
|
763
|
+
readonly items: {
|
|
764
|
+
readonly $ref: "#/$defs/EncryptedQuestion";
|
|
765
|
+
};
|
|
766
|
+
};
|
|
767
|
+
};
|
|
768
|
+
};
|
|
769
|
+
readonly EncryptedQuestion: {
|
|
770
|
+
readonly title: "EncryptedQuestion";
|
|
771
|
+
readonly description: "One choice question of a tallied-encrypted ballot: per option, in the manifest's order, an encryption of 0 or 1 with its proof; and a proof that the selections sum to a count the question admits (CONVENTIONS §9.5).";
|
|
772
|
+
readonly type: "object";
|
|
773
|
+
readonly additionalProperties: false;
|
|
774
|
+
readonly required: readonly ["question", "options", "sumProof"];
|
|
775
|
+
readonly properties: {
|
|
776
|
+
readonly question: {
|
|
777
|
+
readonly $ref: "#/$defs/Key";
|
|
778
|
+
};
|
|
779
|
+
readonly options: {
|
|
780
|
+
readonly type: "array";
|
|
781
|
+
readonly minItems: 1;
|
|
782
|
+
readonly maxItems: 64;
|
|
783
|
+
readonly items: {
|
|
784
|
+
readonly $ref: "#/$defs/EncryptedOption";
|
|
785
|
+
};
|
|
786
|
+
};
|
|
787
|
+
readonly sumProof: {
|
|
788
|
+
readonly $ref: "#/$defs/DisjunctiveProof";
|
|
789
|
+
};
|
|
790
|
+
};
|
|
791
|
+
};
|
|
792
|
+
readonly DisjunctiveProof: {
|
|
793
|
+
readonly title: "DisjunctiveProof";
|
|
794
|
+
readonly description: "A disjunctive proof that a ciphertext encrypts one value of a public list: one `(c, z)` per value, in the list's order (CONVENTIONS §9.3).";
|
|
795
|
+
readonly type: "array";
|
|
796
|
+
readonly minItems: 1;
|
|
797
|
+
readonly maxItems: 65;
|
|
798
|
+
readonly items: {
|
|
799
|
+
readonly $ref: "#/$defs/SigmaProof";
|
|
800
|
+
};
|
|
801
|
+
};
|
|
802
|
+
readonly EncryptedOption: {
|
|
803
|
+
readonly title: "EncryptedOption";
|
|
804
|
+
readonly type: "object";
|
|
805
|
+
readonly additionalProperties: false;
|
|
806
|
+
readonly required: readonly ["ciphertext", "proof"];
|
|
807
|
+
readonly properties: {
|
|
808
|
+
readonly ciphertext: {
|
|
809
|
+
readonly $ref: "#/$defs/ElGamalCiphertext";
|
|
810
|
+
};
|
|
811
|
+
readonly proof: {
|
|
812
|
+
readonly $ref: "#/$defs/DisjunctiveProof";
|
|
813
|
+
};
|
|
814
|
+
};
|
|
815
|
+
};
|
|
816
|
+
readonly ElectionResult: {
|
|
817
|
+
readonly title: "ElectionResult";
|
|
818
|
+
readonly description: "An election's result, computable by anyone who can read its board from the board and the registration alone (VTI-VOT-070).";
|
|
819
|
+
readonly type: "object";
|
|
820
|
+
readonly additionalProperties: false;
|
|
821
|
+
readonly required: readonly ["electionId", "manifestDigest", "ballotsCounted", "questions", "head"];
|
|
822
|
+
readonly properties: {
|
|
823
|
+
readonly electionId: {
|
|
824
|
+
readonly $ref: "#/$defs/ElectionId";
|
|
825
|
+
};
|
|
826
|
+
readonly manifestDigest: {
|
|
827
|
+
readonly $ref: "#/$defs/DigestMultibase";
|
|
828
|
+
};
|
|
829
|
+
readonly ballotsCounted: {
|
|
830
|
+
readonly type: "integer";
|
|
831
|
+
readonly minimum: 0;
|
|
832
|
+
};
|
|
833
|
+
readonly questions: {
|
|
834
|
+
readonly type: "array";
|
|
835
|
+
readonly items: {
|
|
836
|
+
readonly $ref: "#/$defs/QuestionResult";
|
|
837
|
+
};
|
|
838
|
+
};
|
|
839
|
+
readonly head: {
|
|
840
|
+
readonly $ref: "#/$defs/BoardHead";
|
|
841
|
+
readonly description: "The head of the board as it stood at close: the result counts exactly its entries.";
|
|
842
|
+
};
|
|
843
|
+
};
|
|
844
|
+
};
|
|
845
|
+
readonly BoardHead: {
|
|
846
|
+
readonly title: "BoardHead";
|
|
847
|
+
readonly description: "A board's tree head (RFC 9162 §2.1). A head is signed by being carried in a document the ballot box signs; whoever keeps a head keeps that whole document.";
|
|
848
|
+
readonly type: "object";
|
|
849
|
+
readonly additionalProperties: false;
|
|
850
|
+
readonly required: readonly ["electionId", "treeSize", "rootHash", "issuedAt"];
|
|
851
|
+
readonly properties: {
|
|
852
|
+
readonly electionId: {
|
|
853
|
+
readonly $ref: "#/$defs/ElectionId";
|
|
854
|
+
};
|
|
855
|
+
readonly treeSize: {
|
|
856
|
+
readonly type: "integer";
|
|
857
|
+
readonly minimum: 0;
|
|
858
|
+
};
|
|
859
|
+
readonly rootHash: {
|
|
860
|
+
readonly $ref: "#/$defs/DigestMultibase";
|
|
861
|
+
readonly description: "The RFC 9162 Merkle tree hash (SHA-256) of the first `treeSize` entries, as a multihash.";
|
|
862
|
+
};
|
|
863
|
+
readonly issuedAt: {
|
|
864
|
+
readonly type: "string";
|
|
865
|
+
readonly format: "date-time";
|
|
866
|
+
};
|
|
867
|
+
};
|
|
868
|
+
};
|
|
869
|
+
readonly QuestionResult: {
|
|
870
|
+
readonly title: "QuestionResult";
|
|
871
|
+
readonly description: "One question's totals. `choice`: selections per option. `ranking`: per option, how many ballots placed it at each position (index 0 = first). `score`: per option, the sum and the number of ballots that scored it. `text`: the answers, in board order, withheld (`withheld: true`) below the manifest's `textReleaseThreshold`. `abstained` counts ballots that left the question unanswered.";
|
|
872
|
+
readonly type: "object";
|
|
873
|
+
readonly additionalProperties: false;
|
|
874
|
+
readonly required: readonly ["question", "abstained"];
|
|
875
|
+
readonly properties: {
|
|
876
|
+
readonly question: {
|
|
877
|
+
readonly $ref: "#/$defs/Key";
|
|
878
|
+
};
|
|
879
|
+
readonly abstained: {
|
|
880
|
+
readonly type: "integer";
|
|
881
|
+
readonly minimum: 0;
|
|
882
|
+
};
|
|
883
|
+
readonly choice: {
|
|
884
|
+
readonly type: "object";
|
|
885
|
+
readonly propertyNames: {
|
|
886
|
+
readonly $ref: "#/$defs/Key";
|
|
887
|
+
};
|
|
888
|
+
readonly additionalProperties: {
|
|
889
|
+
readonly type: "integer";
|
|
890
|
+
readonly minimum: 0;
|
|
891
|
+
};
|
|
892
|
+
};
|
|
893
|
+
readonly ranking: {
|
|
894
|
+
readonly type: "object";
|
|
895
|
+
readonly propertyNames: {
|
|
896
|
+
readonly $ref: "#/$defs/Key";
|
|
897
|
+
};
|
|
898
|
+
readonly additionalProperties: {
|
|
899
|
+
readonly type: "array";
|
|
900
|
+
readonly items: {
|
|
901
|
+
readonly type: "integer";
|
|
902
|
+
readonly minimum: 0;
|
|
903
|
+
};
|
|
904
|
+
};
|
|
905
|
+
};
|
|
906
|
+
readonly score: {
|
|
907
|
+
readonly type: "object";
|
|
908
|
+
readonly propertyNames: {
|
|
909
|
+
readonly $ref: "#/$defs/Key";
|
|
910
|
+
};
|
|
911
|
+
readonly additionalProperties: {
|
|
912
|
+
readonly type: "object";
|
|
913
|
+
readonly additionalProperties: false;
|
|
914
|
+
readonly required: readonly ["sum", "count"];
|
|
915
|
+
readonly properties: {
|
|
916
|
+
readonly sum: {
|
|
917
|
+
readonly type: "integer";
|
|
918
|
+
};
|
|
919
|
+
readonly count: {
|
|
920
|
+
readonly type: "integer";
|
|
921
|
+
readonly minimum: 0;
|
|
922
|
+
};
|
|
923
|
+
};
|
|
924
|
+
};
|
|
925
|
+
};
|
|
926
|
+
readonly text: {
|
|
927
|
+
readonly type: "array";
|
|
928
|
+
readonly items: {
|
|
929
|
+
readonly type: "string";
|
|
930
|
+
readonly maxLength: 4096;
|
|
931
|
+
};
|
|
932
|
+
};
|
|
933
|
+
readonly withheld: {
|
|
934
|
+
readonly type: "boolean";
|
|
935
|
+
};
|
|
936
|
+
};
|
|
937
|
+
};
|
|
938
|
+
readonly Cast: {
|
|
939
|
+
readonly title: "Cast";
|
|
940
|
+
readonly description: "A ballot and the PCS attestation that admits it (VTI-VOT-030). `attestation` is the suite's canonical encoding of the attestation made for the election point with the ballot context bound in (CONVENTIONS §3); `tag` repeats its tag so a ballot box can refuse a duplicate before the pairing check.";
|
|
941
|
+
readonly type: "object";
|
|
942
|
+
readonly additionalProperties: false;
|
|
943
|
+
readonly required: readonly ["ballot", "tag", "attestation"];
|
|
944
|
+
readonly properties: {
|
|
945
|
+
readonly ballot: {
|
|
946
|
+
readonly $ref: "#/$defs/Ballot";
|
|
947
|
+
};
|
|
948
|
+
readonly tag: {
|
|
949
|
+
readonly $ref: "#/$defs/Multibase";
|
|
950
|
+
};
|
|
951
|
+
readonly attestation: {
|
|
952
|
+
readonly $ref: "#/$defs/Multibase";
|
|
953
|
+
};
|
|
954
|
+
};
|
|
955
|
+
};
|
|
956
|
+
};
|
|
957
|
+
};
|
|
958
|
+
/** As {@link PAYLOAD_SCHEMA}, for the success-response variant. */
|
|
959
|
+
export declare const RESPONSE_PAYLOAD_SCHEMA: {
|
|
960
|
+
readonly $schema: "https://json-schema.org/draft/2020-12/schema";
|
|
961
|
+
readonly $ref: "#/$defs/Response";
|
|
962
|
+
readonly $defs: {
|
|
963
|
+
readonly Response: {
|
|
964
|
+
readonly $anchor: "response";
|
|
965
|
+
readonly title: "Voting — Board Read — response payload";
|
|
966
|
+
readonly type: "object";
|
|
967
|
+
readonly additionalProperties: false;
|
|
968
|
+
readonly required: readonly ["treeSize", "entries"];
|
|
969
|
+
readonly properties: {
|
|
970
|
+
readonly treeSize: {
|
|
971
|
+
readonly type: "integer";
|
|
972
|
+
readonly minimum: 0;
|
|
973
|
+
readonly description: "The tree size the page was read against. No entry at or beyond it is returned.";
|
|
974
|
+
};
|
|
975
|
+
readonly entries: {
|
|
976
|
+
readonly type: "array";
|
|
977
|
+
readonly maxItems: 1000;
|
|
978
|
+
readonly items: {
|
|
979
|
+
readonly type: "object";
|
|
980
|
+
readonly additionalProperties: false;
|
|
981
|
+
readonly required: readonly ["index", "entry"];
|
|
982
|
+
readonly properties: {
|
|
983
|
+
readonly index: {
|
|
984
|
+
readonly type: "integer";
|
|
985
|
+
readonly minimum: 0;
|
|
986
|
+
};
|
|
987
|
+
readonly entry: {
|
|
988
|
+
readonly $ref: "#/$defs/BoardEntry";
|
|
989
|
+
};
|
|
990
|
+
};
|
|
991
|
+
};
|
|
992
|
+
readonly description: "Consecutive entries from `from`, in board order.";
|
|
993
|
+
};
|
|
994
|
+
readonly next: {
|
|
995
|
+
readonly type: "integer";
|
|
996
|
+
readonly minimum: 1;
|
|
997
|
+
readonly description: "The `from` of the next page. Absent when the page reaches `treeSize`.";
|
|
998
|
+
};
|
|
999
|
+
readonly ext: {
|
|
1000
|
+
readonly $ref: "#/$defs/Ext";
|
|
1001
|
+
};
|
|
1002
|
+
};
|
|
1003
|
+
};
|
|
1004
|
+
readonly Ext: {
|
|
1005
|
+
readonly title: "Ext";
|
|
1006
|
+
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.";
|
|
1007
|
+
readonly type: "object";
|
|
1008
|
+
readonly minProperties: 1;
|
|
1009
|
+
readonly additionalProperties: true;
|
|
1010
|
+
readonly propertyNames: {
|
|
1011
|
+
readonly pattern: "^[a-z][a-z0-9-]*(\\.[a-z0-9-]+)+$";
|
|
1012
|
+
};
|
|
1013
|
+
};
|
|
1014
|
+
readonly BoardEntry: {
|
|
1015
|
+
readonly title: "BoardEntry";
|
|
1016
|
+
readonly description: "One leaf of a board. A leaf's hash is the RFC 9162 leaf hash of the JCS canonicalization of this object. Entries carry no time of arrival: the order is the board's, and a timestamp would hand anyone who reads the board the timing the registrar's log would need to pair a ticket with its cast.";
|
|
1017
|
+
readonly oneOf: readonly [{
|
|
1018
|
+
readonly title: "CastEntry";
|
|
1019
|
+
readonly type: "object";
|
|
1020
|
+
readonly additionalProperties: false;
|
|
1021
|
+
readonly required: readonly ["kind", "cast"];
|
|
1022
|
+
readonly properties: {
|
|
1023
|
+
readonly kind: {
|
|
1024
|
+
readonly const: "cast";
|
|
1025
|
+
};
|
|
1026
|
+
readonly cast: {
|
|
1027
|
+
readonly $ref: "#/$defs/Cast";
|
|
1028
|
+
};
|
|
1029
|
+
};
|
|
1030
|
+
}, {
|
|
1031
|
+
readonly title: "ReplacementEntry";
|
|
1032
|
+
readonly description: "The cast at `replaces` is no longer counted: a later cast under the same tag is.";
|
|
1033
|
+
readonly type: "object";
|
|
1034
|
+
readonly additionalProperties: false;
|
|
1035
|
+
readonly required: readonly ["kind", "tag", "replaces", "by"];
|
|
1036
|
+
readonly properties: {
|
|
1037
|
+
readonly kind: {
|
|
1038
|
+
readonly const: "replaced";
|
|
1039
|
+
};
|
|
1040
|
+
readonly tag: {
|
|
1041
|
+
readonly $ref: "#/$defs/Multibase";
|
|
1042
|
+
};
|
|
1043
|
+
readonly replaces: {
|
|
1044
|
+
readonly type: "integer";
|
|
1045
|
+
readonly minimum: 0;
|
|
1046
|
+
};
|
|
1047
|
+
readonly by: {
|
|
1048
|
+
readonly type: "integer";
|
|
1049
|
+
readonly minimum: 0;
|
|
1050
|
+
};
|
|
1051
|
+
};
|
|
1052
|
+
}, {
|
|
1053
|
+
readonly title: "LifecycleEntry";
|
|
1054
|
+
readonly type: "object";
|
|
1055
|
+
readonly additionalProperties: false;
|
|
1056
|
+
readonly required: readonly ["kind", "occurredAt"];
|
|
1057
|
+
readonly properties: {
|
|
1058
|
+
readonly kind: {
|
|
1059
|
+
readonly enum: readonly ["opened", "closed", "closedEarly", "cancelled"];
|
|
1060
|
+
};
|
|
1061
|
+
readonly occurredAt: {
|
|
1062
|
+
readonly type: "string";
|
|
1063
|
+
readonly format: "date-time";
|
|
1064
|
+
};
|
|
1065
|
+
};
|
|
1066
|
+
}, {
|
|
1067
|
+
readonly title: "ResultEntry";
|
|
1068
|
+
readonly type: "object";
|
|
1069
|
+
readonly additionalProperties: false;
|
|
1070
|
+
readonly required: readonly ["kind", "result"];
|
|
1071
|
+
readonly properties: {
|
|
1072
|
+
readonly kind: {
|
|
1073
|
+
readonly const: "result";
|
|
1074
|
+
};
|
|
1075
|
+
readonly result: {
|
|
1076
|
+
readonly $ref: "#/$defs/ElectionResult";
|
|
1077
|
+
};
|
|
1078
|
+
};
|
|
1079
|
+
}, {
|
|
1080
|
+
readonly title: "EncryptedCastEntry";
|
|
1081
|
+
readonly type: "object";
|
|
1082
|
+
readonly additionalProperties: false;
|
|
1083
|
+
readonly required: readonly ["kind", "cast"];
|
|
1084
|
+
readonly properties: {
|
|
1085
|
+
readonly kind: {
|
|
1086
|
+
readonly const: "encryptedCast";
|
|
1087
|
+
};
|
|
1088
|
+
readonly cast: {
|
|
1089
|
+
readonly $ref: "#/$defs/EncryptedCast";
|
|
1090
|
+
};
|
|
1091
|
+
};
|
|
1092
|
+
}, {
|
|
1093
|
+
readonly title: "TransportKeyEntry";
|
|
1094
|
+
readonly type: "object";
|
|
1095
|
+
readonly additionalProperties: false;
|
|
1096
|
+
readonly required: readonly ["kind", "transportKey"];
|
|
1097
|
+
readonly properties: {
|
|
1098
|
+
readonly kind: {
|
|
1099
|
+
readonly const: "transportKey";
|
|
1100
|
+
};
|
|
1101
|
+
readonly transportKey: {
|
|
1102
|
+
readonly $ref: "#/$defs/TransportKey";
|
|
1103
|
+
};
|
|
1104
|
+
};
|
|
1105
|
+
readonly description: "Not appended: each enrolment, dealing, confirmation and justification is a `trusteeStep` entry carrying the trustee's signed request (CONVENTIONS §9.6). A consumer MUST refuse a board holding this kind.";
|
|
1106
|
+
}, {
|
|
1107
|
+
readonly title: "DealingEntry";
|
|
1108
|
+
readonly type: "object";
|
|
1109
|
+
readonly additionalProperties: false;
|
|
1110
|
+
readonly required: readonly ["kind", "dealing"];
|
|
1111
|
+
readonly properties: {
|
|
1112
|
+
readonly kind: {
|
|
1113
|
+
readonly const: "dealing";
|
|
1114
|
+
};
|
|
1115
|
+
readonly dealing: {
|
|
1116
|
+
readonly $ref: "#/$defs/Dealing";
|
|
1117
|
+
};
|
|
1118
|
+
};
|
|
1119
|
+
readonly description: "Not appended: each enrolment, dealing, confirmation and justification is a `trusteeStep` entry carrying the trustee's signed request (CONVENTIONS §9.6). A consumer MUST refuse a board holding this kind.";
|
|
1120
|
+
}, {
|
|
1121
|
+
readonly title: "ConfirmationEntry";
|
|
1122
|
+
readonly type: "object";
|
|
1123
|
+
readonly additionalProperties: false;
|
|
1124
|
+
readonly required: readonly ["kind", "trustee", "complaints"];
|
|
1125
|
+
readonly properties: {
|
|
1126
|
+
readonly kind: {
|
|
1127
|
+
readonly const: "confirmation";
|
|
1128
|
+
};
|
|
1129
|
+
readonly trustee: {
|
|
1130
|
+
readonly $ref: "#/$defs/TrusteeIndex";
|
|
1131
|
+
};
|
|
1132
|
+
readonly complaints: {
|
|
1133
|
+
readonly type: "array";
|
|
1134
|
+
readonly maxItems: 64;
|
|
1135
|
+
readonly items: {
|
|
1136
|
+
readonly $ref: "#/$defs/TrusteeIndex";
|
|
1137
|
+
};
|
|
1138
|
+
};
|
|
1139
|
+
};
|
|
1140
|
+
readonly description: "Not appended: each enrolment, dealing, confirmation and justification is a `trusteeStep` entry carrying the trustee's signed request (CONVENTIONS §9.6). A consumer MUST refuse a board holding this kind.";
|
|
1141
|
+
}, {
|
|
1142
|
+
readonly title: "JustificationEntry";
|
|
1143
|
+
readonly type: "object";
|
|
1144
|
+
readonly additionalProperties: false;
|
|
1145
|
+
readonly required: readonly ["kind", "dealer", "recipient", "share"];
|
|
1146
|
+
readonly properties: {
|
|
1147
|
+
readonly kind: {
|
|
1148
|
+
readonly const: "justification";
|
|
1149
|
+
};
|
|
1150
|
+
readonly dealer: {
|
|
1151
|
+
readonly $ref: "#/$defs/TrusteeIndex";
|
|
1152
|
+
};
|
|
1153
|
+
readonly recipient: {
|
|
1154
|
+
readonly $ref: "#/$defs/TrusteeIndex";
|
|
1155
|
+
};
|
|
1156
|
+
readonly share: {
|
|
1157
|
+
readonly $ref: "#/$defs/GroupScalar";
|
|
1158
|
+
};
|
|
1159
|
+
};
|
|
1160
|
+
readonly description: "Not appended: each enrolment, dealing, confirmation and justification is a `trusteeStep` entry carrying the trustee's signed request (CONVENTIONS §9.6). A consumer MUST refuse a board holding this kind.";
|
|
1161
|
+
}, {
|
|
1162
|
+
readonly title: "ElectionKeyEntry";
|
|
1163
|
+
readonly type: "object";
|
|
1164
|
+
readonly additionalProperties: false;
|
|
1165
|
+
readonly required: readonly ["kind", "electionKey"];
|
|
1166
|
+
readonly properties: {
|
|
1167
|
+
readonly kind: {
|
|
1168
|
+
readonly const: "electionKey";
|
|
1169
|
+
};
|
|
1170
|
+
readonly electionKey: {
|
|
1171
|
+
readonly $ref: "#/$defs/ElectionKey";
|
|
1172
|
+
};
|
|
1173
|
+
};
|
|
1174
|
+
}, {
|
|
1175
|
+
readonly title: "PartialDecryptionsEntry";
|
|
1176
|
+
readonly type: "object";
|
|
1177
|
+
readonly additionalProperties: false;
|
|
1178
|
+
readonly required: readonly ["kind", "trustee", "partials"];
|
|
1179
|
+
readonly properties: {
|
|
1180
|
+
readonly kind: {
|
|
1181
|
+
readonly const: "partials";
|
|
1182
|
+
};
|
|
1183
|
+
readonly trustee: {
|
|
1184
|
+
readonly $ref: "#/$defs/TrusteeIndex";
|
|
1185
|
+
};
|
|
1186
|
+
readonly partials: {
|
|
1187
|
+
readonly type: "array";
|
|
1188
|
+
readonly minItems: 1;
|
|
1189
|
+
readonly maxItems: 100000;
|
|
1190
|
+
readonly items: {
|
|
1191
|
+
readonly $ref: "#/$defs/PartialDecryption";
|
|
1192
|
+
};
|
|
1193
|
+
};
|
|
1194
|
+
};
|
|
1195
|
+
}, {
|
|
1196
|
+
readonly title: "UnsealedEntry";
|
|
1197
|
+
readonly type: "object";
|
|
1198
|
+
readonly additionalProperties: false;
|
|
1199
|
+
readonly required: readonly ["kind", "leafIndex", "ballot"];
|
|
1200
|
+
readonly properties: {
|
|
1201
|
+
readonly kind: {
|
|
1202
|
+
readonly const: "unsealed";
|
|
1203
|
+
};
|
|
1204
|
+
readonly leafIndex: {
|
|
1205
|
+
readonly type: "integer";
|
|
1206
|
+
readonly minimum: 0;
|
|
1207
|
+
};
|
|
1208
|
+
readonly ballot: {
|
|
1209
|
+
readonly $ref: "#/$defs/Ballot";
|
|
1210
|
+
};
|
|
1211
|
+
};
|
|
1212
|
+
}, {
|
|
1213
|
+
readonly title: "SpoiledEntry";
|
|
1214
|
+
readonly description: "A sealed cast that did not open, or opened to no valid ballot: not counted (CONVENTIONS §9.7).";
|
|
1215
|
+
readonly type: "object";
|
|
1216
|
+
readonly additionalProperties: false;
|
|
1217
|
+
readonly required: readonly ["kind", "leafIndex"];
|
|
1218
|
+
readonly properties: {
|
|
1219
|
+
readonly kind: {
|
|
1220
|
+
readonly const: "spoiled";
|
|
1221
|
+
};
|
|
1222
|
+
readonly leafIndex: {
|
|
1223
|
+
readonly type: "integer";
|
|
1224
|
+
readonly minimum: 0;
|
|
1225
|
+
};
|
|
1226
|
+
};
|
|
1227
|
+
}, {
|
|
1228
|
+
readonly title: "TrusteeStepEntry";
|
|
1229
|
+
readonly description: "One step of the trustees' ceremony — an enrolment, a dealing, a confirmation or a justification — as the trustee's own signed request, so that anyone reading the board can tell who took it (CONVENTIONS §9.6).";
|
|
1230
|
+
readonly type: "object";
|
|
1231
|
+
readonly additionalProperties: false;
|
|
1232
|
+
readonly required: readonly ["kind", "request"];
|
|
1233
|
+
readonly properties: {
|
|
1234
|
+
readonly kind: {
|
|
1235
|
+
readonly const: "trusteeStep";
|
|
1236
|
+
};
|
|
1237
|
+
readonly request: {
|
|
1238
|
+
readonly $ref: "#/$defs/SignedRequest";
|
|
1239
|
+
};
|
|
1240
|
+
};
|
|
1241
|
+
}, {
|
|
1242
|
+
readonly title: "DecryptionAuthorizedEntry";
|
|
1243
|
+
readonly description: "The community's voting/trustees/authorize request, exactly as the ballot box received it: the decryption targets of a closed election, pinned by digest to a head of the board (CONVENTIONS §9.7).";
|
|
1244
|
+
readonly type: "object";
|
|
1245
|
+
readonly additionalProperties: false;
|
|
1246
|
+
readonly required: readonly ["kind", "request"];
|
|
1247
|
+
readonly properties: {
|
|
1248
|
+
readonly kind: {
|
|
1249
|
+
readonly const: "decryptionAuthorized";
|
|
1250
|
+
};
|
|
1251
|
+
readonly request: {
|
|
1252
|
+
readonly $ref: "#/$defs/SignedRequest";
|
|
1253
|
+
};
|
|
1254
|
+
};
|
|
1255
|
+
}];
|
|
1256
|
+
};
|
|
1257
|
+
readonly SignedRequest: {
|
|
1258
|
+
readonly title: "SignedRequest";
|
|
1259
|
+
readonly description: "A whole Trust Task request document — `id`, `type`, `issuer`, `payload` and every other member, `proof` included — exactly as the ballot box received it, never re-serialised: its proof is taken over its members, and a re-serialised copy does not reliably reproduce them. Typed as an open object so every member survives; CONVENTIONS §9.6 gives the checks that make it a trustee's step.";
|
|
1260
|
+
readonly type: "object";
|
|
1261
|
+
readonly minProperties: 1;
|
|
1262
|
+
};
|
|
1263
|
+
readonly Ballot: {
|
|
1264
|
+
readonly title: "Ballot";
|
|
1265
|
+
readonly description: "An open ballot: one answer per question of the manifest, in any order. The bytes a cast's proof binds are the RFC 8785 (JCS) canonicalization of this object as received.";
|
|
1266
|
+
readonly type: "object";
|
|
1267
|
+
readonly additionalProperties: false;
|
|
1268
|
+
readonly required: readonly ["electionId", "manifestDigest", "answers"];
|
|
1269
|
+
readonly properties: {
|
|
1270
|
+
readonly electionId: {
|
|
1271
|
+
readonly $ref: "#/$defs/ElectionId";
|
|
1272
|
+
};
|
|
1273
|
+
readonly manifestDigest: {
|
|
1274
|
+
readonly $ref: "#/$defs/DigestMultibase";
|
|
1275
|
+
};
|
|
1276
|
+
readonly answers: {
|
|
1277
|
+
readonly type: "array";
|
|
1278
|
+
readonly minItems: 1;
|
|
1279
|
+
readonly maxItems: 128;
|
|
1280
|
+
readonly items: {
|
|
1281
|
+
readonly $ref: "#/$defs/Answer";
|
|
1282
|
+
};
|
|
1283
|
+
};
|
|
1284
|
+
};
|
|
1285
|
+
};
|
|
1286
|
+
readonly Answer: {
|
|
1287
|
+
readonly title: "Answer";
|
|
1288
|
+
readonly description: "The answer to one question. Exactly one member besides `question` is present, matching the question's type, or `abstain` for an optional question left unanswered.";
|
|
1289
|
+
readonly type: "object";
|
|
1290
|
+
readonly additionalProperties: false;
|
|
1291
|
+
readonly required: readonly ["question"];
|
|
1292
|
+
readonly minProperties: 2;
|
|
1293
|
+
readonly maxProperties: 2;
|
|
1294
|
+
readonly properties: {
|
|
1295
|
+
readonly question: {
|
|
1296
|
+
readonly $ref: "#/$defs/Key";
|
|
1297
|
+
};
|
|
1298
|
+
readonly choice: {
|
|
1299
|
+
readonly type: "array";
|
|
1300
|
+
readonly items: {
|
|
1301
|
+
readonly $ref: "#/$defs/Key";
|
|
1302
|
+
};
|
|
1303
|
+
readonly uniqueItems: true;
|
|
1304
|
+
};
|
|
1305
|
+
readonly ranking: {
|
|
1306
|
+
readonly type: "array";
|
|
1307
|
+
readonly items: {
|
|
1308
|
+
readonly $ref: "#/$defs/Key";
|
|
1309
|
+
};
|
|
1310
|
+
readonly uniqueItems: true;
|
|
1311
|
+
};
|
|
1312
|
+
readonly scores: {
|
|
1313
|
+
readonly type: "object";
|
|
1314
|
+
readonly propertyNames: {
|
|
1315
|
+
readonly $ref: "#/$defs/Key";
|
|
1316
|
+
};
|
|
1317
|
+
readonly additionalProperties: {
|
|
1318
|
+
readonly type: "integer";
|
|
1319
|
+
};
|
|
1320
|
+
};
|
|
1321
|
+
readonly text: {
|
|
1322
|
+
readonly type: "string";
|
|
1323
|
+
readonly maxLength: 4096;
|
|
1324
|
+
};
|
|
1325
|
+
readonly abstain: {
|
|
1326
|
+
readonly const: true;
|
|
1327
|
+
};
|
|
1328
|
+
};
|
|
1329
|
+
};
|
|
1330
|
+
readonly Key: {
|
|
1331
|
+
readonly title: "Key";
|
|
1332
|
+
readonly description: "A question or option key, unique within its manifest or question.";
|
|
1333
|
+
readonly type: "string";
|
|
1334
|
+
readonly pattern: "^[A-Za-z0-9._-]{1,64}$";
|
|
1335
|
+
};
|
|
1336
|
+
readonly ElectionId: {
|
|
1337
|
+
readonly title: "ElectionId";
|
|
1338
|
+
readonly description: "An election's identifier, unique within its community. A closed alphabet: it appears in the ticket class label `voter/<electionId>` and is framed into every hash a cast is bound to.";
|
|
1339
|
+
readonly type: "string";
|
|
1340
|
+
readonly pattern: "^[A-Za-z0-9._-]{1,128}$";
|
|
1341
|
+
};
|
|
1342
|
+
readonly DigestMultibase: {
|
|
1343
|
+
readonly title: "DigestMultibase";
|
|
1344
|
+
readonly description: "A cryptographic digest as a multibase-encoded multihash — the encoding the W3C Verifiable Credentials Data Model 2.0 defines for `digestMultibase`, and the one `did:webvh` uses for its SCID and entry hashes.\n\nMultihash carries the hash algorithm in-band, so the value is self-describing and the wire format survives an algorithm change without a schema revision; multibase does the same for the base encoding, so a verifier never infers base58 from base64url by context. A bare hex string or a `sha-256:`-style prefix hard-codes one algorithm into the wire contract and is non-conforming here.\n\nThis definition constrains the *encoding only*. What the digest is computed over is stated by each referencing field, because it differs legitimately: a digest over a JSON document is taken over its RFC 8785 (JCS) canonicalization, while a digest over an opaque artifact is taken over its bytes. A field whose input is a JSON document and which does not name a canonicalization is not reproducible.\n\nRestricted to the two multibase headers W3C Controlled Identifiers 1.0 §2.4 normatively requires — `z` (base58btc) and `u` (base64url-no-pad). CID permits others but states that \"interoperability is not guaranteed between implementations using such values\", and a registry whose purpose is interoperability should not mint digests a conforming verifier may be unable to read. The alphabets are enforced rather than assumed: base58btc excludes 0, O, I and l, and an earlier permissive pattern let three published examples carry digests that were not valid base58 at all. base58btc is RECOMMENDED, for consistency with `did:key` and `did:webvh`.";
|
|
1345
|
+
readonly type: "string";
|
|
1346
|
+
readonly minLength: 16;
|
|
1347
|
+
readonly pattern: "^(z[1-9A-HJ-NP-Za-km-z]+|u[A-Za-z0-9_-]+)$";
|
|
1348
|
+
readonly examples: readonly ["zQmbWqxBEKC3P8tqsKc98xmWNzrzDtRLMiMPL8wBuTGsMnR"];
|
|
1349
|
+
};
|
|
1350
|
+
readonly PartialDecryption: {
|
|
1351
|
+
readonly title: "PartialDecryption";
|
|
1352
|
+
readonly description: "Trustee `trustee`'s share of one decryption, `d = x_j·a`, with a Chaum–Pedersen proof against its verification key (CONVENTIONS §9.7).";
|
|
1353
|
+
readonly type: "object";
|
|
1354
|
+
readonly additionalProperties: false;
|
|
1355
|
+
readonly required: readonly ["target", "d", "proof"];
|
|
1356
|
+
readonly properties: {
|
|
1357
|
+
readonly target: {
|
|
1358
|
+
readonly $ref: "#/$defs/DecryptionTarget";
|
|
1359
|
+
};
|
|
1360
|
+
readonly d: {
|
|
1361
|
+
readonly $ref: "#/$defs/GroupElement";
|
|
1362
|
+
};
|
|
1363
|
+
readonly proof: {
|
|
1364
|
+
readonly $ref: "#/$defs/SigmaProof";
|
|
1365
|
+
};
|
|
1366
|
+
};
|
|
1367
|
+
};
|
|
1368
|
+
readonly SigmaProof: {
|
|
1369
|
+
readonly title: "SigmaProof";
|
|
1370
|
+
readonly description: "A non-interactive sigma proof as its challenge and response `(c, z)` (Schnorr or Chaum–Pedersen; CONVENTIONS §9.3).";
|
|
1371
|
+
readonly type: "object";
|
|
1372
|
+
readonly additionalProperties: false;
|
|
1373
|
+
readonly required: readonly ["c", "z"];
|
|
1374
|
+
readonly properties: {
|
|
1375
|
+
readonly c: {
|
|
1376
|
+
readonly $ref: "#/$defs/GroupScalar";
|
|
1377
|
+
};
|
|
1378
|
+
readonly z: {
|
|
1379
|
+
readonly $ref: "#/$defs/GroupScalar";
|
|
1380
|
+
};
|
|
1381
|
+
};
|
|
1382
|
+
};
|
|
1383
|
+
readonly GroupScalar: {
|
|
1384
|
+
readonly title: "GroupScalar";
|
|
1385
|
+
readonly description: "A scalar mod the Ristretto group order: 32 canonical little-endian bytes, multibase base58btc (CONVENTIONS §9.1).";
|
|
1386
|
+
readonly type: "string";
|
|
1387
|
+
readonly minLength: 2;
|
|
1388
|
+
readonly maxLength: 64;
|
|
1389
|
+
readonly pattern: "^z[1-9A-HJ-NP-Za-km-z]+$";
|
|
1390
|
+
};
|
|
1391
|
+
readonly GroupElement: {
|
|
1392
|
+
readonly title: "GroupElement";
|
|
1393
|
+
readonly description: "A Ristretto group element: its 32-byte compression, multibase base58btc. Never the identity (CONVENTIONS §9.1).";
|
|
1394
|
+
readonly type: "string";
|
|
1395
|
+
readonly minLength: 2;
|
|
1396
|
+
readonly maxLength: 64;
|
|
1397
|
+
readonly pattern: "^z[1-9A-HJ-NP-Za-km-z]+$";
|
|
1398
|
+
};
|
|
1399
|
+
readonly DecryptionTarget: {
|
|
1400
|
+
readonly title: "DecryptionTarget";
|
|
1401
|
+
readonly description: "What a partial decryption decrypts: the sealed cast at a board leaf, or the total of one option of one question.";
|
|
1402
|
+
readonly type: "object";
|
|
1403
|
+
readonly additionalProperties: false;
|
|
1404
|
+
readonly required: readonly ["ciphertext"];
|
|
1405
|
+
readonly properties: {
|
|
1406
|
+
readonly leafIndex: {
|
|
1407
|
+
readonly type: "integer";
|
|
1408
|
+
readonly minimum: 0;
|
|
1409
|
+
readonly description: "A sealed cast's board leaf.";
|
|
1410
|
+
};
|
|
1411
|
+
readonly question: {
|
|
1412
|
+
readonly $ref: "#/$defs/Key";
|
|
1413
|
+
};
|
|
1414
|
+
readonly option: {
|
|
1415
|
+
readonly $ref: "#/$defs/Key";
|
|
1416
|
+
};
|
|
1417
|
+
readonly ciphertext: {
|
|
1418
|
+
readonly $ref: "#/$defs/ElGamalCiphertext";
|
|
1419
|
+
};
|
|
1420
|
+
};
|
|
1421
|
+
readonly oneOf: readonly [{
|
|
1422
|
+
readonly required: readonly ["leafIndex"];
|
|
1423
|
+
}, {
|
|
1424
|
+
readonly required: readonly ["question", "option"];
|
|
1425
|
+
}];
|
|
1426
|
+
};
|
|
1427
|
+
readonly ElGamalCiphertext: {
|
|
1428
|
+
readonly title: "ElGamalCiphertext";
|
|
1429
|
+
readonly description: "`(a, b) = (r·G, M + r·Y)` under the election key `Y` (CONVENTIONS §9.2).";
|
|
1430
|
+
readonly type: "object";
|
|
1431
|
+
readonly additionalProperties: false;
|
|
1432
|
+
readonly required: readonly ["a", "b"];
|
|
1433
|
+
readonly properties: {
|
|
1434
|
+
readonly a: {
|
|
1435
|
+
readonly $ref: "#/$defs/GroupElement";
|
|
1436
|
+
};
|
|
1437
|
+
readonly b: {
|
|
1438
|
+
readonly $ref: "#/$defs/GroupElement";
|
|
1439
|
+
};
|
|
1440
|
+
};
|
|
1441
|
+
};
|
|
1442
|
+
readonly TrusteeIndex: {
|
|
1443
|
+
readonly title: "TrusteeIndex";
|
|
1444
|
+
readonly description: "A trustee's index: its position in the manifest's `trustees.dids`, counting from 1.";
|
|
1445
|
+
readonly type: "integer";
|
|
1446
|
+
readonly minimum: 1;
|
|
1447
|
+
readonly maximum: 64;
|
|
1448
|
+
};
|
|
1449
|
+
readonly ElectionKey: {
|
|
1450
|
+
readonly title: "ElectionKey";
|
|
1451
|
+
readonly description: "The election key and each trustee's public verification key, computed from the qualified dealings (CONVENTIONS §9.6). Anyone can recompute it from the board.";
|
|
1452
|
+
readonly type: "object";
|
|
1453
|
+
readonly additionalProperties: false;
|
|
1454
|
+
readonly required: readonly ["key", "qualified", "verification"];
|
|
1455
|
+
readonly properties: {
|
|
1456
|
+
readonly key: {
|
|
1457
|
+
readonly $ref: "#/$defs/GroupElement";
|
|
1458
|
+
};
|
|
1459
|
+
readonly qualified: {
|
|
1460
|
+
readonly type: "array";
|
|
1461
|
+
readonly minItems: 1;
|
|
1462
|
+
readonly maxItems: 64;
|
|
1463
|
+
readonly items: {
|
|
1464
|
+
readonly $ref: "#/$defs/TrusteeIndex";
|
|
1465
|
+
};
|
|
1466
|
+
readonly description: "The dealers whose dealings the key is formed from.";
|
|
1467
|
+
};
|
|
1468
|
+
readonly verification: {
|
|
1469
|
+
readonly type: "array";
|
|
1470
|
+
readonly minItems: 2;
|
|
1471
|
+
readonly maxItems: 64;
|
|
1472
|
+
readonly items: {
|
|
1473
|
+
readonly type: "object";
|
|
1474
|
+
readonly additionalProperties: false;
|
|
1475
|
+
readonly required: readonly ["trustee", "key"];
|
|
1476
|
+
readonly properties: {
|
|
1477
|
+
readonly trustee: {
|
|
1478
|
+
readonly $ref: "#/$defs/TrusteeIndex";
|
|
1479
|
+
};
|
|
1480
|
+
readonly key: {
|
|
1481
|
+
readonly $ref: "#/$defs/GroupElement";
|
|
1482
|
+
};
|
|
1483
|
+
};
|
|
1484
|
+
};
|
|
1485
|
+
};
|
|
1486
|
+
};
|
|
1487
|
+
};
|
|
1488
|
+
readonly Dealing: {
|
|
1489
|
+
readonly title: "Dealing";
|
|
1490
|
+
readonly description: "A trustee's contribution to the election key: Feldman commitments to its polynomial, a proof of knowledge of the constant term, and one share per trustee sealed to that trustee's transport key (CONVENTIONS §9.6).";
|
|
1491
|
+
readonly type: "object";
|
|
1492
|
+
readonly additionalProperties: false;
|
|
1493
|
+
readonly required: readonly ["dealer", "commitments", "pok", "shares"];
|
|
1494
|
+
readonly properties: {
|
|
1495
|
+
readonly dealer: {
|
|
1496
|
+
readonly $ref: "#/$defs/TrusteeIndex";
|
|
1497
|
+
};
|
|
1498
|
+
readonly commitments: {
|
|
1499
|
+
readonly type: "array";
|
|
1500
|
+
readonly minItems: 2;
|
|
1501
|
+
readonly maxItems: 64;
|
|
1502
|
+
readonly items: {
|
|
1503
|
+
readonly $ref: "#/$defs/GroupElement";
|
|
1504
|
+
};
|
|
1505
|
+
};
|
|
1506
|
+
readonly pok: {
|
|
1507
|
+
readonly $ref: "#/$defs/SigmaProof";
|
|
1508
|
+
};
|
|
1509
|
+
readonly shares: {
|
|
1510
|
+
readonly type: "array";
|
|
1511
|
+
readonly minItems: 2;
|
|
1512
|
+
readonly maxItems: 64;
|
|
1513
|
+
readonly items: {
|
|
1514
|
+
readonly $ref: "#/$defs/SealedShare";
|
|
1515
|
+
};
|
|
1516
|
+
};
|
|
1517
|
+
};
|
|
1518
|
+
};
|
|
1519
|
+
readonly SealedShare: {
|
|
1520
|
+
readonly title: "SealedShare";
|
|
1521
|
+
readonly type: "object";
|
|
1522
|
+
readonly additionalProperties: false;
|
|
1523
|
+
readonly required: readonly ["recipient", "share"];
|
|
1524
|
+
readonly properties: {
|
|
1525
|
+
readonly recipient: {
|
|
1526
|
+
readonly $ref: "#/$defs/TrusteeIndex";
|
|
1527
|
+
};
|
|
1528
|
+
readonly share: {
|
|
1529
|
+
readonly $ref: "#/$defs/SealedPayload";
|
|
1530
|
+
};
|
|
1531
|
+
};
|
|
1532
|
+
};
|
|
1533
|
+
readonly SealedPayload: {
|
|
1534
|
+
readonly title: "SealedPayload";
|
|
1535
|
+
readonly description: "Bytes sealed to a key: a random group element encrypted as `kem`, and the bytes under ChaCha20-Poly1305 with a key derived from it, multibase base58btc (CONVENTIONS §9.4).";
|
|
1536
|
+
readonly type: "object";
|
|
1537
|
+
readonly additionalProperties: false;
|
|
1538
|
+
readonly required: readonly ["kem", "body"];
|
|
1539
|
+
readonly properties: {
|
|
1540
|
+
readonly kem: {
|
|
1541
|
+
readonly $ref: "#/$defs/ElGamalCiphertext";
|
|
1542
|
+
};
|
|
1543
|
+
readonly body: {
|
|
1544
|
+
readonly type: "string";
|
|
1545
|
+
readonly minLength: 2;
|
|
1546
|
+
readonly maxLength: 131072;
|
|
1547
|
+
readonly pattern: "^z[1-9A-HJ-NP-Za-km-z]+$";
|
|
1548
|
+
};
|
|
1549
|
+
};
|
|
1550
|
+
};
|
|
1551
|
+
readonly TransportKey: {
|
|
1552
|
+
readonly title: "TransportKey";
|
|
1553
|
+
readonly description: "The group element a trustee's shares are sealed to, with a Schnorr proof of knowledge of its discrete log (CONVENTIONS §9.6).";
|
|
1554
|
+
readonly type: "object";
|
|
1555
|
+
readonly additionalProperties: false;
|
|
1556
|
+
readonly required: readonly ["trustee", "key", "pok"];
|
|
1557
|
+
readonly properties: {
|
|
1558
|
+
readonly trustee: {
|
|
1559
|
+
readonly $ref: "#/$defs/TrusteeIndex";
|
|
1560
|
+
};
|
|
1561
|
+
readonly key: {
|
|
1562
|
+
readonly $ref: "#/$defs/GroupElement";
|
|
1563
|
+
};
|
|
1564
|
+
readonly pok: {
|
|
1565
|
+
readonly $ref: "#/$defs/SigmaProof";
|
|
1566
|
+
};
|
|
1567
|
+
};
|
|
1568
|
+
};
|
|
1569
|
+
readonly EncryptedCast: {
|
|
1570
|
+
readonly title: "EncryptedCast";
|
|
1571
|
+
readonly description: "A cast of a sealed or tallied-encrypted election: exactly one of `sealed` (the Ballot's JCS bytes sealed to the election key) or `encrypted`, with the tag and the attestation over the JCS bytes of whichever is present (CONVENTIONS §3.6, §9.5).";
|
|
1572
|
+
readonly type: "object";
|
|
1573
|
+
readonly additionalProperties: false;
|
|
1574
|
+
readonly required: readonly ["tag", "attestation"];
|
|
1575
|
+
readonly properties: {
|
|
1576
|
+
readonly sealed: {
|
|
1577
|
+
readonly $ref: "#/$defs/SealedPayload";
|
|
1578
|
+
};
|
|
1579
|
+
readonly encrypted: {
|
|
1580
|
+
readonly $ref: "#/$defs/EncryptedBallot";
|
|
1581
|
+
};
|
|
1582
|
+
readonly tag: {
|
|
1583
|
+
readonly $ref: "#/$defs/Multibase";
|
|
1584
|
+
};
|
|
1585
|
+
readonly attestation: {
|
|
1586
|
+
readonly $ref: "#/$defs/Multibase";
|
|
1587
|
+
};
|
|
1588
|
+
};
|
|
1589
|
+
readonly oneOf: readonly [{
|
|
1590
|
+
readonly required: readonly ["sealed"];
|
|
1591
|
+
}, {
|
|
1592
|
+
readonly required: readonly ["encrypted"];
|
|
1593
|
+
}];
|
|
1594
|
+
};
|
|
1595
|
+
readonly Multibase: {
|
|
1596
|
+
readonly title: "Multibase";
|
|
1597
|
+
readonly description: "A binary value, multibase base58btc over the suite's canonical (compressed) encoding.";
|
|
1598
|
+
readonly type: "string";
|
|
1599
|
+
readonly maxLength: 16384;
|
|
1600
|
+
readonly pattern: "^z[1-9A-HJ-NP-Za-km-z]+$";
|
|
1601
|
+
};
|
|
1602
|
+
readonly EncryptedBallot: {
|
|
1603
|
+
readonly title: "EncryptedBallot";
|
|
1604
|
+
readonly description: "A tallied-encrypted ballot: one EncryptedQuestion per manifest question, in the manifest's order. Never decrypted (VTI-VOT-064).";
|
|
1605
|
+
readonly type: "object";
|
|
1606
|
+
readonly additionalProperties: false;
|
|
1607
|
+
readonly required: readonly ["electionId", "manifestDigest", "questions"];
|
|
1608
|
+
readonly properties: {
|
|
1609
|
+
readonly electionId: {
|
|
1610
|
+
readonly $ref: "#/$defs/ElectionId";
|
|
1611
|
+
};
|
|
1612
|
+
readonly manifestDigest: {
|
|
1613
|
+
readonly $ref: "#/$defs/DigestMultibase";
|
|
1614
|
+
};
|
|
1615
|
+
readonly questions: {
|
|
1616
|
+
readonly type: "array";
|
|
1617
|
+
readonly minItems: 1;
|
|
1618
|
+
readonly maxItems: 64;
|
|
1619
|
+
readonly items: {
|
|
1620
|
+
readonly $ref: "#/$defs/EncryptedQuestion";
|
|
1621
|
+
};
|
|
1622
|
+
};
|
|
1623
|
+
};
|
|
1624
|
+
};
|
|
1625
|
+
readonly EncryptedQuestion: {
|
|
1626
|
+
readonly title: "EncryptedQuestion";
|
|
1627
|
+
readonly description: "One choice question of a tallied-encrypted ballot: per option, in the manifest's order, an encryption of 0 or 1 with its proof; and a proof that the selections sum to a count the question admits (CONVENTIONS §9.5).";
|
|
1628
|
+
readonly type: "object";
|
|
1629
|
+
readonly additionalProperties: false;
|
|
1630
|
+
readonly required: readonly ["question", "options", "sumProof"];
|
|
1631
|
+
readonly properties: {
|
|
1632
|
+
readonly question: {
|
|
1633
|
+
readonly $ref: "#/$defs/Key";
|
|
1634
|
+
};
|
|
1635
|
+
readonly options: {
|
|
1636
|
+
readonly type: "array";
|
|
1637
|
+
readonly minItems: 1;
|
|
1638
|
+
readonly maxItems: 64;
|
|
1639
|
+
readonly items: {
|
|
1640
|
+
readonly $ref: "#/$defs/EncryptedOption";
|
|
1641
|
+
};
|
|
1642
|
+
};
|
|
1643
|
+
readonly sumProof: {
|
|
1644
|
+
readonly $ref: "#/$defs/DisjunctiveProof";
|
|
1645
|
+
};
|
|
1646
|
+
};
|
|
1647
|
+
};
|
|
1648
|
+
readonly DisjunctiveProof: {
|
|
1649
|
+
readonly title: "DisjunctiveProof";
|
|
1650
|
+
readonly description: "A disjunctive proof that a ciphertext encrypts one value of a public list: one `(c, z)` per value, in the list's order (CONVENTIONS §9.3).";
|
|
1651
|
+
readonly type: "array";
|
|
1652
|
+
readonly minItems: 1;
|
|
1653
|
+
readonly maxItems: 65;
|
|
1654
|
+
readonly items: {
|
|
1655
|
+
readonly $ref: "#/$defs/SigmaProof";
|
|
1656
|
+
};
|
|
1657
|
+
};
|
|
1658
|
+
readonly EncryptedOption: {
|
|
1659
|
+
readonly title: "EncryptedOption";
|
|
1660
|
+
readonly type: "object";
|
|
1661
|
+
readonly additionalProperties: false;
|
|
1662
|
+
readonly required: readonly ["ciphertext", "proof"];
|
|
1663
|
+
readonly properties: {
|
|
1664
|
+
readonly ciphertext: {
|
|
1665
|
+
readonly $ref: "#/$defs/ElGamalCiphertext";
|
|
1666
|
+
};
|
|
1667
|
+
readonly proof: {
|
|
1668
|
+
readonly $ref: "#/$defs/DisjunctiveProof";
|
|
1669
|
+
};
|
|
1670
|
+
};
|
|
1671
|
+
};
|
|
1672
|
+
readonly ElectionResult: {
|
|
1673
|
+
readonly title: "ElectionResult";
|
|
1674
|
+
readonly description: "An election's result, computable by anyone who can read its board from the board and the registration alone (VTI-VOT-070).";
|
|
1675
|
+
readonly type: "object";
|
|
1676
|
+
readonly additionalProperties: false;
|
|
1677
|
+
readonly required: readonly ["electionId", "manifestDigest", "ballotsCounted", "questions", "head"];
|
|
1678
|
+
readonly properties: {
|
|
1679
|
+
readonly electionId: {
|
|
1680
|
+
readonly $ref: "#/$defs/ElectionId";
|
|
1681
|
+
};
|
|
1682
|
+
readonly manifestDigest: {
|
|
1683
|
+
readonly $ref: "#/$defs/DigestMultibase";
|
|
1684
|
+
};
|
|
1685
|
+
readonly ballotsCounted: {
|
|
1686
|
+
readonly type: "integer";
|
|
1687
|
+
readonly minimum: 0;
|
|
1688
|
+
};
|
|
1689
|
+
readonly questions: {
|
|
1690
|
+
readonly type: "array";
|
|
1691
|
+
readonly items: {
|
|
1692
|
+
readonly $ref: "#/$defs/QuestionResult";
|
|
1693
|
+
};
|
|
1694
|
+
};
|
|
1695
|
+
readonly head: {
|
|
1696
|
+
readonly $ref: "#/$defs/BoardHead";
|
|
1697
|
+
readonly description: "The head of the board as it stood at close: the result counts exactly its entries.";
|
|
1698
|
+
};
|
|
1699
|
+
};
|
|
1700
|
+
};
|
|
1701
|
+
readonly BoardHead: {
|
|
1702
|
+
readonly title: "BoardHead";
|
|
1703
|
+
readonly description: "A board's tree head (RFC 9162 §2.1). A head is signed by being carried in a document the ballot box signs; whoever keeps a head keeps that whole document.";
|
|
1704
|
+
readonly type: "object";
|
|
1705
|
+
readonly additionalProperties: false;
|
|
1706
|
+
readonly required: readonly ["electionId", "treeSize", "rootHash", "issuedAt"];
|
|
1707
|
+
readonly properties: {
|
|
1708
|
+
readonly electionId: {
|
|
1709
|
+
readonly $ref: "#/$defs/ElectionId";
|
|
1710
|
+
};
|
|
1711
|
+
readonly treeSize: {
|
|
1712
|
+
readonly type: "integer";
|
|
1713
|
+
readonly minimum: 0;
|
|
1714
|
+
};
|
|
1715
|
+
readonly rootHash: {
|
|
1716
|
+
readonly $ref: "#/$defs/DigestMultibase";
|
|
1717
|
+
readonly description: "The RFC 9162 Merkle tree hash (SHA-256) of the first `treeSize` entries, as a multihash.";
|
|
1718
|
+
};
|
|
1719
|
+
readonly issuedAt: {
|
|
1720
|
+
readonly type: "string";
|
|
1721
|
+
readonly format: "date-time";
|
|
1722
|
+
};
|
|
1723
|
+
};
|
|
1724
|
+
};
|
|
1725
|
+
readonly QuestionResult: {
|
|
1726
|
+
readonly title: "QuestionResult";
|
|
1727
|
+
readonly description: "One question's totals. `choice`: selections per option. `ranking`: per option, how many ballots placed it at each position (index 0 = first). `score`: per option, the sum and the number of ballots that scored it. `text`: the answers, in board order, withheld (`withheld: true`) below the manifest's `textReleaseThreshold`. `abstained` counts ballots that left the question unanswered.";
|
|
1728
|
+
readonly type: "object";
|
|
1729
|
+
readonly additionalProperties: false;
|
|
1730
|
+
readonly required: readonly ["question", "abstained"];
|
|
1731
|
+
readonly properties: {
|
|
1732
|
+
readonly question: {
|
|
1733
|
+
readonly $ref: "#/$defs/Key";
|
|
1734
|
+
};
|
|
1735
|
+
readonly abstained: {
|
|
1736
|
+
readonly type: "integer";
|
|
1737
|
+
readonly minimum: 0;
|
|
1738
|
+
};
|
|
1739
|
+
readonly choice: {
|
|
1740
|
+
readonly type: "object";
|
|
1741
|
+
readonly propertyNames: {
|
|
1742
|
+
readonly $ref: "#/$defs/Key";
|
|
1743
|
+
};
|
|
1744
|
+
readonly additionalProperties: {
|
|
1745
|
+
readonly type: "integer";
|
|
1746
|
+
readonly minimum: 0;
|
|
1747
|
+
};
|
|
1748
|
+
};
|
|
1749
|
+
readonly ranking: {
|
|
1750
|
+
readonly type: "object";
|
|
1751
|
+
readonly propertyNames: {
|
|
1752
|
+
readonly $ref: "#/$defs/Key";
|
|
1753
|
+
};
|
|
1754
|
+
readonly additionalProperties: {
|
|
1755
|
+
readonly type: "array";
|
|
1756
|
+
readonly items: {
|
|
1757
|
+
readonly type: "integer";
|
|
1758
|
+
readonly minimum: 0;
|
|
1759
|
+
};
|
|
1760
|
+
};
|
|
1761
|
+
};
|
|
1762
|
+
readonly score: {
|
|
1763
|
+
readonly type: "object";
|
|
1764
|
+
readonly propertyNames: {
|
|
1765
|
+
readonly $ref: "#/$defs/Key";
|
|
1766
|
+
};
|
|
1767
|
+
readonly additionalProperties: {
|
|
1768
|
+
readonly type: "object";
|
|
1769
|
+
readonly additionalProperties: false;
|
|
1770
|
+
readonly required: readonly ["sum", "count"];
|
|
1771
|
+
readonly properties: {
|
|
1772
|
+
readonly sum: {
|
|
1773
|
+
readonly type: "integer";
|
|
1774
|
+
};
|
|
1775
|
+
readonly count: {
|
|
1776
|
+
readonly type: "integer";
|
|
1777
|
+
readonly minimum: 0;
|
|
1778
|
+
};
|
|
1779
|
+
};
|
|
1780
|
+
};
|
|
1781
|
+
};
|
|
1782
|
+
readonly text: {
|
|
1783
|
+
readonly type: "array";
|
|
1784
|
+
readonly items: {
|
|
1785
|
+
readonly type: "string";
|
|
1786
|
+
readonly maxLength: 4096;
|
|
1787
|
+
};
|
|
1788
|
+
};
|
|
1789
|
+
readonly withheld: {
|
|
1790
|
+
readonly type: "boolean";
|
|
1791
|
+
};
|
|
1792
|
+
};
|
|
1793
|
+
};
|
|
1794
|
+
readonly Cast: {
|
|
1795
|
+
readonly title: "Cast";
|
|
1796
|
+
readonly description: "A ballot and the PCS attestation that admits it (VTI-VOT-030). `attestation` is the suite's canonical encoding of the attestation made for the election point with the ballot context bound in (CONVENTIONS §3); `tag` repeats its tag so a ballot box can refuse a duplicate before the pairing check.";
|
|
1797
|
+
readonly type: "object";
|
|
1798
|
+
readonly additionalProperties: false;
|
|
1799
|
+
readonly required: readonly ["ballot", "tag", "attestation"];
|
|
1800
|
+
readonly properties: {
|
|
1801
|
+
readonly ballot: {
|
|
1802
|
+
readonly $ref: "#/$defs/Ballot";
|
|
1803
|
+
};
|
|
1804
|
+
readonly tag: {
|
|
1805
|
+
readonly $ref: "#/$defs/Multibase";
|
|
1806
|
+
};
|
|
1807
|
+
readonly attestation: {
|
|
1808
|
+
readonly $ref: "#/$defs/Multibase";
|
|
1809
|
+
};
|
|
1810
|
+
};
|
|
1811
|
+
};
|
|
1812
|
+
};
|
|
1813
|
+
};
|
|
1814
|
+
/**
|
|
1815
|
+
* SPEC.md §7.2 policy for the request variant, from this specification's
|
|
1816
|
+
* front matter. Pass to `consumeInbound` — items 5b, 7 and 8 are
|
|
1817
|
+
* per-specification and cannot be derived from the document alone, and
|
|
1818
|
+
* item 2 needs the schema this carries.
|
|
1819
|
+
*/
|
|
1820
|
+
export declare const SPEC: {
|
|
1821
|
+
readonly typeUri: "https://trusttasks.org/spec/voting/board/read/0.2";
|
|
1822
|
+
readonly isBearer: false;
|
|
1823
|
+
readonly isProofRequired: false;
|
|
1824
|
+
readonly isRecipientRequired: true;
|
|
1825
|
+
readonly isIssuedAtRequired: false;
|
|
1826
|
+
readonly payloadSchema: {
|
|
1827
|
+
readonly $schema: "https://json-schema.org/draft/2020-12/schema";
|
|
1828
|
+
readonly $id: "https://trusttasks.org/spec/voting/board/read/0.2";
|
|
1829
|
+
readonly title: "Voting — Board Read — payload";
|
|
1830
|
+
readonly description: "Reads a range of an election board's entries, against the current head or against an earlier tree size.";
|
|
1831
|
+
readonly type: "object";
|
|
1832
|
+
readonly additionalProperties: false;
|
|
1833
|
+
readonly required: readonly ["community", "electionId", "from", "limit"];
|
|
1834
|
+
readonly properties: {
|
|
1835
|
+
readonly community: {
|
|
1836
|
+
readonly type: "string";
|
|
1837
|
+
readonly minLength: 1;
|
|
1838
|
+
readonly maxLength: 2048;
|
|
1839
|
+
readonly description: "The community's DID.";
|
|
1840
|
+
};
|
|
1841
|
+
readonly electionId: {
|
|
1842
|
+
readonly $ref: "#/$defs/ElectionId";
|
|
1843
|
+
};
|
|
1844
|
+
readonly from: {
|
|
1845
|
+
readonly type: "integer";
|
|
1846
|
+
readonly minimum: 0;
|
|
1847
|
+
readonly description: "The index of the first entry to return.";
|
|
1848
|
+
};
|
|
1849
|
+
readonly limit: {
|
|
1850
|
+
readonly type: "integer";
|
|
1851
|
+
readonly minimum: 1;
|
|
1852
|
+
readonly maximum: 1000;
|
|
1853
|
+
readonly description: "The most entries to return.";
|
|
1854
|
+
};
|
|
1855
|
+
readonly treeSize: {
|
|
1856
|
+
readonly type: "integer";
|
|
1857
|
+
readonly minimum: 0;
|
|
1858
|
+
readonly description: "Read against the board as it stood at this size — the size of a head the reader holds. At most the current size. Absent: the current size.";
|
|
1859
|
+
};
|
|
1860
|
+
readonly ext: {
|
|
1861
|
+
readonly $ref: "#/$defs/Ext";
|
|
1862
|
+
};
|
|
1863
|
+
};
|
|
1864
|
+
readonly $defs: {
|
|
1865
|
+
readonly Response: {
|
|
1866
|
+
readonly $anchor: "response";
|
|
1867
|
+
readonly title: "Voting — Board Read — response payload";
|
|
1868
|
+
readonly type: "object";
|
|
1869
|
+
readonly additionalProperties: false;
|
|
1870
|
+
readonly required: readonly ["treeSize", "entries"];
|
|
1871
|
+
readonly properties: {
|
|
1872
|
+
readonly treeSize: {
|
|
1873
|
+
readonly type: "integer";
|
|
1874
|
+
readonly minimum: 0;
|
|
1875
|
+
readonly description: "The tree size the page was read against. No entry at or beyond it is returned.";
|
|
1876
|
+
};
|
|
1877
|
+
readonly entries: {
|
|
1878
|
+
readonly type: "array";
|
|
1879
|
+
readonly maxItems: 1000;
|
|
1880
|
+
readonly items: {
|
|
1881
|
+
readonly type: "object";
|
|
1882
|
+
readonly additionalProperties: false;
|
|
1883
|
+
readonly required: readonly ["index", "entry"];
|
|
1884
|
+
readonly properties: {
|
|
1885
|
+
readonly index: {
|
|
1886
|
+
readonly type: "integer";
|
|
1887
|
+
readonly minimum: 0;
|
|
1888
|
+
};
|
|
1889
|
+
readonly entry: {
|
|
1890
|
+
readonly $ref: "#/$defs/BoardEntry";
|
|
1891
|
+
};
|
|
1892
|
+
};
|
|
1893
|
+
};
|
|
1894
|
+
readonly description: "Consecutive entries from `from`, in board order.";
|
|
1895
|
+
};
|
|
1896
|
+
readonly next: {
|
|
1897
|
+
readonly type: "integer";
|
|
1898
|
+
readonly minimum: 1;
|
|
1899
|
+
readonly description: "The `from` of the next page. Absent when the page reaches `treeSize`.";
|
|
1900
|
+
};
|
|
1901
|
+
readonly ext: {
|
|
1902
|
+
readonly $ref: "#/$defs/Ext";
|
|
1903
|
+
};
|
|
1904
|
+
};
|
|
1905
|
+
};
|
|
1906
|
+
readonly Ext: {
|
|
1907
|
+
readonly title: "Ext";
|
|
1908
|
+
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.";
|
|
1909
|
+
readonly type: "object";
|
|
1910
|
+
readonly minProperties: 1;
|
|
1911
|
+
readonly additionalProperties: true;
|
|
1912
|
+
readonly propertyNames: {
|
|
1913
|
+
readonly pattern: "^[a-z][a-z0-9-]*(\\.[a-z0-9-]+)+$";
|
|
1914
|
+
};
|
|
1915
|
+
};
|
|
1916
|
+
readonly BoardEntry: {
|
|
1917
|
+
readonly title: "BoardEntry";
|
|
1918
|
+
readonly description: "One leaf of a board. A leaf's hash is the RFC 9162 leaf hash of the JCS canonicalization of this object. Entries carry no time of arrival: the order is the board's, and a timestamp would hand anyone who reads the board the timing the registrar's log would need to pair a ticket with its cast.";
|
|
1919
|
+
readonly oneOf: readonly [{
|
|
1920
|
+
readonly title: "CastEntry";
|
|
1921
|
+
readonly type: "object";
|
|
1922
|
+
readonly additionalProperties: false;
|
|
1923
|
+
readonly required: readonly ["kind", "cast"];
|
|
1924
|
+
readonly properties: {
|
|
1925
|
+
readonly kind: {
|
|
1926
|
+
readonly const: "cast";
|
|
1927
|
+
};
|
|
1928
|
+
readonly cast: {
|
|
1929
|
+
readonly $ref: "#/$defs/Cast";
|
|
1930
|
+
};
|
|
1931
|
+
};
|
|
1932
|
+
}, {
|
|
1933
|
+
readonly title: "ReplacementEntry";
|
|
1934
|
+
readonly description: "The cast at `replaces` is no longer counted: a later cast under the same tag is.";
|
|
1935
|
+
readonly type: "object";
|
|
1936
|
+
readonly additionalProperties: false;
|
|
1937
|
+
readonly required: readonly ["kind", "tag", "replaces", "by"];
|
|
1938
|
+
readonly properties: {
|
|
1939
|
+
readonly kind: {
|
|
1940
|
+
readonly const: "replaced";
|
|
1941
|
+
};
|
|
1942
|
+
readonly tag: {
|
|
1943
|
+
readonly $ref: "#/$defs/Multibase";
|
|
1944
|
+
};
|
|
1945
|
+
readonly replaces: {
|
|
1946
|
+
readonly type: "integer";
|
|
1947
|
+
readonly minimum: 0;
|
|
1948
|
+
};
|
|
1949
|
+
readonly by: {
|
|
1950
|
+
readonly type: "integer";
|
|
1951
|
+
readonly minimum: 0;
|
|
1952
|
+
};
|
|
1953
|
+
};
|
|
1954
|
+
}, {
|
|
1955
|
+
readonly title: "LifecycleEntry";
|
|
1956
|
+
readonly type: "object";
|
|
1957
|
+
readonly additionalProperties: false;
|
|
1958
|
+
readonly required: readonly ["kind", "occurredAt"];
|
|
1959
|
+
readonly properties: {
|
|
1960
|
+
readonly kind: {
|
|
1961
|
+
readonly enum: readonly ["opened", "closed", "closedEarly", "cancelled"];
|
|
1962
|
+
};
|
|
1963
|
+
readonly occurredAt: {
|
|
1964
|
+
readonly type: "string";
|
|
1965
|
+
readonly format: "date-time";
|
|
1966
|
+
};
|
|
1967
|
+
};
|
|
1968
|
+
}, {
|
|
1969
|
+
readonly title: "ResultEntry";
|
|
1970
|
+
readonly type: "object";
|
|
1971
|
+
readonly additionalProperties: false;
|
|
1972
|
+
readonly required: readonly ["kind", "result"];
|
|
1973
|
+
readonly properties: {
|
|
1974
|
+
readonly kind: {
|
|
1975
|
+
readonly const: "result";
|
|
1976
|
+
};
|
|
1977
|
+
readonly result: {
|
|
1978
|
+
readonly $ref: "#/$defs/ElectionResult";
|
|
1979
|
+
};
|
|
1980
|
+
};
|
|
1981
|
+
}, {
|
|
1982
|
+
readonly title: "EncryptedCastEntry";
|
|
1983
|
+
readonly type: "object";
|
|
1984
|
+
readonly additionalProperties: false;
|
|
1985
|
+
readonly required: readonly ["kind", "cast"];
|
|
1986
|
+
readonly properties: {
|
|
1987
|
+
readonly kind: {
|
|
1988
|
+
readonly const: "encryptedCast";
|
|
1989
|
+
};
|
|
1990
|
+
readonly cast: {
|
|
1991
|
+
readonly $ref: "#/$defs/EncryptedCast";
|
|
1992
|
+
};
|
|
1993
|
+
};
|
|
1994
|
+
}, {
|
|
1995
|
+
readonly title: "TransportKeyEntry";
|
|
1996
|
+
readonly type: "object";
|
|
1997
|
+
readonly additionalProperties: false;
|
|
1998
|
+
readonly required: readonly ["kind", "transportKey"];
|
|
1999
|
+
readonly properties: {
|
|
2000
|
+
readonly kind: {
|
|
2001
|
+
readonly const: "transportKey";
|
|
2002
|
+
};
|
|
2003
|
+
readonly transportKey: {
|
|
2004
|
+
readonly $ref: "#/$defs/TransportKey";
|
|
2005
|
+
};
|
|
2006
|
+
};
|
|
2007
|
+
readonly description: "Not appended: each enrolment, dealing, confirmation and justification is a `trusteeStep` entry carrying the trustee's signed request (CONVENTIONS §9.6). A consumer MUST refuse a board holding this kind.";
|
|
2008
|
+
}, {
|
|
2009
|
+
readonly title: "DealingEntry";
|
|
2010
|
+
readonly type: "object";
|
|
2011
|
+
readonly additionalProperties: false;
|
|
2012
|
+
readonly required: readonly ["kind", "dealing"];
|
|
2013
|
+
readonly properties: {
|
|
2014
|
+
readonly kind: {
|
|
2015
|
+
readonly const: "dealing";
|
|
2016
|
+
};
|
|
2017
|
+
readonly dealing: {
|
|
2018
|
+
readonly $ref: "#/$defs/Dealing";
|
|
2019
|
+
};
|
|
2020
|
+
};
|
|
2021
|
+
readonly description: "Not appended: each enrolment, dealing, confirmation and justification is a `trusteeStep` entry carrying the trustee's signed request (CONVENTIONS §9.6). A consumer MUST refuse a board holding this kind.";
|
|
2022
|
+
}, {
|
|
2023
|
+
readonly title: "ConfirmationEntry";
|
|
2024
|
+
readonly type: "object";
|
|
2025
|
+
readonly additionalProperties: false;
|
|
2026
|
+
readonly required: readonly ["kind", "trustee", "complaints"];
|
|
2027
|
+
readonly properties: {
|
|
2028
|
+
readonly kind: {
|
|
2029
|
+
readonly const: "confirmation";
|
|
2030
|
+
};
|
|
2031
|
+
readonly trustee: {
|
|
2032
|
+
readonly $ref: "#/$defs/TrusteeIndex";
|
|
2033
|
+
};
|
|
2034
|
+
readonly complaints: {
|
|
2035
|
+
readonly type: "array";
|
|
2036
|
+
readonly maxItems: 64;
|
|
2037
|
+
readonly items: {
|
|
2038
|
+
readonly $ref: "#/$defs/TrusteeIndex";
|
|
2039
|
+
};
|
|
2040
|
+
};
|
|
2041
|
+
};
|
|
2042
|
+
readonly description: "Not appended: each enrolment, dealing, confirmation and justification is a `trusteeStep` entry carrying the trustee's signed request (CONVENTIONS §9.6). A consumer MUST refuse a board holding this kind.";
|
|
2043
|
+
}, {
|
|
2044
|
+
readonly title: "JustificationEntry";
|
|
2045
|
+
readonly type: "object";
|
|
2046
|
+
readonly additionalProperties: false;
|
|
2047
|
+
readonly required: readonly ["kind", "dealer", "recipient", "share"];
|
|
2048
|
+
readonly properties: {
|
|
2049
|
+
readonly kind: {
|
|
2050
|
+
readonly const: "justification";
|
|
2051
|
+
};
|
|
2052
|
+
readonly dealer: {
|
|
2053
|
+
readonly $ref: "#/$defs/TrusteeIndex";
|
|
2054
|
+
};
|
|
2055
|
+
readonly recipient: {
|
|
2056
|
+
readonly $ref: "#/$defs/TrusteeIndex";
|
|
2057
|
+
};
|
|
2058
|
+
readonly share: {
|
|
2059
|
+
readonly $ref: "#/$defs/GroupScalar";
|
|
2060
|
+
};
|
|
2061
|
+
};
|
|
2062
|
+
readonly description: "Not appended: each enrolment, dealing, confirmation and justification is a `trusteeStep` entry carrying the trustee's signed request (CONVENTIONS §9.6). A consumer MUST refuse a board holding this kind.";
|
|
2063
|
+
}, {
|
|
2064
|
+
readonly title: "ElectionKeyEntry";
|
|
2065
|
+
readonly type: "object";
|
|
2066
|
+
readonly additionalProperties: false;
|
|
2067
|
+
readonly required: readonly ["kind", "electionKey"];
|
|
2068
|
+
readonly properties: {
|
|
2069
|
+
readonly kind: {
|
|
2070
|
+
readonly const: "electionKey";
|
|
2071
|
+
};
|
|
2072
|
+
readonly electionKey: {
|
|
2073
|
+
readonly $ref: "#/$defs/ElectionKey";
|
|
2074
|
+
};
|
|
2075
|
+
};
|
|
2076
|
+
}, {
|
|
2077
|
+
readonly title: "PartialDecryptionsEntry";
|
|
2078
|
+
readonly type: "object";
|
|
2079
|
+
readonly additionalProperties: false;
|
|
2080
|
+
readonly required: readonly ["kind", "trustee", "partials"];
|
|
2081
|
+
readonly properties: {
|
|
2082
|
+
readonly kind: {
|
|
2083
|
+
readonly const: "partials";
|
|
2084
|
+
};
|
|
2085
|
+
readonly trustee: {
|
|
2086
|
+
readonly $ref: "#/$defs/TrusteeIndex";
|
|
2087
|
+
};
|
|
2088
|
+
readonly partials: {
|
|
2089
|
+
readonly type: "array";
|
|
2090
|
+
readonly minItems: 1;
|
|
2091
|
+
readonly maxItems: 100000;
|
|
2092
|
+
readonly items: {
|
|
2093
|
+
readonly $ref: "#/$defs/PartialDecryption";
|
|
2094
|
+
};
|
|
2095
|
+
};
|
|
2096
|
+
};
|
|
2097
|
+
}, {
|
|
2098
|
+
readonly title: "UnsealedEntry";
|
|
2099
|
+
readonly type: "object";
|
|
2100
|
+
readonly additionalProperties: false;
|
|
2101
|
+
readonly required: readonly ["kind", "leafIndex", "ballot"];
|
|
2102
|
+
readonly properties: {
|
|
2103
|
+
readonly kind: {
|
|
2104
|
+
readonly const: "unsealed";
|
|
2105
|
+
};
|
|
2106
|
+
readonly leafIndex: {
|
|
2107
|
+
readonly type: "integer";
|
|
2108
|
+
readonly minimum: 0;
|
|
2109
|
+
};
|
|
2110
|
+
readonly ballot: {
|
|
2111
|
+
readonly $ref: "#/$defs/Ballot";
|
|
2112
|
+
};
|
|
2113
|
+
};
|
|
2114
|
+
}, {
|
|
2115
|
+
readonly title: "SpoiledEntry";
|
|
2116
|
+
readonly description: "A sealed cast that did not open, or opened to no valid ballot: not counted (CONVENTIONS §9.7).";
|
|
2117
|
+
readonly type: "object";
|
|
2118
|
+
readonly additionalProperties: false;
|
|
2119
|
+
readonly required: readonly ["kind", "leafIndex"];
|
|
2120
|
+
readonly properties: {
|
|
2121
|
+
readonly kind: {
|
|
2122
|
+
readonly const: "spoiled";
|
|
2123
|
+
};
|
|
2124
|
+
readonly leafIndex: {
|
|
2125
|
+
readonly type: "integer";
|
|
2126
|
+
readonly minimum: 0;
|
|
2127
|
+
};
|
|
2128
|
+
};
|
|
2129
|
+
}, {
|
|
2130
|
+
readonly title: "TrusteeStepEntry";
|
|
2131
|
+
readonly description: "One step of the trustees' ceremony — an enrolment, a dealing, a confirmation or a justification — as the trustee's own signed request, so that anyone reading the board can tell who took it (CONVENTIONS §9.6).";
|
|
2132
|
+
readonly type: "object";
|
|
2133
|
+
readonly additionalProperties: false;
|
|
2134
|
+
readonly required: readonly ["kind", "request"];
|
|
2135
|
+
readonly properties: {
|
|
2136
|
+
readonly kind: {
|
|
2137
|
+
readonly const: "trusteeStep";
|
|
2138
|
+
};
|
|
2139
|
+
readonly request: {
|
|
2140
|
+
readonly $ref: "#/$defs/SignedRequest";
|
|
2141
|
+
};
|
|
2142
|
+
};
|
|
2143
|
+
}, {
|
|
2144
|
+
readonly title: "DecryptionAuthorizedEntry";
|
|
2145
|
+
readonly description: "The community's voting/trustees/authorize request, exactly as the ballot box received it: the decryption targets of a closed election, pinned by digest to a head of the board (CONVENTIONS §9.7).";
|
|
2146
|
+
readonly type: "object";
|
|
2147
|
+
readonly additionalProperties: false;
|
|
2148
|
+
readonly required: readonly ["kind", "request"];
|
|
2149
|
+
readonly properties: {
|
|
2150
|
+
readonly kind: {
|
|
2151
|
+
readonly const: "decryptionAuthorized";
|
|
2152
|
+
};
|
|
2153
|
+
readonly request: {
|
|
2154
|
+
readonly $ref: "#/$defs/SignedRequest";
|
|
2155
|
+
};
|
|
2156
|
+
};
|
|
2157
|
+
}];
|
|
2158
|
+
};
|
|
2159
|
+
readonly SignedRequest: {
|
|
2160
|
+
readonly title: "SignedRequest";
|
|
2161
|
+
readonly description: "A whole Trust Task request document — `id`, `type`, `issuer`, `payload` and every other member, `proof` included — exactly as the ballot box received it, never re-serialised: its proof is taken over its members, and a re-serialised copy does not reliably reproduce them. Typed as an open object so every member survives; CONVENTIONS §9.6 gives the checks that make it a trustee's step.";
|
|
2162
|
+
readonly type: "object";
|
|
2163
|
+
readonly minProperties: 1;
|
|
2164
|
+
};
|
|
2165
|
+
readonly Ballot: {
|
|
2166
|
+
readonly title: "Ballot";
|
|
2167
|
+
readonly description: "An open ballot: one answer per question of the manifest, in any order. The bytes a cast's proof binds are the RFC 8785 (JCS) canonicalization of this object as received.";
|
|
2168
|
+
readonly type: "object";
|
|
2169
|
+
readonly additionalProperties: false;
|
|
2170
|
+
readonly required: readonly ["electionId", "manifestDigest", "answers"];
|
|
2171
|
+
readonly properties: {
|
|
2172
|
+
readonly electionId: {
|
|
2173
|
+
readonly $ref: "#/$defs/ElectionId";
|
|
2174
|
+
};
|
|
2175
|
+
readonly manifestDigest: {
|
|
2176
|
+
readonly $ref: "#/$defs/DigestMultibase";
|
|
2177
|
+
};
|
|
2178
|
+
readonly answers: {
|
|
2179
|
+
readonly type: "array";
|
|
2180
|
+
readonly minItems: 1;
|
|
2181
|
+
readonly maxItems: 128;
|
|
2182
|
+
readonly items: {
|
|
2183
|
+
readonly $ref: "#/$defs/Answer";
|
|
2184
|
+
};
|
|
2185
|
+
};
|
|
2186
|
+
};
|
|
2187
|
+
};
|
|
2188
|
+
readonly Answer: {
|
|
2189
|
+
readonly title: "Answer";
|
|
2190
|
+
readonly description: "The answer to one question. Exactly one member besides `question` is present, matching the question's type, or `abstain` for an optional question left unanswered.";
|
|
2191
|
+
readonly type: "object";
|
|
2192
|
+
readonly additionalProperties: false;
|
|
2193
|
+
readonly required: readonly ["question"];
|
|
2194
|
+
readonly minProperties: 2;
|
|
2195
|
+
readonly maxProperties: 2;
|
|
2196
|
+
readonly properties: {
|
|
2197
|
+
readonly question: {
|
|
2198
|
+
readonly $ref: "#/$defs/Key";
|
|
2199
|
+
};
|
|
2200
|
+
readonly choice: {
|
|
2201
|
+
readonly type: "array";
|
|
2202
|
+
readonly items: {
|
|
2203
|
+
readonly $ref: "#/$defs/Key";
|
|
2204
|
+
};
|
|
2205
|
+
readonly uniqueItems: true;
|
|
2206
|
+
};
|
|
2207
|
+
readonly ranking: {
|
|
2208
|
+
readonly type: "array";
|
|
2209
|
+
readonly items: {
|
|
2210
|
+
readonly $ref: "#/$defs/Key";
|
|
2211
|
+
};
|
|
2212
|
+
readonly uniqueItems: true;
|
|
2213
|
+
};
|
|
2214
|
+
readonly scores: {
|
|
2215
|
+
readonly type: "object";
|
|
2216
|
+
readonly propertyNames: {
|
|
2217
|
+
readonly $ref: "#/$defs/Key";
|
|
2218
|
+
};
|
|
2219
|
+
readonly additionalProperties: {
|
|
2220
|
+
readonly type: "integer";
|
|
2221
|
+
};
|
|
2222
|
+
};
|
|
2223
|
+
readonly text: {
|
|
2224
|
+
readonly type: "string";
|
|
2225
|
+
readonly maxLength: 4096;
|
|
2226
|
+
};
|
|
2227
|
+
readonly abstain: {
|
|
2228
|
+
readonly const: true;
|
|
2229
|
+
};
|
|
2230
|
+
};
|
|
2231
|
+
};
|
|
2232
|
+
readonly Key: {
|
|
2233
|
+
readonly title: "Key";
|
|
2234
|
+
readonly description: "A question or option key, unique within its manifest or question.";
|
|
2235
|
+
readonly type: "string";
|
|
2236
|
+
readonly pattern: "^[A-Za-z0-9._-]{1,64}$";
|
|
2237
|
+
};
|
|
2238
|
+
readonly ElectionId: {
|
|
2239
|
+
readonly title: "ElectionId";
|
|
2240
|
+
readonly description: "An election's identifier, unique within its community. A closed alphabet: it appears in the ticket class label `voter/<electionId>` and is framed into every hash a cast is bound to.";
|
|
2241
|
+
readonly type: "string";
|
|
2242
|
+
readonly pattern: "^[A-Za-z0-9._-]{1,128}$";
|
|
2243
|
+
};
|
|
2244
|
+
readonly DigestMultibase: {
|
|
2245
|
+
readonly title: "DigestMultibase";
|
|
2246
|
+
readonly description: "A cryptographic digest as a multibase-encoded multihash — the encoding the W3C Verifiable Credentials Data Model 2.0 defines for `digestMultibase`, and the one `did:webvh` uses for its SCID and entry hashes.\n\nMultihash carries the hash algorithm in-band, so the value is self-describing and the wire format survives an algorithm change without a schema revision; multibase does the same for the base encoding, so a verifier never infers base58 from base64url by context. A bare hex string or a `sha-256:`-style prefix hard-codes one algorithm into the wire contract and is non-conforming here.\n\nThis definition constrains the *encoding only*. What the digest is computed over is stated by each referencing field, because it differs legitimately: a digest over a JSON document is taken over its RFC 8785 (JCS) canonicalization, while a digest over an opaque artifact is taken over its bytes. A field whose input is a JSON document and which does not name a canonicalization is not reproducible.\n\nRestricted to the two multibase headers W3C Controlled Identifiers 1.0 §2.4 normatively requires — `z` (base58btc) and `u` (base64url-no-pad). CID permits others but states that \"interoperability is not guaranteed between implementations using such values\", and a registry whose purpose is interoperability should not mint digests a conforming verifier may be unable to read. The alphabets are enforced rather than assumed: base58btc excludes 0, O, I and l, and an earlier permissive pattern let three published examples carry digests that were not valid base58 at all. base58btc is RECOMMENDED, for consistency with `did:key` and `did:webvh`.";
|
|
2247
|
+
readonly type: "string";
|
|
2248
|
+
readonly minLength: 16;
|
|
2249
|
+
readonly pattern: "^(z[1-9A-HJ-NP-Za-km-z]+|u[A-Za-z0-9_-]+)$";
|
|
2250
|
+
readonly examples: readonly ["zQmbWqxBEKC3P8tqsKc98xmWNzrzDtRLMiMPL8wBuTGsMnR"];
|
|
2251
|
+
};
|
|
2252
|
+
readonly PartialDecryption: {
|
|
2253
|
+
readonly title: "PartialDecryption";
|
|
2254
|
+
readonly description: "Trustee `trustee`'s share of one decryption, `d = x_j·a`, with a Chaum–Pedersen proof against its verification key (CONVENTIONS §9.7).";
|
|
2255
|
+
readonly type: "object";
|
|
2256
|
+
readonly additionalProperties: false;
|
|
2257
|
+
readonly required: readonly ["target", "d", "proof"];
|
|
2258
|
+
readonly properties: {
|
|
2259
|
+
readonly target: {
|
|
2260
|
+
readonly $ref: "#/$defs/DecryptionTarget";
|
|
2261
|
+
};
|
|
2262
|
+
readonly d: {
|
|
2263
|
+
readonly $ref: "#/$defs/GroupElement";
|
|
2264
|
+
};
|
|
2265
|
+
readonly proof: {
|
|
2266
|
+
readonly $ref: "#/$defs/SigmaProof";
|
|
2267
|
+
};
|
|
2268
|
+
};
|
|
2269
|
+
};
|
|
2270
|
+
readonly SigmaProof: {
|
|
2271
|
+
readonly title: "SigmaProof";
|
|
2272
|
+
readonly description: "A non-interactive sigma proof as its challenge and response `(c, z)` (Schnorr or Chaum–Pedersen; CONVENTIONS §9.3).";
|
|
2273
|
+
readonly type: "object";
|
|
2274
|
+
readonly additionalProperties: false;
|
|
2275
|
+
readonly required: readonly ["c", "z"];
|
|
2276
|
+
readonly properties: {
|
|
2277
|
+
readonly c: {
|
|
2278
|
+
readonly $ref: "#/$defs/GroupScalar";
|
|
2279
|
+
};
|
|
2280
|
+
readonly z: {
|
|
2281
|
+
readonly $ref: "#/$defs/GroupScalar";
|
|
2282
|
+
};
|
|
2283
|
+
};
|
|
2284
|
+
};
|
|
2285
|
+
readonly GroupScalar: {
|
|
2286
|
+
readonly title: "GroupScalar";
|
|
2287
|
+
readonly description: "A scalar mod the Ristretto group order: 32 canonical little-endian bytes, multibase base58btc (CONVENTIONS §9.1).";
|
|
2288
|
+
readonly type: "string";
|
|
2289
|
+
readonly minLength: 2;
|
|
2290
|
+
readonly maxLength: 64;
|
|
2291
|
+
readonly pattern: "^z[1-9A-HJ-NP-Za-km-z]+$";
|
|
2292
|
+
};
|
|
2293
|
+
readonly GroupElement: {
|
|
2294
|
+
readonly title: "GroupElement";
|
|
2295
|
+
readonly description: "A Ristretto group element: its 32-byte compression, multibase base58btc. Never the identity (CONVENTIONS §9.1).";
|
|
2296
|
+
readonly type: "string";
|
|
2297
|
+
readonly minLength: 2;
|
|
2298
|
+
readonly maxLength: 64;
|
|
2299
|
+
readonly pattern: "^z[1-9A-HJ-NP-Za-km-z]+$";
|
|
2300
|
+
};
|
|
2301
|
+
readonly DecryptionTarget: {
|
|
2302
|
+
readonly title: "DecryptionTarget";
|
|
2303
|
+
readonly description: "What a partial decryption decrypts: the sealed cast at a board leaf, or the total of one option of one question.";
|
|
2304
|
+
readonly type: "object";
|
|
2305
|
+
readonly additionalProperties: false;
|
|
2306
|
+
readonly required: readonly ["ciphertext"];
|
|
2307
|
+
readonly properties: {
|
|
2308
|
+
readonly leafIndex: {
|
|
2309
|
+
readonly type: "integer";
|
|
2310
|
+
readonly minimum: 0;
|
|
2311
|
+
readonly description: "A sealed cast's board leaf.";
|
|
2312
|
+
};
|
|
2313
|
+
readonly question: {
|
|
2314
|
+
readonly $ref: "#/$defs/Key";
|
|
2315
|
+
};
|
|
2316
|
+
readonly option: {
|
|
2317
|
+
readonly $ref: "#/$defs/Key";
|
|
2318
|
+
};
|
|
2319
|
+
readonly ciphertext: {
|
|
2320
|
+
readonly $ref: "#/$defs/ElGamalCiphertext";
|
|
2321
|
+
};
|
|
2322
|
+
};
|
|
2323
|
+
readonly oneOf: readonly [{
|
|
2324
|
+
readonly required: readonly ["leafIndex"];
|
|
2325
|
+
}, {
|
|
2326
|
+
readonly required: readonly ["question", "option"];
|
|
2327
|
+
}];
|
|
2328
|
+
};
|
|
2329
|
+
readonly ElGamalCiphertext: {
|
|
2330
|
+
readonly title: "ElGamalCiphertext";
|
|
2331
|
+
readonly description: "`(a, b) = (r·G, M + r·Y)` under the election key `Y` (CONVENTIONS §9.2).";
|
|
2332
|
+
readonly type: "object";
|
|
2333
|
+
readonly additionalProperties: false;
|
|
2334
|
+
readonly required: readonly ["a", "b"];
|
|
2335
|
+
readonly properties: {
|
|
2336
|
+
readonly a: {
|
|
2337
|
+
readonly $ref: "#/$defs/GroupElement";
|
|
2338
|
+
};
|
|
2339
|
+
readonly b: {
|
|
2340
|
+
readonly $ref: "#/$defs/GroupElement";
|
|
2341
|
+
};
|
|
2342
|
+
};
|
|
2343
|
+
};
|
|
2344
|
+
readonly TrusteeIndex: {
|
|
2345
|
+
readonly title: "TrusteeIndex";
|
|
2346
|
+
readonly description: "A trustee's index: its position in the manifest's `trustees.dids`, counting from 1.";
|
|
2347
|
+
readonly type: "integer";
|
|
2348
|
+
readonly minimum: 1;
|
|
2349
|
+
readonly maximum: 64;
|
|
2350
|
+
};
|
|
2351
|
+
readonly ElectionKey: {
|
|
2352
|
+
readonly title: "ElectionKey";
|
|
2353
|
+
readonly description: "The election key and each trustee's public verification key, computed from the qualified dealings (CONVENTIONS §9.6). Anyone can recompute it from the board.";
|
|
2354
|
+
readonly type: "object";
|
|
2355
|
+
readonly additionalProperties: false;
|
|
2356
|
+
readonly required: readonly ["key", "qualified", "verification"];
|
|
2357
|
+
readonly properties: {
|
|
2358
|
+
readonly key: {
|
|
2359
|
+
readonly $ref: "#/$defs/GroupElement";
|
|
2360
|
+
};
|
|
2361
|
+
readonly qualified: {
|
|
2362
|
+
readonly type: "array";
|
|
2363
|
+
readonly minItems: 1;
|
|
2364
|
+
readonly maxItems: 64;
|
|
2365
|
+
readonly items: {
|
|
2366
|
+
readonly $ref: "#/$defs/TrusteeIndex";
|
|
2367
|
+
};
|
|
2368
|
+
readonly description: "The dealers whose dealings the key is formed from.";
|
|
2369
|
+
};
|
|
2370
|
+
readonly verification: {
|
|
2371
|
+
readonly type: "array";
|
|
2372
|
+
readonly minItems: 2;
|
|
2373
|
+
readonly maxItems: 64;
|
|
2374
|
+
readonly items: {
|
|
2375
|
+
readonly type: "object";
|
|
2376
|
+
readonly additionalProperties: false;
|
|
2377
|
+
readonly required: readonly ["trustee", "key"];
|
|
2378
|
+
readonly properties: {
|
|
2379
|
+
readonly trustee: {
|
|
2380
|
+
readonly $ref: "#/$defs/TrusteeIndex";
|
|
2381
|
+
};
|
|
2382
|
+
readonly key: {
|
|
2383
|
+
readonly $ref: "#/$defs/GroupElement";
|
|
2384
|
+
};
|
|
2385
|
+
};
|
|
2386
|
+
};
|
|
2387
|
+
};
|
|
2388
|
+
};
|
|
2389
|
+
};
|
|
2390
|
+
readonly Dealing: {
|
|
2391
|
+
readonly title: "Dealing";
|
|
2392
|
+
readonly description: "A trustee's contribution to the election key: Feldman commitments to its polynomial, a proof of knowledge of the constant term, and one share per trustee sealed to that trustee's transport key (CONVENTIONS §9.6).";
|
|
2393
|
+
readonly type: "object";
|
|
2394
|
+
readonly additionalProperties: false;
|
|
2395
|
+
readonly required: readonly ["dealer", "commitments", "pok", "shares"];
|
|
2396
|
+
readonly properties: {
|
|
2397
|
+
readonly dealer: {
|
|
2398
|
+
readonly $ref: "#/$defs/TrusteeIndex";
|
|
2399
|
+
};
|
|
2400
|
+
readonly commitments: {
|
|
2401
|
+
readonly type: "array";
|
|
2402
|
+
readonly minItems: 2;
|
|
2403
|
+
readonly maxItems: 64;
|
|
2404
|
+
readonly items: {
|
|
2405
|
+
readonly $ref: "#/$defs/GroupElement";
|
|
2406
|
+
};
|
|
2407
|
+
};
|
|
2408
|
+
readonly pok: {
|
|
2409
|
+
readonly $ref: "#/$defs/SigmaProof";
|
|
2410
|
+
};
|
|
2411
|
+
readonly shares: {
|
|
2412
|
+
readonly type: "array";
|
|
2413
|
+
readonly minItems: 2;
|
|
2414
|
+
readonly maxItems: 64;
|
|
2415
|
+
readonly items: {
|
|
2416
|
+
readonly $ref: "#/$defs/SealedShare";
|
|
2417
|
+
};
|
|
2418
|
+
};
|
|
2419
|
+
};
|
|
2420
|
+
};
|
|
2421
|
+
readonly SealedShare: {
|
|
2422
|
+
readonly title: "SealedShare";
|
|
2423
|
+
readonly type: "object";
|
|
2424
|
+
readonly additionalProperties: false;
|
|
2425
|
+
readonly required: readonly ["recipient", "share"];
|
|
2426
|
+
readonly properties: {
|
|
2427
|
+
readonly recipient: {
|
|
2428
|
+
readonly $ref: "#/$defs/TrusteeIndex";
|
|
2429
|
+
};
|
|
2430
|
+
readonly share: {
|
|
2431
|
+
readonly $ref: "#/$defs/SealedPayload";
|
|
2432
|
+
};
|
|
2433
|
+
};
|
|
2434
|
+
};
|
|
2435
|
+
readonly SealedPayload: {
|
|
2436
|
+
readonly title: "SealedPayload";
|
|
2437
|
+
readonly description: "Bytes sealed to a key: a random group element encrypted as `kem`, and the bytes under ChaCha20-Poly1305 with a key derived from it, multibase base58btc (CONVENTIONS §9.4).";
|
|
2438
|
+
readonly type: "object";
|
|
2439
|
+
readonly additionalProperties: false;
|
|
2440
|
+
readonly required: readonly ["kem", "body"];
|
|
2441
|
+
readonly properties: {
|
|
2442
|
+
readonly kem: {
|
|
2443
|
+
readonly $ref: "#/$defs/ElGamalCiphertext";
|
|
2444
|
+
};
|
|
2445
|
+
readonly body: {
|
|
2446
|
+
readonly type: "string";
|
|
2447
|
+
readonly minLength: 2;
|
|
2448
|
+
readonly maxLength: 131072;
|
|
2449
|
+
readonly pattern: "^z[1-9A-HJ-NP-Za-km-z]+$";
|
|
2450
|
+
};
|
|
2451
|
+
};
|
|
2452
|
+
};
|
|
2453
|
+
readonly TransportKey: {
|
|
2454
|
+
readonly title: "TransportKey";
|
|
2455
|
+
readonly description: "The group element a trustee's shares are sealed to, with a Schnorr proof of knowledge of its discrete log (CONVENTIONS §9.6).";
|
|
2456
|
+
readonly type: "object";
|
|
2457
|
+
readonly additionalProperties: false;
|
|
2458
|
+
readonly required: readonly ["trustee", "key", "pok"];
|
|
2459
|
+
readonly properties: {
|
|
2460
|
+
readonly trustee: {
|
|
2461
|
+
readonly $ref: "#/$defs/TrusteeIndex";
|
|
2462
|
+
};
|
|
2463
|
+
readonly key: {
|
|
2464
|
+
readonly $ref: "#/$defs/GroupElement";
|
|
2465
|
+
};
|
|
2466
|
+
readonly pok: {
|
|
2467
|
+
readonly $ref: "#/$defs/SigmaProof";
|
|
2468
|
+
};
|
|
2469
|
+
};
|
|
2470
|
+
};
|
|
2471
|
+
readonly EncryptedCast: {
|
|
2472
|
+
readonly title: "EncryptedCast";
|
|
2473
|
+
readonly description: "A cast of a sealed or tallied-encrypted election: exactly one of `sealed` (the Ballot's JCS bytes sealed to the election key) or `encrypted`, with the tag and the attestation over the JCS bytes of whichever is present (CONVENTIONS §3.6, §9.5).";
|
|
2474
|
+
readonly type: "object";
|
|
2475
|
+
readonly additionalProperties: false;
|
|
2476
|
+
readonly required: readonly ["tag", "attestation"];
|
|
2477
|
+
readonly properties: {
|
|
2478
|
+
readonly sealed: {
|
|
2479
|
+
readonly $ref: "#/$defs/SealedPayload";
|
|
2480
|
+
};
|
|
2481
|
+
readonly encrypted: {
|
|
2482
|
+
readonly $ref: "#/$defs/EncryptedBallot";
|
|
2483
|
+
};
|
|
2484
|
+
readonly tag: {
|
|
2485
|
+
readonly $ref: "#/$defs/Multibase";
|
|
2486
|
+
};
|
|
2487
|
+
readonly attestation: {
|
|
2488
|
+
readonly $ref: "#/$defs/Multibase";
|
|
2489
|
+
};
|
|
2490
|
+
};
|
|
2491
|
+
readonly oneOf: readonly [{
|
|
2492
|
+
readonly required: readonly ["sealed"];
|
|
2493
|
+
}, {
|
|
2494
|
+
readonly required: readonly ["encrypted"];
|
|
2495
|
+
}];
|
|
2496
|
+
};
|
|
2497
|
+
readonly Multibase: {
|
|
2498
|
+
readonly title: "Multibase";
|
|
2499
|
+
readonly description: "A binary value, multibase base58btc over the suite's canonical (compressed) encoding.";
|
|
2500
|
+
readonly type: "string";
|
|
2501
|
+
readonly maxLength: 16384;
|
|
2502
|
+
readonly pattern: "^z[1-9A-HJ-NP-Za-km-z]+$";
|
|
2503
|
+
};
|
|
2504
|
+
readonly EncryptedBallot: {
|
|
2505
|
+
readonly title: "EncryptedBallot";
|
|
2506
|
+
readonly description: "A tallied-encrypted ballot: one EncryptedQuestion per manifest question, in the manifest's order. Never decrypted (VTI-VOT-064).";
|
|
2507
|
+
readonly type: "object";
|
|
2508
|
+
readonly additionalProperties: false;
|
|
2509
|
+
readonly required: readonly ["electionId", "manifestDigest", "questions"];
|
|
2510
|
+
readonly properties: {
|
|
2511
|
+
readonly electionId: {
|
|
2512
|
+
readonly $ref: "#/$defs/ElectionId";
|
|
2513
|
+
};
|
|
2514
|
+
readonly manifestDigest: {
|
|
2515
|
+
readonly $ref: "#/$defs/DigestMultibase";
|
|
2516
|
+
};
|
|
2517
|
+
readonly questions: {
|
|
2518
|
+
readonly type: "array";
|
|
2519
|
+
readonly minItems: 1;
|
|
2520
|
+
readonly maxItems: 64;
|
|
2521
|
+
readonly items: {
|
|
2522
|
+
readonly $ref: "#/$defs/EncryptedQuestion";
|
|
2523
|
+
};
|
|
2524
|
+
};
|
|
2525
|
+
};
|
|
2526
|
+
};
|
|
2527
|
+
readonly EncryptedQuestion: {
|
|
2528
|
+
readonly title: "EncryptedQuestion";
|
|
2529
|
+
readonly description: "One choice question of a tallied-encrypted ballot: per option, in the manifest's order, an encryption of 0 or 1 with its proof; and a proof that the selections sum to a count the question admits (CONVENTIONS §9.5).";
|
|
2530
|
+
readonly type: "object";
|
|
2531
|
+
readonly additionalProperties: false;
|
|
2532
|
+
readonly required: readonly ["question", "options", "sumProof"];
|
|
2533
|
+
readonly properties: {
|
|
2534
|
+
readonly question: {
|
|
2535
|
+
readonly $ref: "#/$defs/Key";
|
|
2536
|
+
};
|
|
2537
|
+
readonly options: {
|
|
2538
|
+
readonly type: "array";
|
|
2539
|
+
readonly minItems: 1;
|
|
2540
|
+
readonly maxItems: 64;
|
|
2541
|
+
readonly items: {
|
|
2542
|
+
readonly $ref: "#/$defs/EncryptedOption";
|
|
2543
|
+
};
|
|
2544
|
+
};
|
|
2545
|
+
readonly sumProof: {
|
|
2546
|
+
readonly $ref: "#/$defs/DisjunctiveProof";
|
|
2547
|
+
};
|
|
2548
|
+
};
|
|
2549
|
+
};
|
|
2550
|
+
readonly DisjunctiveProof: {
|
|
2551
|
+
readonly title: "DisjunctiveProof";
|
|
2552
|
+
readonly description: "A disjunctive proof that a ciphertext encrypts one value of a public list: one `(c, z)` per value, in the list's order (CONVENTIONS §9.3).";
|
|
2553
|
+
readonly type: "array";
|
|
2554
|
+
readonly minItems: 1;
|
|
2555
|
+
readonly maxItems: 65;
|
|
2556
|
+
readonly items: {
|
|
2557
|
+
readonly $ref: "#/$defs/SigmaProof";
|
|
2558
|
+
};
|
|
2559
|
+
};
|
|
2560
|
+
readonly EncryptedOption: {
|
|
2561
|
+
readonly title: "EncryptedOption";
|
|
2562
|
+
readonly type: "object";
|
|
2563
|
+
readonly additionalProperties: false;
|
|
2564
|
+
readonly required: readonly ["ciphertext", "proof"];
|
|
2565
|
+
readonly properties: {
|
|
2566
|
+
readonly ciphertext: {
|
|
2567
|
+
readonly $ref: "#/$defs/ElGamalCiphertext";
|
|
2568
|
+
};
|
|
2569
|
+
readonly proof: {
|
|
2570
|
+
readonly $ref: "#/$defs/DisjunctiveProof";
|
|
2571
|
+
};
|
|
2572
|
+
};
|
|
2573
|
+
};
|
|
2574
|
+
readonly ElectionResult: {
|
|
2575
|
+
readonly title: "ElectionResult";
|
|
2576
|
+
readonly description: "An election's result, computable by anyone who can read its board from the board and the registration alone (VTI-VOT-070).";
|
|
2577
|
+
readonly type: "object";
|
|
2578
|
+
readonly additionalProperties: false;
|
|
2579
|
+
readonly required: readonly ["electionId", "manifestDigest", "ballotsCounted", "questions", "head"];
|
|
2580
|
+
readonly properties: {
|
|
2581
|
+
readonly electionId: {
|
|
2582
|
+
readonly $ref: "#/$defs/ElectionId";
|
|
2583
|
+
};
|
|
2584
|
+
readonly manifestDigest: {
|
|
2585
|
+
readonly $ref: "#/$defs/DigestMultibase";
|
|
2586
|
+
};
|
|
2587
|
+
readonly ballotsCounted: {
|
|
2588
|
+
readonly type: "integer";
|
|
2589
|
+
readonly minimum: 0;
|
|
2590
|
+
};
|
|
2591
|
+
readonly questions: {
|
|
2592
|
+
readonly type: "array";
|
|
2593
|
+
readonly items: {
|
|
2594
|
+
readonly $ref: "#/$defs/QuestionResult";
|
|
2595
|
+
};
|
|
2596
|
+
};
|
|
2597
|
+
readonly head: {
|
|
2598
|
+
readonly $ref: "#/$defs/BoardHead";
|
|
2599
|
+
readonly description: "The head of the board as it stood at close: the result counts exactly its entries.";
|
|
2600
|
+
};
|
|
2601
|
+
};
|
|
2602
|
+
};
|
|
2603
|
+
readonly BoardHead: {
|
|
2604
|
+
readonly title: "BoardHead";
|
|
2605
|
+
readonly description: "A board's tree head (RFC 9162 §2.1). A head is signed by being carried in a document the ballot box signs; whoever keeps a head keeps that whole document.";
|
|
2606
|
+
readonly type: "object";
|
|
2607
|
+
readonly additionalProperties: false;
|
|
2608
|
+
readonly required: readonly ["electionId", "treeSize", "rootHash", "issuedAt"];
|
|
2609
|
+
readonly properties: {
|
|
2610
|
+
readonly electionId: {
|
|
2611
|
+
readonly $ref: "#/$defs/ElectionId";
|
|
2612
|
+
};
|
|
2613
|
+
readonly treeSize: {
|
|
2614
|
+
readonly type: "integer";
|
|
2615
|
+
readonly minimum: 0;
|
|
2616
|
+
};
|
|
2617
|
+
readonly rootHash: {
|
|
2618
|
+
readonly $ref: "#/$defs/DigestMultibase";
|
|
2619
|
+
readonly description: "The RFC 9162 Merkle tree hash (SHA-256) of the first `treeSize` entries, as a multihash.";
|
|
2620
|
+
};
|
|
2621
|
+
readonly issuedAt: {
|
|
2622
|
+
readonly type: "string";
|
|
2623
|
+
readonly format: "date-time";
|
|
2624
|
+
};
|
|
2625
|
+
};
|
|
2626
|
+
};
|
|
2627
|
+
readonly QuestionResult: {
|
|
2628
|
+
readonly title: "QuestionResult";
|
|
2629
|
+
readonly description: "One question's totals. `choice`: selections per option. `ranking`: per option, how many ballots placed it at each position (index 0 = first). `score`: per option, the sum and the number of ballots that scored it. `text`: the answers, in board order, withheld (`withheld: true`) below the manifest's `textReleaseThreshold`. `abstained` counts ballots that left the question unanswered.";
|
|
2630
|
+
readonly type: "object";
|
|
2631
|
+
readonly additionalProperties: false;
|
|
2632
|
+
readonly required: readonly ["question", "abstained"];
|
|
2633
|
+
readonly properties: {
|
|
2634
|
+
readonly question: {
|
|
2635
|
+
readonly $ref: "#/$defs/Key";
|
|
2636
|
+
};
|
|
2637
|
+
readonly abstained: {
|
|
2638
|
+
readonly type: "integer";
|
|
2639
|
+
readonly minimum: 0;
|
|
2640
|
+
};
|
|
2641
|
+
readonly choice: {
|
|
2642
|
+
readonly type: "object";
|
|
2643
|
+
readonly propertyNames: {
|
|
2644
|
+
readonly $ref: "#/$defs/Key";
|
|
2645
|
+
};
|
|
2646
|
+
readonly additionalProperties: {
|
|
2647
|
+
readonly type: "integer";
|
|
2648
|
+
readonly minimum: 0;
|
|
2649
|
+
};
|
|
2650
|
+
};
|
|
2651
|
+
readonly ranking: {
|
|
2652
|
+
readonly type: "object";
|
|
2653
|
+
readonly propertyNames: {
|
|
2654
|
+
readonly $ref: "#/$defs/Key";
|
|
2655
|
+
};
|
|
2656
|
+
readonly additionalProperties: {
|
|
2657
|
+
readonly type: "array";
|
|
2658
|
+
readonly items: {
|
|
2659
|
+
readonly type: "integer";
|
|
2660
|
+
readonly minimum: 0;
|
|
2661
|
+
};
|
|
2662
|
+
};
|
|
2663
|
+
};
|
|
2664
|
+
readonly score: {
|
|
2665
|
+
readonly type: "object";
|
|
2666
|
+
readonly propertyNames: {
|
|
2667
|
+
readonly $ref: "#/$defs/Key";
|
|
2668
|
+
};
|
|
2669
|
+
readonly additionalProperties: {
|
|
2670
|
+
readonly type: "object";
|
|
2671
|
+
readonly additionalProperties: false;
|
|
2672
|
+
readonly required: readonly ["sum", "count"];
|
|
2673
|
+
readonly properties: {
|
|
2674
|
+
readonly sum: {
|
|
2675
|
+
readonly type: "integer";
|
|
2676
|
+
};
|
|
2677
|
+
readonly count: {
|
|
2678
|
+
readonly type: "integer";
|
|
2679
|
+
readonly minimum: 0;
|
|
2680
|
+
};
|
|
2681
|
+
};
|
|
2682
|
+
};
|
|
2683
|
+
};
|
|
2684
|
+
readonly text: {
|
|
2685
|
+
readonly type: "array";
|
|
2686
|
+
readonly items: {
|
|
2687
|
+
readonly type: "string";
|
|
2688
|
+
readonly maxLength: 4096;
|
|
2689
|
+
};
|
|
2690
|
+
};
|
|
2691
|
+
readonly withheld: {
|
|
2692
|
+
readonly type: "boolean";
|
|
2693
|
+
};
|
|
2694
|
+
};
|
|
2695
|
+
};
|
|
2696
|
+
readonly Cast: {
|
|
2697
|
+
readonly title: "Cast";
|
|
2698
|
+
readonly description: "A ballot and the PCS attestation that admits it (VTI-VOT-030). `attestation` is the suite's canonical encoding of the attestation made for the election point with the ballot context bound in (CONVENTIONS §3); `tag` repeats its tag so a ballot box can refuse a duplicate before the pairing check.";
|
|
2699
|
+
readonly type: "object";
|
|
2700
|
+
readonly additionalProperties: false;
|
|
2701
|
+
readonly required: readonly ["ballot", "tag", "attestation"];
|
|
2702
|
+
readonly properties: {
|
|
2703
|
+
readonly ballot: {
|
|
2704
|
+
readonly $ref: "#/$defs/Ballot";
|
|
2705
|
+
};
|
|
2706
|
+
readonly tag: {
|
|
2707
|
+
readonly $ref: "#/$defs/Multibase";
|
|
2708
|
+
};
|
|
2709
|
+
readonly attestation: {
|
|
2710
|
+
readonly $ref: "#/$defs/Multibase";
|
|
2711
|
+
};
|
|
2712
|
+
};
|
|
2713
|
+
};
|
|
2714
|
+
};
|
|
2715
|
+
};
|
|
2716
|
+
};
|
|
2717
|
+
/**
|
|
2718
|
+
* SPEC.md §7.2 policy for the success-response variant. `isRecipientRequired`
|
|
2719
|
+
* tracks the *issuer* party's requirement because a response swaps the
|
|
2720
|
+
* parties (§7.3 item 5).
|
|
2721
|
+
*/
|
|
2722
|
+
export declare const RESPONSE_SPEC: {
|
|
2723
|
+
readonly typeUri: "https://trusttasks.org/spec/voting/board/read/0.2#response";
|
|
2724
|
+
readonly isBearer: false;
|
|
2725
|
+
readonly isProofRequired: false;
|
|
2726
|
+
readonly isRecipientRequired: false;
|
|
2727
|
+
readonly isIssuedAtRequired: false;
|
|
2728
|
+
readonly payloadSchema: {
|
|
2729
|
+
readonly $schema: "https://json-schema.org/draft/2020-12/schema";
|
|
2730
|
+
readonly $ref: "#/$defs/Response";
|
|
2731
|
+
readonly $defs: {
|
|
2732
|
+
readonly Response: {
|
|
2733
|
+
readonly $anchor: "response";
|
|
2734
|
+
readonly title: "Voting — Board Read — response payload";
|
|
2735
|
+
readonly type: "object";
|
|
2736
|
+
readonly additionalProperties: false;
|
|
2737
|
+
readonly required: readonly ["treeSize", "entries"];
|
|
2738
|
+
readonly properties: {
|
|
2739
|
+
readonly treeSize: {
|
|
2740
|
+
readonly type: "integer";
|
|
2741
|
+
readonly minimum: 0;
|
|
2742
|
+
readonly description: "The tree size the page was read against. No entry at or beyond it is returned.";
|
|
2743
|
+
};
|
|
2744
|
+
readonly entries: {
|
|
2745
|
+
readonly type: "array";
|
|
2746
|
+
readonly maxItems: 1000;
|
|
2747
|
+
readonly items: {
|
|
2748
|
+
readonly type: "object";
|
|
2749
|
+
readonly additionalProperties: false;
|
|
2750
|
+
readonly required: readonly ["index", "entry"];
|
|
2751
|
+
readonly properties: {
|
|
2752
|
+
readonly index: {
|
|
2753
|
+
readonly type: "integer";
|
|
2754
|
+
readonly minimum: 0;
|
|
2755
|
+
};
|
|
2756
|
+
readonly entry: {
|
|
2757
|
+
readonly $ref: "#/$defs/BoardEntry";
|
|
2758
|
+
};
|
|
2759
|
+
};
|
|
2760
|
+
};
|
|
2761
|
+
readonly description: "Consecutive entries from `from`, in board order.";
|
|
2762
|
+
};
|
|
2763
|
+
readonly next: {
|
|
2764
|
+
readonly type: "integer";
|
|
2765
|
+
readonly minimum: 1;
|
|
2766
|
+
readonly description: "The `from` of the next page. Absent when the page reaches `treeSize`.";
|
|
2767
|
+
};
|
|
2768
|
+
readonly ext: {
|
|
2769
|
+
readonly $ref: "#/$defs/Ext";
|
|
2770
|
+
};
|
|
2771
|
+
};
|
|
2772
|
+
};
|
|
2773
|
+
readonly Ext: {
|
|
2774
|
+
readonly title: "Ext";
|
|
2775
|
+
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.";
|
|
2776
|
+
readonly type: "object";
|
|
2777
|
+
readonly minProperties: 1;
|
|
2778
|
+
readonly additionalProperties: true;
|
|
2779
|
+
readonly propertyNames: {
|
|
2780
|
+
readonly pattern: "^[a-z][a-z0-9-]*(\\.[a-z0-9-]+)+$";
|
|
2781
|
+
};
|
|
2782
|
+
};
|
|
2783
|
+
readonly BoardEntry: {
|
|
2784
|
+
readonly title: "BoardEntry";
|
|
2785
|
+
readonly description: "One leaf of a board. A leaf's hash is the RFC 9162 leaf hash of the JCS canonicalization of this object. Entries carry no time of arrival: the order is the board's, and a timestamp would hand anyone who reads the board the timing the registrar's log would need to pair a ticket with its cast.";
|
|
2786
|
+
readonly oneOf: readonly [{
|
|
2787
|
+
readonly title: "CastEntry";
|
|
2788
|
+
readonly type: "object";
|
|
2789
|
+
readonly additionalProperties: false;
|
|
2790
|
+
readonly required: readonly ["kind", "cast"];
|
|
2791
|
+
readonly properties: {
|
|
2792
|
+
readonly kind: {
|
|
2793
|
+
readonly const: "cast";
|
|
2794
|
+
};
|
|
2795
|
+
readonly cast: {
|
|
2796
|
+
readonly $ref: "#/$defs/Cast";
|
|
2797
|
+
};
|
|
2798
|
+
};
|
|
2799
|
+
}, {
|
|
2800
|
+
readonly title: "ReplacementEntry";
|
|
2801
|
+
readonly description: "The cast at `replaces` is no longer counted: a later cast under the same tag is.";
|
|
2802
|
+
readonly type: "object";
|
|
2803
|
+
readonly additionalProperties: false;
|
|
2804
|
+
readonly required: readonly ["kind", "tag", "replaces", "by"];
|
|
2805
|
+
readonly properties: {
|
|
2806
|
+
readonly kind: {
|
|
2807
|
+
readonly const: "replaced";
|
|
2808
|
+
};
|
|
2809
|
+
readonly tag: {
|
|
2810
|
+
readonly $ref: "#/$defs/Multibase";
|
|
2811
|
+
};
|
|
2812
|
+
readonly replaces: {
|
|
2813
|
+
readonly type: "integer";
|
|
2814
|
+
readonly minimum: 0;
|
|
2815
|
+
};
|
|
2816
|
+
readonly by: {
|
|
2817
|
+
readonly type: "integer";
|
|
2818
|
+
readonly minimum: 0;
|
|
2819
|
+
};
|
|
2820
|
+
};
|
|
2821
|
+
}, {
|
|
2822
|
+
readonly title: "LifecycleEntry";
|
|
2823
|
+
readonly type: "object";
|
|
2824
|
+
readonly additionalProperties: false;
|
|
2825
|
+
readonly required: readonly ["kind", "occurredAt"];
|
|
2826
|
+
readonly properties: {
|
|
2827
|
+
readonly kind: {
|
|
2828
|
+
readonly enum: readonly ["opened", "closed", "closedEarly", "cancelled"];
|
|
2829
|
+
};
|
|
2830
|
+
readonly occurredAt: {
|
|
2831
|
+
readonly type: "string";
|
|
2832
|
+
readonly format: "date-time";
|
|
2833
|
+
};
|
|
2834
|
+
};
|
|
2835
|
+
}, {
|
|
2836
|
+
readonly title: "ResultEntry";
|
|
2837
|
+
readonly type: "object";
|
|
2838
|
+
readonly additionalProperties: false;
|
|
2839
|
+
readonly required: readonly ["kind", "result"];
|
|
2840
|
+
readonly properties: {
|
|
2841
|
+
readonly kind: {
|
|
2842
|
+
readonly const: "result";
|
|
2843
|
+
};
|
|
2844
|
+
readonly result: {
|
|
2845
|
+
readonly $ref: "#/$defs/ElectionResult";
|
|
2846
|
+
};
|
|
2847
|
+
};
|
|
2848
|
+
}, {
|
|
2849
|
+
readonly title: "EncryptedCastEntry";
|
|
2850
|
+
readonly type: "object";
|
|
2851
|
+
readonly additionalProperties: false;
|
|
2852
|
+
readonly required: readonly ["kind", "cast"];
|
|
2853
|
+
readonly properties: {
|
|
2854
|
+
readonly kind: {
|
|
2855
|
+
readonly const: "encryptedCast";
|
|
2856
|
+
};
|
|
2857
|
+
readonly cast: {
|
|
2858
|
+
readonly $ref: "#/$defs/EncryptedCast";
|
|
2859
|
+
};
|
|
2860
|
+
};
|
|
2861
|
+
}, {
|
|
2862
|
+
readonly title: "TransportKeyEntry";
|
|
2863
|
+
readonly type: "object";
|
|
2864
|
+
readonly additionalProperties: false;
|
|
2865
|
+
readonly required: readonly ["kind", "transportKey"];
|
|
2866
|
+
readonly properties: {
|
|
2867
|
+
readonly kind: {
|
|
2868
|
+
readonly const: "transportKey";
|
|
2869
|
+
};
|
|
2870
|
+
readonly transportKey: {
|
|
2871
|
+
readonly $ref: "#/$defs/TransportKey";
|
|
2872
|
+
};
|
|
2873
|
+
};
|
|
2874
|
+
readonly description: "Not appended: each enrolment, dealing, confirmation and justification is a `trusteeStep` entry carrying the trustee's signed request (CONVENTIONS §9.6). A consumer MUST refuse a board holding this kind.";
|
|
2875
|
+
}, {
|
|
2876
|
+
readonly title: "DealingEntry";
|
|
2877
|
+
readonly type: "object";
|
|
2878
|
+
readonly additionalProperties: false;
|
|
2879
|
+
readonly required: readonly ["kind", "dealing"];
|
|
2880
|
+
readonly properties: {
|
|
2881
|
+
readonly kind: {
|
|
2882
|
+
readonly const: "dealing";
|
|
2883
|
+
};
|
|
2884
|
+
readonly dealing: {
|
|
2885
|
+
readonly $ref: "#/$defs/Dealing";
|
|
2886
|
+
};
|
|
2887
|
+
};
|
|
2888
|
+
readonly description: "Not appended: each enrolment, dealing, confirmation and justification is a `trusteeStep` entry carrying the trustee's signed request (CONVENTIONS §9.6). A consumer MUST refuse a board holding this kind.";
|
|
2889
|
+
}, {
|
|
2890
|
+
readonly title: "ConfirmationEntry";
|
|
2891
|
+
readonly type: "object";
|
|
2892
|
+
readonly additionalProperties: false;
|
|
2893
|
+
readonly required: readonly ["kind", "trustee", "complaints"];
|
|
2894
|
+
readonly properties: {
|
|
2895
|
+
readonly kind: {
|
|
2896
|
+
readonly const: "confirmation";
|
|
2897
|
+
};
|
|
2898
|
+
readonly trustee: {
|
|
2899
|
+
readonly $ref: "#/$defs/TrusteeIndex";
|
|
2900
|
+
};
|
|
2901
|
+
readonly complaints: {
|
|
2902
|
+
readonly type: "array";
|
|
2903
|
+
readonly maxItems: 64;
|
|
2904
|
+
readonly items: {
|
|
2905
|
+
readonly $ref: "#/$defs/TrusteeIndex";
|
|
2906
|
+
};
|
|
2907
|
+
};
|
|
2908
|
+
};
|
|
2909
|
+
readonly description: "Not appended: each enrolment, dealing, confirmation and justification is a `trusteeStep` entry carrying the trustee's signed request (CONVENTIONS §9.6). A consumer MUST refuse a board holding this kind.";
|
|
2910
|
+
}, {
|
|
2911
|
+
readonly title: "JustificationEntry";
|
|
2912
|
+
readonly type: "object";
|
|
2913
|
+
readonly additionalProperties: false;
|
|
2914
|
+
readonly required: readonly ["kind", "dealer", "recipient", "share"];
|
|
2915
|
+
readonly properties: {
|
|
2916
|
+
readonly kind: {
|
|
2917
|
+
readonly const: "justification";
|
|
2918
|
+
};
|
|
2919
|
+
readonly dealer: {
|
|
2920
|
+
readonly $ref: "#/$defs/TrusteeIndex";
|
|
2921
|
+
};
|
|
2922
|
+
readonly recipient: {
|
|
2923
|
+
readonly $ref: "#/$defs/TrusteeIndex";
|
|
2924
|
+
};
|
|
2925
|
+
readonly share: {
|
|
2926
|
+
readonly $ref: "#/$defs/GroupScalar";
|
|
2927
|
+
};
|
|
2928
|
+
};
|
|
2929
|
+
readonly description: "Not appended: each enrolment, dealing, confirmation and justification is a `trusteeStep` entry carrying the trustee's signed request (CONVENTIONS §9.6). A consumer MUST refuse a board holding this kind.";
|
|
2930
|
+
}, {
|
|
2931
|
+
readonly title: "ElectionKeyEntry";
|
|
2932
|
+
readonly type: "object";
|
|
2933
|
+
readonly additionalProperties: false;
|
|
2934
|
+
readonly required: readonly ["kind", "electionKey"];
|
|
2935
|
+
readonly properties: {
|
|
2936
|
+
readonly kind: {
|
|
2937
|
+
readonly const: "electionKey";
|
|
2938
|
+
};
|
|
2939
|
+
readonly electionKey: {
|
|
2940
|
+
readonly $ref: "#/$defs/ElectionKey";
|
|
2941
|
+
};
|
|
2942
|
+
};
|
|
2943
|
+
}, {
|
|
2944
|
+
readonly title: "PartialDecryptionsEntry";
|
|
2945
|
+
readonly type: "object";
|
|
2946
|
+
readonly additionalProperties: false;
|
|
2947
|
+
readonly required: readonly ["kind", "trustee", "partials"];
|
|
2948
|
+
readonly properties: {
|
|
2949
|
+
readonly kind: {
|
|
2950
|
+
readonly const: "partials";
|
|
2951
|
+
};
|
|
2952
|
+
readonly trustee: {
|
|
2953
|
+
readonly $ref: "#/$defs/TrusteeIndex";
|
|
2954
|
+
};
|
|
2955
|
+
readonly partials: {
|
|
2956
|
+
readonly type: "array";
|
|
2957
|
+
readonly minItems: 1;
|
|
2958
|
+
readonly maxItems: 100000;
|
|
2959
|
+
readonly items: {
|
|
2960
|
+
readonly $ref: "#/$defs/PartialDecryption";
|
|
2961
|
+
};
|
|
2962
|
+
};
|
|
2963
|
+
};
|
|
2964
|
+
}, {
|
|
2965
|
+
readonly title: "UnsealedEntry";
|
|
2966
|
+
readonly type: "object";
|
|
2967
|
+
readonly additionalProperties: false;
|
|
2968
|
+
readonly required: readonly ["kind", "leafIndex", "ballot"];
|
|
2969
|
+
readonly properties: {
|
|
2970
|
+
readonly kind: {
|
|
2971
|
+
readonly const: "unsealed";
|
|
2972
|
+
};
|
|
2973
|
+
readonly leafIndex: {
|
|
2974
|
+
readonly type: "integer";
|
|
2975
|
+
readonly minimum: 0;
|
|
2976
|
+
};
|
|
2977
|
+
readonly ballot: {
|
|
2978
|
+
readonly $ref: "#/$defs/Ballot";
|
|
2979
|
+
};
|
|
2980
|
+
};
|
|
2981
|
+
}, {
|
|
2982
|
+
readonly title: "SpoiledEntry";
|
|
2983
|
+
readonly description: "A sealed cast that did not open, or opened to no valid ballot: not counted (CONVENTIONS §9.7).";
|
|
2984
|
+
readonly type: "object";
|
|
2985
|
+
readonly additionalProperties: false;
|
|
2986
|
+
readonly required: readonly ["kind", "leafIndex"];
|
|
2987
|
+
readonly properties: {
|
|
2988
|
+
readonly kind: {
|
|
2989
|
+
readonly const: "spoiled";
|
|
2990
|
+
};
|
|
2991
|
+
readonly leafIndex: {
|
|
2992
|
+
readonly type: "integer";
|
|
2993
|
+
readonly minimum: 0;
|
|
2994
|
+
};
|
|
2995
|
+
};
|
|
2996
|
+
}, {
|
|
2997
|
+
readonly title: "TrusteeStepEntry";
|
|
2998
|
+
readonly description: "One step of the trustees' ceremony — an enrolment, a dealing, a confirmation or a justification — as the trustee's own signed request, so that anyone reading the board can tell who took it (CONVENTIONS §9.6).";
|
|
2999
|
+
readonly type: "object";
|
|
3000
|
+
readonly additionalProperties: false;
|
|
3001
|
+
readonly required: readonly ["kind", "request"];
|
|
3002
|
+
readonly properties: {
|
|
3003
|
+
readonly kind: {
|
|
3004
|
+
readonly const: "trusteeStep";
|
|
3005
|
+
};
|
|
3006
|
+
readonly request: {
|
|
3007
|
+
readonly $ref: "#/$defs/SignedRequest";
|
|
3008
|
+
};
|
|
3009
|
+
};
|
|
3010
|
+
}, {
|
|
3011
|
+
readonly title: "DecryptionAuthorizedEntry";
|
|
3012
|
+
readonly description: "The community's voting/trustees/authorize request, exactly as the ballot box received it: the decryption targets of a closed election, pinned by digest to a head of the board (CONVENTIONS §9.7).";
|
|
3013
|
+
readonly type: "object";
|
|
3014
|
+
readonly additionalProperties: false;
|
|
3015
|
+
readonly required: readonly ["kind", "request"];
|
|
3016
|
+
readonly properties: {
|
|
3017
|
+
readonly kind: {
|
|
3018
|
+
readonly const: "decryptionAuthorized";
|
|
3019
|
+
};
|
|
3020
|
+
readonly request: {
|
|
3021
|
+
readonly $ref: "#/$defs/SignedRequest";
|
|
3022
|
+
};
|
|
3023
|
+
};
|
|
3024
|
+
}];
|
|
3025
|
+
};
|
|
3026
|
+
readonly SignedRequest: {
|
|
3027
|
+
readonly title: "SignedRequest";
|
|
3028
|
+
readonly description: "A whole Trust Task request document — `id`, `type`, `issuer`, `payload` and every other member, `proof` included — exactly as the ballot box received it, never re-serialised: its proof is taken over its members, and a re-serialised copy does not reliably reproduce them. Typed as an open object so every member survives; CONVENTIONS §9.6 gives the checks that make it a trustee's step.";
|
|
3029
|
+
readonly type: "object";
|
|
3030
|
+
readonly minProperties: 1;
|
|
3031
|
+
};
|
|
3032
|
+
readonly Ballot: {
|
|
3033
|
+
readonly title: "Ballot";
|
|
3034
|
+
readonly description: "An open ballot: one answer per question of the manifest, in any order. The bytes a cast's proof binds are the RFC 8785 (JCS) canonicalization of this object as received.";
|
|
3035
|
+
readonly type: "object";
|
|
3036
|
+
readonly additionalProperties: false;
|
|
3037
|
+
readonly required: readonly ["electionId", "manifestDigest", "answers"];
|
|
3038
|
+
readonly properties: {
|
|
3039
|
+
readonly electionId: {
|
|
3040
|
+
readonly $ref: "#/$defs/ElectionId";
|
|
3041
|
+
};
|
|
3042
|
+
readonly manifestDigest: {
|
|
3043
|
+
readonly $ref: "#/$defs/DigestMultibase";
|
|
3044
|
+
};
|
|
3045
|
+
readonly answers: {
|
|
3046
|
+
readonly type: "array";
|
|
3047
|
+
readonly minItems: 1;
|
|
3048
|
+
readonly maxItems: 128;
|
|
3049
|
+
readonly items: {
|
|
3050
|
+
readonly $ref: "#/$defs/Answer";
|
|
3051
|
+
};
|
|
3052
|
+
};
|
|
3053
|
+
};
|
|
3054
|
+
};
|
|
3055
|
+
readonly Answer: {
|
|
3056
|
+
readonly title: "Answer";
|
|
3057
|
+
readonly description: "The answer to one question. Exactly one member besides `question` is present, matching the question's type, or `abstain` for an optional question left unanswered.";
|
|
3058
|
+
readonly type: "object";
|
|
3059
|
+
readonly additionalProperties: false;
|
|
3060
|
+
readonly required: readonly ["question"];
|
|
3061
|
+
readonly minProperties: 2;
|
|
3062
|
+
readonly maxProperties: 2;
|
|
3063
|
+
readonly properties: {
|
|
3064
|
+
readonly question: {
|
|
3065
|
+
readonly $ref: "#/$defs/Key";
|
|
3066
|
+
};
|
|
3067
|
+
readonly choice: {
|
|
3068
|
+
readonly type: "array";
|
|
3069
|
+
readonly items: {
|
|
3070
|
+
readonly $ref: "#/$defs/Key";
|
|
3071
|
+
};
|
|
3072
|
+
readonly uniqueItems: true;
|
|
3073
|
+
};
|
|
3074
|
+
readonly ranking: {
|
|
3075
|
+
readonly type: "array";
|
|
3076
|
+
readonly items: {
|
|
3077
|
+
readonly $ref: "#/$defs/Key";
|
|
3078
|
+
};
|
|
3079
|
+
readonly uniqueItems: true;
|
|
3080
|
+
};
|
|
3081
|
+
readonly scores: {
|
|
3082
|
+
readonly type: "object";
|
|
3083
|
+
readonly propertyNames: {
|
|
3084
|
+
readonly $ref: "#/$defs/Key";
|
|
3085
|
+
};
|
|
3086
|
+
readonly additionalProperties: {
|
|
3087
|
+
readonly type: "integer";
|
|
3088
|
+
};
|
|
3089
|
+
};
|
|
3090
|
+
readonly text: {
|
|
3091
|
+
readonly type: "string";
|
|
3092
|
+
readonly maxLength: 4096;
|
|
3093
|
+
};
|
|
3094
|
+
readonly abstain: {
|
|
3095
|
+
readonly const: true;
|
|
3096
|
+
};
|
|
3097
|
+
};
|
|
3098
|
+
};
|
|
3099
|
+
readonly Key: {
|
|
3100
|
+
readonly title: "Key";
|
|
3101
|
+
readonly description: "A question or option key, unique within its manifest or question.";
|
|
3102
|
+
readonly type: "string";
|
|
3103
|
+
readonly pattern: "^[A-Za-z0-9._-]{1,64}$";
|
|
3104
|
+
};
|
|
3105
|
+
readonly ElectionId: {
|
|
3106
|
+
readonly title: "ElectionId";
|
|
3107
|
+
readonly description: "An election's identifier, unique within its community. A closed alphabet: it appears in the ticket class label `voter/<electionId>` and is framed into every hash a cast is bound to.";
|
|
3108
|
+
readonly type: "string";
|
|
3109
|
+
readonly pattern: "^[A-Za-z0-9._-]{1,128}$";
|
|
3110
|
+
};
|
|
3111
|
+
readonly DigestMultibase: {
|
|
3112
|
+
readonly title: "DigestMultibase";
|
|
3113
|
+
readonly description: "A cryptographic digest as a multibase-encoded multihash — the encoding the W3C Verifiable Credentials Data Model 2.0 defines for `digestMultibase`, and the one `did:webvh` uses for its SCID and entry hashes.\n\nMultihash carries the hash algorithm in-band, so the value is self-describing and the wire format survives an algorithm change without a schema revision; multibase does the same for the base encoding, so a verifier never infers base58 from base64url by context. A bare hex string or a `sha-256:`-style prefix hard-codes one algorithm into the wire contract and is non-conforming here.\n\nThis definition constrains the *encoding only*. What the digest is computed over is stated by each referencing field, because it differs legitimately: a digest over a JSON document is taken over its RFC 8785 (JCS) canonicalization, while a digest over an opaque artifact is taken over its bytes. A field whose input is a JSON document and which does not name a canonicalization is not reproducible.\n\nRestricted to the two multibase headers W3C Controlled Identifiers 1.0 §2.4 normatively requires — `z` (base58btc) and `u` (base64url-no-pad). CID permits others but states that \"interoperability is not guaranteed between implementations using such values\", and a registry whose purpose is interoperability should not mint digests a conforming verifier may be unable to read. The alphabets are enforced rather than assumed: base58btc excludes 0, O, I and l, and an earlier permissive pattern let three published examples carry digests that were not valid base58 at all. base58btc is RECOMMENDED, for consistency with `did:key` and `did:webvh`.";
|
|
3114
|
+
readonly type: "string";
|
|
3115
|
+
readonly minLength: 16;
|
|
3116
|
+
readonly pattern: "^(z[1-9A-HJ-NP-Za-km-z]+|u[A-Za-z0-9_-]+)$";
|
|
3117
|
+
readonly examples: readonly ["zQmbWqxBEKC3P8tqsKc98xmWNzrzDtRLMiMPL8wBuTGsMnR"];
|
|
3118
|
+
};
|
|
3119
|
+
readonly PartialDecryption: {
|
|
3120
|
+
readonly title: "PartialDecryption";
|
|
3121
|
+
readonly description: "Trustee `trustee`'s share of one decryption, `d = x_j·a`, with a Chaum–Pedersen proof against its verification key (CONVENTIONS §9.7).";
|
|
3122
|
+
readonly type: "object";
|
|
3123
|
+
readonly additionalProperties: false;
|
|
3124
|
+
readonly required: readonly ["target", "d", "proof"];
|
|
3125
|
+
readonly properties: {
|
|
3126
|
+
readonly target: {
|
|
3127
|
+
readonly $ref: "#/$defs/DecryptionTarget";
|
|
3128
|
+
};
|
|
3129
|
+
readonly d: {
|
|
3130
|
+
readonly $ref: "#/$defs/GroupElement";
|
|
3131
|
+
};
|
|
3132
|
+
readonly proof: {
|
|
3133
|
+
readonly $ref: "#/$defs/SigmaProof";
|
|
3134
|
+
};
|
|
3135
|
+
};
|
|
3136
|
+
};
|
|
3137
|
+
readonly SigmaProof: {
|
|
3138
|
+
readonly title: "SigmaProof";
|
|
3139
|
+
readonly description: "A non-interactive sigma proof as its challenge and response `(c, z)` (Schnorr or Chaum–Pedersen; CONVENTIONS §9.3).";
|
|
3140
|
+
readonly type: "object";
|
|
3141
|
+
readonly additionalProperties: false;
|
|
3142
|
+
readonly required: readonly ["c", "z"];
|
|
3143
|
+
readonly properties: {
|
|
3144
|
+
readonly c: {
|
|
3145
|
+
readonly $ref: "#/$defs/GroupScalar";
|
|
3146
|
+
};
|
|
3147
|
+
readonly z: {
|
|
3148
|
+
readonly $ref: "#/$defs/GroupScalar";
|
|
3149
|
+
};
|
|
3150
|
+
};
|
|
3151
|
+
};
|
|
3152
|
+
readonly GroupScalar: {
|
|
3153
|
+
readonly title: "GroupScalar";
|
|
3154
|
+
readonly description: "A scalar mod the Ristretto group order: 32 canonical little-endian bytes, multibase base58btc (CONVENTIONS §9.1).";
|
|
3155
|
+
readonly type: "string";
|
|
3156
|
+
readonly minLength: 2;
|
|
3157
|
+
readonly maxLength: 64;
|
|
3158
|
+
readonly pattern: "^z[1-9A-HJ-NP-Za-km-z]+$";
|
|
3159
|
+
};
|
|
3160
|
+
readonly GroupElement: {
|
|
3161
|
+
readonly title: "GroupElement";
|
|
3162
|
+
readonly description: "A Ristretto group element: its 32-byte compression, multibase base58btc. Never the identity (CONVENTIONS §9.1).";
|
|
3163
|
+
readonly type: "string";
|
|
3164
|
+
readonly minLength: 2;
|
|
3165
|
+
readonly maxLength: 64;
|
|
3166
|
+
readonly pattern: "^z[1-9A-HJ-NP-Za-km-z]+$";
|
|
3167
|
+
};
|
|
3168
|
+
readonly DecryptionTarget: {
|
|
3169
|
+
readonly title: "DecryptionTarget";
|
|
3170
|
+
readonly description: "What a partial decryption decrypts: the sealed cast at a board leaf, or the total of one option of one question.";
|
|
3171
|
+
readonly type: "object";
|
|
3172
|
+
readonly additionalProperties: false;
|
|
3173
|
+
readonly required: readonly ["ciphertext"];
|
|
3174
|
+
readonly properties: {
|
|
3175
|
+
readonly leafIndex: {
|
|
3176
|
+
readonly type: "integer";
|
|
3177
|
+
readonly minimum: 0;
|
|
3178
|
+
readonly description: "A sealed cast's board leaf.";
|
|
3179
|
+
};
|
|
3180
|
+
readonly question: {
|
|
3181
|
+
readonly $ref: "#/$defs/Key";
|
|
3182
|
+
};
|
|
3183
|
+
readonly option: {
|
|
3184
|
+
readonly $ref: "#/$defs/Key";
|
|
3185
|
+
};
|
|
3186
|
+
readonly ciphertext: {
|
|
3187
|
+
readonly $ref: "#/$defs/ElGamalCiphertext";
|
|
3188
|
+
};
|
|
3189
|
+
};
|
|
3190
|
+
readonly oneOf: readonly [{
|
|
3191
|
+
readonly required: readonly ["leafIndex"];
|
|
3192
|
+
}, {
|
|
3193
|
+
readonly required: readonly ["question", "option"];
|
|
3194
|
+
}];
|
|
3195
|
+
};
|
|
3196
|
+
readonly ElGamalCiphertext: {
|
|
3197
|
+
readonly title: "ElGamalCiphertext";
|
|
3198
|
+
readonly description: "`(a, b) = (r·G, M + r·Y)` under the election key `Y` (CONVENTIONS §9.2).";
|
|
3199
|
+
readonly type: "object";
|
|
3200
|
+
readonly additionalProperties: false;
|
|
3201
|
+
readonly required: readonly ["a", "b"];
|
|
3202
|
+
readonly properties: {
|
|
3203
|
+
readonly a: {
|
|
3204
|
+
readonly $ref: "#/$defs/GroupElement";
|
|
3205
|
+
};
|
|
3206
|
+
readonly b: {
|
|
3207
|
+
readonly $ref: "#/$defs/GroupElement";
|
|
3208
|
+
};
|
|
3209
|
+
};
|
|
3210
|
+
};
|
|
3211
|
+
readonly TrusteeIndex: {
|
|
3212
|
+
readonly title: "TrusteeIndex";
|
|
3213
|
+
readonly description: "A trustee's index: its position in the manifest's `trustees.dids`, counting from 1.";
|
|
3214
|
+
readonly type: "integer";
|
|
3215
|
+
readonly minimum: 1;
|
|
3216
|
+
readonly maximum: 64;
|
|
3217
|
+
};
|
|
3218
|
+
readonly ElectionKey: {
|
|
3219
|
+
readonly title: "ElectionKey";
|
|
3220
|
+
readonly description: "The election key and each trustee's public verification key, computed from the qualified dealings (CONVENTIONS §9.6). Anyone can recompute it from the board.";
|
|
3221
|
+
readonly type: "object";
|
|
3222
|
+
readonly additionalProperties: false;
|
|
3223
|
+
readonly required: readonly ["key", "qualified", "verification"];
|
|
3224
|
+
readonly properties: {
|
|
3225
|
+
readonly key: {
|
|
3226
|
+
readonly $ref: "#/$defs/GroupElement";
|
|
3227
|
+
};
|
|
3228
|
+
readonly qualified: {
|
|
3229
|
+
readonly type: "array";
|
|
3230
|
+
readonly minItems: 1;
|
|
3231
|
+
readonly maxItems: 64;
|
|
3232
|
+
readonly items: {
|
|
3233
|
+
readonly $ref: "#/$defs/TrusteeIndex";
|
|
3234
|
+
};
|
|
3235
|
+
readonly description: "The dealers whose dealings the key is formed from.";
|
|
3236
|
+
};
|
|
3237
|
+
readonly verification: {
|
|
3238
|
+
readonly type: "array";
|
|
3239
|
+
readonly minItems: 2;
|
|
3240
|
+
readonly maxItems: 64;
|
|
3241
|
+
readonly items: {
|
|
3242
|
+
readonly type: "object";
|
|
3243
|
+
readonly additionalProperties: false;
|
|
3244
|
+
readonly required: readonly ["trustee", "key"];
|
|
3245
|
+
readonly properties: {
|
|
3246
|
+
readonly trustee: {
|
|
3247
|
+
readonly $ref: "#/$defs/TrusteeIndex";
|
|
3248
|
+
};
|
|
3249
|
+
readonly key: {
|
|
3250
|
+
readonly $ref: "#/$defs/GroupElement";
|
|
3251
|
+
};
|
|
3252
|
+
};
|
|
3253
|
+
};
|
|
3254
|
+
};
|
|
3255
|
+
};
|
|
3256
|
+
};
|
|
3257
|
+
readonly Dealing: {
|
|
3258
|
+
readonly title: "Dealing";
|
|
3259
|
+
readonly description: "A trustee's contribution to the election key: Feldman commitments to its polynomial, a proof of knowledge of the constant term, and one share per trustee sealed to that trustee's transport key (CONVENTIONS §9.6).";
|
|
3260
|
+
readonly type: "object";
|
|
3261
|
+
readonly additionalProperties: false;
|
|
3262
|
+
readonly required: readonly ["dealer", "commitments", "pok", "shares"];
|
|
3263
|
+
readonly properties: {
|
|
3264
|
+
readonly dealer: {
|
|
3265
|
+
readonly $ref: "#/$defs/TrusteeIndex";
|
|
3266
|
+
};
|
|
3267
|
+
readonly commitments: {
|
|
3268
|
+
readonly type: "array";
|
|
3269
|
+
readonly minItems: 2;
|
|
3270
|
+
readonly maxItems: 64;
|
|
3271
|
+
readonly items: {
|
|
3272
|
+
readonly $ref: "#/$defs/GroupElement";
|
|
3273
|
+
};
|
|
3274
|
+
};
|
|
3275
|
+
readonly pok: {
|
|
3276
|
+
readonly $ref: "#/$defs/SigmaProof";
|
|
3277
|
+
};
|
|
3278
|
+
readonly shares: {
|
|
3279
|
+
readonly type: "array";
|
|
3280
|
+
readonly minItems: 2;
|
|
3281
|
+
readonly maxItems: 64;
|
|
3282
|
+
readonly items: {
|
|
3283
|
+
readonly $ref: "#/$defs/SealedShare";
|
|
3284
|
+
};
|
|
3285
|
+
};
|
|
3286
|
+
};
|
|
3287
|
+
};
|
|
3288
|
+
readonly SealedShare: {
|
|
3289
|
+
readonly title: "SealedShare";
|
|
3290
|
+
readonly type: "object";
|
|
3291
|
+
readonly additionalProperties: false;
|
|
3292
|
+
readonly required: readonly ["recipient", "share"];
|
|
3293
|
+
readonly properties: {
|
|
3294
|
+
readonly recipient: {
|
|
3295
|
+
readonly $ref: "#/$defs/TrusteeIndex";
|
|
3296
|
+
};
|
|
3297
|
+
readonly share: {
|
|
3298
|
+
readonly $ref: "#/$defs/SealedPayload";
|
|
3299
|
+
};
|
|
3300
|
+
};
|
|
3301
|
+
};
|
|
3302
|
+
readonly SealedPayload: {
|
|
3303
|
+
readonly title: "SealedPayload";
|
|
3304
|
+
readonly description: "Bytes sealed to a key: a random group element encrypted as `kem`, and the bytes under ChaCha20-Poly1305 with a key derived from it, multibase base58btc (CONVENTIONS §9.4).";
|
|
3305
|
+
readonly type: "object";
|
|
3306
|
+
readonly additionalProperties: false;
|
|
3307
|
+
readonly required: readonly ["kem", "body"];
|
|
3308
|
+
readonly properties: {
|
|
3309
|
+
readonly kem: {
|
|
3310
|
+
readonly $ref: "#/$defs/ElGamalCiphertext";
|
|
3311
|
+
};
|
|
3312
|
+
readonly body: {
|
|
3313
|
+
readonly type: "string";
|
|
3314
|
+
readonly minLength: 2;
|
|
3315
|
+
readonly maxLength: 131072;
|
|
3316
|
+
readonly pattern: "^z[1-9A-HJ-NP-Za-km-z]+$";
|
|
3317
|
+
};
|
|
3318
|
+
};
|
|
3319
|
+
};
|
|
3320
|
+
readonly TransportKey: {
|
|
3321
|
+
readonly title: "TransportKey";
|
|
3322
|
+
readonly description: "The group element a trustee's shares are sealed to, with a Schnorr proof of knowledge of its discrete log (CONVENTIONS §9.6).";
|
|
3323
|
+
readonly type: "object";
|
|
3324
|
+
readonly additionalProperties: false;
|
|
3325
|
+
readonly required: readonly ["trustee", "key", "pok"];
|
|
3326
|
+
readonly properties: {
|
|
3327
|
+
readonly trustee: {
|
|
3328
|
+
readonly $ref: "#/$defs/TrusteeIndex";
|
|
3329
|
+
};
|
|
3330
|
+
readonly key: {
|
|
3331
|
+
readonly $ref: "#/$defs/GroupElement";
|
|
3332
|
+
};
|
|
3333
|
+
readonly pok: {
|
|
3334
|
+
readonly $ref: "#/$defs/SigmaProof";
|
|
3335
|
+
};
|
|
3336
|
+
};
|
|
3337
|
+
};
|
|
3338
|
+
readonly EncryptedCast: {
|
|
3339
|
+
readonly title: "EncryptedCast";
|
|
3340
|
+
readonly description: "A cast of a sealed or tallied-encrypted election: exactly one of `sealed` (the Ballot's JCS bytes sealed to the election key) or `encrypted`, with the tag and the attestation over the JCS bytes of whichever is present (CONVENTIONS §3.6, §9.5).";
|
|
3341
|
+
readonly type: "object";
|
|
3342
|
+
readonly additionalProperties: false;
|
|
3343
|
+
readonly required: readonly ["tag", "attestation"];
|
|
3344
|
+
readonly properties: {
|
|
3345
|
+
readonly sealed: {
|
|
3346
|
+
readonly $ref: "#/$defs/SealedPayload";
|
|
3347
|
+
};
|
|
3348
|
+
readonly encrypted: {
|
|
3349
|
+
readonly $ref: "#/$defs/EncryptedBallot";
|
|
3350
|
+
};
|
|
3351
|
+
readonly tag: {
|
|
3352
|
+
readonly $ref: "#/$defs/Multibase";
|
|
3353
|
+
};
|
|
3354
|
+
readonly attestation: {
|
|
3355
|
+
readonly $ref: "#/$defs/Multibase";
|
|
3356
|
+
};
|
|
3357
|
+
};
|
|
3358
|
+
readonly oneOf: readonly [{
|
|
3359
|
+
readonly required: readonly ["sealed"];
|
|
3360
|
+
}, {
|
|
3361
|
+
readonly required: readonly ["encrypted"];
|
|
3362
|
+
}];
|
|
3363
|
+
};
|
|
3364
|
+
readonly Multibase: {
|
|
3365
|
+
readonly title: "Multibase";
|
|
3366
|
+
readonly description: "A binary value, multibase base58btc over the suite's canonical (compressed) encoding.";
|
|
3367
|
+
readonly type: "string";
|
|
3368
|
+
readonly maxLength: 16384;
|
|
3369
|
+
readonly pattern: "^z[1-9A-HJ-NP-Za-km-z]+$";
|
|
3370
|
+
};
|
|
3371
|
+
readonly EncryptedBallot: {
|
|
3372
|
+
readonly title: "EncryptedBallot";
|
|
3373
|
+
readonly description: "A tallied-encrypted ballot: one EncryptedQuestion per manifest question, in the manifest's order. Never decrypted (VTI-VOT-064).";
|
|
3374
|
+
readonly type: "object";
|
|
3375
|
+
readonly additionalProperties: false;
|
|
3376
|
+
readonly required: readonly ["electionId", "manifestDigest", "questions"];
|
|
3377
|
+
readonly properties: {
|
|
3378
|
+
readonly electionId: {
|
|
3379
|
+
readonly $ref: "#/$defs/ElectionId";
|
|
3380
|
+
};
|
|
3381
|
+
readonly manifestDigest: {
|
|
3382
|
+
readonly $ref: "#/$defs/DigestMultibase";
|
|
3383
|
+
};
|
|
3384
|
+
readonly questions: {
|
|
3385
|
+
readonly type: "array";
|
|
3386
|
+
readonly minItems: 1;
|
|
3387
|
+
readonly maxItems: 64;
|
|
3388
|
+
readonly items: {
|
|
3389
|
+
readonly $ref: "#/$defs/EncryptedQuestion";
|
|
3390
|
+
};
|
|
3391
|
+
};
|
|
3392
|
+
};
|
|
3393
|
+
};
|
|
3394
|
+
readonly EncryptedQuestion: {
|
|
3395
|
+
readonly title: "EncryptedQuestion";
|
|
3396
|
+
readonly description: "One choice question of a tallied-encrypted ballot: per option, in the manifest's order, an encryption of 0 or 1 with its proof; and a proof that the selections sum to a count the question admits (CONVENTIONS §9.5).";
|
|
3397
|
+
readonly type: "object";
|
|
3398
|
+
readonly additionalProperties: false;
|
|
3399
|
+
readonly required: readonly ["question", "options", "sumProof"];
|
|
3400
|
+
readonly properties: {
|
|
3401
|
+
readonly question: {
|
|
3402
|
+
readonly $ref: "#/$defs/Key";
|
|
3403
|
+
};
|
|
3404
|
+
readonly options: {
|
|
3405
|
+
readonly type: "array";
|
|
3406
|
+
readonly minItems: 1;
|
|
3407
|
+
readonly maxItems: 64;
|
|
3408
|
+
readonly items: {
|
|
3409
|
+
readonly $ref: "#/$defs/EncryptedOption";
|
|
3410
|
+
};
|
|
3411
|
+
};
|
|
3412
|
+
readonly sumProof: {
|
|
3413
|
+
readonly $ref: "#/$defs/DisjunctiveProof";
|
|
3414
|
+
};
|
|
3415
|
+
};
|
|
3416
|
+
};
|
|
3417
|
+
readonly DisjunctiveProof: {
|
|
3418
|
+
readonly title: "DisjunctiveProof";
|
|
3419
|
+
readonly description: "A disjunctive proof that a ciphertext encrypts one value of a public list: one `(c, z)` per value, in the list's order (CONVENTIONS §9.3).";
|
|
3420
|
+
readonly type: "array";
|
|
3421
|
+
readonly minItems: 1;
|
|
3422
|
+
readonly maxItems: 65;
|
|
3423
|
+
readonly items: {
|
|
3424
|
+
readonly $ref: "#/$defs/SigmaProof";
|
|
3425
|
+
};
|
|
3426
|
+
};
|
|
3427
|
+
readonly EncryptedOption: {
|
|
3428
|
+
readonly title: "EncryptedOption";
|
|
3429
|
+
readonly type: "object";
|
|
3430
|
+
readonly additionalProperties: false;
|
|
3431
|
+
readonly required: readonly ["ciphertext", "proof"];
|
|
3432
|
+
readonly properties: {
|
|
3433
|
+
readonly ciphertext: {
|
|
3434
|
+
readonly $ref: "#/$defs/ElGamalCiphertext";
|
|
3435
|
+
};
|
|
3436
|
+
readonly proof: {
|
|
3437
|
+
readonly $ref: "#/$defs/DisjunctiveProof";
|
|
3438
|
+
};
|
|
3439
|
+
};
|
|
3440
|
+
};
|
|
3441
|
+
readonly ElectionResult: {
|
|
3442
|
+
readonly title: "ElectionResult";
|
|
3443
|
+
readonly description: "An election's result, computable by anyone who can read its board from the board and the registration alone (VTI-VOT-070).";
|
|
3444
|
+
readonly type: "object";
|
|
3445
|
+
readonly additionalProperties: false;
|
|
3446
|
+
readonly required: readonly ["electionId", "manifestDigest", "ballotsCounted", "questions", "head"];
|
|
3447
|
+
readonly properties: {
|
|
3448
|
+
readonly electionId: {
|
|
3449
|
+
readonly $ref: "#/$defs/ElectionId";
|
|
3450
|
+
};
|
|
3451
|
+
readonly manifestDigest: {
|
|
3452
|
+
readonly $ref: "#/$defs/DigestMultibase";
|
|
3453
|
+
};
|
|
3454
|
+
readonly ballotsCounted: {
|
|
3455
|
+
readonly type: "integer";
|
|
3456
|
+
readonly minimum: 0;
|
|
3457
|
+
};
|
|
3458
|
+
readonly questions: {
|
|
3459
|
+
readonly type: "array";
|
|
3460
|
+
readonly items: {
|
|
3461
|
+
readonly $ref: "#/$defs/QuestionResult";
|
|
3462
|
+
};
|
|
3463
|
+
};
|
|
3464
|
+
readonly head: {
|
|
3465
|
+
readonly $ref: "#/$defs/BoardHead";
|
|
3466
|
+
readonly description: "The head of the board as it stood at close: the result counts exactly its entries.";
|
|
3467
|
+
};
|
|
3468
|
+
};
|
|
3469
|
+
};
|
|
3470
|
+
readonly BoardHead: {
|
|
3471
|
+
readonly title: "BoardHead";
|
|
3472
|
+
readonly description: "A board's tree head (RFC 9162 §2.1). A head is signed by being carried in a document the ballot box signs; whoever keeps a head keeps that whole document.";
|
|
3473
|
+
readonly type: "object";
|
|
3474
|
+
readonly additionalProperties: false;
|
|
3475
|
+
readonly required: readonly ["electionId", "treeSize", "rootHash", "issuedAt"];
|
|
3476
|
+
readonly properties: {
|
|
3477
|
+
readonly electionId: {
|
|
3478
|
+
readonly $ref: "#/$defs/ElectionId";
|
|
3479
|
+
};
|
|
3480
|
+
readonly treeSize: {
|
|
3481
|
+
readonly type: "integer";
|
|
3482
|
+
readonly minimum: 0;
|
|
3483
|
+
};
|
|
3484
|
+
readonly rootHash: {
|
|
3485
|
+
readonly $ref: "#/$defs/DigestMultibase";
|
|
3486
|
+
readonly description: "The RFC 9162 Merkle tree hash (SHA-256) of the first `treeSize` entries, as a multihash.";
|
|
3487
|
+
};
|
|
3488
|
+
readonly issuedAt: {
|
|
3489
|
+
readonly type: "string";
|
|
3490
|
+
readonly format: "date-time";
|
|
3491
|
+
};
|
|
3492
|
+
};
|
|
3493
|
+
};
|
|
3494
|
+
readonly QuestionResult: {
|
|
3495
|
+
readonly title: "QuestionResult";
|
|
3496
|
+
readonly description: "One question's totals. `choice`: selections per option. `ranking`: per option, how many ballots placed it at each position (index 0 = first). `score`: per option, the sum and the number of ballots that scored it. `text`: the answers, in board order, withheld (`withheld: true`) below the manifest's `textReleaseThreshold`. `abstained` counts ballots that left the question unanswered.";
|
|
3497
|
+
readonly type: "object";
|
|
3498
|
+
readonly additionalProperties: false;
|
|
3499
|
+
readonly required: readonly ["question", "abstained"];
|
|
3500
|
+
readonly properties: {
|
|
3501
|
+
readonly question: {
|
|
3502
|
+
readonly $ref: "#/$defs/Key";
|
|
3503
|
+
};
|
|
3504
|
+
readonly abstained: {
|
|
3505
|
+
readonly type: "integer";
|
|
3506
|
+
readonly minimum: 0;
|
|
3507
|
+
};
|
|
3508
|
+
readonly choice: {
|
|
3509
|
+
readonly type: "object";
|
|
3510
|
+
readonly propertyNames: {
|
|
3511
|
+
readonly $ref: "#/$defs/Key";
|
|
3512
|
+
};
|
|
3513
|
+
readonly additionalProperties: {
|
|
3514
|
+
readonly type: "integer";
|
|
3515
|
+
readonly minimum: 0;
|
|
3516
|
+
};
|
|
3517
|
+
};
|
|
3518
|
+
readonly ranking: {
|
|
3519
|
+
readonly type: "object";
|
|
3520
|
+
readonly propertyNames: {
|
|
3521
|
+
readonly $ref: "#/$defs/Key";
|
|
3522
|
+
};
|
|
3523
|
+
readonly additionalProperties: {
|
|
3524
|
+
readonly type: "array";
|
|
3525
|
+
readonly items: {
|
|
3526
|
+
readonly type: "integer";
|
|
3527
|
+
readonly minimum: 0;
|
|
3528
|
+
};
|
|
3529
|
+
};
|
|
3530
|
+
};
|
|
3531
|
+
readonly score: {
|
|
3532
|
+
readonly type: "object";
|
|
3533
|
+
readonly propertyNames: {
|
|
3534
|
+
readonly $ref: "#/$defs/Key";
|
|
3535
|
+
};
|
|
3536
|
+
readonly additionalProperties: {
|
|
3537
|
+
readonly type: "object";
|
|
3538
|
+
readonly additionalProperties: false;
|
|
3539
|
+
readonly required: readonly ["sum", "count"];
|
|
3540
|
+
readonly properties: {
|
|
3541
|
+
readonly sum: {
|
|
3542
|
+
readonly type: "integer";
|
|
3543
|
+
};
|
|
3544
|
+
readonly count: {
|
|
3545
|
+
readonly type: "integer";
|
|
3546
|
+
readonly minimum: 0;
|
|
3547
|
+
};
|
|
3548
|
+
};
|
|
3549
|
+
};
|
|
3550
|
+
};
|
|
3551
|
+
readonly text: {
|
|
3552
|
+
readonly type: "array";
|
|
3553
|
+
readonly items: {
|
|
3554
|
+
readonly type: "string";
|
|
3555
|
+
readonly maxLength: 4096;
|
|
3556
|
+
};
|
|
3557
|
+
};
|
|
3558
|
+
readonly withheld: {
|
|
3559
|
+
readonly type: "boolean";
|
|
3560
|
+
};
|
|
3561
|
+
};
|
|
3562
|
+
};
|
|
3563
|
+
readonly Cast: {
|
|
3564
|
+
readonly title: "Cast";
|
|
3565
|
+
readonly description: "A ballot and the PCS attestation that admits it (VTI-VOT-030). `attestation` is the suite's canonical encoding of the attestation made for the election point with the ballot context bound in (CONVENTIONS §3); `tag` repeats its tag so a ballot box can refuse a duplicate before the pairing check.";
|
|
3566
|
+
readonly type: "object";
|
|
3567
|
+
readonly additionalProperties: false;
|
|
3568
|
+
readonly required: readonly ["ballot", "tag", "attestation"];
|
|
3569
|
+
readonly properties: {
|
|
3570
|
+
readonly ballot: {
|
|
3571
|
+
readonly $ref: "#/$defs/Ballot";
|
|
3572
|
+
};
|
|
3573
|
+
readonly tag: {
|
|
3574
|
+
readonly $ref: "#/$defs/Multibase";
|
|
3575
|
+
};
|
|
3576
|
+
readonly attestation: {
|
|
3577
|
+
readonly $ref: "#/$defs/Multibase";
|
|
3578
|
+
};
|
|
3579
|
+
};
|
|
3580
|
+
};
|
|
3581
|
+
};
|
|
3582
|
+
};
|
|
3583
|
+
};
|
|
3584
|
+
//# sourceMappingURL=payload.d.ts.map
|