@hypercerts-org/lexicon 0.10.0-beta.7 → 0.10.0-beta.8

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.
Files changed (34) hide show
  1. package/CHANGELOG.md +26 -0
  2. package/SCHEMAS.md +12 -8
  3. package/dist/exports.d.ts +143 -3
  4. package/dist/exports.d.ts.map +1 -1
  5. package/dist/generated/exports.d.ts +143 -3
  6. package/dist/generated/exports.d.ts.map +1 -1
  7. package/dist/generated/lexicons.d.ts +276 -6
  8. package/dist/generated/lexicons.d.ts.map +1 -1
  9. package/dist/generated/types/org/hypercerts/claim/activity.d.ts +3 -1
  10. package/dist/generated/types/org/hypercerts/claim/activity.d.ts.map +1 -1
  11. package/dist/generated/types/org/hypercerts/defs.d.ts +44 -0
  12. package/dist/generated/types/org/hypercerts/defs.d.ts.map +1 -1
  13. package/dist/generated/types/org/hypercerts/helper/workScopeTag.d.ts +31 -0
  14. package/dist/generated/types/org/hypercerts/helper/workScopeTag.d.ts.map +1 -0
  15. package/dist/index.cjs +615 -216
  16. package/dist/index.cjs.map +1 -1
  17. package/dist/index.mjs +607 -212
  18. package/dist/index.mjs.map +1 -1
  19. package/dist/lexicons.cjs +162 -3
  20. package/dist/lexicons.cjs.map +1 -1
  21. package/dist/lexicons.d.ts +276 -6
  22. package/dist/lexicons.d.ts.map +1 -1
  23. package/dist/lexicons.mjs +162 -3
  24. package/dist/lexicons.mjs.map +1 -1
  25. package/dist/types/org/hypercerts/claim/activity.d.ts +3 -1
  26. package/dist/types/org/hypercerts/claim/activity.d.ts.map +1 -1
  27. package/dist/types/org/hypercerts/defs.d.ts +44 -0
  28. package/dist/types/org/hypercerts/defs.d.ts.map +1 -1
  29. package/dist/types/org/hypercerts/helper/workScopeTag.d.ts +31 -0
  30. package/dist/types/org/hypercerts/helper/workScopeTag.d.ts.map +1 -0
  31. package/lexicons/org/hypercerts/claim/activity.json +8 -3
  32. package/lexicons/org/hypercerts/defs.json +88 -0
  33. package/lexicons/org/hypercerts/helper/workScopeTag.json +65 -0
  34. package/package.json +1 -1
package/dist/lexicons.cjs CHANGED
@@ -310,9 +310,14 @@ const schemaDict = {
310
310
  description: 'The hypercert visual representation as a URI or image blob.',
311
311
  },
312
312
  workScope: {
313
- type: 'ref',
314
- ref: 'lex:com.atproto.repo.strongRef',
315
- description: 'A strong reference to a record defining the scope of work. The record referenced should describe the logical scope using label-based conditions.',
313
+ type: 'union',
314
+ refs: [
315
+ 'lex:org.hypercerts.defs#workScopeAll',
316
+ 'lex:org.hypercerts.defs#workScopeAny',
317
+ 'lex:org.hypercerts.defs#workScopeNot',
318
+ 'lex:org.hypercerts.defs#workScopeAtom',
319
+ ],
320
+ description: 'Work scope logic expression using boolean operators (all/any/not) and atomic scope references.',
316
321
  },
317
322
  startDate: {
318
323
  type: 'string',
@@ -892,6 +897,94 @@ const schemaDict = {
892
897
  },
893
898
  },
894
899
  },
900
+ workScopeAll: {
901
+ type: 'object',
902
+ required: ['op', 'args'],
903
+ description: 'Logical AND operation: all arguments must be satisfied.',
904
+ properties: {
905
+ op: {
906
+ type: 'string',
907
+ const: 'all',
908
+ description: "Operator type: 'all' (logical AND)",
909
+ },
910
+ args: {
911
+ type: 'array',
912
+ items: {
913
+ type: 'union',
914
+ refs: [
915
+ 'lex:org.hypercerts.defs#workScopeAll',
916
+ 'lex:org.hypercerts.defs#workScopeAny',
917
+ 'lex:org.hypercerts.defs#workScopeNot',
918
+ 'lex:org.hypercerts.defs#workScopeAtom',
919
+ ],
920
+ },
921
+ minLength: 1,
922
+ maxLength: 100,
923
+ description: 'Array of work scope expressions that must all be satisfied',
924
+ },
925
+ },
926
+ },
927
+ workScopeAny: {
928
+ type: 'object',
929
+ required: ['op', 'args'],
930
+ description: 'Logical OR operation: at least one argument must be satisfied.',
931
+ properties: {
932
+ op: {
933
+ type: 'string',
934
+ const: 'any',
935
+ description: "Operator type: 'any' (logical OR)",
936
+ },
937
+ args: {
938
+ type: 'array',
939
+ items: {
940
+ type: 'union',
941
+ refs: [
942
+ 'lex:org.hypercerts.defs#workScopeAll',
943
+ 'lex:org.hypercerts.defs#workScopeAny',
944
+ 'lex:org.hypercerts.defs#workScopeNot',
945
+ 'lex:org.hypercerts.defs#workScopeAtom',
946
+ ],
947
+ },
948
+ minLength: 1,
949
+ maxLength: 100,
950
+ description: 'Array of work scope expressions, at least one of which must be satisfied',
951
+ },
952
+ },
953
+ },
954
+ workScopeNot: {
955
+ type: 'object',
956
+ required: ['op', 'arg'],
957
+ description: 'Logical NOT operation: the argument must not be satisfied.',
958
+ properties: {
959
+ op: {
960
+ type: 'string',
961
+ const: 'not',
962
+ description: "Operator type: 'not' (logical NOT)",
963
+ },
964
+ arg: {
965
+ type: 'union',
966
+ refs: [
967
+ 'lex:org.hypercerts.defs#workScopeAll',
968
+ 'lex:org.hypercerts.defs#workScopeAny',
969
+ 'lex:org.hypercerts.defs#workScopeNot',
970
+ 'lex:org.hypercerts.defs#workScopeAtom',
971
+ ],
972
+ description: 'Work scope expression that must not be satisfied',
973
+ },
974
+ },
975
+ },
976
+ workScopeAtom: {
977
+ type: 'object',
978
+ required: ['atom'],
979
+ description: 'Atomic scope reference: a strong reference to a scope record.',
980
+ properties: {
981
+ atom: {
982
+ type: 'ref',
983
+ ref: 'lex:com.atproto.repo.strongRef',
984
+ description: 'Strong reference to an org.hypercerts.helper.workScopeTag record',
985
+ },
986
+ },
987
+ },
895
988
  },
896
989
  },
897
990
  OrgHypercertsFundingReceipt: {
@@ -960,6 +1053,71 @@ const schemaDict = {
960
1053
  },
961
1054
  },
962
1055
  },
1056
+ OrgHypercertsHelperWorkScopeTag: {
1057
+ lexicon: 1,
1058
+ id: 'org.hypercerts.helper.workScopeTag',
1059
+ defs: {
1060
+ main: {
1061
+ type: 'record',
1062
+ description: 'A reusable scope atom for work scope logic expressions. Scopes can represent topics, languages, domains, deliverables, methods, regions, tags, or other categorical labels.',
1063
+ key: 'tid',
1064
+ record: {
1065
+ type: 'object',
1066
+ required: ['createdAt', 'key', 'label'],
1067
+ properties: {
1068
+ createdAt: {
1069
+ type: 'string',
1070
+ format: 'datetime',
1071
+ description: 'Client-declared timestamp when this record was originally created',
1072
+ },
1073
+ key: {
1074
+ type: 'string',
1075
+ description: "Lowercase, hyphenated machine-readable key for this scope (e.g., 'ipfs', 'go-lang', 'filecoin').",
1076
+ maxLength: 120,
1077
+ },
1078
+ label: {
1079
+ type: 'string',
1080
+ description: 'Human-readable label for this scope.',
1081
+ maxLength: 200,
1082
+ },
1083
+ kind: {
1084
+ type: 'string',
1085
+ description: 'Category type of this scope. Recommended values: topic, language, domain, method, tag.',
1086
+ maxLength: 50,
1087
+ },
1088
+ description: {
1089
+ type: 'string',
1090
+ description: 'Optional longer description of this scope.',
1091
+ maxLength: 10000,
1092
+ maxGraphemes: 1000,
1093
+ },
1094
+ parent: {
1095
+ type: 'ref',
1096
+ ref: 'lex:com.atproto.repo.strongRef',
1097
+ description: 'Optional strong reference to a parent scope record for taxonomy/hierarchy support.',
1098
+ },
1099
+ aliases: {
1100
+ type: 'array',
1101
+ items: {
1102
+ type: 'string',
1103
+ maxLength: 200,
1104
+ },
1105
+ maxLength: 50,
1106
+ description: 'Optional array of alternative names or identifiers for this scope.',
1107
+ },
1108
+ externalReference: {
1109
+ type: 'union',
1110
+ refs: [
1111
+ 'lex:org.hypercerts.defs#uri',
1112
+ 'lex:org.hypercerts.defs#smallBlob',
1113
+ ],
1114
+ description: 'Optional external reference for this scope as a URI or blob.',
1115
+ },
1116
+ },
1117
+ },
1118
+ },
1119
+ },
1120
+ },
963
1121
  };
964
1122
  const schemas = Object.values(schemaDict);
965
1123
  const lexicons = new lexicon.Lexicons(schemas);
@@ -988,6 +1146,7 @@ const ids = {
988
1146
  OrgHypercertsClaimRights: 'org.hypercerts.claim.rights',
989
1147
  OrgHypercertsDefs: 'org.hypercerts.defs',
990
1148
  OrgHypercertsFundingReceipt: 'org.hypercerts.funding.receipt',
1149
+ OrgHypercertsHelperWorkScopeTag: 'org.hypercerts.helper.workScopeTag',
991
1150
  };
992
1151
 
993
1152
  exports.ids = ids;
@@ -1 +1 @@
1
- {"version":3,"file":"lexicons.cjs","sources":["../../generated/util.ts","../../generated/lexicons.ts"],"sourcesContent":["/**\n * GENERATED CODE - DO NOT MODIFY\n */\n\nimport { type ValidationResult } from '@atproto/lexicon'\n\nexport type OmitKey<T, K extends keyof T> = {\n [K2 in keyof T as K2 extends K ? never : K2]: T[K2]\n}\n\nexport type $Typed<V, T extends string = string> = V & { $type: T }\nexport type Un$Typed<V extends { $type?: string }> = OmitKey<V, '$type'>\n\nexport type $Type<Id extends string, Hash extends string> = Hash extends 'main'\n ? Id\n : `${Id}#${Hash}`\n\nfunction isObject<V>(v: V): v is V & object {\n return v != null && typeof v === 'object'\n}\n\nfunction is$type<Id extends string, Hash extends string>(\n $type: unknown,\n id: Id,\n hash: Hash,\n): $type is $Type<Id, Hash> {\n return hash === 'main'\n ? $type === id\n : // $type === `${id}#${hash}`\n typeof $type === 'string' &&\n $type.length === id.length + 1 + hash.length &&\n $type.charCodeAt(id.length) === 35 /* '#' */ &&\n $type.startsWith(id) &&\n $type.endsWith(hash)\n}\n\nexport type $TypedObject<\n V,\n Id extends string,\n Hash extends string,\n> = V extends {\n $type: $Type<Id, Hash>\n}\n ? V\n : V extends { $type?: string }\n ? V extends { $type?: infer T extends $Type<Id, Hash> }\n ? V & { $type: T }\n : never\n : V & { $type: $Type<Id, Hash> }\n\nexport function is$typed<V, Id extends string, Hash extends string>(\n v: V,\n id: Id,\n hash: Hash,\n): v is $TypedObject<V, Id, Hash> {\n return isObject(v) && '$type' in v && is$type(v.$type, id, hash)\n}\n\nexport function maybe$typed<V, Id extends string, Hash extends string>(\n v: V,\n id: Id,\n hash: Hash,\n): v is V & object & { $type?: $Type<Id, Hash> } {\n return (\n isObject(v) &&\n ('$type' in v ? v.$type === undefined || is$type(v.$type, id, hash) : true)\n )\n}\n\nexport type Validator<R = unknown> = (v: unknown) => ValidationResult<R>\nexport type ValidatorParam<V extends Validator> =\n V extends Validator<infer R> ? R : never\n\n/**\n * Utility function that allows to convert a \"validate*\" utility function into a\n * type predicate.\n */\nexport function asPredicate<V extends Validator>(validate: V) {\n return function <T>(v: T): v is T & ValidatorParam<V> {\n return validate(v).success\n }\n}\n","/**\n * GENERATED CODE - DO NOT MODIFY\n */\nimport {\n type LexiconDoc,\n Lexicons,\n ValidationError,\n type ValidationResult,\n} from '@atproto/lexicon'\nimport { type $Typed, is$typed, maybe$typed } from './util.js'\n\nexport const schemaDict = {\n AppCertifiedBadgeAward: {\n lexicon: 1,\n id: 'app.certified.badge.award',\n defs: {\n main: {\n type: 'record',\n description:\n 'Records a badge award to a user, project, or activity claim.',\n key: 'tid',\n record: {\n type: 'object',\n required: ['badge', 'subject', 'createdAt'],\n properties: {\n badge: {\n type: 'ref',\n ref: 'lex:app.certified.badge.definition',\n description: 'Reference to the badge definition for this award.',\n },\n subject: {\n type: 'union',\n description:\n 'Entity the badge award is for (either an account DID or any specific AT Protocol record), e.g. a user, a project, or a specific activity claim.',\n refs: [\n 'lex:app.certified.defs#did',\n 'lex:com.atproto.repo.strongRef',\n ],\n },\n note: {\n type: 'string',\n description:\n 'Optional statement explaining the reason for this badge award.',\n },\n createdAt: {\n type: 'string',\n format: 'datetime',\n description:\n 'Client-declared timestamp when this record was originally created',\n },\n },\n },\n },\n },\n },\n AppCertifiedBadgeDefinition: {\n lexicon: 1,\n id: 'app.certified.badge.definition',\n defs: {\n main: {\n type: 'record',\n description:\n 'Defines a badge that can be awarded via badge award records to users, projects, or activity claims.',\n key: 'tid',\n record: {\n type: 'object',\n required: ['title', 'badgeType', 'icon', 'createdAt'],\n properties: {\n badgeType: {\n type: 'string',\n description:\n 'Category of the badge (e.g. endorsement, participation, affiliation).',\n },\n title: {\n type: 'string',\n description: 'Human-readable title of the badge.',\n },\n icon: {\n type: 'blob',\n description:\n 'Icon representing the badge, stored as a blob for compact visual display.',\n accept: [\n 'image/png',\n 'image/jpeg',\n 'image/webp',\n 'image/svg+xml',\n ],\n maxSize: 1048576,\n },\n description: {\n type: 'string',\n description:\n 'Optional short statement describing what the badge represents.',\n },\n allowedIssuers: {\n type: 'array',\n description:\n 'Optional allowlist of DIDs allowed to issue this badge. If omitted, anyone may issue it.',\n items: {\n type: 'ref',\n ref: 'lex:app.certified.defs#did',\n },\n },\n createdAt: {\n type: 'string',\n format: 'datetime',\n description:\n 'Client-declared timestamp when this record was originally created',\n },\n },\n },\n },\n },\n },\n AppCertifiedBadgeResponse: {\n lexicon: 1,\n id: 'app.certified.badge.response',\n defs: {\n main: {\n type: 'record',\n description: 'Recipient response to a badge award.',\n key: 'tid',\n record: {\n type: 'object',\n required: ['badgeAward', 'response', 'createdAt'],\n properties: {\n badgeAward: {\n type: 'ref',\n ref: 'lex:app.certified.badge.award',\n description: 'Reference to the badge award.',\n },\n response: {\n type: 'string',\n enum: ['accepted', 'rejected'],\n description:\n 'The recipient’s response for the badge (accepted or rejected).',\n },\n weight: {\n type: 'string',\n description:\n 'Optional relative weight for accepted badges, assigned by the recipient.',\n },\n createdAt: {\n type: 'string',\n format: 'datetime',\n description:\n 'Client-declared timestamp when this record was originally created',\n },\n },\n },\n },\n },\n },\n AppCertifiedDefs: {\n lexicon: 1,\n id: 'app.certified.defs',\n description: 'Common type definitions used across certified protocols.',\n defs: {\n did: {\n type: 'string',\n format: 'did',\n description: 'A Decentralized Identifier (DID) string.',\n },\n },\n },\n AppCertifiedLocation: {\n lexicon: 1,\n id: 'app.certified.location',\n defs: {\n main: {\n type: 'record',\n description: 'A location reference',\n key: 'tid',\n record: {\n type: 'object',\n required: [\n 'lpVersion',\n 'srs',\n 'locationType',\n 'location',\n 'createdAt',\n ],\n properties: {\n lpVersion: {\n type: 'string',\n description: 'The version of the Location Protocol',\n maxLength: 10,\n },\n srs: {\n type: 'string',\n format: 'uri',\n description:\n 'The Spatial Reference System URI (e.g., http://www.opengis.net/def/crs/OGC/1.3/CRS84) that defines the coordinate system.',\n maxLength: 100,\n },\n locationType: {\n type: 'string',\n description:\n 'An identifier for the format of the location data (e.g., coordinate-decimal, geojson-point)',\n knownValues: ['coordinate-decimal', 'geojson-point'],\n maxLength: 20,\n },\n location: {\n type: 'union',\n refs: [\n 'lex:org.hypercerts.defs#uri',\n 'lex:org.hypercerts.defs#smallBlob',\n ],\n description:\n 'The location of where the work was performed as a URI or blob.',\n },\n name: {\n type: 'string',\n description: 'Optional name for this location',\n maxLength: 1000,\n maxGraphemes: 100,\n },\n description: {\n type: 'string',\n description: 'Optional description for this location',\n maxLength: 2000,\n maxGraphemes: 500,\n },\n createdAt: {\n type: 'string',\n format: 'datetime',\n description:\n 'Client-declared timestamp when this record was originally created',\n },\n },\n },\n },\n },\n },\n ComAtprotoRepoStrongRef: {\n lexicon: 1,\n id: 'com.atproto.repo.strongRef',\n description: 'A URI with a content-hash fingerprint.',\n defs: {\n main: {\n type: 'object',\n required: ['uri', 'cid'],\n properties: {\n uri: {\n type: 'string',\n format: 'at-uri',\n },\n cid: {\n type: 'string',\n format: 'cid',\n },\n },\n },\n },\n },\n OrgHypercertsClaimActivity: {\n lexicon: 1,\n id: 'org.hypercerts.claim.activity',\n defs: {\n main: {\n type: 'record',\n description: 'A hypercert record tracking impact work.',\n key: 'any',\n record: {\n type: 'object',\n required: ['title', 'shortDescription', 'createdAt'],\n properties: {\n title: {\n type: 'string',\n description: 'Title of the hypercert.',\n maxLength: 256,\n },\n shortDescription: {\n type: 'string',\n description:\n 'Short summary of this activity claim, suitable for previews and list views. Rich text annotations may be provided via `shortDescriptionFacets`.',\n maxLength: 3000,\n maxGraphemes: 300,\n },\n shortDescriptionFacets: {\n type: 'array',\n description:\n 'Rich text annotations for `shortDescription` (mentions, URLs, hashtags, etc).',\n items: {\n type: 'ref',\n ref: 'lex:app.bsky.richtext.facet',\n },\n },\n description: {\n type: 'string',\n description:\n 'Optional longer description of this activity claim, including context or interpretation. Rich text annotations may be provided via `descriptionFacets`.',\n maxLength: 30000,\n maxGraphemes: 3000,\n },\n descriptionFacets: {\n type: 'array',\n description:\n 'Rich text annotations for `description` (mentions, URLs, hashtags, etc).',\n items: {\n type: 'ref',\n ref: 'lex:app.bsky.richtext.facet',\n },\n },\n image: {\n type: 'union',\n refs: [\n 'lex:org.hypercerts.defs#uri',\n 'lex:org.hypercerts.defs#smallImage',\n ],\n description:\n 'The hypercert visual representation as a URI or image blob.',\n },\n workScope: {\n type: 'ref',\n ref: 'lex:com.atproto.repo.strongRef',\n description:\n 'A strong reference to a record defining the scope of work. The record referenced should describe the logical scope using label-based conditions.',\n },\n startDate: {\n type: 'string',\n format: 'datetime',\n description: 'When the work began',\n },\n endDate: {\n type: 'string',\n format: 'datetime',\n description: 'When the work ended',\n },\n contributors: {\n type: 'array',\n description:\n 'An array of contributor objects, each containing contributor information, weight, and contribution details.',\n items: {\n type: 'ref',\n ref: 'lex:org.hypercerts.claim.activity#contributor',\n },\n },\n rights: {\n type: 'ref',\n ref: 'lex:com.atproto.repo.strongRef',\n description:\n 'A strong reference to the rights that this hypercert has. The record referenced must conform with the lexicon org.hypercerts.claim.rights.',\n },\n locations: {\n type: 'array',\n description:\n 'An array of strong references to the location where activity was performed. The record referenced must conform with the lexicon app.certified.location.',\n items: {\n type: 'ref',\n ref: 'lex:com.atproto.repo.strongRef',\n },\n },\n createdAt: {\n type: 'string',\n format: 'datetime',\n description:\n 'Client-declared timestamp when this record was originally created',\n },\n },\n },\n },\n contributor: {\n type: 'object',\n required: ['contributorIdentity'],\n properties: {\n contributorIdentity: {\n type: 'union',\n refs: [\n 'lex:org.hypercerts.claim.activity#contributorIdentity',\n 'lex:com.atproto.repo.strongRef',\n ],\n description:\n 'Contributor identity as a string (DID or identifier) via org.hypercerts.claim.activity#contributorIdentity, or a strong reference to a contributor information record.',\n },\n contributionWeight: {\n type: 'string',\n description:\n 'The relative weight/importance of this contribution (stored as a string to avoid float precision issues). Must be a positive numeric value. Weights do not need to sum to a specific total; normalization can be performed by the consuming application as needed.',\n },\n contributionDetails: {\n type: 'union',\n refs: [\n 'lex:org.hypercerts.claim.activity#contributorRole',\n 'lex:com.atproto.repo.strongRef',\n ],\n description:\n 'Contribution details as a string via org.hypercerts.claim.activity#contributorRole, or a strong reference to a contribution details record.',\n },\n },\n },\n contributorIdentity: {\n type: 'string',\n description: 'Contributor information as a string (DID or identifier).',\n },\n contributorRole: {\n type: 'string',\n description: 'Contribution details as a string.',\n maxLength: 10000,\n maxGraphemes: 1000,\n },\n },\n },\n OrgHypercertsClaimCollection: {\n lexicon: 1,\n id: 'org.hypercerts.claim.collection',\n defs: {\n main: {\n type: 'record',\n description:\n 'A collection/group of items (activities and/or other collections). Collections support recursive nesting. Use app.certified.location as a sidecar (same TID) for location metadata.',\n key: 'tid',\n record: {\n type: 'object',\n required: ['title', 'items', 'createdAt'],\n properties: {\n type: {\n type: 'string',\n description:\n \"The type of this collection. Possible fields can be 'favorites', 'project', or any other type of collection.\",\n },\n title: {\n type: 'string',\n description: 'The title of this collection',\n maxLength: 800,\n maxGraphemes: 80,\n },\n shortDescription: {\n type: 'string',\n maxLength: 3000,\n maxGraphemes: 300,\n description:\n 'Short summary of this collection, suitable for previews and list views',\n },\n description: {\n type: 'ref',\n ref: 'lex:pub.leaflet.pages.linearDocument#main',\n description:\n 'Rich-text description, represented as a Leaflet linear document.',\n },\n avatar: {\n type: 'union',\n refs: [\n 'lex:org.hypercerts.defs#uri',\n 'lex:org.hypercerts.defs#smallImage',\n ],\n description:\n \"The collection's avatar/profile image as a URI or image blob.\",\n },\n banner: {\n type: 'union',\n refs: [\n 'lex:org.hypercerts.defs#uri',\n 'lex:org.hypercerts.defs#largeImage',\n ],\n description:\n 'Larger horizontal image to display behind the collection view.',\n },\n items: {\n type: 'array',\n description:\n 'Array of items in this collection with optional weights.',\n items: {\n type: 'ref',\n ref: 'lex:org.hypercerts.claim.collection#item',\n },\n },\n createdAt: {\n type: 'string',\n format: 'datetime',\n description:\n 'Client-declared timestamp when this record was originally created',\n },\n },\n },\n },\n item: {\n type: 'object',\n required: ['itemIdentifier'],\n properties: {\n itemIdentifier: {\n type: 'ref',\n ref: 'lex:com.atproto.repo.strongRef',\n description:\n 'Strong reference to an item in this collection. Items can be activities (org.hypercerts.claim.activity) and/or other collections (org.hypercerts.claim.collection).',\n },\n itemWeight: {\n type: 'string',\n description:\n 'Optional weight for this item (positive numeric value stored as string). Weights do not need to sum to a specific total; normalization can be performed by the consuming application as needed.',\n },\n },\n },\n },\n },\n OrgHypercertsClaimContributionDetails: {\n lexicon: 1,\n id: 'org.hypercerts.claim.contributionDetails',\n defs: {\n main: {\n type: 'record',\n description:\n 'Details about a specific contribution including role, description, and timeframe.',\n key: 'tid',\n record: {\n type: 'object',\n required: ['createdAt'],\n properties: {\n role: {\n type: 'string',\n description: 'Role or title of the contributor.',\n maxLength: 100,\n },\n contributionDescription: {\n type: 'string',\n description: 'What the contribution concretely was.',\n maxLength: 10000,\n maxGraphemes: 1000,\n },\n startDate: {\n type: 'string',\n format: 'datetime',\n description:\n 'When this contribution started. This should be a subset of the hypercert timeframe.',\n },\n endDate: {\n type: 'string',\n format: 'datetime',\n description:\n 'When this contribution finished. This should be a subset of the hypercert timeframe.',\n },\n createdAt: {\n type: 'string',\n format: 'datetime',\n description:\n 'Client-declared timestamp when this record was originally created.',\n },\n },\n },\n },\n },\n },\n OrgHypercertsClaimContributorInformation: {\n lexicon: 1,\n id: 'org.hypercerts.claim.contributorInformation',\n defs: {\n main: {\n type: 'record',\n description:\n 'Contributor information including identifier, display name, and image.',\n key: 'tid',\n record: {\n type: 'object',\n required: ['createdAt'],\n properties: {\n identifier: {\n type: 'string',\n description:\n 'DID or a URI to a social profile of the contributor.',\n },\n displayName: {\n type: 'string',\n description: 'Display name of the contributor.',\n maxLength: 100,\n },\n image: {\n type: 'union',\n refs: [\n 'lex:org.hypercerts.defs#uri',\n 'lex:org.hypercerts.defs#smallImage',\n ],\n description:\n 'The contributor visual representation as a URI or image blob.',\n },\n createdAt: {\n type: 'string',\n format: 'datetime',\n description:\n 'Client-declared timestamp when this record was originally created.',\n },\n },\n },\n },\n },\n },\n OrgHypercertsClaimEvaluation: {\n lexicon: 1,\n id: 'org.hypercerts.claim.evaluation',\n defs: {\n score: {\n type: 'object',\n description: 'Overall score for an evaluation on a numeric scale.',\n required: ['min', 'max', 'value'],\n properties: {\n min: {\n type: 'integer',\n description: 'Minimum value of the scale, e.g. 0 or 1.',\n },\n max: {\n type: 'integer',\n description: 'Maximum value of the scale, e.g. 5 or 10.',\n },\n value: {\n type: 'integer',\n description: 'Score within the inclusive range [min, max].',\n },\n },\n },\n main: {\n type: 'record',\n description:\n 'An evaluation of a hypercert record (e.g. an activity and its impact).',\n key: 'tid',\n record: {\n type: 'object',\n required: ['evaluators', 'summary', 'createdAt'],\n properties: {\n subject: {\n type: 'ref',\n ref: 'lex:com.atproto.repo.strongRef',\n description:\n 'A strong reference to what is being evaluated. (e.g activity, measurement, contribution, etc.)',\n },\n evaluators: {\n type: 'array',\n description: 'DIDs of the evaluators',\n items: {\n type: 'ref',\n ref: 'lex:app.certified.defs#did',\n },\n maxLength: 1000,\n },\n content: {\n type: 'array',\n description:\n 'Evaluation data (URIs or blobs) containing detailed reports or methodology',\n items: {\n type: 'union',\n refs: [\n 'lex:org.hypercerts.defs#uri',\n 'lex:org.hypercerts.defs#smallBlob',\n ],\n },\n maxLength: 100,\n },\n measurements: {\n type: 'array',\n description:\n 'Optional references to the measurements that contributed to this evaluation. The record(s) referenced must conform with the lexicon org.hypercerts.claim.measurement',\n items: {\n type: 'ref',\n ref: 'lex:com.atproto.repo.strongRef',\n },\n maxLength: 100,\n },\n summary: {\n type: 'string',\n description: 'Brief evaluation summary',\n maxLength: 5000,\n maxGraphemes: 1000,\n },\n score: {\n type: 'ref',\n ref: 'lex:org.hypercerts.claim.evaluation#score',\n description:\n 'Optional overall score for this evaluation on a numeric scale.',\n },\n location: {\n type: 'ref',\n ref: 'lex:com.atproto.repo.strongRef',\n description:\n 'An optional reference for georeferenced evaluations. The record referenced must conform with the lexicon app.certified.location.',\n },\n createdAt: {\n type: 'string',\n format: 'datetime',\n description:\n 'Client-declared timestamp when this record was originally created',\n },\n },\n },\n },\n },\n },\n OrgHypercertsClaimEvidence: {\n lexicon: 1,\n id: 'org.hypercerts.claim.evidence',\n defs: {\n main: {\n type: 'record',\n description:\n 'A piece of evidence related to a hypercert record (e.g. an activity, project, claim, or evaluation). Evidence may support, clarify, or challenge the referenced subject.',\n key: 'tid',\n record: {\n type: 'object',\n required: ['content', 'title', 'createdAt'],\n properties: {\n subject: {\n type: 'ref',\n ref: 'lex:com.atproto.repo.strongRef',\n description:\n 'A strong reference to the record this evidence relates to (e.g. an activity, project, claim, or evaluation).',\n },\n content: {\n type: 'union',\n refs: [\n 'lex:org.hypercerts.defs#uri',\n 'lex:org.hypercerts.defs#smallBlob',\n ],\n description:\n 'A piece of evidence (URI or blob) related to the subject record; it may support, clarify, or challenge a hypercert claim.',\n },\n title: {\n type: 'string',\n maxLength: 256,\n description: 'Title to describe the nature of the evidence.',\n },\n shortDescription: {\n type: 'string',\n maxLength: 3000,\n maxGraphemes: 300,\n description:\n 'Short description explaining what this evidence shows.',\n },\n description: {\n type: 'string',\n description:\n 'Longer description describing the evidence in more detail.',\n maxLength: 30000,\n maxGraphemes: 3000,\n },\n relationType: {\n type: 'string',\n description: 'How this evidence relates to the subject.',\n knownValues: ['supports', 'challenges', 'clarifies'],\n },\n createdAt: {\n type: 'string',\n format: 'datetime',\n description:\n 'Client-declared timestamp when this record was originally created',\n },\n },\n },\n },\n },\n },\n OrgHypercertsClaimMeasurement: {\n lexicon: 1,\n id: 'org.hypercerts.claim.measurement',\n defs: {\n main: {\n type: 'record',\n description:\n 'Measurement data related to a hypercert record (e.g. an activity and its impact).',\n key: 'tid',\n record: {\n type: 'object',\n required: ['measurers', 'metric', 'value', 'createdAt'],\n properties: {\n subject: {\n type: 'ref',\n ref: 'lex:com.atproto.repo.strongRef',\n description:\n 'A strong reference to the record this measurement refers to (e.g. an activity, project, or claim).',\n },\n measurers: {\n type: 'array',\n description:\n 'DIDs of the entity (or entities) that measured this data',\n items: {\n type: 'ref',\n ref: 'lex:app.certified.defs#did',\n },\n maxLength: 100,\n },\n metric: {\n type: 'string',\n description: 'The metric being measured',\n maxLength: 500,\n },\n value: {\n type: 'string',\n description: 'The measured value',\n maxLength: 500,\n },\n methodType: {\n type: 'string',\n description: 'Short identifier for the measurement methodology',\n maxLength: 30,\n },\n methodURI: {\n type: 'string',\n format: 'uri',\n description:\n 'URI to methodology documentation, standard protocol, or measurement procedure',\n },\n evidenceURI: {\n type: 'array',\n description:\n 'URIs to related evidence or underlying data (e.g. org.hypercerts.claim.evidence records or raw datasets)',\n items: {\n type: 'string',\n format: 'uri',\n },\n maxLength: 50,\n },\n location: {\n type: 'ref',\n ref: 'lex:com.atproto.repo.strongRef',\n description:\n 'A strong reference to the location where the measurement was taken. The record referenced must conform with the lexicon app.certified.location',\n },\n createdAt: {\n type: 'string',\n format: 'datetime',\n description:\n 'Client-declared timestamp when this record was originally created',\n },\n },\n },\n },\n },\n },\n OrgHypercertsClaimRights: {\n lexicon: 1,\n id: 'org.hypercerts.claim.rights',\n defs: {\n main: {\n type: 'record',\n description:\n 'Describes the rights that a contributor and/or an owner has, such as whether the hypercert can be sold, transferred, and under what conditions.',\n key: 'tid',\n record: {\n type: 'object',\n required: [\n 'rightsName',\n 'rightsType',\n 'rightsDescription',\n 'createdAt',\n ],\n properties: {\n rightsName: {\n type: 'string',\n description: 'Full name of the rights',\n maxLength: 100,\n },\n rightsType: {\n type: 'string',\n description: 'Short rights identifier for easier search',\n maxLength: 10,\n },\n rightsDescription: {\n type: 'string',\n description: 'Description of the rights of this hypercert',\n },\n attachment: {\n type: 'union',\n refs: [\n 'lex:org.hypercerts.defs#uri',\n 'lex:org.hypercerts.defs#smallBlob',\n ],\n description:\n 'An attachment to define the rights further, e.g. a legal document.',\n },\n createdAt: {\n type: 'string',\n format: 'datetime',\n description:\n 'Client-declared timestamp when this record was originally created',\n },\n },\n },\n },\n },\n },\n OrgHypercertsDefs: {\n lexicon: 1,\n id: 'org.hypercerts.defs',\n defs: {\n uri: {\n type: 'object',\n required: ['uri'],\n description: 'Object containing a URI to external data',\n properties: {\n uri: {\n type: 'string',\n format: 'uri',\n maxGraphemes: 1024,\n description: 'URI to external data',\n },\n },\n },\n smallBlob: {\n type: 'object',\n required: ['blob'],\n description: 'Object containing a blob to external data',\n properties: {\n blob: {\n type: 'blob',\n accept: ['*/*'],\n maxSize: 10485760,\n description: 'Blob to external data (up to 10MB)',\n },\n },\n },\n largeBlob: {\n type: 'object',\n required: ['blob'],\n description: 'Object containing a blob to external data',\n properties: {\n blob: {\n type: 'blob',\n accept: ['*/*'],\n maxSize: 104857600,\n description: 'Blob to external data (up to 100MB)',\n },\n },\n },\n smallImage: {\n type: 'object',\n required: ['image'],\n description: 'Object containing a small image',\n properties: {\n image: {\n type: 'blob',\n accept: ['image/jpeg', 'image/jpg', 'image/png', 'image/webp'],\n maxSize: 5242880,\n description: 'Image (up to 5MB)',\n },\n },\n },\n largeImage: {\n type: 'object',\n required: ['image'],\n description: 'Object containing a large image',\n properties: {\n image: {\n type: 'blob',\n accept: ['image/jpeg', 'image/jpg', 'image/png', 'image/webp'],\n maxSize: 10485760,\n description: 'Image (up to 10MB)',\n },\n },\n },\n },\n },\n OrgHypercertsFundingReceipt: {\n lexicon: 1,\n id: 'org.hypercerts.funding.receipt',\n defs: {\n main: {\n type: 'record',\n description:\n 'Records a funding receipt for a payment from one user to another user. It may be recorded by the recipient, by the sender, or by a third party. The sender may remain anonymous.',\n key: 'tid',\n record: {\n type: 'object',\n required: ['from', 'to', 'amount', 'currency', 'createdAt'],\n properties: {\n from: {\n type: 'ref',\n ref: 'lex:app.certified.defs#did',\n description:\n 'DID of the sender who transferred the funds. Leave empty if sender wants to stay anonymous.',\n },\n to: {\n type: 'string',\n description:\n 'The recipient of the funds. Can be identified by DID or a clear-text name.',\n },\n amount: {\n type: 'string',\n description: 'Amount of funding received.',\n },\n currency: {\n type: 'string',\n description: 'Currency of the payment (e.g. EUR, USD, ETH).',\n },\n paymentRail: {\n type: 'string',\n description:\n 'How the funds were transferred (e.g. bank_transfer, credit_card, onchain, cash, check, payment_processor).',\n },\n paymentNetwork: {\n type: 'string',\n description:\n 'Optional network within the payment rail (e.g. arbitrum, ethereum, sepa, visa, paypal).',\n },\n transactionId: {\n type: 'string',\n description:\n 'Identifier of the underlying payment transaction (e.g. bank reference, onchain transaction hash, or processor-specific ID). Use paymentNetwork to specify the network where applicable.',\n },\n for: {\n type: 'string',\n format: 'at-uri',\n description:\n 'Optional reference to the activity, project, or organization this funding relates to.',\n },\n notes: {\n type: 'string',\n description:\n 'Optional notes or additional context for this funding receipt.',\n maxLength: 500,\n },\n occurredAt: {\n type: 'string',\n format: 'datetime',\n description: 'Timestamp when the payment occurred.',\n },\n createdAt: {\n type: 'string',\n format: 'datetime',\n description:\n 'Client-declared timestamp when this receipt record was created.',\n },\n },\n },\n },\n },\n },\n} as const satisfies Record<string, LexiconDoc>\nexport const schemas = Object.values(schemaDict) satisfies LexiconDoc[]\nexport const lexicons: Lexicons = new Lexicons(schemas)\n\nexport function validate<T extends { $type: string }>(\n v: unknown,\n id: string,\n hash: string,\n requiredType: true,\n): ValidationResult<T>\nexport function validate<T extends { $type?: string }>(\n v: unknown,\n id: string,\n hash: string,\n requiredType?: false,\n): ValidationResult<T>\nexport function validate(\n v: unknown,\n id: string,\n hash: string,\n requiredType?: boolean,\n): ValidationResult {\n return (requiredType ? is$typed : maybe$typed)(v, id, hash)\n ? lexicons.validate(`${id}#${hash}`, v)\n : {\n success: false,\n error: new ValidationError(\n `Must be an object with \"${hash === 'main' ? id : `${id}#${hash}`}\" $type property`,\n ),\n }\n}\n\nexport const ids = {\n AppCertifiedBadgeAward: 'app.certified.badge.award',\n AppCertifiedBadgeDefinition: 'app.certified.badge.definition',\n AppCertifiedBadgeResponse: 'app.certified.badge.response',\n AppCertifiedDefs: 'app.certified.defs',\n AppCertifiedLocation: 'app.certified.location',\n ComAtprotoRepoStrongRef: 'com.atproto.repo.strongRef',\n OrgHypercertsClaimActivity: 'org.hypercerts.claim.activity',\n OrgHypercertsClaimCollection: 'org.hypercerts.claim.collection',\n OrgHypercertsClaimContributionDetails:\n 'org.hypercerts.claim.contributionDetails',\n OrgHypercertsClaimContributorInformation:\n 'org.hypercerts.claim.contributorInformation',\n OrgHypercertsClaimEvaluation: 'org.hypercerts.claim.evaluation',\n OrgHypercertsClaimEvidence: 'org.hypercerts.claim.evidence',\n OrgHypercertsClaimMeasurement: 'org.hypercerts.claim.measurement',\n OrgHypercertsClaimRights: 'org.hypercerts.claim.rights',\n OrgHypercertsDefs: 'org.hypercerts.defs',\n OrgHypercertsFundingReceipt: 'org.hypercerts.funding.receipt',\n} as const\n"],"names":["Lexicons","ValidationError"],"mappings":";;;;AAAA;;AAEG;AAeH,SAAS,QAAQ,CAAI,CAAI,EAAA;IACvB,OAAO,CAAC,IAAI,IAAI,IAAI,OAAO,CAAC,KAAK,QAAQ;AAC3C;AAEA,SAAS,OAAO,CACd,KAAc,EACd,EAAM,EACN,IAAU,EAAA;IAEV,OAAO,IAAI,KAAK;UACZ,KAAK,KAAK;AACZ;YACE,OAAO,KAAK,KAAK,QAAQ;gBACvB,KAAK,CAAC,MAAM,KAAK,EAAE,CAAC,MAAM,GAAG,CAAC,GAAG,IAAI,CAAC,MAAM;gBAC5C,KAAK,CAAC,UAAU,CAAC,EAAE,CAAC,MAAM,CAAC,KAAK,EAAE;AAClC,gBAAA,KAAK,CAAC,UAAU,CAAC,EAAE,CAAC;AACpB,gBAAA,KAAK,CAAC,QAAQ,CAAC,IAAI,CAAC;AAC5B;SAgBgB,QAAQ,CACtB,CAAI,EACJ,EAAM,EACN,IAAU,EAAA;AAEV,IAAA,OAAO,QAAQ,CAAC,CAAC,CAAC,IAAI,OAAO,IAAI,CAAC,IAAI,OAAO,CAAC,CAAC,CAAC,KAAK,EAAE,EAAE,EAAE,IAAI,CAAC;AAClE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AC9C,IAAA,uBAAuB,EAAE,4BAA4B;AACrD,IAAA,0BAA0B,EAAE,+BAA+B;AAC3D,IAAA,4BAA4B,EAAE,iCAAiC;AAC/D,IAAA,qCAAqC,EACnC,0CAA0C;AAC5C,IAAA,wCAAwC,EACtC,6CAA6C;AAC/C,IAAA,4BAA4B,EAAE,iCAAiC;AAC/D,IAAA,0BAA0B,EAAE,+BAA+B;AAC3D,IAAA,6BAA6B,EAAE,kCAAkC;AACjE,IAAA,wBAAwB,EAAE,6BAA6B;AACvD,IAAA,iBAAiB,EAAE,qBAAqB;AACxC,IAAA,2BAA2B,EAAE,gCAAgC;;;;;;;;;"}
1
+ {"version":3,"file":"lexicons.cjs","sources":["../../generated/util.ts","../../generated/lexicons.ts"],"sourcesContent":["/**\n * GENERATED CODE - DO NOT MODIFY\n */\n\nimport { type ValidationResult } from '@atproto/lexicon'\n\nexport type OmitKey<T, K extends keyof T> = {\n [K2 in keyof T as K2 extends K ? never : K2]: T[K2]\n}\n\nexport type $Typed<V, T extends string = string> = V & { $type: T }\nexport type Un$Typed<V extends { $type?: string }> = OmitKey<V, '$type'>\n\nexport type $Type<Id extends string, Hash extends string> = Hash extends 'main'\n ? Id\n : `${Id}#${Hash}`\n\nfunction isObject<V>(v: V): v is V & object {\n return v != null && typeof v === 'object'\n}\n\nfunction is$type<Id extends string, Hash extends string>(\n $type: unknown,\n id: Id,\n hash: Hash,\n): $type is $Type<Id, Hash> {\n return hash === 'main'\n ? $type === id\n : // $type === `${id}#${hash}`\n typeof $type === 'string' &&\n $type.length === id.length + 1 + hash.length &&\n $type.charCodeAt(id.length) === 35 /* '#' */ &&\n $type.startsWith(id) &&\n $type.endsWith(hash)\n}\n\nexport type $TypedObject<\n V,\n Id extends string,\n Hash extends string,\n> = V extends {\n $type: $Type<Id, Hash>\n}\n ? V\n : V extends { $type?: string }\n ? V extends { $type?: infer T extends $Type<Id, Hash> }\n ? V & { $type: T }\n : never\n : V & { $type: $Type<Id, Hash> }\n\nexport function is$typed<V, Id extends string, Hash extends string>(\n v: V,\n id: Id,\n hash: Hash,\n): v is $TypedObject<V, Id, Hash> {\n return isObject(v) && '$type' in v && is$type(v.$type, id, hash)\n}\n\nexport function maybe$typed<V, Id extends string, Hash extends string>(\n v: V,\n id: Id,\n hash: Hash,\n): v is V & object & { $type?: $Type<Id, Hash> } {\n return (\n isObject(v) &&\n ('$type' in v ? v.$type === undefined || is$type(v.$type, id, hash) : true)\n )\n}\n\nexport type Validator<R = unknown> = (v: unknown) => ValidationResult<R>\nexport type ValidatorParam<V extends Validator> =\n V extends Validator<infer R> ? R : never\n\n/**\n * Utility function that allows to convert a \"validate*\" utility function into a\n * type predicate.\n */\nexport function asPredicate<V extends Validator>(validate: V) {\n return function <T>(v: T): v is T & ValidatorParam<V> {\n return validate(v).success\n }\n}\n","/**\n * GENERATED CODE - DO NOT MODIFY\n */\nimport {\n type LexiconDoc,\n Lexicons,\n ValidationError,\n type ValidationResult,\n} from '@atproto/lexicon'\nimport { type $Typed, is$typed, maybe$typed } from './util.js'\n\nexport const schemaDict = {\n AppCertifiedBadgeAward: {\n lexicon: 1,\n id: 'app.certified.badge.award',\n defs: {\n main: {\n type: 'record',\n description:\n 'Records a badge award to a user, project, or activity claim.',\n key: 'tid',\n record: {\n type: 'object',\n required: ['badge', 'subject', 'createdAt'],\n properties: {\n badge: {\n type: 'ref',\n ref: 'lex:app.certified.badge.definition',\n description: 'Reference to the badge definition for this award.',\n },\n subject: {\n type: 'union',\n description:\n 'Entity the badge award is for (either an account DID or any specific AT Protocol record), e.g. a user, a project, or a specific activity claim.',\n refs: [\n 'lex:app.certified.defs#did',\n 'lex:com.atproto.repo.strongRef',\n ],\n },\n note: {\n type: 'string',\n description:\n 'Optional statement explaining the reason for this badge award.',\n },\n createdAt: {\n type: 'string',\n format: 'datetime',\n description:\n 'Client-declared timestamp when this record was originally created',\n },\n },\n },\n },\n },\n },\n AppCertifiedBadgeDefinition: {\n lexicon: 1,\n id: 'app.certified.badge.definition',\n defs: {\n main: {\n type: 'record',\n description:\n 'Defines a badge that can be awarded via badge award records to users, projects, or activity claims.',\n key: 'tid',\n record: {\n type: 'object',\n required: ['title', 'badgeType', 'icon', 'createdAt'],\n properties: {\n badgeType: {\n type: 'string',\n description:\n 'Category of the badge (e.g. endorsement, participation, affiliation).',\n },\n title: {\n type: 'string',\n description: 'Human-readable title of the badge.',\n },\n icon: {\n type: 'blob',\n description:\n 'Icon representing the badge, stored as a blob for compact visual display.',\n accept: [\n 'image/png',\n 'image/jpeg',\n 'image/webp',\n 'image/svg+xml',\n ],\n maxSize: 1048576,\n },\n description: {\n type: 'string',\n description:\n 'Optional short statement describing what the badge represents.',\n },\n allowedIssuers: {\n type: 'array',\n description:\n 'Optional allowlist of DIDs allowed to issue this badge. If omitted, anyone may issue it.',\n items: {\n type: 'ref',\n ref: 'lex:app.certified.defs#did',\n },\n },\n createdAt: {\n type: 'string',\n format: 'datetime',\n description:\n 'Client-declared timestamp when this record was originally created',\n },\n },\n },\n },\n },\n },\n AppCertifiedBadgeResponse: {\n lexicon: 1,\n id: 'app.certified.badge.response',\n defs: {\n main: {\n type: 'record',\n description: 'Recipient response to a badge award.',\n key: 'tid',\n record: {\n type: 'object',\n required: ['badgeAward', 'response', 'createdAt'],\n properties: {\n badgeAward: {\n type: 'ref',\n ref: 'lex:app.certified.badge.award',\n description: 'Reference to the badge award.',\n },\n response: {\n type: 'string',\n enum: ['accepted', 'rejected'],\n description:\n 'The recipient’s response for the badge (accepted or rejected).',\n },\n weight: {\n type: 'string',\n description:\n 'Optional relative weight for accepted badges, assigned by the recipient.',\n },\n createdAt: {\n type: 'string',\n format: 'datetime',\n description:\n 'Client-declared timestamp when this record was originally created',\n },\n },\n },\n },\n },\n },\n AppCertifiedDefs: {\n lexicon: 1,\n id: 'app.certified.defs',\n description: 'Common type definitions used across certified protocols.',\n defs: {\n did: {\n type: 'string',\n format: 'did',\n description: 'A Decentralized Identifier (DID) string.',\n },\n },\n },\n AppCertifiedLocation: {\n lexicon: 1,\n id: 'app.certified.location',\n defs: {\n main: {\n type: 'record',\n description: 'A location reference',\n key: 'tid',\n record: {\n type: 'object',\n required: [\n 'lpVersion',\n 'srs',\n 'locationType',\n 'location',\n 'createdAt',\n ],\n properties: {\n lpVersion: {\n type: 'string',\n description: 'The version of the Location Protocol',\n maxLength: 10,\n },\n srs: {\n type: 'string',\n format: 'uri',\n description:\n 'The Spatial Reference System URI (e.g., http://www.opengis.net/def/crs/OGC/1.3/CRS84) that defines the coordinate system.',\n maxLength: 100,\n },\n locationType: {\n type: 'string',\n description:\n 'An identifier for the format of the location data (e.g., coordinate-decimal, geojson-point)',\n knownValues: ['coordinate-decimal', 'geojson-point'],\n maxLength: 20,\n },\n location: {\n type: 'union',\n refs: [\n 'lex:org.hypercerts.defs#uri',\n 'lex:org.hypercerts.defs#smallBlob',\n ],\n description:\n 'The location of where the work was performed as a URI or blob.',\n },\n name: {\n type: 'string',\n description: 'Optional name for this location',\n maxLength: 1000,\n maxGraphemes: 100,\n },\n description: {\n type: 'string',\n description: 'Optional description for this location',\n maxLength: 2000,\n maxGraphemes: 500,\n },\n createdAt: {\n type: 'string',\n format: 'datetime',\n description:\n 'Client-declared timestamp when this record was originally created',\n },\n },\n },\n },\n },\n },\n ComAtprotoRepoStrongRef: {\n lexicon: 1,\n id: 'com.atproto.repo.strongRef',\n description: 'A URI with a content-hash fingerprint.',\n defs: {\n main: {\n type: 'object',\n required: ['uri', 'cid'],\n properties: {\n uri: {\n type: 'string',\n format: 'at-uri',\n },\n cid: {\n type: 'string',\n format: 'cid',\n },\n },\n },\n },\n },\n OrgHypercertsClaimActivity: {\n lexicon: 1,\n id: 'org.hypercerts.claim.activity',\n defs: {\n main: {\n type: 'record',\n description: 'A hypercert record tracking impact work.',\n key: 'any',\n record: {\n type: 'object',\n required: ['title', 'shortDescription', 'createdAt'],\n properties: {\n title: {\n type: 'string',\n description: 'Title of the hypercert.',\n maxLength: 256,\n },\n shortDescription: {\n type: 'string',\n description:\n 'Short summary of this activity claim, suitable for previews and list views. Rich text annotations may be provided via `shortDescriptionFacets`.',\n maxLength: 3000,\n maxGraphemes: 300,\n },\n shortDescriptionFacets: {\n type: 'array',\n description:\n 'Rich text annotations for `shortDescription` (mentions, URLs, hashtags, etc).',\n items: {\n type: 'ref',\n ref: 'lex:app.bsky.richtext.facet',\n },\n },\n description: {\n type: 'string',\n description:\n 'Optional longer description of this activity claim, including context or interpretation. Rich text annotations may be provided via `descriptionFacets`.',\n maxLength: 30000,\n maxGraphemes: 3000,\n },\n descriptionFacets: {\n type: 'array',\n description:\n 'Rich text annotations for `description` (mentions, URLs, hashtags, etc).',\n items: {\n type: 'ref',\n ref: 'lex:app.bsky.richtext.facet',\n },\n },\n image: {\n type: 'union',\n refs: [\n 'lex:org.hypercerts.defs#uri',\n 'lex:org.hypercerts.defs#smallImage',\n ],\n description:\n 'The hypercert visual representation as a URI or image blob.',\n },\n workScope: {\n type: 'union',\n refs: [\n 'lex:org.hypercerts.defs#workScopeAll',\n 'lex:org.hypercerts.defs#workScopeAny',\n 'lex:org.hypercerts.defs#workScopeNot',\n 'lex:org.hypercerts.defs#workScopeAtom',\n ],\n description:\n 'Work scope logic expression using boolean operators (all/any/not) and atomic scope references.',\n },\n startDate: {\n type: 'string',\n format: 'datetime',\n description: 'When the work began',\n },\n endDate: {\n type: 'string',\n format: 'datetime',\n description: 'When the work ended',\n },\n contributors: {\n type: 'array',\n description:\n 'An array of contributor objects, each containing contributor information, weight, and contribution details.',\n items: {\n type: 'ref',\n ref: 'lex:org.hypercerts.claim.activity#contributor',\n },\n },\n rights: {\n type: 'ref',\n ref: 'lex:com.atproto.repo.strongRef',\n description:\n 'A strong reference to the rights that this hypercert has. The record referenced must conform with the lexicon org.hypercerts.claim.rights.',\n },\n locations: {\n type: 'array',\n description:\n 'An array of strong references to the location where activity was performed. The record referenced must conform with the lexicon app.certified.location.',\n items: {\n type: 'ref',\n ref: 'lex:com.atproto.repo.strongRef',\n },\n },\n createdAt: {\n type: 'string',\n format: 'datetime',\n description:\n 'Client-declared timestamp when this record was originally created',\n },\n },\n },\n },\n contributor: {\n type: 'object',\n required: ['contributorIdentity'],\n properties: {\n contributorIdentity: {\n type: 'union',\n refs: [\n 'lex:org.hypercerts.claim.activity#contributorIdentity',\n 'lex:com.atproto.repo.strongRef',\n ],\n description:\n 'Contributor identity as a string (DID or identifier) via org.hypercerts.claim.activity#contributorIdentity, or a strong reference to a contributor information record.',\n },\n contributionWeight: {\n type: 'string',\n description:\n 'The relative weight/importance of this contribution (stored as a string to avoid float precision issues). Must be a positive numeric value. Weights do not need to sum to a specific total; normalization can be performed by the consuming application as needed.',\n },\n contributionDetails: {\n type: 'union',\n refs: [\n 'lex:org.hypercerts.claim.activity#contributorRole',\n 'lex:com.atproto.repo.strongRef',\n ],\n description:\n 'Contribution details as a string via org.hypercerts.claim.activity#contributorRole, or a strong reference to a contribution details record.',\n },\n },\n },\n contributorIdentity: {\n type: 'string',\n description: 'Contributor information as a string (DID or identifier).',\n },\n contributorRole: {\n type: 'string',\n description: 'Contribution details as a string.',\n maxLength: 10000,\n maxGraphemes: 1000,\n },\n },\n },\n OrgHypercertsClaimCollection: {\n lexicon: 1,\n id: 'org.hypercerts.claim.collection',\n defs: {\n main: {\n type: 'record',\n description:\n 'A collection/group of items (activities and/or other collections). Collections support recursive nesting. Use app.certified.location as a sidecar (same TID) for location metadata.',\n key: 'tid',\n record: {\n type: 'object',\n required: ['title', 'items', 'createdAt'],\n properties: {\n type: {\n type: 'string',\n description:\n \"The type of this collection. Possible fields can be 'favorites', 'project', or any other type of collection.\",\n },\n title: {\n type: 'string',\n description: 'The title of this collection',\n maxLength: 800,\n maxGraphemes: 80,\n },\n shortDescription: {\n type: 'string',\n maxLength: 3000,\n maxGraphemes: 300,\n description:\n 'Short summary of this collection, suitable for previews and list views',\n },\n description: {\n type: 'ref',\n ref: 'lex:pub.leaflet.pages.linearDocument#main',\n description:\n 'Rich-text description, represented as a Leaflet linear document.',\n },\n avatar: {\n type: 'union',\n refs: [\n 'lex:org.hypercerts.defs#uri',\n 'lex:org.hypercerts.defs#smallImage',\n ],\n description:\n \"The collection's avatar/profile image as a URI or image blob.\",\n },\n banner: {\n type: 'union',\n refs: [\n 'lex:org.hypercerts.defs#uri',\n 'lex:org.hypercerts.defs#largeImage',\n ],\n description:\n 'Larger horizontal image to display behind the collection view.',\n },\n items: {\n type: 'array',\n description:\n 'Array of items in this collection with optional weights.',\n items: {\n type: 'ref',\n ref: 'lex:org.hypercerts.claim.collection#item',\n },\n },\n createdAt: {\n type: 'string',\n format: 'datetime',\n description:\n 'Client-declared timestamp when this record was originally created',\n },\n },\n },\n },\n item: {\n type: 'object',\n required: ['itemIdentifier'],\n properties: {\n itemIdentifier: {\n type: 'ref',\n ref: 'lex:com.atproto.repo.strongRef',\n description:\n 'Strong reference to an item in this collection. Items can be activities (org.hypercerts.claim.activity) and/or other collections (org.hypercerts.claim.collection).',\n },\n itemWeight: {\n type: 'string',\n description:\n 'Optional weight for this item (positive numeric value stored as string). Weights do not need to sum to a specific total; normalization can be performed by the consuming application as needed.',\n },\n },\n },\n },\n },\n OrgHypercertsClaimContributionDetails: {\n lexicon: 1,\n id: 'org.hypercerts.claim.contributionDetails',\n defs: {\n main: {\n type: 'record',\n description:\n 'Details about a specific contribution including role, description, and timeframe.',\n key: 'tid',\n record: {\n type: 'object',\n required: ['createdAt'],\n properties: {\n role: {\n type: 'string',\n description: 'Role or title of the contributor.',\n maxLength: 100,\n },\n contributionDescription: {\n type: 'string',\n description: 'What the contribution concretely was.',\n maxLength: 10000,\n maxGraphemes: 1000,\n },\n startDate: {\n type: 'string',\n format: 'datetime',\n description:\n 'When this contribution started. This should be a subset of the hypercert timeframe.',\n },\n endDate: {\n type: 'string',\n format: 'datetime',\n description:\n 'When this contribution finished. This should be a subset of the hypercert timeframe.',\n },\n createdAt: {\n type: 'string',\n format: 'datetime',\n description:\n 'Client-declared timestamp when this record was originally created.',\n },\n },\n },\n },\n },\n },\n OrgHypercertsClaimContributorInformation: {\n lexicon: 1,\n id: 'org.hypercerts.claim.contributorInformation',\n defs: {\n main: {\n type: 'record',\n description:\n 'Contributor information including identifier, display name, and image.',\n key: 'tid',\n record: {\n type: 'object',\n required: ['createdAt'],\n properties: {\n identifier: {\n type: 'string',\n description:\n 'DID or a URI to a social profile of the contributor.',\n },\n displayName: {\n type: 'string',\n description: 'Display name of the contributor.',\n maxLength: 100,\n },\n image: {\n type: 'union',\n refs: [\n 'lex:org.hypercerts.defs#uri',\n 'lex:org.hypercerts.defs#smallImage',\n ],\n description:\n 'The contributor visual representation as a URI or image blob.',\n },\n createdAt: {\n type: 'string',\n format: 'datetime',\n description:\n 'Client-declared timestamp when this record was originally created.',\n },\n },\n },\n },\n },\n },\n OrgHypercertsClaimEvaluation: {\n lexicon: 1,\n id: 'org.hypercerts.claim.evaluation',\n defs: {\n score: {\n type: 'object',\n description: 'Overall score for an evaluation on a numeric scale.',\n required: ['min', 'max', 'value'],\n properties: {\n min: {\n type: 'integer',\n description: 'Minimum value of the scale, e.g. 0 or 1.',\n },\n max: {\n type: 'integer',\n description: 'Maximum value of the scale, e.g. 5 or 10.',\n },\n value: {\n type: 'integer',\n description: 'Score within the inclusive range [min, max].',\n },\n },\n },\n main: {\n type: 'record',\n description:\n 'An evaluation of a hypercert record (e.g. an activity and its impact).',\n key: 'tid',\n record: {\n type: 'object',\n required: ['evaluators', 'summary', 'createdAt'],\n properties: {\n subject: {\n type: 'ref',\n ref: 'lex:com.atproto.repo.strongRef',\n description:\n 'A strong reference to what is being evaluated. (e.g activity, measurement, contribution, etc.)',\n },\n evaluators: {\n type: 'array',\n description: 'DIDs of the evaluators',\n items: {\n type: 'ref',\n ref: 'lex:app.certified.defs#did',\n },\n maxLength: 1000,\n },\n content: {\n type: 'array',\n description:\n 'Evaluation data (URIs or blobs) containing detailed reports or methodology',\n items: {\n type: 'union',\n refs: [\n 'lex:org.hypercerts.defs#uri',\n 'lex:org.hypercerts.defs#smallBlob',\n ],\n },\n maxLength: 100,\n },\n measurements: {\n type: 'array',\n description:\n 'Optional references to the measurements that contributed to this evaluation. The record(s) referenced must conform with the lexicon org.hypercerts.claim.measurement',\n items: {\n type: 'ref',\n ref: 'lex:com.atproto.repo.strongRef',\n },\n maxLength: 100,\n },\n summary: {\n type: 'string',\n description: 'Brief evaluation summary',\n maxLength: 5000,\n maxGraphemes: 1000,\n },\n score: {\n type: 'ref',\n ref: 'lex:org.hypercerts.claim.evaluation#score',\n description:\n 'Optional overall score for this evaluation on a numeric scale.',\n },\n location: {\n type: 'ref',\n ref: 'lex:com.atproto.repo.strongRef',\n description:\n 'An optional reference for georeferenced evaluations. The record referenced must conform with the lexicon app.certified.location.',\n },\n createdAt: {\n type: 'string',\n format: 'datetime',\n description:\n 'Client-declared timestamp when this record was originally created',\n },\n },\n },\n },\n },\n },\n OrgHypercertsClaimEvidence: {\n lexicon: 1,\n id: 'org.hypercerts.claim.evidence',\n defs: {\n main: {\n type: 'record',\n description:\n 'A piece of evidence related to a hypercert record (e.g. an activity, project, claim, or evaluation). Evidence may support, clarify, or challenge the referenced subject.',\n key: 'tid',\n record: {\n type: 'object',\n required: ['content', 'title', 'createdAt'],\n properties: {\n subject: {\n type: 'ref',\n ref: 'lex:com.atproto.repo.strongRef',\n description:\n 'A strong reference to the record this evidence relates to (e.g. an activity, project, claim, or evaluation).',\n },\n content: {\n type: 'union',\n refs: [\n 'lex:org.hypercerts.defs#uri',\n 'lex:org.hypercerts.defs#smallBlob',\n ],\n description:\n 'A piece of evidence (URI or blob) related to the subject record; it may support, clarify, or challenge a hypercert claim.',\n },\n title: {\n type: 'string',\n maxLength: 256,\n description: 'Title to describe the nature of the evidence.',\n },\n shortDescription: {\n type: 'string',\n maxLength: 3000,\n maxGraphemes: 300,\n description:\n 'Short description explaining what this evidence shows.',\n },\n description: {\n type: 'string',\n description:\n 'Longer description describing the evidence in more detail.',\n maxLength: 30000,\n maxGraphemes: 3000,\n },\n relationType: {\n type: 'string',\n description: 'How this evidence relates to the subject.',\n knownValues: ['supports', 'challenges', 'clarifies'],\n },\n createdAt: {\n type: 'string',\n format: 'datetime',\n description:\n 'Client-declared timestamp when this record was originally created',\n },\n },\n },\n },\n },\n },\n OrgHypercertsClaimMeasurement: {\n lexicon: 1,\n id: 'org.hypercerts.claim.measurement',\n defs: {\n main: {\n type: 'record',\n description:\n 'Measurement data related to a hypercert record (e.g. an activity and its impact).',\n key: 'tid',\n record: {\n type: 'object',\n required: ['measurers', 'metric', 'value', 'createdAt'],\n properties: {\n subject: {\n type: 'ref',\n ref: 'lex:com.atproto.repo.strongRef',\n description:\n 'A strong reference to the record this measurement refers to (e.g. an activity, project, or claim).',\n },\n measurers: {\n type: 'array',\n description:\n 'DIDs of the entity (or entities) that measured this data',\n items: {\n type: 'ref',\n ref: 'lex:app.certified.defs#did',\n },\n maxLength: 100,\n },\n metric: {\n type: 'string',\n description: 'The metric being measured',\n maxLength: 500,\n },\n value: {\n type: 'string',\n description: 'The measured value',\n maxLength: 500,\n },\n methodType: {\n type: 'string',\n description: 'Short identifier for the measurement methodology',\n maxLength: 30,\n },\n methodURI: {\n type: 'string',\n format: 'uri',\n description:\n 'URI to methodology documentation, standard protocol, or measurement procedure',\n },\n evidenceURI: {\n type: 'array',\n description:\n 'URIs to related evidence or underlying data (e.g. org.hypercerts.claim.evidence records or raw datasets)',\n items: {\n type: 'string',\n format: 'uri',\n },\n maxLength: 50,\n },\n location: {\n type: 'ref',\n ref: 'lex:com.atproto.repo.strongRef',\n description:\n 'A strong reference to the location where the measurement was taken. The record referenced must conform with the lexicon app.certified.location',\n },\n createdAt: {\n type: 'string',\n format: 'datetime',\n description:\n 'Client-declared timestamp when this record was originally created',\n },\n },\n },\n },\n },\n },\n OrgHypercertsClaimRights: {\n lexicon: 1,\n id: 'org.hypercerts.claim.rights',\n defs: {\n main: {\n type: 'record',\n description:\n 'Describes the rights that a contributor and/or an owner has, such as whether the hypercert can be sold, transferred, and under what conditions.',\n key: 'tid',\n record: {\n type: 'object',\n required: [\n 'rightsName',\n 'rightsType',\n 'rightsDescription',\n 'createdAt',\n ],\n properties: {\n rightsName: {\n type: 'string',\n description: 'Full name of the rights',\n maxLength: 100,\n },\n rightsType: {\n type: 'string',\n description: 'Short rights identifier for easier search',\n maxLength: 10,\n },\n rightsDescription: {\n type: 'string',\n description: 'Description of the rights of this hypercert',\n },\n attachment: {\n type: 'union',\n refs: [\n 'lex:org.hypercerts.defs#uri',\n 'lex:org.hypercerts.defs#smallBlob',\n ],\n description:\n 'An attachment to define the rights further, e.g. a legal document.',\n },\n createdAt: {\n type: 'string',\n format: 'datetime',\n description:\n 'Client-declared timestamp when this record was originally created',\n },\n },\n },\n },\n },\n },\n OrgHypercertsDefs: {\n lexicon: 1,\n id: 'org.hypercerts.defs',\n defs: {\n uri: {\n type: 'object',\n required: ['uri'],\n description: 'Object containing a URI to external data',\n properties: {\n uri: {\n type: 'string',\n format: 'uri',\n maxGraphemes: 1024,\n description: 'URI to external data',\n },\n },\n },\n smallBlob: {\n type: 'object',\n required: ['blob'],\n description: 'Object containing a blob to external data',\n properties: {\n blob: {\n type: 'blob',\n accept: ['*/*'],\n maxSize: 10485760,\n description: 'Blob to external data (up to 10MB)',\n },\n },\n },\n largeBlob: {\n type: 'object',\n required: ['blob'],\n description: 'Object containing a blob to external data',\n properties: {\n blob: {\n type: 'blob',\n accept: ['*/*'],\n maxSize: 104857600,\n description: 'Blob to external data (up to 100MB)',\n },\n },\n },\n smallImage: {\n type: 'object',\n required: ['image'],\n description: 'Object containing a small image',\n properties: {\n image: {\n type: 'blob',\n accept: ['image/jpeg', 'image/jpg', 'image/png', 'image/webp'],\n maxSize: 5242880,\n description: 'Image (up to 5MB)',\n },\n },\n },\n largeImage: {\n type: 'object',\n required: ['image'],\n description: 'Object containing a large image',\n properties: {\n image: {\n type: 'blob',\n accept: ['image/jpeg', 'image/jpg', 'image/png', 'image/webp'],\n maxSize: 10485760,\n description: 'Image (up to 10MB)',\n },\n },\n },\n workScopeAll: {\n type: 'object',\n required: ['op', 'args'],\n description: 'Logical AND operation: all arguments must be satisfied.',\n properties: {\n op: {\n type: 'string',\n const: 'all',\n description: \"Operator type: 'all' (logical AND)\",\n },\n args: {\n type: 'array',\n items: {\n type: 'union',\n refs: [\n 'lex:org.hypercerts.defs#workScopeAll',\n 'lex:org.hypercerts.defs#workScopeAny',\n 'lex:org.hypercerts.defs#workScopeNot',\n 'lex:org.hypercerts.defs#workScopeAtom',\n ],\n },\n minLength: 1,\n maxLength: 100,\n description:\n 'Array of work scope expressions that must all be satisfied',\n },\n },\n },\n workScopeAny: {\n type: 'object',\n required: ['op', 'args'],\n description:\n 'Logical OR operation: at least one argument must be satisfied.',\n properties: {\n op: {\n type: 'string',\n const: 'any',\n description: \"Operator type: 'any' (logical OR)\",\n },\n args: {\n type: 'array',\n items: {\n type: 'union',\n refs: [\n 'lex:org.hypercerts.defs#workScopeAll',\n 'lex:org.hypercerts.defs#workScopeAny',\n 'lex:org.hypercerts.defs#workScopeNot',\n 'lex:org.hypercerts.defs#workScopeAtom',\n ],\n },\n minLength: 1,\n maxLength: 100,\n description:\n 'Array of work scope expressions, at least one of which must be satisfied',\n },\n },\n },\n workScopeNot: {\n type: 'object',\n required: ['op', 'arg'],\n description:\n 'Logical NOT operation: the argument must not be satisfied.',\n properties: {\n op: {\n type: 'string',\n const: 'not',\n description: \"Operator type: 'not' (logical NOT)\",\n },\n arg: {\n type: 'union',\n refs: [\n 'lex:org.hypercerts.defs#workScopeAll',\n 'lex:org.hypercerts.defs#workScopeAny',\n 'lex:org.hypercerts.defs#workScopeNot',\n 'lex:org.hypercerts.defs#workScopeAtom',\n ],\n description: 'Work scope expression that must not be satisfied',\n },\n },\n },\n workScopeAtom: {\n type: 'object',\n required: ['atom'],\n description:\n 'Atomic scope reference: a strong reference to a scope record.',\n properties: {\n atom: {\n type: 'ref',\n ref: 'lex:com.atproto.repo.strongRef',\n description:\n 'Strong reference to an org.hypercerts.helper.workScopeTag record',\n },\n },\n },\n },\n },\n OrgHypercertsFundingReceipt: {\n lexicon: 1,\n id: 'org.hypercerts.funding.receipt',\n defs: {\n main: {\n type: 'record',\n description:\n 'Records a funding receipt for a payment from one user to another user. It may be recorded by the recipient, by the sender, or by a third party. The sender may remain anonymous.',\n key: 'tid',\n record: {\n type: 'object',\n required: ['from', 'to', 'amount', 'currency', 'createdAt'],\n properties: {\n from: {\n type: 'ref',\n ref: 'lex:app.certified.defs#did',\n description:\n 'DID of the sender who transferred the funds. Leave empty if sender wants to stay anonymous.',\n },\n to: {\n type: 'string',\n description:\n 'The recipient of the funds. Can be identified by DID or a clear-text name.',\n },\n amount: {\n type: 'string',\n description: 'Amount of funding received.',\n },\n currency: {\n type: 'string',\n description: 'Currency of the payment (e.g. EUR, USD, ETH).',\n },\n paymentRail: {\n type: 'string',\n description:\n 'How the funds were transferred (e.g. bank_transfer, credit_card, onchain, cash, check, payment_processor).',\n },\n paymentNetwork: {\n type: 'string',\n description:\n 'Optional network within the payment rail (e.g. arbitrum, ethereum, sepa, visa, paypal).',\n },\n transactionId: {\n type: 'string',\n description:\n 'Identifier of the underlying payment transaction (e.g. bank reference, onchain transaction hash, or processor-specific ID). Use paymentNetwork to specify the network where applicable.',\n },\n for: {\n type: 'string',\n format: 'at-uri',\n description:\n 'Optional reference to the activity, project, or organization this funding relates to.',\n },\n notes: {\n type: 'string',\n description:\n 'Optional notes or additional context for this funding receipt.',\n maxLength: 500,\n },\n occurredAt: {\n type: 'string',\n format: 'datetime',\n description: 'Timestamp when the payment occurred.',\n },\n createdAt: {\n type: 'string',\n format: 'datetime',\n description:\n 'Client-declared timestamp when this receipt record was created.',\n },\n },\n },\n },\n },\n },\n OrgHypercertsHelperWorkScopeTag: {\n lexicon: 1,\n id: 'org.hypercerts.helper.workScopeTag',\n defs: {\n main: {\n type: 'record',\n description:\n 'A reusable scope atom for work scope logic expressions. Scopes can represent topics, languages, domains, deliverables, methods, regions, tags, or other categorical labels.',\n key: 'tid',\n record: {\n type: 'object',\n required: ['createdAt', 'key', 'label'],\n properties: {\n createdAt: {\n type: 'string',\n format: 'datetime',\n description:\n 'Client-declared timestamp when this record was originally created',\n },\n key: {\n type: 'string',\n description:\n \"Lowercase, hyphenated machine-readable key for this scope (e.g., 'ipfs', 'go-lang', 'filecoin').\",\n maxLength: 120,\n },\n label: {\n type: 'string',\n description: 'Human-readable label for this scope.',\n maxLength: 200,\n },\n kind: {\n type: 'string',\n description:\n 'Category type of this scope. Recommended values: topic, language, domain, method, tag.',\n maxLength: 50,\n },\n description: {\n type: 'string',\n description: 'Optional longer description of this scope.',\n maxLength: 10000,\n maxGraphemes: 1000,\n },\n parent: {\n type: 'ref',\n ref: 'lex:com.atproto.repo.strongRef',\n description:\n 'Optional strong reference to a parent scope record for taxonomy/hierarchy support.',\n },\n aliases: {\n type: 'array',\n items: {\n type: 'string',\n maxLength: 200,\n },\n maxLength: 50,\n description:\n 'Optional array of alternative names or identifiers for this scope.',\n },\n externalReference: {\n type: 'union',\n refs: [\n 'lex:org.hypercerts.defs#uri',\n 'lex:org.hypercerts.defs#smallBlob',\n ],\n description:\n 'Optional external reference for this scope as a URI or blob.',\n },\n },\n },\n },\n },\n },\n} as const satisfies Record<string, LexiconDoc>\nexport const schemas = Object.values(schemaDict) satisfies LexiconDoc[]\nexport const lexicons: Lexicons = new Lexicons(schemas)\n\nexport function validate<T extends { $type: string }>(\n v: unknown,\n id: string,\n hash: string,\n requiredType: true,\n): ValidationResult<T>\nexport function validate<T extends { $type?: string }>(\n v: unknown,\n id: string,\n hash: string,\n requiredType?: false,\n): ValidationResult<T>\nexport function validate(\n v: unknown,\n id: string,\n hash: string,\n requiredType?: boolean,\n): ValidationResult {\n return (requiredType ? is$typed : maybe$typed)(v, id, hash)\n ? lexicons.validate(`${id}#${hash}`, v)\n : {\n success: false,\n error: new ValidationError(\n `Must be an object with \"${hash === 'main' ? id : `${id}#${hash}`}\" $type property`,\n ),\n }\n}\n\nexport const ids = {\n AppCertifiedBadgeAward: 'app.certified.badge.award',\n AppCertifiedBadgeDefinition: 'app.certified.badge.definition',\n AppCertifiedBadgeResponse: 'app.certified.badge.response',\n AppCertifiedDefs: 'app.certified.defs',\n AppCertifiedLocation: 'app.certified.location',\n ComAtprotoRepoStrongRef: 'com.atproto.repo.strongRef',\n OrgHypercertsClaimActivity: 'org.hypercerts.claim.activity',\n OrgHypercertsClaimCollection: 'org.hypercerts.claim.collection',\n OrgHypercertsClaimContributionDetails:\n 'org.hypercerts.claim.contributionDetails',\n OrgHypercertsClaimContributorInformation:\n 'org.hypercerts.claim.contributorInformation',\n OrgHypercertsClaimEvaluation: 'org.hypercerts.claim.evaluation',\n OrgHypercertsClaimEvidence: 'org.hypercerts.claim.evidence',\n OrgHypercertsClaimMeasurement: 'org.hypercerts.claim.measurement',\n OrgHypercertsClaimRights: 'org.hypercerts.claim.rights',\n OrgHypercertsDefs: 'org.hypercerts.defs',\n OrgHypercertsFundingReceipt: 'org.hypercerts.funding.receipt',\n OrgHypercertsHelperWorkScopeTag: 'org.hypercerts.helper.workScopeTag',\n} as const\n"],"names":["Lexicons","ValidationError"],"mappings":";;;;AAAA;;AAEG;AAeH,SAAS,QAAQ,CAAI,CAAI,EAAA;IACvB,OAAO,CAAC,IAAI,IAAI,IAAI,OAAO,CAAC,KAAK,QAAQ;AAC3C;AAEA,SAAS,OAAO,CACd,KAAc,EACd,EAAM,EACN,IAAU,EAAA;IAEV,OAAO,IAAI,KAAK;UACZ,KAAK,KAAK;AACZ;YACE,OAAO,KAAK,KAAK,QAAQ;gBACvB,KAAK,CAAC,MAAM,KAAK,EAAE,CAAC,MAAM,GAAG,CAAC,GAAG,IAAI,CAAC,MAAM;gBAC5C,KAAK,CAAC,UAAU,CAAC,EAAE,CAAC,MAAM,CAAC,KAAK,EAAE;AAClC,gBAAA,KAAK,CAAC,UAAU,CAAC,EAAE,CAAC;AACpB,gBAAA,KAAK,CAAC,QAAQ,CAAC,IAAI,CAAC;AAC5B;SAgBgB,QAAQ,CACtB,CA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