@openvtc/trust-tasks 0.28.19 → 0.28.21
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 +71 -0
- package/dist/_shared/components.d.ts +16 -1
- package/dist/_shared/components.d.ts.map +1 -1
- package/dist/auth/step-up/requests/show/0.1/payload.d.ts +458 -0
- package/dist/auth/step-up/requests/show/0.1/payload.d.ts.map +1 -0
- package/dist/auth/step-up/requests/show/0.1/payload.js +261 -0
- package/dist/auth/step-up/requests/show/0.1/payload.js.map +1 -0
- package/dist/index.d.ts +9 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +9 -0
- package/dist/index.js.map +1 -1
- package/dist/vtc/badges/_shared/0.1/badge.d.ts +1 -1
- package/dist/vtc/badges/_shared/0.1/badge.d.ts.map +1 -1
- package/dist/vtc/badges/awards/list/0.1/payload.d.ts +118 -6
- package/dist/vtc/badges/awards/list/0.1/payload.d.ts.map +1 -1
- package/dist/vtc/badges/awards/list/0.1/payload.js +64 -2
- package/dist/vtc/badges/awards/list/0.1/payload.js.map +1 -1
- package/dist/vtc/badges/awards/offer/0.1/payload.d.ts +118 -6
- package/dist/vtc/badges/awards/offer/0.1/payload.d.ts.map +1 -1
- package/dist/vtc/badges/awards/offer/0.1/payload.js +64 -2
- package/dist/vtc/badges/awards/offer/0.1/payload.js.map +1 -1
- package/dist/vtc/badges/awards/revoke/0.1/payload.d.ts +118 -6
- package/dist/vtc/badges/awards/revoke/0.1/payload.d.ts.map +1 -1
- package/dist/vtc/badges/awards/revoke/0.1/payload.js +64 -2
- package/dist/vtc/badges/awards/revoke/0.1/payload.js.map +1 -1
- package/dist/vtc/badges/awards/share/0.1/payload.d.ts +701 -0
- package/dist/vtc/badges/awards/share/0.1/payload.d.ts.map +1 -0
- package/dist/vtc/badges/awards/share/0.1/payload.js +406 -0
- package/dist/vtc/badges/awards/share/0.1/payload.js.map +1 -0
- package/dist/vtc/badges/awards/unshare/0.1/payload.d.ts +701 -0
- package/dist/vtc/badges/awards/unshare/0.1/payload.d.ts.map +1 -0
- package/dist/vtc/badges/awards/unshare/0.1/payload.js +406 -0
- package/dist/vtc/badges/awards/unshare/0.1/payload.js.map +1 -0
- package/dist/vtc/badges/awards/withdraw/0.1/payload.d.ts +118 -6
- package/dist/vtc/badges/awards/withdraw/0.1/payload.d.ts.map +1 -1
- package/dist/vtc/badges/awards/withdraw/0.1/payload.js +64 -2
- package/dist/vtc/badges/awards/withdraw/0.1/payload.js.map +1 -1
- package/dist/vtc/badges/kudos/give/0.1/payload.d.ts +118 -6
- package/dist/vtc/badges/kudos/give/0.1/payload.d.ts.map +1 -1
- package/dist/vtc/badges/kudos/give/0.1/payload.js +64 -2
- package/dist/vtc/badges/kudos/give/0.1/payload.js.map +1 -1
- package/dist/vtc/badges/kudos/list/0.1/payload.d.ts +118 -6
- package/dist/vtc/badges/kudos/list/0.1/payload.d.ts.map +1 -1
- package/dist/vtc/badges/kudos/list/0.1/payload.js +64 -2
- package/dist/vtc/badges/kudos/list/0.1/payload.js.map +1 -1
- package/dist/vtc/badges/mine/accept/0.1/payload.d.ts +118 -6
- package/dist/vtc/badges/mine/accept/0.1/payload.d.ts.map +1 -1
- package/dist/vtc/badges/mine/accept/0.1/payload.js +64 -2
- package/dist/vtc/badges/mine/accept/0.1/payload.js.map +1 -1
- package/dist/vtc/badges/mine/decline/0.1/payload.d.ts +118 -6
- package/dist/vtc/badges/mine/decline/0.1/payload.d.ts.map +1 -1
- package/dist/vtc/badges/mine/decline/0.1/payload.js +64 -2
- package/dist/vtc/badges/mine/decline/0.1/payload.js.map +1 -1
- package/dist/vtc/badges/mine/list/0.1/payload.d.ts +118 -6
- package/dist/vtc/badges/mine/list/0.1/payload.d.ts.map +1 -1
- package/dist/vtc/badges/mine/list/0.1/payload.js +64 -2
- package/dist/vtc/badges/mine/list/0.1/payload.js.map +1 -1
- package/dist/vtc/badges/show/0.1/payload.d.ts +472 -26
- package/dist/vtc/badges/show/0.1/payload.d.ts.map +1 -1
- package/dist/vtc/badges/show/0.1/payload.js +264 -12
- package/dist/vtc/badges/show/0.1/payload.js.map +1 -1
- package/package.json +1 -1
- package/src/_shared/components.ts +16 -1
- package/src/auth/step-up/requests/show/0.1/payload.ts +317 -0
- package/src/index.ts +9 -0
- package/src/vtc/badges/_shared/0.1/badge.ts +1 -1
- package/src/vtc/badges/awards/list/0.1/payload.ts +66 -4
- package/src/vtc/badges/awards/offer/0.1/payload.ts +66 -4
- package/src/vtc/badges/awards/revoke/0.1/payload.ts +66 -4
- package/src/vtc/badges/awards/share/0.1/payload.ts +446 -0
- package/src/vtc/badges/awards/unshare/0.1/payload.ts +446 -0
- package/src/vtc/badges/awards/withdraw/0.1/payload.ts +66 -4
- package/src/vtc/badges/kudos/give/0.1/payload.ts +66 -4
- package/src/vtc/badges/kudos/list/0.1/payload.ts +66 -4
- package/src/vtc/badges/mine/accept/0.1/payload.ts +66 -4
- package/src/vtc/badges/mine/decline/0.1/payload.ts +66 -4
- package/src/vtc/badges/mine/list/0.1/payload.ts +66 -4
- package/src/vtc/badges/show/0.1/payload.ts +272 -14
|
@@ -18,5 +18,5 @@ export interface BadgeSharedDefinitionsForTheVtcBadgesSpecFamily {
|
|
|
18
18
|
* The definitions this shared schema publishes, hoisted to one declaration each.
|
|
19
19
|
* See "../../../../_shared/components.js".
|
|
20
20
|
*/
|
|
21
|
-
export type { Award, AwardId, AwardNote, AwardState, Badge, BadgeCriteria, BadgeDescription, BadgeId, BadgeKind, BadgeLimits, BadgeName, BadgeSettings, BadgeState, KudosMakers, MyBadge, WallEntry, WallVisibility } from "../../../../_shared/components.js";
|
|
21
|
+
export type { Award, AwardId, AwardNote, AwardShare, AwardState, Badge, BadgeCriteria, BadgeDescription, BadgeId, BadgeKind, BadgeLimits, BadgeName, BadgeSettings, BadgeState, KudosMakers, MyBadge, WallEntry, WallVisibility } from "../../../../_shared/components.js";
|
|
22
22
|
//# sourceMappingURL=badge.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"badge.d.ts","sourceRoot":"","sources":["../../../../../src/vtc/badges/_shared/0.1/badge.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH;;;;;;;;GAQG;AACH,MAAM,WAAW,+CAA+C;IAC9D,CAAC,CAAC,EAAE,MAAM,GAAG,OAAO,GAAG,SAAS,CAAC;CAClC;AAED;;;GAGG;AACH,YAAY,EAAE,KAAK,EAAE,OAAO,EAAE,SAAS,EAAE,UAAU,EAAE,KAAK,EAAE,aAAa,EAAE,gBAAgB,EAAE,OAAO,EAAE,SAAS,EAAE,WAAW,EAAE,SAAS,EAAE,aAAa,EAAE,UAAU,EAAE,WAAW,EAAE,OAAO,EAAE,SAAS,EAAE,cAAc,EAAE,MAAM,mCAAmC,CAAC"}
|
|
1
|
+
{"version":3,"file":"badge.d.ts","sourceRoot":"","sources":["../../../../../src/vtc/badges/_shared/0.1/badge.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH;;;;;;;;GAQG;AACH,MAAM,WAAW,+CAA+C;IAC9D,CAAC,CAAC,EAAE,MAAM,GAAG,OAAO,GAAG,SAAS,CAAC;CAClC;AAED;;;GAGG;AACH,YAAY,EAAE,KAAK,EAAE,OAAO,EAAE,SAAS,EAAE,UAAU,EAAE,UAAU,EAAE,KAAK,EAAE,aAAa,EAAE,gBAAgB,EAAE,OAAO,EAAE,SAAS,EAAE,WAAW,EAAE,SAAS,EAAE,aAAa,EAAE,UAAU,EAAE,WAAW,EAAE,OAAO,EAAE,SAAS,EAAE,cAAc,EAAE,MAAM,mCAAmC,CAAC"}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Generated by scripts/build-ts-bindings.mjs — DO NOT EDIT BY HAND.
|
|
3
3
|
* Source: specs/vtc/badges/awards/list/0.1/payload.schema.json
|
|
4
4
|
*/
|
|
5
|
-
import type { Award, AwardId, AwardNote, AwardState, BadgeId, CardBlobRef, EntryFields, EntryId, Ext, FieldValue, GroupCredentialId, VerifiedValue } from "../../../../../_shared/components.js";
|
|
5
|
+
import type { Award, AwardId, AwardNote, AwardShare, AwardState, BadgeId, CardBlobRef, EntryFields, EntryId, Ext, FieldValue, GroupCredentialId, VerifiedValue } from "../../../../../_shared/components.js";
|
|
6
6
|
/**
|
|
7
7
|
* The owners' view of a badge: every award of it, a page at a time, each recipient projected as the directory projects them and marked where they hid the badge. The outer document members are owned by the framework — SPEC §6.3.
|
|
8
8
|
*/
|
|
@@ -53,7 +53,7 @@ export interface VTCBadgesAwardsListResponsePayload {
|
|
|
53
53
|
ext?: Ext;
|
|
54
54
|
}
|
|
55
55
|
/** Shared definitions this specification references, re-exported under the names it used to declare them with. */
|
|
56
|
-
export type { Award, AwardId, AwardNote, AwardState, BadgeId, CardBlobRef, EntryFields, EntryId, Ext, FieldValue, GroupCredentialId, VerifiedValue };
|
|
56
|
+
export type { Award, AwardId, AwardNote, AwardShare, AwardState, BadgeId, CardBlobRef, EntryFields, EntryId, Ext, FieldValue, GroupCredentialId, VerifiedValue };
|
|
57
57
|
/** Trust Task type URI. */
|
|
58
58
|
export declare const TYPE_URI: "https://trusttasks.org/spec/vtc/badges/awards/list/0.1";
|
|
59
59
|
/**
|
|
@@ -294,7 +294,7 @@ export declare const PAYLOAD_SCHEMA: {
|
|
|
294
294
|
};
|
|
295
295
|
readonly Award: {
|
|
296
296
|
readonly title: "Award";
|
|
297
|
-
readonly description: "One giving of a badge to one member. `givenBy` is the giver's directory entry, absent for an award a dynamic badge group's rule made. `note` is shown to the recipient, the giver, the badge's owners and administrators, never to other members. `credentialId` is present on an accepted award of a community badge: the badge credential that evidences it, renewed or re-issued as the badge's regime requires.";
|
|
297
|
+
readonly description: "One giving of a badge to one member. `givenBy` is the giver's directory entry, absent for an award a dynamic badge group's rule made. `note` is shown to the recipient, the giver, the badge's owners and administrators, never to other members. `credentialId` is present on an accepted award of a community badge: the badge credential that evidences it, renewed or re-issued as the badge's regime requires. `shared` is present on an accepted award of a badge its holders may show outside while its holder shares it (vtc/badges/awards/share).";
|
|
298
298
|
readonly type: "object";
|
|
299
299
|
readonly additionalProperties: false;
|
|
300
300
|
readonly required: readonly ["awardId", "badgeId", "entryId", "state", "offeredAt"];
|
|
@@ -335,11 +335,39 @@ export declare const PAYLOAD_SCHEMA: {
|
|
|
335
335
|
readonly credentialId: {
|
|
336
336
|
readonly $ref: "#/$defs/GroupCredentialId";
|
|
337
337
|
};
|
|
338
|
+
readonly shared: {
|
|
339
|
+
readonly $ref: "#/$defs/AwardShare";
|
|
340
|
+
};
|
|
338
341
|
readonly ext: {
|
|
339
342
|
readonly $ref: "#/$defs/Ext";
|
|
340
343
|
};
|
|
341
344
|
};
|
|
342
345
|
};
|
|
346
|
+
readonly AwardShare: {
|
|
347
|
+
readonly title: "AwardShare";
|
|
348
|
+
readonly description: "Where an accepted award is shown outside the community, by its holder's choice (VTI-BDG-070): the public location that answers a verification of exactly what the credential says, the baked image where the community serves one, and since when. Present only while the holder shares the award; absent once they stop, the award is taken back, the badge is retired or the holder departs. The locations are unguessable and name no other holder (VTI-BDG-071).";
|
|
349
|
+
readonly type: "object";
|
|
350
|
+
readonly additionalProperties: false;
|
|
351
|
+
readonly required: readonly ["verificationUrl", "since"];
|
|
352
|
+
readonly properties: {
|
|
353
|
+
readonly verificationUrl: {
|
|
354
|
+
readonly type: "string";
|
|
355
|
+
readonly format: "uri";
|
|
356
|
+
readonly maxLength: 2048;
|
|
357
|
+
readonly description: "The public location that answers the credential and a verification of it.";
|
|
358
|
+
};
|
|
359
|
+
readonly bakedImageUrl: {
|
|
360
|
+
readonly type: "string";
|
|
361
|
+
readonly format: "uri";
|
|
362
|
+
readonly maxLength: 2048;
|
|
363
|
+
readonly description: "The badge's picture with the credential baked into it, for a website or an email signature. Absent where the community serves no baked image.";
|
|
364
|
+
};
|
|
365
|
+
readonly since: {
|
|
366
|
+
readonly type: "string";
|
|
367
|
+
readonly format: "date-time";
|
|
368
|
+
};
|
|
369
|
+
};
|
|
370
|
+
};
|
|
343
371
|
readonly AwardState: {
|
|
344
372
|
readonly title: "AwardState";
|
|
345
373
|
readonly description: "`offered`: waiting for the recipient. `accepted`: the recipient took it; for a community badge the credential was issued and the membership recorded. `declined`: the recipient declined; nothing was recorded in the group and nothing issued. `withdrawn`: the giver withdrew the offer before a decision. `expired`: the offer lapsed unanswered. `revoked`: taken back after acceptance (VTI-BDG-023).";
|
|
@@ -557,7 +585,7 @@ export declare const RESPONSE_PAYLOAD_SCHEMA: {
|
|
|
557
585
|
};
|
|
558
586
|
readonly Award: {
|
|
559
587
|
readonly title: "Award";
|
|
560
|
-
readonly description: "One giving of a badge to one member. `givenBy` is the giver's directory entry, absent for an award a dynamic badge group's rule made. `note` is shown to the recipient, the giver, the badge's owners and administrators, never to other members. `credentialId` is present on an accepted award of a community badge: the badge credential that evidences it, renewed or re-issued as the badge's regime requires.";
|
|
588
|
+
readonly description: "One giving of a badge to one member. `givenBy` is the giver's directory entry, absent for an award a dynamic badge group's rule made. `note` is shown to the recipient, the giver, the badge's owners and administrators, never to other members. `credentialId` is present on an accepted award of a community badge: the badge credential that evidences it, renewed or re-issued as the badge's regime requires. `shared` is present on an accepted award of a badge its holders may show outside while its holder shares it (vtc/badges/awards/share).";
|
|
561
589
|
readonly type: "object";
|
|
562
590
|
readonly additionalProperties: false;
|
|
563
591
|
readonly required: readonly ["awardId", "badgeId", "entryId", "state", "offeredAt"];
|
|
@@ -598,11 +626,39 @@ export declare const RESPONSE_PAYLOAD_SCHEMA: {
|
|
|
598
626
|
readonly credentialId: {
|
|
599
627
|
readonly $ref: "#/$defs/GroupCredentialId";
|
|
600
628
|
};
|
|
629
|
+
readonly shared: {
|
|
630
|
+
readonly $ref: "#/$defs/AwardShare";
|
|
631
|
+
};
|
|
601
632
|
readonly ext: {
|
|
602
633
|
readonly $ref: "#/$defs/Ext";
|
|
603
634
|
};
|
|
604
635
|
};
|
|
605
636
|
};
|
|
637
|
+
readonly AwardShare: {
|
|
638
|
+
readonly title: "AwardShare";
|
|
639
|
+
readonly description: "Where an accepted award is shown outside the community, by its holder's choice (VTI-BDG-070): the public location that answers a verification of exactly what the credential says, the baked image where the community serves one, and since when. Present only while the holder shares the award; absent once they stop, the award is taken back, the badge is retired or the holder departs. The locations are unguessable and name no other holder (VTI-BDG-071).";
|
|
640
|
+
readonly type: "object";
|
|
641
|
+
readonly additionalProperties: false;
|
|
642
|
+
readonly required: readonly ["verificationUrl", "since"];
|
|
643
|
+
readonly properties: {
|
|
644
|
+
readonly verificationUrl: {
|
|
645
|
+
readonly type: "string";
|
|
646
|
+
readonly format: "uri";
|
|
647
|
+
readonly maxLength: 2048;
|
|
648
|
+
readonly description: "The public location that answers the credential and a verification of it.";
|
|
649
|
+
};
|
|
650
|
+
readonly bakedImageUrl: {
|
|
651
|
+
readonly type: "string";
|
|
652
|
+
readonly format: "uri";
|
|
653
|
+
readonly maxLength: 2048;
|
|
654
|
+
readonly description: "The badge's picture with the credential baked into it, for a website or an email signature. Absent where the community serves no baked image.";
|
|
655
|
+
};
|
|
656
|
+
readonly since: {
|
|
657
|
+
readonly type: "string";
|
|
658
|
+
readonly format: "date-time";
|
|
659
|
+
};
|
|
660
|
+
};
|
|
661
|
+
};
|
|
606
662
|
readonly AwardState: {
|
|
607
663
|
readonly title: "AwardState";
|
|
608
664
|
readonly description: "`offered`: waiting for the recipient. `accepted`: the recipient took it; for a community badge the credential was issued and the membership recorded. `declined`: the recipient declined; nothing was recorded in the group and nothing issued. `withdrawn`: the giver withdrew the offer before a decision. `expired`: the offer lapsed unanswered. `revoked`: taken back after acceptance (VTI-BDG-023).";
|
|
@@ -864,7 +920,7 @@ export declare const SPEC: {
|
|
|
864
920
|
};
|
|
865
921
|
readonly Award: {
|
|
866
922
|
readonly title: "Award";
|
|
867
|
-
readonly description: "One giving of a badge to one member. `givenBy` is the giver's directory entry, absent for an award a dynamic badge group's rule made. `note` is shown to the recipient, the giver, the badge's owners and administrators, never to other members. `credentialId` is present on an accepted award of a community badge: the badge credential that evidences it, renewed or re-issued as the badge's regime requires.";
|
|
923
|
+
readonly description: "One giving of a badge to one member. `givenBy` is the giver's directory entry, absent for an award a dynamic badge group's rule made. `note` is shown to the recipient, the giver, the badge's owners and administrators, never to other members. `credentialId` is present on an accepted award of a community badge: the badge credential that evidences it, renewed or re-issued as the badge's regime requires. `shared` is present on an accepted award of a badge its holders may show outside while its holder shares it (vtc/badges/awards/share).";
|
|
868
924
|
readonly type: "object";
|
|
869
925
|
readonly additionalProperties: false;
|
|
870
926
|
readonly required: readonly ["awardId", "badgeId", "entryId", "state", "offeredAt"];
|
|
@@ -905,11 +961,39 @@ export declare const SPEC: {
|
|
|
905
961
|
readonly credentialId: {
|
|
906
962
|
readonly $ref: "#/$defs/GroupCredentialId";
|
|
907
963
|
};
|
|
964
|
+
readonly shared: {
|
|
965
|
+
readonly $ref: "#/$defs/AwardShare";
|
|
966
|
+
};
|
|
908
967
|
readonly ext: {
|
|
909
968
|
readonly $ref: "#/$defs/Ext";
|
|
910
969
|
};
|
|
911
970
|
};
|
|
912
971
|
};
|
|
972
|
+
readonly AwardShare: {
|
|
973
|
+
readonly title: "AwardShare";
|
|
974
|
+
readonly description: "Where an accepted award is shown outside the community, by its holder's choice (VTI-BDG-070): the public location that answers a verification of exactly what the credential says, the baked image where the community serves one, and since when. Present only while the holder shares the award; absent once they stop, the award is taken back, the badge is retired or the holder departs. The locations are unguessable and name no other holder (VTI-BDG-071).";
|
|
975
|
+
readonly type: "object";
|
|
976
|
+
readonly additionalProperties: false;
|
|
977
|
+
readonly required: readonly ["verificationUrl", "since"];
|
|
978
|
+
readonly properties: {
|
|
979
|
+
readonly verificationUrl: {
|
|
980
|
+
readonly type: "string";
|
|
981
|
+
readonly format: "uri";
|
|
982
|
+
readonly maxLength: 2048;
|
|
983
|
+
readonly description: "The public location that answers the credential and a verification of it.";
|
|
984
|
+
};
|
|
985
|
+
readonly bakedImageUrl: {
|
|
986
|
+
readonly type: "string";
|
|
987
|
+
readonly format: "uri";
|
|
988
|
+
readonly maxLength: 2048;
|
|
989
|
+
readonly description: "The badge's picture with the credential baked into it, for a website or an email signature. Absent where the community serves no baked image.";
|
|
990
|
+
};
|
|
991
|
+
readonly since: {
|
|
992
|
+
readonly type: "string";
|
|
993
|
+
readonly format: "date-time";
|
|
994
|
+
};
|
|
995
|
+
};
|
|
996
|
+
};
|
|
913
997
|
readonly AwardState: {
|
|
914
998
|
readonly title: "AwardState";
|
|
915
999
|
readonly description: "`offered`: waiting for the recipient. `accepted`: the recipient took it; for a community badge the credential was issued and the membership recorded. `declined`: the recipient declined; nothing was recorded in the group and nothing issued. `withdrawn`: the giver withdrew the offer before a decision. `expired`: the offer lapsed unanswered. `revoked`: taken back after acceptance (VTI-BDG-023).";
|
|
@@ -1138,7 +1222,7 @@ export declare const RESPONSE_SPEC: {
|
|
|
1138
1222
|
};
|
|
1139
1223
|
readonly Award: {
|
|
1140
1224
|
readonly title: "Award";
|
|
1141
|
-
readonly description: "One giving of a badge to one member. `givenBy` is the giver's directory entry, absent for an award a dynamic badge group's rule made. `note` is shown to the recipient, the giver, the badge's owners and administrators, never to other members. `credentialId` is present on an accepted award of a community badge: the badge credential that evidences it, renewed or re-issued as the badge's regime requires.";
|
|
1225
|
+
readonly description: "One giving of a badge to one member. `givenBy` is the giver's directory entry, absent for an award a dynamic badge group's rule made. `note` is shown to the recipient, the giver, the badge's owners and administrators, never to other members. `credentialId` is present on an accepted award of a community badge: the badge credential that evidences it, renewed or re-issued as the badge's regime requires. `shared` is present on an accepted award of a badge its holders may show outside while its holder shares it (vtc/badges/awards/share).";
|
|
1142
1226
|
readonly type: "object";
|
|
1143
1227
|
readonly additionalProperties: false;
|
|
1144
1228
|
readonly required: readonly ["awardId", "badgeId", "entryId", "state", "offeredAt"];
|
|
@@ -1179,11 +1263,39 @@ export declare const RESPONSE_SPEC: {
|
|
|
1179
1263
|
readonly credentialId: {
|
|
1180
1264
|
readonly $ref: "#/$defs/GroupCredentialId";
|
|
1181
1265
|
};
|
|
1266
|
+
readonly shared: {
|
|
1267
|
+
readonly $ref: "#/$defs/AwardShare";
|
|
1268
|
+
};
|
|
1182
1269
|
readonly ext: {
|
|
1183
1270
|
readonly $ref: "#/$defs/Ext";
|
|
1184
1271
|
};
|
|
1185
1272
|
};
|
|
1186
1273
|
};
|
|
1274
|
+
readonly AwardShare: {
|
|
1275
|
+
readonly title: "AwardShare";
|
|
1276
|
+
readonly description: "Where an accepted award is shown outside the community, by its holder's choice (VTI-BDG-070): the public location that answers a verification of exactly what the credential says, the baked image where the community serves one, and since when. Present only while the holder shares the award; absent once they stop, the award is taken back, the badge is retired or the holder departs. The locations are unguessable and name no other holder (VTI-BDG-071).";
|
|
1277
|
+
readonly type: "object";
|
|
1278
|
+
readonly additionalProperties: false;
|
|
1279
|
+
readonly required: readonly ["verificationUrl", "since"];
|
|
1280
|
+
readonly properties: {
|
|
1281
|
+
readonly verificationUrl: {
|
|
1282
|
+
readonly type: "string";
|
|
1283
|
+
readonly format: "uri";
|
|
1284
|
+
readonly maxLength: 2048;
|
|
1285
|
+
readonly description: "The public location that answers the credential and a verification of it.";
|
|
1286
|
+
};
|
|
1287
|
+
readonly bakedImageUrl: {
|
|
1288
|
+
readonly type: "string";
|
|
1289
|
+
readonly format: "uri";
|
|
1290
|
+
readonly maxLength: 2048;
|
|
1291
|
+
readonly description: "The badge's picture with the credential baked into it, for a website or an email signature. Absent where the community serves no baked image.";
|
|
1292
|
+
};
|
|
1293
|
+
readonly since: {
|
|
1294
|
+
readonly type: "string";
|
|
1295
|
+
readonly format: "date-time";
|
|
1296
|
+
};
|
|
1297
|
+
};
|
|
1298
|
+
};
|
|
1187
1299
|
readonly AwardState: {
|
|
1188
1300
|
readonly title: "AwardState";
|
|
1189
1301
|
readonly description: "`offered`: waiting for the recipient. `accepted`: the recipient took it; for a community badge the credential was issued and the membership recorded. `declined`: the recipient declined; nothing was recorded in the group and nothing issued. `withdrawn`: the giver withdrew the offer before a decision. `expired`: the offer lapsed unanswered. `revoked`: taken back after acceptance (VTI-BDG-023).";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"payload.d.ts","sourceRoot":"","sources":["../../../../../../src/vtc/badges/awards/list/0.1/payload.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,EAAE,KAAK,EAAE,OAAO,EAAE,SAAS,EAAE,UAAU,EAAE,OAAO,EAAE,WAAW,EAAE,WAAW,EAAE,OAAO,EAAE,GAAG,EAAE,UAAU,EAAE,iBAAiB,EAAE,aAAa,EAAE,MAAM,sCAAsC,CAAC;
|
|
1
|
+
{"version":3,"file":"payload.d.ts","sourceRoot":"","sources":["../../../../../../src/vtc/badges/awards/list/0.1/payload.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,EAAE,KAAK,EAAE,OAAO,EAAE,SAAS,EAAE,UAAU,EAAE,UAAU,EAAE,OAAO,EAAE,WAAW,EAAE,WAAW,EAAE,OAAO,EAAE,GAAG,EAAE,UAAU,EAAE,iBAAiB,EAAE,aAAa,EAAE,MAAM,sCAAsC,CAAC;AAG7M;;GAEG;AACH,MAAM,WAAW,0BAA0B;IACzC,OAAO,EAAE,OAAO,CAAC;IACjB;;OAEG;IACH,KAAK,CAAC,EAAE,UAAU,CAAC;IACnB;;OAEG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,GAAG,CAAC,EAAE,GAAG,CAAC;CACX;AACD;;GAEG;AACH,MAAM,WAAW,kCAAkC;IACjD;;;;OAIG;IACH,KAAK,EAAE;QACL,KAAK,EAAE,KAAK,CAAC;QACb;;WAEG;QACH,MAAM,EAAE,OAAO,CAAC;QAChB;;WAEG;QACH,MAAM,CAAC,EAAE,WAAW,CAAC;KACtB,EAAE,CAAC;IACJ;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,GA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the giver's directory entry, absent for an award a dynamic badge group's rule made. `note` is shown to the recipient, the giver, the badge's owners and administrators, never to other members. `credentialId` is present on an accepted award of a community badge: the badge credential that evidences it, renewed or re-issued as the badge's regime requires.",
|
|
270
|
+
"description": "One giving of a badge to one member. `givenBy` is the giver's directory entry, absent for an award a dynamic badge group's rule made. `note` is shown to the recipient, the giver, the badge's owners and administrators, never to other members. `credentialId` is present on an accepted award of a community badge: the badge credential that evidences it, renewed or re-issued as the badge's regime requires. `shared` is present on an accepted award of a badge its holders may show outside while its holder shares it (vtc/badges/awards/share).",
|
|
271
271
|
"type": "object",
|
|
272
272
|
"additionalProperties": false,
|
|
273
273
|
"required": [
|
|
@@ -314,11 +314,42 @@ export const PAYLOAD_SCHEMA = {
|
|
|
314
314
|
"credentialId": {
|
|
315
315
|
"$ref": "#/$defs/GroupCredentialId"
|
|
316
316
|
},
|
|
317
|
+
"shared": {
|
|
318
|
+
"$ref": "#/$defs/AwardShare"
|
|
319
|
+
},
|
|
317
320
|
"ext": {
|
|
318
321
|
"$ref": "#/$defs/Ext"
|
|
319
322
|
}
|
|
320
323
|
}
|
|
321
324
|
},
|
|
325
|
+
"AwardShare": {
|
|
326
|
+
"title": "AwardShare",
|
|
327
|
+
"description": "Where an accepted award is shown outside the community, by its holder's choice (VTI-BDG-070): the public location that answers a verification of exactly what the credential says, the baked image where the community serves one, and since when. Present only while the holder shares the award; absent once they stop, the award is taken back, the badge is retired or the holder departs. The locations are unguessable and name no other holder (VTI-BDG-071).",
|
|
328
|
+
"type": "object",
|
|
329
|
+
"additionalProperties": false,
|
|
330
|
+
"required": [
|
|
331
|
+
"verificationUrl",
|
|
332
|
+
"since"
|
|
333
|
+
],
|
|
334
|
+
"properties": {
|
|
335
|
+
"verificationUrl": {
|
|
336
|
+
"type": "string",
|
|
337
|
+
"format": "uri",
|
|
338
|
+
"maxLength": 2048,
|
|
339
|
+
"description": "The public location that answers the credential and a verification of it."
|
|
340
|
+
},
|
|
341
|
+
"bakedImageUrl": {
|
|
342
|
+
"type": "string",
|
|
343
|
+
"format": "uri",
|
|
344
|
+
"maxLength": 2048,
|
|
345
|
+
"description": "The badge's picture with the credential baked into it, for a website or an email signature. Absent where the community serves no baked image."
|
|
346
|
+
},
|
|
347
|
+
"since": {
|
|
348
|
+
"type": "string",
|
|
349
|
+
"format": "date-time"
|
|
350
|
+
}
|
|
351
|
+
}
|
|
352
|
+
},
|
|
322
353
|
"AwardState": {
|
|
323
354
|
"title": "AwardState",
|
|
324
355
|
"description": "`offered`: waiting for the recipient. `accepted`: the recipient took it; for a community badge the credential was issued and the membership recorded. `declined`: the recipient declined; nothing was recorded in the group and nothing issued. `withdrawn`: the giver withdrew the offer before a decision. `expired`: the offer lapsed unanswered. `revoked`: taken back after acceptance (VTI-BDG-023).",
|
|
@@ -570,7 +601,7 @@ export const RESPONSE_PAYLOAD_SCHEMA = {
|
|
|
570
601
|
},
|
|
571
602
|
"Award": {
|
|
572
603
|
"title": "Award",
|
|
573
|
-
"description": "One giving of a badge to one member. `givenBy` is the giver's directory entry, absent for an award a dynamic badge group's rule made. `note` is shown to the recipient, the giver, the badge's owners and administrators, never to other members. `credentialId` is present on an accepted award of a community badge: the badge credential that evidences it, renewed or re-issued as the badge's regime requires.",
|
|
604
|
+
"description": "One giving of a badge to one member. `givenBy` is the giver's directory entry, absent for an award a dynamic badge group's rule made. `note` is shown to the recipient, the giver, the badge's owners and administrators, never to other members. `credentialId` is present on an accepted award of a community badge: the badge credential that evidences it, renewed or re-issued as the badge's regime requires. `shared` is present on an accepted award of a badge its holders may show outside while its holder shares it (vtc/badges/awards/share).",
|
|
574
605
|
"type": "object",
|
|
575
606
|
"additionalProperties": false,
|
|
576
607
|
"required": [
|
|
@@ -617,11 +648,42 @@ export const RESPONSE_PAYLOAD_SCHEMA = {
|
|
|
617
648
|
"credentialId": {
|
|
618
649
|
"$ref": "#/$defs/GroupCredentialId"
|
|
619
650
|
},
|
|
651
|
+
"shared": {
|
|
652
|
+
"$ref": "#/$defs/AwardShare"
|
|
653
|
+
},
|
|
620
654
|
"ext": {
|
|
621
655
|
"$ref": "#/$defs/Ext"
|
|
622
656
|
}
|
|
623
657
|
}
|
|
624
658
|
},
|
|
659
|
+
"AwardShare": {
|
|
660
|
+
"title": "AwardShare",
|
|
661
|
+
"description": "Where an accepted award is shown outside the community, by its holder's choice (VTI-BDG-070): the public location that answers a verification of exactly what the credential says, the baked image where the community serves one, and since when. Present only while the holder shares the award; absent once they stop, the award is taken back, the badge is retired or the holder departs. The locations are unguessable and name no other holder (VTI-BDG-071).",
|
|
662
|
+
"type": "object",
|
|
663
|
+
"additionalProperties": false,
|
|
664
|
+
"required": [
|
|
665
|
+
"verificationUrl",
|
|
666
|
+
"since"
|
|
667
|
+
],
|
|
668
|
+
"properties": {
|
|
669
|
+
"verificationUrl": {
|
|
670
|
+
"type": "string",
|
|
671
|
+
"format": "uri",
|
|
672
|
+
"maxLength": 2048,
|
|
673
|
+
"description": "The public location that answers the credential and a verification of it."
|
|
674
|
+
},
|
|
675
|
+
"bakedImageUrl": {
|
|
676
|
+
"type": "string",
|
|
677
|
+
"format": "uri",
|
|
678
|
+
"maxLength": 2048,
|
|
679
|
+
"description": "The badge's picture with the credential baked into it, for a website or an email signature. Absent where the community serves no baked image."
|
|
680
|
+
},
|
|
681
|
+
"since": {
|
|
682
|
+
"type": "string",
|
|
683
|
+
"format": "date-time"
|
|
684
|
+
}
|
|
685
|
+
}
|
|
686
|
+
},
|
|
625
687
|
"AwardState": {
|
|
626
688
|
"title": "AwardState",
|
|
627
689
|
"description": "`offered`: waiting for the recipient. `accepted`: the recipient took it; for a community badge the credential was issued and the membership recorded. `declined`: the recipient declined; nothing was recorded in the group and nothing issued. `withdrawn`: the giver withdrew the offer before a decision. `expired`: the offer lapsed unanswered. `revoked`: taken back after acceptance (VTI-BDG-023).",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"payload.js","sourceRoot":"","sources":["../../../../../../src/vtc/badges/awards/list/0.1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e,EAAE,IAAI;IACrB,mBAAmB,EAAE,IAAI;IACzB,kBAAkB,EAAE,KAAK;IACzB,aAAa,EAAE,cAAc;CACrB,CAAC;AAEX;;;;GAIG;AACH,MAAM,CAAC,MAAM,aAAa,GAAG;IAC3B,OAAO,EAAE,iBAAiB;IAC1B,QAAQ,EAAE,KAAK;IACf,eAAe,EAAE,IAAI;IACrB,mBAAmB,EAAE,IAAI;IACzB,kBAAkB,EAAE,KAAK;IACzB,aAAa,EAAE,uBAAuB;CAC9B,CAAC"}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Generated by scripts/build-ts-bindings.mjs — DO NOT EDIT BY HAND.
|
|
3
3
|
* Source: specs/vtc/badges/awards/offer/0.1/payload.schema.json
|
|
4
4
|
*/
|
|
5
|
-
import type { Award, AwardId, AwardNote, AwardState, BadgeId, EntryId, Ext, GroupCredentialId, GroupId } from "../../../../../_shared/components.js";
|
|
5
|
+
import type { Award, AwardId, AwardNote, AwardShare, AwardState, BadgeId, EntryId, Ext, GroupCredentialId, GroupId } from "../../../../../_shared/components.js";
|
|
6
6
|
/**
|
|
7
7
|
* A badge's owner offers a community badge to one or more members, or to every member of a group. Each offer is an award in state `offered` that the member accepts or declines; nothing is admitted or issued until they accept. The outer document members are owned by the framework — SPEC §6.3.
|
|
8
8
|
*/
|
|
@@ -52,7 +52,7 @@ export interface VTCBadgesAwardsOfferResponsePayload {
|
|
|
52
52
|
ext?: Ext;
|
|
53
53
|
}
|
|
54
54
|
/** Shared definitions this specification references, re-exported under the names it used to declare them with. */
|
|
55
|
-
export type { Award, AwardId, AwardNote, AwardState, BadgeId, EntryId, Ext, GroupCredentialId, GroupId };
|
|
55
|
+
export type { Award, AwardId, AwardNote, AwardShare, AwardState, BadgeId, EntryId, Ext, GroupCredentialId, GroupId };
|
|
56
56
|
/** Trust Task type URI. */
|
|
57
57
|
export declare const TYPE_URI: "https://trusttasks.org/spec/vtc/badges/awards/offer/0.1";
|
|
58
58
|
/**
|
|
@@ -189,7 +189,7 @@ export declare const PAYLOAD_SCHEMA: {
|
|
|
189
189
|
};
|
|
190
190
|
readonly Award: {
|
|
191
191
|
readonly title: "Award";
|
|
192
|
-
readonly description: "One giving of a badge to one member. `givenBy` is the giver's directory entry, absent for an award a dynamic badge group's rule made. `note` is shown to the recipient, the giver, the badge's owners and administrators, never to other members. `credentialId` is present on an accepted award of a community badge: the badge credential that evidences it, renewed or re-issued as the badge's regime requires.";
|
|
192
|
+
readonly description: "One giving of a badge to one member. `givenBy` is the giver's directory entry, absent for an award a dynamic badge group's rule made. `note` is shown to the recipient, the giver, the badge's owners and administrators, never to other members. `credentialId` is present on an accepted award of a community badge: the badge credential that evidences it, renewed or re-issued as the badge's regime requires. `shared` is present on an accepted award of a badge its holders may show outside while its holder shares it (vtc/badges/awards/share).";
|
|
193
193
|
readonly type: "object";
|
|
194
194
|
readonly additionalProperties: false;
|
|
195
195
|
readonly required: readonly ["awardId", "badgeId", "entryId", "state", "offeredAt"];
|
|
@@ -230,11 +230,39 @@ export declare const PAYLOAD_SCHEMA: {
|
|
|
230
230
|
readonly credentialId: {
|
|
231
231
|
readonly $ref: "#/$defs/GroupCredentialId";
|
|
232
232
|
};
|
|
233
|
+
readonly shared: {
|
|
234
|
+
readonly $ref: "#/$defs/AwardShare";
|
|
235
|
+
};
|
|
233
236
|
readonly ext: {
|
|
234
237
|
readonly $ref: "#/$defs/Ext";
|
|
235
238
|
};
|
|
236
239
|
};
|
|
237
240
|
};
|
|
241
|
+
readonly AwardShare: {
|
|
242
|
+
readonly title: "AwardShare";
|
|
243
|
+
readonly description: "Where an accepted award is shown outside the community, by its holder's choice (VTI-BDG-070): the public location that answers a verification of exactly what the credential says, the baked image where the community serves one, and since when. Present only while the holder shares the award; absent once they stop, the award is taken back, the badge is retired or the holder departs. The locations are unguessable and name no other holder (VTI-BDG-071).";
|
|
244
|
+
readonly type: "object";
|
|
245
|
+
readonly additionalProperties: false;
|
|
246
|
+
readonly required: readonly ["verificationUrl", "since"];
|
|
247
|
+
readonly properties: {
|
|
248
|
+
readonly verificationUrl: {
|
|
249
|
+
readonly type: "string";
|
|
250
|
+
readonly format: "uri";
|
|
251
|
+
readonly maxLength: 2048;
|
|
252
|
+
readonly description: "The public location that answers the credential and a verification of it.";
|
|
253
|
+
};
|
|
254
|
+
readonly bakedImageUrl: {
|
|
255
|
+
readonly type: "string";
|
|
256
|
+
readonly format: "uri";
|
|
257
|
+
readonly maxLength: 2048;
|
|
258
|
+
readonly description: "The badge's picture with the credential baked into it, for a website or an email signature. Absent where the community serves no baked image.";
|
|
259
|
+
};
|
|
260
|
+
readonly since: {
|
|
261
|
+
readonly type: "string";
|
|
262
|
+
readonly format: "date-time";
|
|
263
|
+
};
|
|
264
|
+
};
|
|
265
|
+
};
|
|
238
266
|
readonly AwardState: {
|
|
239
267
|
readonly title: "AwardState";
|
|
240
268
|
readonly description: "`offered`: waiting for the recipient. `accepted`: the recipient took it; for a community badge the credential was issued and the membership recorded. `declined`: the recipient declined; nothing was recorded in the group and nothing issued. `withdrawn`: the giver withdrew the offer before a decision. `expired`: the offer lapsed unanswered. `revoked`: taken back after acceptance (VTI-BDG-023).";
|
|
@@ -339,7 +367,7 @@ export declare const RESPONSE_PAYLOAD_SCHEMA: {
|
|
|
339
367
|
};
|
|
340
368
|
readonly Award: {
|
|
341
369
|
readonly title: "Award";
|
|
342
|
-
readonly description: "One giving of a badge to one member. `givenBy` is the giver's directory entry, absent for an award a dynamic badge group's rule made. `note` is shown to the recipient, the giver, the badge's owners and administrators, never to other members. `credentialId` is present on an accepted award of a community badge: the badge credential that evidences it, renewed or re-issued as the badge's regime requires.";
|
|
370
|
+
readonly description: "One giving of a badge to one member. `givenBy` is the giver's directory entry, absent for an award a dynamic badge group's rule made. `note` is shown to the recipient, the giver, the badge's owners and administrators, never to other members. `credentialId` is present on an accepted award of a community badge: the badge credential that evidences it, renewed or re-issued as the badge's regime requires. `shared` is present on an accepted award of a badge its holders may show outside while its holder shares it (vtc/badges/awards/share).";
|
|
343
371
|
readonly type: "object";
|
|
344
372
|
readonly additionalProperties: false;
|
|
345
373
|
readonly required: readonly ["awardId", "badgeId", "entryId", "state", "offeredAt"];
|
|
@@ -380,11 +408,39 @@ export declare const RESPONSE_PAYLOAD_SCHEMA: {
|
|
|
380
408
|
readonly credentialId: {
|
|
381
409
|
readonly $ref: "#/$defs/GroupCredentialId";
|
|
382
410
|
};
|
|
411
|
+
readonly shared: {
|
|
412
|
+
readonly $ref: "#/$defs/AwardShare";
|
|
413
|
+
};
|
|
383
414
|
readonly ext: {
|
|
384
415
|
readonly $ref: "#/$defs/Ext";
|
|
385
416
|
};
|
|
386
417
|
};
|
|
387
418
|
};
|
|
419
|
+
readonly AwardShare: {
|
|
420
|
+
readonly title: "AwardShare";
|
|
421
|
+
readonly description: "Where an accepted award is shown outside the community, by its holder's choice (VTI-BDG-070): the public location that answers a verification of exactly what the credential says, the baked image where the community serves one, and since when. Present only while the holder shares the award; absent once they stop, the award is taken back, the badge is retired or the holder departs. The locations are unguessable and name no other holder (VTI-BDG-071).";
|
|
422
|
+
readonly type: "object";
|
|
423
|
+
readonly additionalProperties: false;
|
|
424
|
+
readonly required: readonly ["verificationUrl", "since"];
|
|
425
|
+
readonly properties: {
|
|
426
|
+
readonly verificationUrl: {
|
|
427
|
+
readonly type: "string";
|
|
428
|
+
readonly format: "uri";
|
|
429
|
+
readonly maxLength: 2048;
|
|
430
|
+
readonly description: "The public location that answers the credential and a verification of it.";
|
|
431
|
+
};
|
|
432
|
+
readonly bakedImageUrl: {
|
|
433
|
+
readonly type: "string";
|
|
434
|
+
readonly format: "uri";
|
|
435
|
+
readonly maxLength: 2048;
|
|
436
|
+
readonly description: "The badge's picture with the credential baked into it, for a website or an email signature. Absent where the community serves no baked image.";
|
|
437
|
+
};
|
|
438
|
+
readonly since: {
|
|
439
|
+
readonly type: "string";
|
|
440
|
+
readonly format: "date-time";
|
|
441
|
+
};
|
|
442
|
+
};
|
|
443
|
+
};
|
|
388
444
|
readonly AwardState: {
|
|
389
445
|
readonly title: "AwardState";
|
|
390
446
|
readonly description: "`offered`: waiting for the recipient. `accepted`: the recipient took it; for a community badge the credential was issued and the membership recorded. `declined`: the recipient declined; nothing was recorded in the group and nothing issued. `withdrawn`: the giver withdrew the offer before a decision. `expired`: the offer lapsed unanswered. `revoked`: taken back after acceptance (VTI-BDG-023).";
|
|
@@ -542,7 +598,7 @@ export declare const SPEC: {
|
|
|
542
598
|
};
|
|
543
599
|
readonly Award: {
|
|
544
600
|
readonly title: "Award";
|
|
545
|
-
readonly description: "One giving of a badge to one member. `givenBy` is the giver's directory entry, absent for an award a dynamic badge group's rule made. `note` is shown to the recipient, the giver, the badge's owners and administrators, never to other members. `credentialId` is present on an accepted award of a community badge: the badge credential that evidences it, renewed or re-issued as the badge's regime requires.";
|
|
601
|
+
readonly description: "One giving of a badge to one member. `givenBy` is the giver's directory entry, absent for an award a dynamic badge group's rule made. `note` is shown to the recipient, the giver, the badge's owners and administrators, never to other members. `credentialId` is present on an accepted award of a community badge: the badge credential that evidences it, renewed or re-issued as the badge's regime requires. `shared` is present on an accepted award of a badge its holders may show outside while its holder shares it (vtc/badges/awards/share).";
|
|
546
602
|
readonly type: "object";
|
|
547
603
|
readonly additionalProperties: false;
|
|
548
604
|
readonly required: readonly ["awardId", "badgeId", "entryId", "state", "offeredAt"];
|
|
@@ -583,11 +639,39 @@ export declare const SPEC: {
|
|
|
583
639
|
readonly credentialId: {
|
|
584
640
|
readonly $ref: "#/$defs/GroupCredentialId";
|
|
585
641
|
};
|
|
642
|
+
readonly shared: {
|
|
643
|
+
readonly $ref: "#/$defs/AwardShare";
|
|
644
|
+
};
|
|
586
645
|
readonly ext: {
|
|
587
646
|
readonly $ref: "#/$defs/Ext";
|
|
588
647
|
};
|
|
589
648
|
};
|
|
590
649
|
};
|
|
650
|
+
readonly AwardShare: {
|
|
651
|
+
readonly title: "AwardShare";
|
|
652
|
+
readonly description: "Where an accepted award is shown outside the community, by its holder's choice (VTI-BDG-070): the public location that answers a verification of exactly what the credential says, the baked image where the community serves one, and since when. Present only while the holder shares the award; absent once they stop, the award is taken back, the badge is retired or the holder departs. The locations are unguessable and name no other holder (VTI-BDG-071).";
|
|
653
|
+
readonly type: "object";
|
|
654
|
+
readonly additionalProperties: false;
|
|
655
|
+
readonly required: readonly ["verificationUrl", "since"];
|
|
656
|
+
readonly properties: {
|
|
657
|
+
readonly verificationUrl: {
|
|
658
|
+
readonly type: "string";
|
|
659
|
+
readonly format: "uri";
|
|
660
|
+
readonly maxLength: 2048;
|
|
661
|
+
readonly description: "The public location that answers the credential and a verification of it.";
|
|
662
|
+
};
|
|
663
|
+
readonly bakedImageUrl: {
|
|
664
|
+
readonly type: "string";
|
|
665
|
+
readonly format: "uri";
|
|
666
|
+
readonly maxLength: 2048;
|
|
667
|
+
readonly description: "The badge's picture with the credential baked into it, for a website or an email signature. Absent where the community serves no baked image.";
|
|
668
|
+
};
|
|
669
|
+
readonly since: {
|
|
670
|
+
readonly type: "string";
|
|
671
|
+
readonly format: "date-time";
|
|
672
|
+
};
|
|
673
|
+
};
|
|
674
|
+
};
|
|
591
675
|
readonly AwardState: {
|
|
592
676
|
readonly title: "AwardState";
|
|
593
677
|
readonly description: "`offered`: waiting for the recipient. `accepted`: the recipient took it; for a community badge the credential was issued and the membership recorded. `declined`: the recipient declined; nothing was recorded in the group and nothing issued. `withdrawn`: the giver withdrew the offer before a decision. `expired`: the offer lapsed unanswered. `revoked`: taken back after acceptance (VTI-BDG-023).";
|
|
@@ -703,7 +787,7 @@ export declare const RESPONSE_SPEC: {
|
|
|
703
787
|
};
|
|
704
788
|
readonly Award: {
|
|
705
789
|
readonly title: "Award";
|
|
706
|
-
readonly description: "One giving of a badge to one member. `givenBy` is the giver's directory entry, absent for an award a dynamic badge group's rule made. `note` is shown to the recipient, the giver, the badge's owners and administrators, never to other members. `credentialId` is present on an accepted award of a community badge: the badge credential that evidences it, renewed or re-issued as the badge's regime requires.";
|
|
790
|
+
readonly description: "One giving of a badge to one member. `givenBy` is the giver's directory entry, absent for an award a dynamic badge group's rule made. `note` is shown to the recipient, the giver, the badge's owners and administrators, never to other members. `credentialId` is present on an accepted award of a community badge: the badge credential that evidences it, renewed or re-issued as the badge's regime requires. `shared` is present on an accepted award of a badge its holders may show outside while its holder shares it (vtc/badges/awards/share).";
|
|
707
791
|
readonly type: "object";
|
|
708
792
|
readonly additionalProperties: false;
|
|
709
793
|
readonly required: readonly ["awardId", "badgeId", "entryId", "state", "offeredAt"];
|
|
@@ -744,11 +828,39 @@ export declare const RESPONSE_SPEC: {
|
|
|
744
828
|
readonly credentialId: {
|
|
745
829
|
readonly $ref: "#/$defs/GroupCredentialId";
|
|
746
830
|
};
|
|
831
|
+
readonly shared: {
|
|
832
|
+
readonly $ref: "#/$defs/AwardShare";
|
|
833
|
+
};
|
|
747
834
|
readonly ext: {
|
|
748
835
|
readonly $ref: "#/$defs/Ext";
|
|
749
836
|
};
|
|
750
837
|
};
|
|
751
838
|
};
|
|
839
|
+
readonly AwardShare: {
|
|
840
|
+
readonly title: "AwardShare";
|
|
841
|
+
readonly description: "Where an accepted award is shown outside the community, by its holder's choice (VTI-BDG-070): the public location that answers a verification of exactly what the credential says, the baked image where the community serves one, and since when. Present only while the holder shares the award; absent once they stop, the award is taken back, the badge is retired or the holder departs. The locations are unguessable and name no other holder (VTI-BDG-071).";
|
|
842
|
+
readonly type: "object";
|
|
843
|
+
readonly additionalProperties: false;
|
|
844
|
+
readonly required: readonly ["verificationUrl", "since"];
|
|
845
|
+
readonly properties: {
|
|
846
|
+
readonly verificationUrl: {
|
|
847
|
+
readonly type: "string";
|
|
848
|
+
readonly format: "uri";
|
|
849
|
+
readonly maxLength: 2048;
|
|
850
|
+
readonly description: "The public location that answers the credential and a verification of it.";
|
|
851
|
+
};
|
|
852
|
+
readonly bakedImageUrl: {
|
|
853
|
+
readonly type: "string";
|
|
854
|
+
readonly format: "uri";
|
|
855
|
+
readonly maxLength: 2048;
|
|
856
|
+
readonly description: "The badge's picture with the credential baked into it, for a website or an email signature. Absent where the community serves no baked image.";
|
|
857
|
+
};
|
|
858
|
+
readonly since: {
|
|
859
|
+
readonly type: "string";
|
|
860
|
+
readonly format: "date-time";
|
|
861
|
+
};
|
|
862
|
+
};
|
|
863
|
+
};
|
|
752
864
|
readonly AwardState: {
|
|
753
865
|
readonly title: "AwardState";
|
|
754
866
|
readonly description: "`offered`: waiting for the recipient. `accepted`: the recipient took it; for a community badge the credential was issued and the membership recorded. `declined`: the recipient declined; nothing was recorded in the group and nothing issued. `withdrawn`: the giver withdrew the offer before a decision. `expired`: the offer lapsed unanswered. `revoked`: taken back after acceptance (VTI-BDG-023).";
|