@hypercerts-org/lexicon 0.10.0-beta.14 → 0.10.0-beta.16

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 (136) hide show
  1. package/CHANGELOG.md +36 -0
  2. package/README.md +117 -12
  3. package/SCHEMAS.md +300 -158
  4. package/dist/exports.d.ts +604 -171
  5. package/dist/exports.d.ts.map +1 -1
  6. package/dist/generated/exports.d.ts +604 -171
  7. package/dist/generated/exports.d.ts.map +1 -1
  8. package/dist/generated/lexicons.d.ts +1256 -440
  9. package/dist/generated/lexicons.d.ts.map +1 -1
  10. package/dist/generated/types/app/certified/actor/organization.d.ts +32 -0
  11. package/dist/generated/types/app/certified/actor/organization.d.ts.map +1 -0
  12. package/dist/generated/types/app/certified/actor/profile.d.ts +4 -1
  13. package/dist/generated/types/app/certified/actor/profile.d.ts.map +1 -1
  14. package/dist/generated/types/app/certified/badge/award.d.ts +2 -0
  15. package/dist/generated/types/app/certified/badge/award.d.ts.map +1 -1
  16. package/dist/generated/types/app/certified/badge/response.d.ts +1 -1
  17. package/dist/generated/types/app/certified/badge/response.d.ts.map +1 -1
  18. package/dist/generated/types/app/certified/location.d.ts +4 -4
  19. package/dist/generated/types/app/certified/location.d.ts.map +1 -1
  20. package/dist/generated/types/org/hyperboards/board.d.ts +75 -0
  21. package/dist/generated/types/org/hyperboards/board.d.ts.map +1 -0
  22. package/dist/generated/types/org/hyperboards/displayProfile.d.ts +31 -0
  23. package/dist/generated/types/org/hyperboards/displayProfile.d.ts.map +1 -0
  24. package/dist/generated/types/org/hypercerts/claim/activity.d.ts +8 -9
  25. package/dist/generated/types/org/hypercerts/claim/activity.d.ts.map +1 -1
  26. package/dist/generated/types/org/hypercerts/claim/{contributionDetails.d.ts → contribution.d.ts} +6 -6
  27. package/dist/generated/types/org/hypercerts/claim/contribution.d.ts.map +1 -0
  28. package/dist/generated/types/org/hypercerts/claim/contributorInformation.d.ts +2 -2
  29. package/dist/generated/types/org/hypercerts/claim/contributorInformation.d.ts.map +1 -1
  30. package/dist/generated/types/org/hypercerts/claim/rights.d.ts +3 -3
  31. package/dist/generated/types/org/hypercerts/claim/rights.d.ts.map +1 -1
  32. package/dist/{types/org/hypercerts/claim → generated/types/org/hypercerts}/collection.d.ts +10 -10
  33. package/dist/generated/types/org/hypercerts/collection.d.ts.map +1 -0
  34. package/dist/generated/types/org/hypercerts/context/acknowledgement.d.ts +25 -0
  35. package/dist/generated/types/org/hypercerts/context/acknowledgement.d.ts.map +1 -0
  36. package/dist/generated/types/org/hypercerts/{claim → context}/attachment.d.ts +6 -8
  37. package/dist/generated/types/org/hypercerts/context/attachment.d.ts.map +1 -0
  38. package/dist/generated/types/org/hypercerts/{claim → context}/evaluation.d.ts +15 -15
  39. package/dist/generated/types/org/hypercerts/context/evaluation.d.ts.map +1 -0
  40. package/dist/{types/org/hypercerts/claim → generated/types/org/hypercerts/context}/measurement.d.ts +7 -6
  41. package/dist/generated/types/org/hypercerts/context/measurement.d.ts.map +1 -0
  42. package/dist/generated/types/org/hypercerts/defs.d.ts +8 -0
  43. package/dist/generated/types/org/hypercerts/defs.d.ts.map +1 -1
  44. package/dist/generated/types/org/hypercerts/funding/receipt.d.ts +1 -1
  45. package/dist/generated/types/org/hypercerts/funding/receipt.d.ts.map +1 -1
  46. package/dist/generated/types/org/hypercerts/workscope/cel.d.ts +20 -0
  47. package/dist/generated/types/org/hypercerts/workscope/cel.d.ts.map +1 -0
  48. package/dist/generated/types/org/hypercerts/workscope/tag.d.ts +36 -0
  49. package/dist/generated/types/org/hypercerts/workscope/tag.d.ts.map +1 -0
  50. package/dist/index.cjs +1931 -805
  51. package/dist/index.cjs.map +1 -1
  52. package/dist/index.mjs +1883 -777
  53. package/dist/index.mjs.map +1 -1
  54. package/dist/lexicons.cjs +689 -240
  55. package/dist/lexicons.cjs.map +1 -1
  56. package/dist/lexicons.d.ts +1256 -440
  57. package/dist/lexicons.d.ts.map +1 -1
  58. package/dist/lexicons.mjs +689 -240
  59. package/dist/lexicons.mjs.map +1 -1
  60. package/dist/types/app/certified/actor/organization.d.ts +32 -0
  61. package/dist/types/app/certified/actor/organization.d.ts.map +1 -0
  62. package/dist/types/app/certified/actor/profile.d.ts +4 -1
  63. package/dist/types/app/certified/actor/profile.d.ts.map +1 -1
  64. package/dist/types/app/certified/badge/award.d.ts +2 -0
  65. package/dist/types/app/certified/badge/award.d.ts.map +1 -1
  66. package/dist/types/app/certified/badge/response.d.ts +1 -1
  67. package/dist/types/app/certified/badge/response.d.ts.map +1 -1
  68. package/dist/types/app/certified/location.d.ts +4 -4
  69. package/dist/types/app/certified/location.d.ts.map +1 -1
  70. package/dist/types/org/hyperboards/board.d.ts +75 -0
  71. package/dist/types/org/hyperboards/board.d.ts.map +1 -0
  72. package/dist/types/org/hyperboards/displayProfile.d.ts +31 -0
  73. package/dist/types/org/hyperboards/displayProfile.d.ts.map +1 -0
  74. package/dist/types/org/hypercerts/claim/activity.d.ts +8 -9
  75. package/dist/types/org/hypercerts/claim/activity.d.ts.map +1 -1
  76. package/dist/types/org/hypercerts/claim/{contributionDetails.d.ts → contribution.d.ts} +6 -6
  77. package/dist/types/org/hypercerts/claim/contribution.d.ts.map +1 -0
  78. package/dist/types/org/hypercerts/claim/contributorInformation.d.ts +2 -2
  79. package/dist/types/org/hypercerts/claim/contributorInformation.d.ts.map +1 -1
  80. package/dist/types/org/hypercerts/claim/rights.d.ts +3 -3
  81. package/dist/types/org/hypercerts/claim/rights.d.ts.map +1 -1
  82. package/dist/{generated/types/org/hypercerts/claim → types/org/hypercerts}/collection.d.ts +10 -10
  83. package/dist/types/org/hypercerts/collection.d.ts.map +1 -0
  84. package/dist/types/org/hypercerts/context/acknowledgement.d.ts +25 -0
  85. package/dist/types/org/hypercerts/context/acknowledgement.d.ts.map +1 -0
  86. package/dist/types/org/hypercerts/{claim → context}/attachment.d.ts +6 -8
  87. package/dist/types/org/hypercerts/context/attachment.d.ts.map +1 -0
  88. package/dist/types/org/hypercerts/{claim → context}/evaluation.d.ts +15 -15
  89. package/dist/types/org/hypercerts/context/evaluation.d.ts.map +1 -0
  90. package/dist/{generated/types/org/hypercerts/claim → types/org/hypercerts/context}/measurement.d.ts +7 -6
  91. package/dist/types/org/hypercerts/context/measurement.d.ts.map +1 -0
  92. package/dist/types/org/hypercerts/defs.d.ts +8 -0
  93. package/dist/types/org/hypercerts/defs.d.ts.map +1 -1
  94. package/dist/types/org/hypercerts/funding/receipt.d.ts +1 -1
  95. package/dist/types/org/hypercerts/funding/receipt.d.ts.map +1 -1
  96. package/dist/types/org/hypercerts/workscope/cel.d.ts +20 -0
  97. package/dist/types/org/hypercerts/workscope/cel.d.ts.map +1 -0
  98. package/dist/types/org/hypercerts/workscope/tag.d.ts +36 -0
  99. package/dist/types/org/hypercerts/workscope/tag.d.ts.map +1 -0
  100. package/lexicons/app/certified/actor/organization.json +70 -0
  101. package/lexicons/app/certified/actor/profile.json +13 -3
  102. package/lexicons/app/certified/badge/award.json +8 -1
  103. package/lexicons/app/certified/badge/definition.json +8 -3
  104. package/lexicons/app/certified/badge/response.json +3 -2
  105. package/lexicons/app/certified/location.json +13 -4
  106. package/lexicons/org/hyperboards/board.json +152 -0
  107. package/lexicons/org/hyperboards/displayProfile.json +64 -0
  108. package/lexicons/org/hypercerts/claim/activity.json +23 -29
  109. package/lexicons/org/hypercerts/claim/{contributionDetails.json → contribution.json} +4 -4
  110. package/lexicons/org/hypercerts/claim/contributorInformation.json +3 -2
  111. package/lexicons/org/hypercerts/claim/rights.json +5 -3
  112. package/lexicons/org/hypercerts/{claim/collection.json → collection.json} +9 -6
  113. package/lexicons/org/hypercerts/context/acknowledgement.json +42 -0
  114. package/lexicons/org/hypercerts/{claim → context}/attachment.json +6 -15
  115. package/lexicons/org/hypercerts/{claim → context}/evaluation.json +22 -22
  116. package/lexicons/org/hypercerts/{claim → context}/measurement.json +13 -9
  117. package/lexicons/org/hypercerts/defs.json +14 -1
  118. package/lexicons/org/hypercerts/funding/receipt.json +12 -6
  119. package/lexicons/org/hypercerts/workscope/cel.json +39 -0
  120. package/lexicons/org/hypercerts/workscope/tag.json +87 -0
  121. package/package.json +1 -1
  122. package/dist/generated/types/org/hypercerts/claim/attachment.d.ts.map +0 -1
  123. package/dist/generated/types/org/hypercerts/claim/collection.d.ts.map +0 -1
  124. package/dist/generated/types/org/hypercerts/claim/contributionDetails.d.ts.map +0 -1
  125. package/dist/generated/types/org/hypercerts/claim/evaluation.d.ts.map +0 -1
  126. package/dist/generated/types/org/hypercerts/claim/measurement.d.ts.map +0 -1
  127. package/dist/generated/types/org/hypercerts/helper/workScopeTag.d.ts +0 -31
  128. package/dist/generated/types/org/hypercerts/helper/workScopeTag.d.ts.map +0 -1
  129. package/dist/types/org/hypercerts/claim/attachment.d.ts.map +0 -1
  130. package/dist/types/org/hypercerts/claim/collection.d.ts.map +0 -1
  131. package/dist/types/org/hypercerts/claim/contributionDetails.d.ts.map +0 -1
  132. package/dist/types/org/hypercerts/claim/evaluation.d.ts.map +0 -1
  133. package/dist/types/org/hypercerts/claim/measurement.d.ts.map +0 -1
  134. package/dist/types/org/hypercerts/helper/workScopeTag.d.ts +0 -31
  135. package/dist/types/org/hypercerts/helper/workScopeTag.d.ts.map +0 -1
  136. package/lexicons/org/hypercerts/helper/workScopeTag.json +0 -65
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "lexicon": 1,
3
- "id": "org.hypercerts.claim.collection",
3
+ "id": "org.hypercerts.collection",
4
4
  "defs": {
5
5
  "main": {
6
6
  "type": "record",
@@ -8,15 +8,16 @@
8
8
  "key": "tid",
9
9
  "record": {
10
10
  "type": "object",
11
- "required": ["title", "items", "createdAt"],
11
+ "required": ["title", "createdAt"],
12
12
  "properties": {
13
13
  "type": {
14
14
  "type": "string",
15
- "description": "The type of this collection. Possible fields can be 'favorites', 'project', or any other type of collection."
15
+ "description": "The type of this collection. Possible fields can be 'favorites', 'project', or any other type of collection.",
16
+ "maxLength": 64
16
17
  },
17
18
  "title": {
18
19
  "type": "string",
19
- "description": "The title of this collection",
20
+ "description": "Display name for this collection (e.g. 'Q1 2025 Impact Projects')",
20
21
  "maxLength": 800,
21
22
  "maxGraphemes": 80
22
23
  },
@@ -50,6 +51,7 @@
50
51
  "items": {
51
52
  "type": "array",
52
53
  "description": "Array of items in this collection with optional weights.",
54
+ "maxLength": 1000,
53
55
  "items": {
54
56
  "type": "ref",
55
57
  "ref": "#item"
@@ -75,11 +77,12 @@
75
77
  "itemIdentifier": {
76
78
  "type": "ref",
77
79
  "ref": "com.atproto.repo.strongRef",
78
- "description": "Strong reference to an item in this collection. Items can be activities (org.hypercerts.claim.activity) and/or other collections (org.hypercerts.claim.collection)."
80
+ "description": "Strong reference to an item in this collection. Items can be activities (org.hypercerts.claim.activity) and/or other collections (org.hypercerts.collection)."
79
81
  },
80
82
  "itemWeight": {
81
83
  "type": "string",
82
- "description": "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."
84
+ "description": "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.",
85
+ "maxLength": 100
83
86
  }
84
87
  }
85
88
  }
@@ -0,0 +1,42 @@
1
+ {
2
+ "lexicon": 1,
3
+ "id": "org.hypercerts.context.acknowledgement",
4
+ "defs": {
5
+ "main": {
6
+ "type": "record",
7
+ "description": "Acknowledges a record (subject) or its relationship in a context. Created in the acknowledging actor's repo to form a bidirectional link. Examples: a contributor acknowledging inclusion in an activity, an activity owner acknowledging inclusion in a collection, or a record owner acknowledging an evaluation.",
8
+ "key": "tid",
9
+ "record": {
10
+ "type": "object",
11
+ "required": ["subject", "acknowledged", "createdAt"],
12
+ "properties": {
13
+ "subject": {
14
+ "type": "ref",
15
+ "ref": "com.atproto.repo.strongRef",
16
+ "description": "The record being acknowledged (e.g. an activity, a contributor information record, an evaluation)."
17
+ },
18
+ "context": {
19
+ "type": "union",
20
+ "refs": ["org.hypercerts.defs#uri", "com.atproto.repo.strongRef"],
21
+ "description": "Context for the acknowledgement (e.g. the collection that includes an activity, or the activity that includes a contributor). A URI for a lightweight reference or a strong reference for content-hash verification."
22
+ },
23
+ "acknowledged": {
24
+ "type": "boolean",
25
+ "description": "Whether the relationship is acknowledged (true) or rejected (false)."
26
+ },
27
+ "comment": {
28
+ "type": "string",
29
+ "description": "Optional plain-text comment providing additional context or reasoning.",
30
+ "maxLength": 10000,
31
+ "maxGraphemes": 1000
32
+ },
33
+ "createdAt": {
34
+ "type": "string",
35
+ "format": "datetime",
36
+ "description": "Client-declared timestamp when this record was originally created."
37
+ }
38
+ }
39
+ }
40
+ }
41
+ }
42
+ }
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "lexicon": 1,
3
- "id": "org.hypercerts.claim.attachment",
3
+ "id": "org.hypercerts.context.attachment",
4
4
  "defs": {
5
5
  "main": {
6
6
  "type": "record",
@@ -8,7 +8,7 @@
8
8
  "key": "tid",
9
9
  "record": {
10
10
  "type": "object",
11
- "required": ["title", "content", "createdAt"],
11
+ "required": ["title", "createdAt"],
12
12
  "properties": {
13
13
  "subjects": {
14
14
  "type": "array",
@@ -39,7 +39,7 @@
39
39
  "title": {
40
40
  "type": "string",
41
41
  "maxLength": 256,
42
- "description": "Title of this attachment."
42
+ "description": "Display title for this attachment (e.g. 'Impact Assessment Report', 'Audit Findings')"
43
43
  },
44
44
  "shortDescription": {
45
45
  "type": "string",
@@ -56,18 +56,9 @@
56
56
  }
57
57
  },
58
58
  "description": {
59
- "type": "string",
60
- "description": "Optional longer description of this attachment, including context or interpretation. Rich text annotations may be provided via `descriptionFacets`.",
61
- "maxLength": 30000,
62
- "maxGraphemes": 3000
63
- },
64
- "descriptionFacets": {
65
- "type": "array",
66
- "description": "Rich text annotations for `description` (mentions, URLs, hashtags, etc).",
67
- "items": {
68
- "type": "ref",
69
- "ref": "app.bsky.richtext.facet"
70
- }
59
+ "type": "ref",
60
+ "ref": "pub.leaflet.pages.linearDocument#main",
61
+ "description": "Rich-text description, represented as a Leaflet linear document."
71
62
  },
72
63
  "location": {
73
64
  "type": "ref",
@@ -1,26 +1,7 @@
1
1
  {
2
2
  "lexicon": 1,
3
- "id": "org.hypercerts.claim.evaluation",
3
+ "id": "org.hypercerts.context.evaluation",
4
4
  "defs": {
5
- "score": {
6
- "type": "object",
7
- "description": "Overall score for an evaluation on a numeric scale.",
8
- "required": ["min", "max", "value"],
9
- "properties": {
10
- "min": {
11
- "type": "integer",
12
- "description": "Minimum value of the scale, e.g. 0 or 1."
13
- },
14
- "max": {
15
- "type": "integer",
16
- "description": "Maximum value of the scale, e.g. 5 or 10."
17
- },
18
- "value": {
19
- "type": "integer",
20
- "description": "Score within the inclusive range [min, max]."
21
- }
22
- }
23
- },
24
5
  "main": {
25
6
  "type": "record",
26
7
  "description": "An evaluation of a hypercert record (e.g. an activity and its impact).",
@@ -32,7 +13,7 @@
32
13
  "subject": {
33
14
  "type": "ref",
34
15
  "ref": "com.atproto.repo.strongRef",
35
- "description": "A strong reference to what is being evaluated. (e.g activity, measurement, contribution, etc.)"
16
+ "description": "A strong reference to what is being evaluated (e.g. activity, measurement, contribution, etc.)"
36
17
  },
37
18
  "evaluators": {
38
19
  "type": "array",
@@ -57,7 +38,7 @@
57
38
  },
58
39
  "measurements": {
59
40
  "type": "array",
60
- "description": "Optional references to the measurements that contributed to this evaluation. The record(s) referenced must conform with the lexicon org.hypercerts.claim.measurement",
41
+ "description": "Optional references to the measurements that contributed to this evaluation. The record(s) referenced must conform with the lexicon org.hypercerts.context.measurement",
61
42
  "items": {
62
43
  "type": "ref",
63
44
  "ref": "com.atproto.repo.strongRef"
@@ -87,6 +68,25 @@
87
68
  }
88
69
  }
89
70
  }
71
+ },
72
+ "score": {
73
+ "type": "object",
74
+ "description": "Overall score for an evaluation on a numeric scale.",
75
+ "required": ["min", "max", "value"],
76
+ "properties": {
77
+ "min": {
78
+ "type": "integer",
79
+ "description": "Minimum value of the scale, e.g. 0 or 1."
80
+ },
81
+ "max": {
82
+ "type": "integer",
83
+ "description": "Maximum value of the scale, e.g. 5 or 10."
84
+ },
85
+ "value": {
86
+ "type": "integer",
87
+ "description": "Score within the inclusive range [min, max]."
88
+ }
89
+ }
90
90
  }
91
91
  }
92
92
  }
@@ -1,19 +1,23 @@
1
1
  {
2
2
  "lexicon": 1,
3
- "id": "org.hypercerts.claim.measurement",
3
+ "id": "org.hypercerts.context.measurement",
4
4
  "defs": {
5
5
  "main": {
6
6
  "type": "record",
7
- "description": "Measurement data related to a hypercert record (e.g. an activity and its impact).",
7
+ "description": "Measurement data related to one or more records (e.g. activities, projects, etc.).",
8
8
  "key": "tid",
9
9
  "record": {
10
10
  "type": "object",
11
11
  "required": ["metric", "unit", "value", "createdAt"],
12
12
  "properties": {
13
- "subject": {
14
- "type": "ref",
15
- "ref": "com.atproto.repo.strongRef",
16
- "description": "A strong reference to the record this measurement refers to (e.g. an activity, project, or claim)."
13
+ "subjects": {
14
+ "type": "array",
15
+ "description": "Strong references to the records this measurement refers to (e.g. activities, projects, or claims).",
16
+ "items": {
17
+ "type": "ref",
18
+ "ref": "com.atproto.repo.strongRef"
19
+ },
20
+ "maxLength": 100
17
21
  },
18
22
  "metric": {
19
23
  "type": "string",
@@ -27,7 +31,7 @@
27
31
  },
28
32
  "value": {
29
33
  "type": "string",
30
- "description": "The measured numeric value.",
34
+ "description": "The measured value as a numeric string (e.g. '1234.56')",
31
35
  "maxLength": 500
32
36
  },
33
37
  "startDate": {
@@ -38,7 +42,7 @@
38
42
  "endDate": {
39
43
  "type": "string",
40
44
  "format": "datetime",
41
- "description": "The end date and time when the measurement ended. If it was a one time measurement, the endDate should be equal to the startDate."
45
+ "description": "The end date and time when the measurement ended. For one-time measurements, this should equal the start date."
42
46
  },
43
47
  "locations": {
44
48
  "type": "array",
@@ -70,7 +74,7 @@
70
74
  },
71
75
  "measurers": {
72
76
  "type": "array",
73
- "description": "DIDs of the entity (or entities) that measured this data",
77
+ "description": "DIDs of the entities that performed this measurement",
74
78
  "items": {
75
79
  "type": "ref",
76
80
  "ref": "app.certified.defs#did"
@@ -1,6 +1,7 @@
1
1
  {
2
2
  "lexicon": 1,
3
3
  "id": "org.hypercerts.defs",
4
+ "description": "Common type definitions used across all Hypercerts protocols.",
4
5
  "defs": {
5
6
  "uri": {
6
7
  "type": "object",
@@ -10,7 +11,6 @@
10
11
  "uri": {
11
12
  "type": "string",
12
13
  "format": "uri",
13
- "maxGraphemes": 1024,
14
14
  "description": "URI to external data"
15
15
  }
16
16
  }
@@ -54,6 +54,19 @@
54
54
  }
55
55
  }
56
56
  },
57
+ "smallVideo": {
58
+ "type": "object",
59
+ "required": ["video"],
60
+ "description": "Object containing a small video",
61
+ "properties": {
62
+ "video": {
63
+ "type": "blob",
64
+ "accept": ["video/mp4", "video/webm"],
65
+ "maxSize": 20971520,
66
+ "description": "Video (up to 20MB)"
67
+ }
68
+ }
69
+ },
57
70
  "largeImage": {
58
71
  "type": "object",
59
72
  "required": ["image"],
@@ -17,27 +17,33 @@
17
17
  },
18
18
  "to": {
19
19
  "type": "string",
20
- "description": "The recipient of the funds. Can be identified by DID or a clear-text name."
20
+ "description": "The recipient of the funds. Can be identified by DID or a clear-text name.",
21
+ "maxLength": 2048
21
22
  },
22
23
  "amount": {
23
24
  "type": "string",
24
- "description": "Amount of funding received."
25
+ "description": "Amount of funding received as a numeric string (e.g. '1000.50').",
26
+ "maxLength": 50
25
27
  },
26
28
  "currency": {
27
29
  "type": "string",
28
- "description": "Currency of the payment (e.g. EUR, USD, ETH)."
30
+ "description": "Currency of the payment (e.g. EUR, USD, ETH).",
31
+ "maxLength": 10
29
32
  },
30
33
  "paymentRail": {
31
34
  "type": "string",
32
- "description": "How the funds were transferred (e.g. bank_transfer, credit_card, onchain, cash, check, payment_processor)."
35
+ "description": "How the funds were transferred (e.g. bank_transfer, credit_card, onchain, cash, check, payment_processor).",
36
+ "maxLength": 50
33
37
  },
34
38
  "paymentNetwork": {
35
39
  "type": "string",
36
- "description": "Optional network within the payment rail (e.g. arbitrum, ethereum, sepa, visa, paypal)."
40
+ "description": "Optional network within the payment rail (e.g. arbitrum, ethereum, sepa, visa, paypal).",
41
+ "maxLength": 50
37
42
  },
38
43
  "transactionId": {
39
44
  "type": "string",
40
- "description": "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."
45
+ "description": "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.",
46
+ "maxLength": 256
41
47
  },
42
48
  "for": {
43
49
  "type": "string",
@@ -0,0 +1,39 @@
1
+ {
2
+ "lexicon": 1,
3
+ "id": "org.hypercerts.workscope.cel",
4
+ "defs": {
5
+ "main": {
6
+ "type": "object",
7
+ "description": "A structured, machine-evaluable work scope definition using CEL (Common Expression Language). Tags referenced in the expression correspond to org.hypercerts.workscope.tag keys. See https://github.com/google/cel-spec. Note: this is intentionally type 'object' (not 'record') so it can be directly embedded inline in union types (e.g., activity.workScope) without requiring a separate collection or strongRef indirection.",
8
+ "required": ["expression", "usedTags", "version", "createdAt"],
9
+ "properties": {
10
+ "expression": {
11
+ "type": "string",
12
+ "maxLength": 10000,
13
+ "maxGraphemes": 5000,
14
+ "description": "A CEL expression encoding the work scope conditions. Example: scope.hasAll(['mangrove_restoration', 'environmental_education']) && location.country == 'KE'"
15
+ },
16
+ "usedTags": {
17
+ "type": "array",
18
+ "items": {
19
+ "type": "ref",
20
+ "ref": "com.atproto.repo.strongRef"
21
+ },
22
+ "maxLength": 100,
23
+ "description": "Strong references to org.hypercerts.workscope.tag records used in the expression. Enables fast indexing by AT-URI and provides referential integrity to the underlying tag records."
24
+ },
25
+ "version": {
26
+ "type": "string",
27
+ "maxLength": 16,
28
+ "knownValues": ["v1"],
29
+ "description": "CEL context schema version."
30
+ },
31
+ "createdAt": {
32
+ "type": "string",
33
+ "format": "datetime",
34
+ "description": "Client-declared timestamp when this expression was originally created."
35
+ }
36
+ }
37
+ }
38
+ }
39
+ }
@@ -0,0 +1,87 @@
1
+ {
2
+ "lexicon": 1,
3
+ "id": "org.hypercerts.workscope.tag",
4
+ "defs": {
5
+ "main": {
6
+ "type": "record",
7
+ "description": "A reusable scope atom for work scope logic expressions. Scopes can represent topics, languages, domains, deliverables, methods, regions, tags, or other categorical labels. Tags are composed into structured expressions via CEL (Common Expression Language) on activity records.",
8
+ "key": "tid",
9
+ "record": {
10
+ "type": "object",
11
+ "required": ["key", "name", "createdAt"],
12
+ "properties": {
13
+ "key": {
14
+ "type": "string",
15
+ "description": "Lowercase, underscore-separated machine-readable key for this scope (e.g., 'mangrove_restoration', 'biodiversity_monitoring'). Used as the canonical identifier in CEL expressions.",
16
+ "maxLength": 120
17
+ },
18
+ "name": {
19
+ "type": "string",
20
+ "description": "Human-readable name for this scope.",
21
+ "maxLength": 200
22
+ },
23
+ "category": {
24
+ "type": "string",
25
+ "description": "Category type of this scope.",
26
+ "knownValues": ["topic", "language", "domain", "method"],
27
+ "maxLength": 50
28
+ },
29
+ "description": {
30
+ "type": "string",
31
+ "description": "Optional longer description of this scope.",
32
+ "maxLength": 10000,
33
+ "maxGraphemes": 1000
34
+ },
35
+ "parent": {
36
+ "type": "ref",
37
+ "ref": "com.atproto.repo.strongRef",
38
+ "description": "Optional strong reference to a parent work scope tag record for taxonomy/hierarchy support. The record referenced must conform with the lexicon org.hypercerts.workscope.tag."
39
+ },
40
+ "status": {
41
+ "type": "string",
42
+ "description": "Lifecycle status of this tag. Communities propose tags, curators accept them, deprecated tags point to replacements via supersededBy.",
43
+ "knownValues": ["proposed", "accepted", "deprecated"],
44
+ "maxLength": 20
45
+ },
46
+ "supersededBy": {
47
+ "type": "ref",
48
+ "ref": "com.atproto.repo.strongRef",
49
+ "description": "When status is 'deprecated', points to the replacement work scope tag record. The record referenced must conform with the lexicon org.hypercerts.workscope.tag."
50
+ },
51
+ "aliases": {
52
+ "type": "array",
53
+ "items": {
54
+ "type": "string",
55
+ "maxLength": 200
56
+ },
57
+ "maxLength": 50,
58
+ "description": "Alternative human-readable names for this scope (e.g., translations, abbreviations, or common synonyms). Unlike sameAs, these are plain-text labels, not links to external ontologies."
59
+ },
60
+ "sameAs": {
61
+ "type": "array",
62
+ "items": {
63
+ "type": "string",
64
+ "format": "uri",
65
+ "maxLength": 2048
66
+ },
67
+ "maxLength": 20,
68
+ "description": "URIs to semantically equivalent concepts in external ontologies or taxonomies (e.g., Wikidata QIDs, ENVO terms, SDG targets). Used for interoperability, not as documentation."
69
+ },
70
+ "referenceDocument": {
71
+ "type": "union",
72
+ "refs": [
73
+ "org.hypercerts.defs#uri",
74
+ "org.hypercerts.defs#smallBlob"
75
+ ],
76
+ "description": "Link to a governance or reference document where this work scope tag is defined and further explained."
77
+ },
78
+ "createdAt": {
79
+ "type": "string",
80
+ "format": "datetime",
81
+ "description": "Client-declared timestamp when this record was originally created."
82
+ }
83
+ }
84
+ }
85
+ }
86
+ }
87
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hypercerts-org/lexicon",
3
- "version": "0.10.0-beta.14",
3
+ "version": "0.10.0-beta.16",
4
4
  "description": "ATProto lexicon definitions and TypeScript types for the Hypercerts protocol",
5
5
  "type": "module",
6
6
  "main": "./dist/index.cjs",
@@ -1 +0,0 @@
1
- {"version":3,"file":"attachment.d.ts","sourceRoot":"","sources":["../../../../../../generated/types/org/hypercerts/claim/attachment.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,KAAK,gBAAgB,EAAW,MAAM,kBAAkB,CAAA;AAGjE,OAAO,EACL,KAAK,MAAM,EAGZ,MAAM,kBAAkB,CAAA;AACzB,OAAO,KAAK,KAAK,uBAAuB,MAAM,wCAAwC,CAAA;AACtF,OAAO,KAAK,KAAK,iBAAiB,MAAM,YAAY,CAAA;AACpD,OAAO,KAAK,KAAK,oBAAoB,MAAM,qCAAqC,CAAA;AAMhF,MAAM,WAAW,IAAI;IACnB,KAAK,EAAE,iCAAiC,CAAA;IACxC,gPAAgP;IAChP,QAAQ,CAAC,EAAE,uBAAuB,CAAC,IAAI,EAAE,CAAA;IACzC,2FAA2F;IAC3F,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,uFAAuF;IACvF,OAAO,EAAE,CACL,MAAM,CAAC,iBAAiB,CAAC,GAAG,CAAC,GAC7B,MAAM,CAAC,iBAAiB,CAAC,SAAS,CAAC,GACnC;QAAE,KAAK,EAAE,MAAM,CAAA;KAAE,CACpB,EAAE,CAAA;IACH,gCAAgC;IAChC,KAAK,EAAE,MAAM,CAAA;IACb,kJAAkJ;IAClJ,gBAAgB,CAAC,EAAE,MAAM,CAAA;IACzB,oFAAoF;IACpF,sBAAsB,CAAC,EAAE,oBAAoB,CAAC,IAAI,EAAE,CAAA;IACpD,0JAA0J;IAC1J,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,+EAA+E;IAC/E,iBAAiB,CAAC,EAAE,oBAAoB,CAAC,IAAI,EAAE,CAAA;IAC/C,QAAQ,CAAC,EAAE,uBAAuB,CAAC,IAAI,CAAA;IACvC,yEAAyE;IACzE,SAAS,EAAE,MAAM,CAAA;IACjB,CAAC,CAAC,EAAE,MAAM,GAAG,OAAO,CAAA;CACrB;AAID,wBAAgB,MAAM,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,8FAE7B;AAED,wBAAgB,YAAY,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,8BAEnC;AAED,OAAO,EACL,KAAK,IAAI,IAAI,MAAM,EACnB,MAAM,IAAI,QAAQ,EAClB,YAAY,IAAI,cAAc,GAC/B,CAAA"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"collection.d.ts","sourceRoot":"","sources":["../../../../../../generated/types/org/hypercerts/claim/collection.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,KAAK,gBAAgB,EAAW,MAAM,kBAAkB,CAAA;AAGjE,OAAO,EACL,KAAK,MAAM,EAGZ,MAAM,kBAAkB,CAAA;AACzB,OAAO,KAAK,KA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,CAAA;IAC5C,sMAAsM;IACtM,UAAU,CAAC,EAAE,MAAM,CAAA;CACpB;AAID,wBAAgB,MAAM,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,8FAE7B;AAED,wBAAgB,YAAY,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,8BAEnC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"contributionDetails.d.ts","sourceRoot":"","sources":["../../../../../../generated/types/org/hypercerts/claim/contributionDetails.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,KAAK,gBAAgB,EAAW,MAAM,kBAAkB,CAAA;AAajE,MAAM,WAAW,IAAI;IACnB,KAAK,EAAE,0CAA0C,CAAA;IACjD,wCAAwC;IACxC,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,4CAA4C;IAC5C,uBAAuB,CAAC,EAAE,MAAM,CAAA;IAChC,0FAA0F;IAC1F,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,2FAA2F;IAC3F,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,yEAAyE;IACzE,SAAS,EAAE,MAAM,CAAA;IACjB,CAAC,CAAC,EAAE,MAAM,GAAG,OAAO,CAAA;CACrB;AAID,wBAAgB,MAAM,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,uGAE7B;AAED,wBAAgB,YAAY,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,8BAEnC;AAED,OAAO,EACL,KAAK,IAAI,IAAI,MAAM,EACnB,MAAM,IAAI,QAAQ,EAClB,YAAY,IAAI,cAAc,GAC/B,CAAA"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"evaluation.d.ts","sourceRoot":"","sources":["../../../../../../generated/types/org/hypercerts/claim/evaluation.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,KAAK,gBAAgB,EAAW,MAAM,kBAAkB,CAAA;AAGjE,OAAO,EACL,KAAK,MAAM,EAGZ,MAAM,kBAAkB,CAAA;AACzB,OAAO,KAAK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AC,CAAC,EAAE,CAAC,EAAE,CAAC,8BAEnC;AAED,OAAO,EACL,KAAK,IAAI,IAAI,MAAM,EACnB,MAAM,IAAI,QAAQ,EAClB,YAAY,IAAI,cAAc,GAC/B,CAAA"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"measurement.d.ts","sourceRoot":"","sources":["../../../../../../generated/types/org/hypercerts/claim/measurement.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,KAAK,gBAAgB,EAAW,MAAM,kBAAkB,CAAA;AAQjE,OAAO,KAAK,KAAK,uBAAuB,MAAM,wCAAwC,CAAA;AACtF,OAAO,KAAK,KAAK,gBAAgB,MAAM,gCAAgC,CAAA;AACvE,OAAO,KAAK,KAAK,oBAAoB,MAAM,qCAAqC,CAAA;AAMhF,MAAM,WAAW,IAAI;IACnB,KAAK,EAAE,kCAAkC,CAAA;IACzC,OAAO,CAAC,EAAE,uBAAuB,CAAC,IAAI,CAAA;IACtC,kFAAkF;IAClF,MAAM,EAAE,MAAM,CAAA;IACd,+EAA+E;IAC/E,IAAI,EAAE,MAAM,CAAA;IACZ,kCAAkC;IAClC,KAAK,EAAE,MAAM,CAAA;IACb,0DAA0D;IAC1D,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,wIAAwI;IACxI,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,8JAA8J;IAC9J,SAAS,CAAC,EAAE,uBAAuB,CAAC,IAAI,EAAE,CAAA;IAC1C,uDAAuD;IACvD,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,oFAAoF;IACpF,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,+GAA+G;IAC/G,WAAW,CAAC,EAAE,MAAM,EAAE,CAAA;IACtB,+DAA+D;IAC/D,SAAS,CAAC,EAAE,gBAAgB,CAAC,GAAG,EAAE,CAAA;IAClC,0IAA0I;IAC1I,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,2EAA2E;IAC3E,aAAa,CAAC,EAAE,oBAAoB,CAAC,IAAI,EAAE,CAAA;IAC3C,wEAAwE;IACxE,SAAS,EAAE,MAAM,CAAA;IACjB,CAAC,CAAC,EAAE,MAAM,GAAG,OAAO,CAAA;CACrB;AAID,wBAAgB,MAAM,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,+FAE7B;AAED,wBAAgB,YAAY,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,8BAEnC;AAED,OAAO,EACL,KAAK,IAAI,IAAI,MAAM,EACnB,MAAM,IAAI,QAAQ,EAClB,YAAY,IAAI,cAAc,GAC/B,CAAA"}
@@ -1,31 +0,0 @@
1
- /**
2
- * GENERATED CODE - DO NOT MODIFY
3
- */
4
- import { type ValidationResult } from '@atproto/lexicon';
5
- import { type $Typed } from '../../../../util';
6
- import type * as ComAtprotoRepoStrongRef from '../../../com/atproto/repo/strongRef.js';
7
- import type * as OrgHypercertsDefs from '../defs.js';
8
- export interface Main {
9
- $type: 'org.hypercerts.helper.workScopeTag';
10
- /** Client-declared timestamp when this record was originally created */
11
- createdAt: string;
12
- /** Lowercase, hyphenated machine-readable key for this scope (e.g., 'ipfs', 'go-lang', 'filecoin'). */
13
- key: string;
14
- /** Human-readable label for this scope. */
15
- label: string;
16
- /** Category type of this scope. Recommended values: topic, language, domain, method, tag. */
17
- kind?: string;
18
- /** Optional longer description of this scope. */
19
- description?: string;
20
- parent?: ComAtprotoRepoStrongRef.Main;
21
- /** Optional array of alternative names or identifiers for this scope. */
22
- aliases?: string[];
23
- externalReference?: $Typed<OrgHypercertsDefs.Uri> | $Typed<OrgHypercertsDefs.SmallBlob> | {
24
- $type: string;
25
- };
26
- [k: string]: unknown;
27
- }
28
- export declare function isMain<V>(v: V): v is import("../../../../util").$TypedObject<V, "org.hypercerts.helper.workScopeTag", "main">;
29
- export declare function validateMain<V>(v: V): ValidationResult<Main & V>;
30
- export { type Main as Record, isMain as isRecord, validateMain as validateRecord, };
31
- //# sourceMappingURL=workScopeTag.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"workScopeTag.d.ts","sourceRoot":"","sources":["../../../../../../generated/types/org/hypercerts/helper/workScopeTag.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,KAAK,gBAAgB,EAAW,MAAM,kBAAkB,CAAA;AAGjE,OAAO,EACL,KAAK,MAAM,EAGZ,MAAM,kBAAkB,CAAA;AACzB,OAAO,KAAK,KAAK,uBAAuB,MAAM,wCAAwC,CAAA;AACtF,OAAO,KAAK,KAAK,iBAAiB,MAAM,YAAY,CAAA;AAMpD,MAAM,WAAW,IAAI;IACnB,KAAK,EAAE,oCAAoC,CAAA;IAC3C,wEAAwE;IACxE,SAAS,EAAE,MAAM,CAAA;IACjB,uGAAuG;IACvG,GAAG,EAAE,MAAM,CAAA;IACX,2CAA2C;IAC3C,KAAK,EAAE,MAAM,CAAA;IACb,6FAA6F;IAC7F,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,iDAAiD;IACjD,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,MAAM,CAAC,EAAE,uBAAuB,CAAC,IAAI,CAAA;IACrC,yEAAyE;IACzE,OAAO,CAAC,EAAE,MAAM,EAAE,CAAA;IAClB,iBAAiB,CAAC,EACd,MAAM,CAAC,iBAAiB,CAAC,GAAG,CAAC,GAC7B,MAAM,CAAC,iBAAiB,CAAC,SAAS,CAAC,GACnC;QAAE,KAAK,EAAE,MAAM,CAAA;KAAE,CAAA;IACrB,CAAC,CAAC,EAAE,MAAM,GAAG,OAAO,CAAA;CACrB;AAID,wBAAgB,MAAM,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,iGAE7B;AAED,wBAAgB,YAAY,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,8BAEnC;AAED,OAAO,EACL,KAAK,IAAI,IAAI,MAAM,EACnB,MAAM,IAAI,QAAQ,EAClB,YAAY,IAAI,cAAc,GAC/B,CAAA"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"attachment.d.ts","sourceRoot":"","sources":["../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,CAAC,EAAE,CAAC,EAAE,CAAC,8BAEnC;AAED,OAAO,EACL,KAAK,IAAI,IAAI,MAAM,EACnB,MAAM,IAAI,QAAQ,EAClB,YAAY,IAAI,cAAc,GAC/B,CAAA"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"collection.d.ts","sourceRoot":"","sources":["../../../../../generated/types/org/hypercerts/claim/collection.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,KAAK,gBAAgB,EAAW,MAAM,kBAAkB,CAAA;AAGjE,OAAO,EACL,KAAK,MAAM,EAGZ,MAAM,kBAAkB,CAAA;AACzB,OAAO,KAAK,KAAK,6BAA6B,MAAM,8CAA8C,CAAA;AAClG,OAAO,KAAK,KAAK,iBAAiB,MAAM,YAAY,CAAA;AACpD,OAAO,KAAK,KAAK,uBAAuB,MAAM,wCAAwC,CAAA;AAMtF,MAAM,WAAW,IAAI;IACnB,KAAK,EAAE,iCAAiC,CAAA;IACxC,mHAAmH;IACnH,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,mCAAmC;IACnC,KAAK,EAAE,MAAM,CAAA;IACb,6EAA6E;IAC7E,gBAAgB,CAAC,EAAE,MAAM,CAAA;IACzB,WAAW,CAAC,EAAE,6BAA6B,CAAC,IAAI,CAAA;IAChD,MAAM,CAAC,EACH,MAAM,CAAC,iBAAiB,CAAC,GAAG,CAAC,GAC7B,MAAM,CAAC,iBAAiB,CAAC,UAAU,CAAC,GACpC;QAAE,KAAK,EAAE,MAAM,CAAA;KAAE,CAAA;IACrB,MAAM,CAAC,EACH,MAAM,CAAC,iBAAiB,CAAC,GAAG,CAAC,GAC7B,MAAM,CAAC,iBAAiB,CAAC,UAAU,CAAC,GACpC;QAAE,KAAK,EAAE,MAAM,CAAA;KAAE,CAAA;IACrB,+DAA+D;IAC/D,KAAK,EAAE,IAAI,EAAE,CAAA;IACb,QAAQ,CAAC,EAAE,uBAAuB,CAAC,IAAI,CAAA;IACvC,wEAAwE;IACxE,SAAS,EAAE,MAAM,CAAA;IACjB,CAAC,CAAC,EAAE,MAAM,GAAG,OAAO,CAAA;CACrB;AAID,wBAAgB,MAAM,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,8FAE7B;AAED,wBAAgB,YAAY,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,8BAEnC;AAED,OAAO,EACL,KAAK,IAAI,IAAI,MAAM,EACnB,MAAM,IAAI,QAAQ,EAClB,YAAY,IAAI,cAAc,GAC/B,CAAA;AAED,MAAM,WAAW,IAAI;IACnB,KAAK,CAAC,EAAE,sCAAsC,CAAA;IAC9C,cAAc,EAAE,uBAAuB,CAAC,IAAI,CAAA;IAC5C,sMAAsM;IACtM,UAAU,CAAC,EAAE,MAAM,CAAA;CACpB;AAID,wBAAgB,MAAM,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,8FAE7B;AAED,wBAAgB,YAAY,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,8BAEnC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"contributionDetails.d.ts","sourceRoot":"","sources":["../../../../../generated/types/org/hypercerts/claim/contributionDetails.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,KAAK,gBAAgB,EAAW,MAAM,kBAAkB,CAAA;AAajE,MAAM,WAAW,IAAI;IACnB,KAAK,EAAE,0CAA0C,CAAA;IACjD,wCAAwC;IACxC,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,4CAA4C;IAC5C,uBAAuB,CAAC,EAAE,MAAM,CAAA;IAChC,0FAA0F;IAC1F,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,2FAA2F;IAC3F,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,yEAAyE;IACzE,SAAS,EAAE,MAAM,CAAA;IACjB,CAAC,CAAC,EAAE,MAAM,GAAG,OAAO,CAAA;CACrB;AAID,wBAAgB,MAAM,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,uGAE7B;AAED,wBAAgB,YAAY,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,8BAEnC;AAED,OAAO,EACL,KAAK,IAAI,IAAI,MAAM,EACnB,MAAM,IAAI,QAAQ,EAClB,YAAY,IAAI,cAAc,GAC/B,CAAA"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"evaluation.d.ts","sourceRoot":"","sources":["../../../../../generated/types/org/hypercerts/claim/evaluation.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,KAAK,gBAAgB,EAAW,MAAM,kBAAkB,CAAA;AAGjE,OAAO,EACL,KAAK,MAAM,EAGZ,MAAM,kBAAkB,CAAA;AACzB,OAAO,KAAK,KAAK,uBAAuB,MAAM,wCAAwC,CAAA;AACtF,OAAO,KAAK,KAAK,gBAAgB,MAAM,gCAAgC,CAAA;AACvE,OAAO,KAAK,KAAK,iBAAiB,MAAM,YAAY,CAAA;AAMpD,0DAA0D;AAC1D,MAAM,WAAW,KAAK;IACpB,KAAK,CAAC,EAAE,uCAAuC,CAAA;IAC/C,+CAA+C;IAC/C,GAAG,EAAE,MAAM,CAAA;IACX,gDAAgD;IAChD,GAAG,EAAE,MAAM,CAAA;IACX,mDAAmD;IACnD,KAAK,EAAE,MAAM,CAAA;CACd;AAID,wBAAgB,OAAO,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,+FAE9B;AAED,wBAAgB,aAAa,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,+BAEpC;AAED,MAAM,WAAW,IAAI;IACnB,KAAK,EAAE,iCAAiC,CAAA;IACxC,OAAO,CAAC,EAAE,uBAAuB,CAAC,IAAI,CAAA;IACtC,6BAA6B;IAC7B,UAAU,EAAE,gBAAgB,CAAC,GAAG,EAAE,CAAA;IAClC,iFAAiF;IACjF,OAAO,CAAC,EAAE,CACN,MAAM,CAAC,iBAAiB,CAAC,GAAG,CAAC,GAC7B,MAAM,CAAC,iBAAiB,CAAC,SAAS,CAAC,GACnC;QAAE,KAAK,EAAE,MAAM,CAAA;KAAE,CACpB,EAAE,CAAA;IACH,2KAA2K;IAC3K,YAAY,CAAC,EAAE,uBAAuB,CAAC,IAAI,EAAE,CAAA;IAC7C,+BAA+B;IAC/B,OAAO,EAAE,MAAM,CAAA;IACf,KAAK,CAAC,EAAE,KAAK,CAAA;IACb,QAAQ,CAAC,EAAE,uBAAuB,CAAC,IAAI,CAAA;IACvC,wEAAwE;IACxE,SAAS,EAAE,MAAM,CAAA;IACjB,CAAC,CAAC,EAAE,MAAM,GAAG,OAAO,CAAA;CACrB;AAID,wBAAgB,MAAM,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,8FAE7B;AAED,wBAAgB,YAAY,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,8BAEnC;AAED,OAAO,EACL,KAAK,IAAI,IAAI,MAAM,EACnB,MAAM,IAAI,QAAQ,EAClB,YAAY,IAAI,cAAc,GAC/B,CAAA"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"measurement.d.ts","sourceRoot":"","sources":["../../../../../generated/types/org/hypercerts/claim/measurement.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,KAAK,gBAAgB,EAAW,MAAM,kBAAkB,CAAA;AAQjE,OAAO,KAAK,KAAK,uBAAuB,MAAM,wCAAwC,CAAA;AACtF,OAAO,KAAK,KAAK,gBAAgB,MAAM,gCAAgC,CAAA;AACvE,OAAO,KAAK,KAAK,oBAAoB,MAAM,qCAAqC,CAAA;AAMhF,MAAM,WAAW,IAAI;IACnB,KAAK,EAAE,kCAAkC,CAAA;IACzC,OAAO,CAAC,EAAE,uBAAuB,CAAC,IAAI,CAAA;IACtC,kFAAkF;IAClF,MAAM,EAAE,MAAM,CAAA;IACd,+EAA+E;IAC/E,IAAI,EAAE,MAAM,CAAA;IACZ,kCAAkC;IAClC,KAAK,EAAE,MAAM,CAAA;IACb,0DAA0D;IAC1D,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,wIAAwI;IACxI,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,8JAA8J;IAC9J,SAAS,CAAC,EAAE,uBAAuB,CAAC,IAAI,EAAE,CAAA;IAC1C,uDAAuD;IACvD,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,oFAAoF;IACpF,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,+GAA+G;IAC/G,WAAW,CAAC,EAAE,MAAM,EAAE,CAAA;IACtB,+DAA+D;IAC/D,SAAS,CAAC,EAAE,gBAAgB,CAAC,GAAG,EAAE,CAAA;IAClC,0IAA0I;IAC1I,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,2EAA2E;IAC3E,aAAa,CAAC,EAAE,oBAAoB,CAAC,IAAI,EAAE,CAAA;IAC3C,wEAAwE;IACxE,SAAS,EAAE,MAAM,CAAA;IACjB,CAAC,CAAC,EAAE,MAAM,GAAG,OAAO,CAAA;CACrB;AAID,wBAAgB,MAAM,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,+FAE7B;AAED,wBAAgB,YAAY,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,8BAEnC;AAED,OAAO,EACL,KAAK,IAAI,IAAI,MAAM,EACnB,MAAM,IAAI,QAAQ,EAClB,YAAY,IAAI,cAAc,GAC/B,CAAA"}
@@ -1,31 +0,0 @@
1
- /**
2
- * GENERATED CODE - DO NOT MODIFY
3
- */
4
- import { type ValidationResult } from '@atproto/lexicon';
5
- import { type $Typed } from '../../../../util';
6
- import type * as ComAtprotoRepoStrongRef from '../../../com/atproto/repo/strongRef.js';
7
- import type * as OrgHypercertsDefs from '../defs.js';
8
- export interface Main {
9
- $type: 'org.hypercerts.helper.workScopeTag';
10
- /** Client-declared timestamp when this record was originally created */
11
- createdAt: string;
12
- /** Lowercase, hyphenated machine-readable key for this scope (e.g., 'ipfs', 'go-lang', 'filecoin'). */
13
- key: string;
14
- /** Human-readable label for this scope. */
15
- label: string;
16
- /** Category type of this scope. Recommended values: topic, language, domain, method, tag. */
17
- kind?: string;
18
- /** Optional longer description of this scope. */
19
- description?: string;
20
- parent?: ComAtprotoRepoStrongRef.Main;
21
- /** Optional array of alternative names or identifiers for this scope. */
22
- aliases?: string[];
23
- externalReference?: $Typed<OrgHypercertsDefs.Uri> | $Typed<OrgHypercertsDefs.SmallBlob> | {
24
- $type: string;
25
- };
26
- [k: string]: unknown;
27
- }
28
- export declare function isMain<V>(v: V): v is import("../../../../util").$TypedObject<V, "org.hypercerts.helper.workScopeTag", "main">;
29
- export declare function validateMain<V>(v: V): ValidationResult<Main & V>;
30
- export { type Main as Record, isMain as isRecord, validateMain as validateRecord, };
31
- //# sourceMappingURL=workScopeTag.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"workScopeTag.d.ts","sourceRoot":"","sources":["../../../../../generated/types/org/hypercerts/helper/workScopeTag.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,KAAK,gBAAgB,EAAW,MAAM,kBAAkB,CAAA;AAGjE,OAAO,EACL,KAAK,MAAM,EAGZ,MAAM,kBAAkB,CAAA;AACzB,OAAO,KAAK,KAAK,uBAAuB,MAAM,wCAAwC,CAAA;AACtF,OAAO,KAAK,KAAK,iBAAiB,MAAM,YAAY,CAAA;AAMpD,MAAM,WAAW,IAAI;IACnB,KAAK,EAAE,oCAAoC,CAAA;IAC3C,wEAAwE;IACxE,SAAS,EAAE,MAAM,CAAA;IACjB,uGAAuG;IACvG,GAAG,EAAE,MAAM,CAAA;IACX,2CAA2C;IAC3C,KAAK,EAAE,MAAM,CAAA;IACb,6FAA6F;IAC7F,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,iDAAiD;IACjD,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,MAAM,CAAC,EAAE,uBAAuB,CAAC,IAAI,CAAA;IACrC,yEAAyE;IACzE,OAAO,CAAC,EAAE,MAAM,EAAE,CAAA;IAClB,iBAAiB,CAAC,EACd,MAAM,CAAC,iBAAiB,CAAC,GAAG,CAAC,GAC7B,MAAM,CAAC,iBAAiB,CAAC,SAAS,CAAC,GACnC;QAAE,KAAK,EAAE,MAAM,CAAA;KAAE,CAAA;IACrB,CAAC,CAAC,EAAE,MAAM,GAAG,OAAO,CAAA;CACrB;AAID,wBAAgB,MAAM,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,iGAE7B;AAED,wBAAgB,YAAY,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,8BAEnC;AAED,OAAO,EACL,KAAK,IAAI,IAAI,MAAM,EACnB,MAAM,IAAI,QAAQ,EAClB,YAAY,IAAI,cAAc,GAC/B,CAAA"}