@taggor/contract 0.0.0-stage → 0.2.0

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 (343) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +61 -2
  3. package/dist/.tsbuildinfo +1 -0
  4. package/dist/artifact-keys.d.ts +169 -0
  5. package/dist/artifact-keys.d.ts.map +1 -0
  6. package/dist/artifact-keys.js +195 -0
  7. package/dist/artifact-keys.js.map +1 -0
  8. package/dist/assets.d.ts +72 -0
  9. package/dist/assets.d.ts.map +1 -0
  10. package/dist/assets.js +94 -0
  11. package/dist/assets.js.map +1 -0
  12. package/dist/bounded-path.d.ts +29 -0
  13. package/dist/bounded-path.d.ts.map +1 -0
  14. package/dist/bounded-path.js +57 -0
  15. package/dist/bounded-path.js.map +1 -0
  16. package/dist/bounded.d.ts +47 -0
  17. package/dist/bounded.d.ts.map +1 -0
  18. package/dist/bounded.js +93 -0
  19. package/dist/bounded.js.map +1 -0
  20. package/dist/build-diagnostic.d.ts +89 -0
  21. package/dist/build-diagnostic.d.ts.map +1 -0
  22. package/dist/build-diagnostic.js +91 -0
  23. package/dist/build-diagnostic.js.map +1 -0
  24. package/dist/component-types.d.ts +61 -0
  25. package/dist/component-types.d.ts.map +1 -0
  26. package/dist/component-types.js +277 -0
  27. package/dist/component-types.js.map +1 -0
  28. package/dist/consent-text.d.ts +31 -0
  29. package/dist/consent-text.d.ts.map +1 -0
  30. package/dist/consent-text.js +41 -0
  31. package/dist/consent-text.js.map +1 -0
  32. package/dist/contract-version.d.ts +150 -0
  33. package/dist/contract-version.d.ts.map +1 -0
  34. package/dist/contract-version.js +198 -0
  35. package/dist/contract-version.js.map +1 -0
  36. package/dist/credential-fields.d.ts +31 -0
  37. package/dist/credential-fields.d.ts.map +1 -0
  38. package/dist/credential-fields.js +36 -0
  39. package/dist/credential-fields.js.map +1 -0
  40. package/dist/css-tokens.d.ts +46 -0
  41. package/dist/css-tokens.d.ts.map +1 -0
  42. package/dist/css-tokens.js +189 -0
  43. package/dist/css-tokens.js.map +1 -0
  44. package/dist/css-value.d.ts +42 -0
  45. package/dist/css-value.d.ts.map +1 -0
  46. package/dist/css-value.js +78 -0
  47. package/dist/css-value.js.map +1 -0
  48. package/dist/data-api.d.ts +127 -0
  49. package/dist/data-api.d.ts.map +1 -0
  50. package/dist/data-api.js +167 -0
  51. package/dist/data-api.js.map +1 -0
  52. package/dist/denylist-keys.d.ts +19 -0
  53. package/dist/denylist-keys.d.ts.map +1 -0
  54. package/dist/denylist-keys.js +48 -0
  55. package/dist/denylist-keys.js.map +1 -0
  56. package/dist/diagnostic-catalog.d.ts +1402 -0
  57. package/dist/diagnostic-catalog.d.ts.map +1 -0
  58. package/dist/diagnostic-catalog.js +1311 -0
  59. package/dist/diagnostic-catalog.js.map +1 -0
  60. package/dist/dom-members.snapshot.d.ts +33 -0
  61. package/dist/dom-members.snapshot.d.ts.map +1 -0
  62. package/dist/dom-members.snapshot.js +760 -0
  63. package/dist/dom-members.snapshot.js.map +1 -0
  64. package/dist/early-loading.d.ts +27 -0
  65. package/dist/early-loading.d.ts.map +1 -0
  66. package/dist/early-loading.js +44 -0
  67. package/dist/early-loading.js.map +1 -0
  68. package/dist/error-catalog.d.ts +749 -0
  69. package/dist/error-catalog.d.ts.map +1 -0
  70. package/dist/error-catalog.js +720 -0
  71. package/dist/error-catalog.js.map +1 -0
  72. package/dist/executable-config.d.ts +35 -0
  73. package/dist/executable-config.d.ts.map +1 -0
  74. package/dist/executable-config.js +44 -0
  75. package/dist/executable-config.js.map +1 -0
  76. package/dist/freeze.d.ts +17 -0
  77. package/dist/freeze.d.ts.map +1 -0
  78. package/dist/freeze.js +29 -0
  79. package/dist/freeze.js.map +1 -0
  80. package/dist/gunzip.d.ts +33 -0
  81. package/dist/gunzip.d.ts.map +1 -0
  82. package/dist/gunzip.js +330 -0
  83. package/dist/gunzip.js.map +1 -0
  84. package/dist/hostname.d.ts +74 -0
  85. package/dist/hostname.d.ts.map +1 -0
  86. package/dist/hostname.js +215 -0
  87. package/dist/hostname.js.map +1 -0
  88. package/dist/human-actions.d.ts +49 -0
  89. package/dist/human-actions.d.ts.map +1 -0
  90. package/dist/human-actions.js +272 -0
  91. package/dist/human-actions.js.map +1 -0
  92. package/dist/index.d.ts +73 -0
  93. package/dist/index.d.ts.map +1 -0
  94. package/dist/index.js +73 -0
  95. package/dist/index.js.map +1 -0
  96. package/dist/json-schema.d.ts +108 -0
  97. package/dist/json-schema.d.ts.map +1 -0
  98. package/dist/json-schema.js +240 -0
  99. package/dist/json-schema.js.map +1 -0
  100. package/dist/key-checksum.d.ts +33 -0
  101. package/dist/key-checksum.d.ts.map +1 -0
  102. package/dist/key-checksum.js +67 -0
  103. package/dist/key-checksum.js.map +1 -0
  104. package/dist/libraries.d.ts +60 -0
  105. package/dist/libraries.d.ts.map +1 -0
  106. package/dist/libraries.js +120 -0
  107. package/dist/libraries.js.map +1 -0
  108. package/dist/limit-catalog.d.ts +381 -0
  109. package/dist/limit-catalog.d.ts.map +1 -0
  110. package/dist/limit-catalog.js +429 -0
  111. package/dist/limit-catalog.js.map +1 -0
  112. package/dist/limits.d.ts +167 -0
  113. package/dist/limits.d.ts.map +1 -0
  114. package/dist/limits.js +175 -0
  115. package/dist/limits.js.map +1 -0
  116. package/dist/locale-tag.d.ts +21 -0
  117. package/dist/locale-tag.d.ts.map +1 -0
  118. package/dist/locale-tag.js +21 -0
  119. package/dist/locale-tag.js.map +1 -0
  120. package/dist/make-diagnostic.d.ts +74 -0
  121. package/dist/make-diagnostic.d.ts.map +1 -0
  122. package/dist/make-diagnostic.js +100 -0
  123. package/dist/make-diagnostic.js.map +1 -0
  124. package/dist/manifest-compat-diagnostics.d.ts +23 -0
  125. package/dist/manifest-compat-diagnostics.d.ts.map +1 -0
  126. package/dist/manifest-compat-diagnostics.js +150 -0
  127. package/dist/manifest-compat-diagnostics.js.map +1 -0
  128. package/dist/manifest-compat.d.ts +58 -0
  129. package/dist/manifest-compat.d.ts.map +1 -0
  130. package/dist/manifest-compat.js +377 -0
  131. package/dist/manifest-compat.js.map +1 -0
  132. package/dist/manifest.d.ts +1769 -0
  133. package/dist/manifest.d.ts.map +1 -0
  134. package/dist/manifest.js +421 -0
  135. package/dist/manifest.js.map +1 -0
  136. package/dist/metering.d.ts +126 -0
  137. package/dist/metering.d.ts.map +1 -0
  138. package/dist/metering.js +147 -0
  139. package/dist/metering.js.map +1 -0
  140. package/dist/migrate.d.ts +70 -0
  141. package/dist/migrate.d.ts.map +1 -0
  142. package/dist/migrate.js +159 -0
  143. package/dist/migrate.js.map +1 -0
  144. package/dist/money.d.ts +41 -0
  145. package/dist/money.d.ts.map +1 -0
  146. package/dist/money.js +52 -0
  147. package/dist/money.js.map +1 -0
  148. package/dist/names.d.ts +37 -0
  149. package/dist/names.d.ts.map +1 -0
  150. package/dist/names.js +55 -0
  151. package/dist/names.js.map +1 -0
  152. package/dist/overage-pricing.d.ts +89 -0
  153. package/dist/overage-pricing.d.ts.map +1 -0
  154. package/dist/overage-pricing.js +170 -0
  155. package/dist/overage-pricing.js.map +1 -0
  156. package/dist/plan-ids.d.ts +10 -0
  157. package/dist/plan-ids.d.ts.map +1 -0
  158. package/dist/plan-ids.js +8 -0
  159. package/dist/plan-ids.js.map +1 -0
  160. package/dist/plan-limits.d.ts +138 -0
  161. package/dist/plan-limits.d.ts.map +1 -0
  162. package/dist/plan-limits.js +112 -0
  163. package/dist/plan-limits.js.map +1 -0
  164. package/dist/plan-pricing.d.ts +145 -0
  165. package/dist/plan-pricing.d.ts.map +1 -0
  166. package/dist/plan-pricing.js +172 -0
  167. package/dist/plan-pricing.js.map +1 -0
  168. package/dist/plan-usage.d.ts +112 -0
  169. package/dist/plan-usage.d.ts.map +1 -0
  170. package/dist/plan-usage.js +134 -0
  171. package/dist/plan-usage.js.map +1 -0
  172. package/dist/preview-token.d.ts +52 -0
  173. package/dist/preview-token.d.ts.map +1 -0
  174. package/dist/preview-token.js +106 -0
  175. package/dist/preview-token.js.map +1 -0
  176. package/dist/prop-names.d.ts +51 -0
  177. package/dist/prop-names.d.ts.map +1 -0
  178. package/dist/prop-names.js +150 -0
  179. package/dist/prop-names.js.map +1 -0
  180. package/dist/prop-type-docs.d.ts +20 -0
  181. package/dist/prop-type-docs.d.ts.map +1 -0
  182. package/dist/prop-type-docs.js +89 -0
  183. package/dist/prop-type-docs.js.map +1 -0
  184. package/dist/prop-types.d.ts +97 -0
  185. package/dist/prop-types.d.ts.map +1 -0
  186. package/dist/prop-types.js +299 -0
  187. package/dist/prop-types.js.map +1 -0
  188. package/dist/props.d.ts +996 -0
  189. package/dist/props.d.ts.map +1 -0
  190. package/dist/props.js +183 -0
  191. package/dist/props.js.map +1 -0
  192. package/dist/proto-guard.d.ts +29 -0
  193. package/dist/proto-guard.d.ts.map +1 -0
  194. package/dist/proto-guard.js +79 -0
  195. package/dist/proto-guard.js.map +1 -0
  196. package/dist/runtime-errors.d.ts +42 -0
  197. package/dist/runtime-errors.d.ts.map +1 -0
  198. package/dist/runtime-errors.js +42 -0
  199. package/dist/runtime-errors.js.map +1 -0
  200. package/dist/runtime-pointers.d.ts +58 -0
  201. package/dist/runtime-pointers.d.ts.map +1 -0
  202. package/dist/runtime-pointers.js +84 -0
  203. package/dist/runtime-pointers.js.map +1 -0
  204. package/dist/secret-scan.d.ts +191 -0
  205. package/dist/secret-scan.d.ts.map +1 -0
  206. package/dist/secret-scan.js +542 -0
  207. package/dist/secret-scan.js.map +1 -0
  208. package/dist/semver.d.ts +89 -0
  209. package/dist/semver.d.ts.map +1 -0
  210. package/dist/semver.js +400 -0
  211. package/dist/semver.js.map +1 -0
  212. package/dist/server-key.d.ts +68 -0
  213. package/dist/server-key.d.ts.map +1 -0
  214. package/dist/server-key.js +150 -0
  215. package/dist/server-key.js.map +1 -0
  216. package/dist/site-manifest-keys.d.ts +107 -0
  217. package/dist/site-manifest-keys.d.ts.map +1 -0
  218. package/dist/site-manifest-keys.js +146 -0
  219. package/dist/site-manifest-keys.js.map +1 -0
  220. package/dist/site-manifest.d.ts +286 -0
  221. package/dist/site-manifest.d.ts.map +1 -0
  222. package/dist/site-manifest.js +100 -0
  223. package/dist/site-manifest.js.map +1 -0
  224. package/dist/source-archive.d.ts +119 -0
  225. package/dist/source-archive.d.ts.map +1 -0
  226. package/dist/source-archive.js +644 -0
  227. package/dist/source-archive.js.map +1 -0
  228. package/dist/source-package-corpus.d.ts +55 -0
  229. package/dist/source-package-corpus.d.ts.map +1 -0
  230. package/dist/source-package-corpus.js +303 -0
  231. package/dist/source-package-corpus.js.map +1 -0
  232. package/dist/source-package.d.ts +227 -0
  233. package/dist/source-package.d.ts.map +1 -0
  234. package/dist/source-package.js +361 -0
  235. package/dist/source-package.js.map +1 -0
  236. package/dist/source-secrets.d.ts +21 -0
  237. package/dist/source-secrets.d.ts.map +1 -0
  238. package/dist/source-secrets.js +43 -0
  239. package/dist/source-secrets.js.map +1 -0
  240. package/dist/ssr-cap.d.ts +61 -0
  241. package/dist/ssr-cap.d.ts.map +1 -0
  242. package/dist/ssr-cap.js +107 -0
  243. package/dist/ssr-cap.js.map +1 -0
  244. package/dist/ssr-kv.d.ts +18 -0
  245. package/dist/ssr-kv.d.ts.map +1 -0
  246. package/dist/ssr-kv.js +18 -0
  247. package/dist/ssr-kv.js.map +1 -0
  248. package/dist/ssr-version-ledger.d.ts +53 -0
  249. package/dist/ssr-version-ledger.d.ts.map +1 -0
  250. package/dist/ssr-version-ledger.js +88 -0
  251. package/dist/ssr-version-ledger.js.map +1 -0
  252. package/dist/style-references.d.ts +58 -0
  253. package/dist/style-references.d.ts.map +1 -0
  254. package/dist/style-references.js +241 -0
  255. package/dist/style-references.js.map +1 -0
  256. package/dist/tag-name.d.ts +87 -0
  257. package/dist/tag-name.d.ts.map +1 -0
  258. package/dist/tag-name.js +222 -0
  259. package/dist/tag-name.js.map +1 -0
  260. package/dist/tar-writer.d.ts +74 -0
  261. package/dist/tar-writer.d.ts.map +1 -0
  262. package/dist/tar-writer.js +148 -0
  263. package/dist/tar-writer.js.map +1 -0
  264. package/dist/testing.d.ts +11 -0
  265. package/dist/testing.d.ts.map +1 -0
  266. package/dist/testing.js +11 -0
  267. package/dist/testing.js.map +1 -0
  268. package/dist/text-codec.d.ts +36 -0
  269. package/dist/text-codec.d.ts.map +1 -0
  270. package/dist/text-codec.js +32 -0
  271. package/dist/text-codec.js.map +1 -0
  272. package/dist/url-value.d.ts +41 -0
  273. package/dist/url-value.d.ts.map +1 -0
  274. package/dist/url-value.js +147 -0
  275. package/dist/url-value.js.map +1 -0
  276. package/dist/usage-guard.d.ts +99 -0
  277. package/dist/usage-guard.d.ts.map +1 -0
  278. package/dist/usage-guard.js +104 -0
  279. package/dist/usage-guard.js.map +1 -0
  280. package/dist/usage-mirror.d.ts +55 -0
  281. package/dist/usage-mirror.d.ts.map +1 -0
  282. package/dist/usage-mirror.js +52 -0
  283. package/dist/usage-mirror.js.map +1 -0
  284. package/dist/value-check.d.ts +88 -0
  285. package/dist/value-check.d.ts.map +1 -0
  286. package/dist/value-check.js +279 -0
  287. package/dist/value-check.js.map +1 -0
  288. package/dist/value-patterns.d.ts +9 -0
  289. package/dist/value-patterns.d.ts.map +1 -0
  290. package/dist/value-patterns.js +17 -0
  291. package/dist/value-patterns.js.map +1 -0
  292. package/dist/value-schema.d.ts +796 -0
  293. package/dist/value-schema.d.ts.map +1 -0
  294. package/dist/value-schema.js +231 -0
  295. package/dist/value-schema.js.map +1 -0
  296. package/dist/zod-free.d.ts +60 -0
  297. package/dist/zod-free.d.ts.map +1 -0
  298. package/dist/zod-free.js +59 -0
  299. package/dist/zod-free.js.map +1 -0
  300. package/package.json +75 -3
  301. package/schema/DEPLOYED +12 -0
  302. package/schema/build-diagnostic.v1.json +63 -0
  303. package/schema/component-manifest.v1.json +1000 -0
  304. package/schema/data-api.v1.json +194 -0
  305. package/schema/library-manifest.v1.json +60 -0
  306. package/schema/published/SHA256SUMS +36 -0
  307. package/schema/published/build-diagnostic/v1.10.json +83 -0
  308. package/schema/published/build-diagnostic/v1.3.json +83 -0
  309. package/schema/published/build-diagnostic/v1.4.json +83 -0
  310. package/schema/published/build-diagnostic/v1.5.json +83 -0
  311. package/schema/published/build-diagnostic/v1.6.json +83 -0
  312. package/schema/published/build-diagnostic/v1.7.json +83 -0
  313. package/schema/published/build-diagnostic/v1.8.json +83 -0
  314. package/schema/published/build-diagnostic/v1.9.json +83 -0
  315. package/schema/published/component-manifest/v1.10.json +1443 -0
  316. package/schema/published/component-manifest/v1.3.json +1411 -0
  317. package/schema/published/component-manifest/v1.4.json +1419 -0
  318. package/schema/published/component-manifest/v1.5.json +1437 -0
  319. package/schema/published/component-manifest/v1.6.json +1437 -0
  320. package/schema/published/component-manifest/v1.7.json +1437 -0
  321. package/schema/published/component-manifest/v1.8.json +1437 -0
  322. package/schema/published/component-manifest/v1.9.json +1437 -0
  323. package/schema/published/data-api/v1.10.json +282 -0
  324. package/schema/published/data-api/v1.3.json +281 -0
  325. package/schema/published/data-api/v1.4.json +281 -0
  326. package/schema/published/data-api/v1.5.json +281 -0
  327. package/schema/published/data-api/v1.6.json +281 -0
  328. package/schema/published/data-api/v1.7.json +281 -0
  329. package/schema/published/data-api/v1.8.json +282 -0
  330. package/schema/published/data-api/v1.9.json +282 -0
  331. package/schema/published/library-manifest/v1.10.json +68 -0
  332. package/schema/published/library-manifest/v1.5.json +68 -0
  333. package/schema/published/library-manifest/v1.6.json +68 -0
  334. package/schema/published/library-manifest/v1.7.json +68 -0
  335. package/schema/published/library-manifest/v1.8.json +68 -0
  336. package/schema/published/library-manifest/v1.9.json +68 -0
  337. package/schema/published/taggor-config/v1.10.json +56 -0
  338. package/schema/published/taggor-config/v1.5.json +56 -0
  339. package/schema/published/taggor-config/v1.6.json +56 -0
  340. package/schema/published/taggor-config/v1.7.json +56 -0
  341. package/schema/published/taggor-config/v1.8.json +56 -0
  342. package/schema/published/taggor-config/v1.9.json +56 -0
  343. package/schema/taggor-config.v1.json +39 -0
@@ -0,0 +1,1443 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "$id": "https://taggor.dev/schema/component-manifest/v1.json",
4
+ "type": "object",
5
+ "properties": {
6
+ "contractVersion": {
7
+ "type": "string",
8
+ "pattern": "^1\\.(?:0|1|2|3|4|5|6|7|8|9|10)\\.(?:0|[1-9]\\d{0,5})$"
9
+ },
10
+ "name": {
11
+ "$ref": "#/$defs/ComponentName"
12
+ },
13
+ "tag": {
14
+ "$ref": "#/$defs/TagName"
15
+ },
16
+ "title": {
17
+ "type": "string",
18
+ "minLength": 1,
19
+ "maxLength": 80,
20
+ "pattern": "^[^\\u0000-\\u0008\\u000b\\u000c\\u000e-\\u001f\\u007f]*$"
21
+ },
22
+ "description": {
23
+ "type": "string",
24
+ "minLength": 1,
25
+ "maxLength": 500,
26
+ "pattern": "^[^\\u0000-\\u0008\\u000b\\u000c\\u000e-\\u001f\\u007f]*$"
27
+ },
28
+ "props": {
29
+ "type": "object",
30
+ "propertyNames": {
31
+ "$ref": "#/$defs/PropName"
32
+ },
33
+ "additionalProperties": {
34
+ "$ref": "#/$defs/PropDeclaration"
35
+ },
36
+ "maxProperties": 50
37
+ },
38
+ "events": {
39
+ "type": "object",
40
+ "propertyNames": {
41
+ "$ref": "#/$defs/MemberName"
42
+ },
43
+ "additionalProperties": {
44
+ "$ref": "#/$defs/EventDeclaration"
45
+ },
46
+ "maxProperties": 20
47
+ },
48
+ "slots": {
49
+ "type": "object",
50
+ "propertyNames": {
51
+ "$ref": "#/$defs/MemberName"
52
+ },
53
+ "additionalProperties": {
54
+ "$ref": "#/$defs/SlotDeclaration"
55
+ },
56
+ "maxProperties": 10
57
+ },
58
+ "parts": {
59
+ "type": "object",
60
+ "propertyNames": {
61
+ "$ref": "#/$defs/MemberName"
62
+ },
63
+ "additionalProperties": {
64
+ "$ref": "#/$defs/PartDeclaration"
65
+ },
66
+ "maxProperties": 30
67
+ },
68
+ "cssVars": {
69
+ "type": "object",
70
+ "propertyNames": {
71
+ "$ref": "#/$defs/CssVarName"
72
+ },
73
+ "additionalProperties": {
74
+ "$ref": "#/$defs/CssVarDeclaration"
75
+ },
76
+ "maxProperties": 30
77
+ },
78
+ "data": {
79
+ "$ref": "#/$defs/DataDeclaration"
80
+ },
81
+ "size": {
82
+ "$ref": "#/$defs/SizeHints"
83
+ },
84
+ "permissions": {
85
+ "$ref": "#/$defs/Permissions"
86
+ },
87
+ "libraries": {
88
+ "description": "Workspace-scoped libraries and the semver ranges this component is compatible with. Ownership is resolved by the API and builder.",
89
+ "type": "object",
90
+ "propertyNames": {
91
+ "$ref": "#/$defs/LibraryName"
92
+ },
93
+ "additionalProperties": {
94
+ "type": "string",
95
+ "maxLength": 256,
96
+ "description": "A supported npm semver range, for example ^1.2.0."
97
+ },
98
+ "maxProperties": 50
99
+ },
100
+ "locales": {
101
+ "$ref": "#/$defs/LocalesDeclaration"
102
+ },
103
+ "assets": {
104
+ "type": "object",
105
+ "propertyNames": {
106
+ "type": "string",
107
+ "maxLength": 64,
108
+ "pattern": "^[0-9a-f]{64}$"
109
+ },
110
+ "additionalProperties": {
111
+ "$ref": "#/$defs/AssetDeclaration"
112
+ },
113
+ "maxProperties": 50
114
+ },
115
+ "formAssociated": {
116
+ "description": "True for a form field component (TAG-314): the element is form-associated, submits the value the component sets under its name attribute, takes part in the form's validation, reset and disabled state, and delegates focus unless delegatesFocus is false. Defaults to false.",
117
+ "type": "boolean"
118
+ },
119
+ "eventSampleRate": {
120
+ "type": "number",
121
+ "minimum": 0.001,
122
+ "maximum": 1,
123
+ "description": "Share of interaction and custom events the browser sends, from 0.001 to 1 (default 1: all). Render, error and conversion events are never sampled. Each stored event is weighted by 1 divided by this rate, so totals stay estimates of the real count."
124
+ },
125
+ "delegatesFocus": {
126
+ "description": "Whether the shadow root delegates focus (TAG-314): focusing the element, clicking one of its labels or a non-focusable part of it focuses the component's first focusable element. Defaults to the value of formAssociated.",
127
+ "type": "boolean"
128
+ }
129
+ },
130
+ "required": [
131
+ "contractVersion",
132
+ "name",
133
+ "tag",
134
+ "title",
135
+ "description"
136
+ ],
137
+ "additionalProperties": false,
138
+ "title": "Taggor component manifest v1",
139
+ "description": "Declarative description of a Taggor component. Generated from the Zod source in @taggor/contract; do not edit.",
140
+ "$defs": {
141
+ "ComponentName": {
142
+ "type": "string",
143
+ "minLength": 1,
144
+ "maxLength": 64,
145
+ "pattern": "^[a-z][a-z0-9]*(?:-[a-z0-9]+)*$"
146
+ },
147
+ "TagName": {
148
+ "type": "string",
149
+ "minLength": 1,
150
+ "maxLength": 64,
151
+ "pattern": "^(?!taggor-)(?!(?:annotation-xml|color-profile|font-face|font-face-src|font-face-uri|font-face-format|font-face-name|missing-glyph)$)[a-z][a-z0-9]*(?:-[a-z0-9]+)+$"
152
+ },
153
+ "PropName": {
154
+ "type": "string",
155
+ "minLength": 1,
156
+ "maxLength": 40,
157
+ "pattern": "^(?!on)(?!(?:aria|data)[A-Z0-9])(?!(?:accessKey|accessKeyLabel|accesskey|activeViewTransition|addEventListener|adoptedCallback|after|animate|append|appendChild|assignedSlot|attachInternals|attachShadow|attributeChangedCallback|attributeStyleMap|attributes|autocapitalize|autocorrect|autofocus|baseURI|before|blur|checkVisibility|childElementCount|childNodes|children|class|classList|className|click|clientHeight|clientLeft|clientTop|clientWidth|cloneNode|closest|compareDocumentPosition|computedStyleMap|connectedCallback|connectedMoveCallback|constructor|contains|contentEditable|contenteditable|currentCSSZoom|customElementRegistry|dataset|dir|disabledFeatures|disconnectedCallback|dispatchEvent|draggable|editContext|elementTiming|enterKeyHint|enterkeyhint|exportparts|firstChild|firstElementChild|focus|focusGroup|focusGroupStart|focusgroup|formAssociated|formAssociatedCallback|formDisabledCallback|formResetCallback|formStateRestoreCallback|getAnimations|getAttribute|getAttributeNS|getAttributeNames|getAttributeNode|getAttributeNodeNS|getBoundingClientRect|getClientRects|getElementsByClassName|getElementsByTagName|getElementsByTagNameNS|getHTML|getRootNode|hasAttribute|hasAttributeNS|hasAttributes|hasChildNodes|hasOwnProperty|hasPointerCapture|headingoffset|headingreset|hidden|hidePopover|id|inert|innerHTML|innerText|inputMode|inputmode|insertAdjacentElement|insertAdjacentHTML|insertAdjacentText|insertBefore|is|isConnected|isContentEditable|isDefaultNamespace|isEqualNode|isPrototypeOf|isSameNode|itemid|itemprop|itemref|itemscope|itemtype|lang|lastChild|lastElementChild|localName|lookupNamespaceURI|lookupPrefix|matches|moveBefore|mozMatchesSelector|mozRequestFullScreen|namespaceURI|nextElementSibling|nextSibling|nodeName|nodeType|nodeValue|nonce|normalize|observedAttributes|offsetHeight|offsetLeft|offsetParent|offsetTop|offsetWidth|outerHTML|outerText|ownerDocument|parentElement|parentNode|part|popover|prefix|prepend|previousElementSibling|previousSibling|propertyIsEnumerable|pseudo|querySelector|querySelectorAll|releaseCapture|releasePointerCapture|remove|removeAttribute|removeAttributeNS|removeAttributeNode|removeChild|removeEventListener|replaceChild|replaceChildren|replaceWith|requestFullscreen|requestPointerLock|role|scroll|scrollBy|scrollHeight|scrollIntoView|scrollIntoViewIfNeeded|scrollLeft|scrollLeftMax|scrollTo|scrollTop|scrollTopMax|scrollWidth|setAttribute|setAttributeNS|setAttributeNode|setAttributeNodeNS|setCapture|setHTML|setHTMLUnsafe|setPointerCapture|shadowRoot|showPopover|slot|spellcheck|startViewTransition|style|tabIndex|tabindex|tagName|textContent|title|toLocaleString|toString|toggleAttribute|togglePopover|translate|valueOf|virtualKeyboardPolicy|virtualkeyboardpolicy|webkitMatchesSelector|webkitRequestFullScreen|webkitRequestFullscreen|when|writingSuggestions|writingsuggestions)$)[a-z][a-zA-Z0-9]*$"
158
+ },
159
+ "PropDeclaration": {
160
+ "oneOf": [
161
+ {
162
+ "type": "object",
163
+ "properties": {
164
+ "type": {
165
+ "type": "string",
166
+ "const": "string"
167
+ },
168
+ "description": {
169
+ "description": "What this member is for; shown in docs, the portal and to agents.",
170
+ "type": "string",
171
+ "minLength": 1,
172
+ "maxLength": 300,
173
+ "pattern": "^[^\\u0000-\\u0008\\u000b\\u000c\\u000e-\\u001f\\u007f]*$"
174
+ },
175
+ "minLength": {
176
+ "type": "integer",
177
+ "minimum": 0,
178
+ "maximum": 10000
179
+ },
180
+ "maxLength": {
181
+ "description": "Defaults to 10000.",
182
+ "type": "integer",
183
+ "minimum": 1,
184
+ "maximum": 10000
185
+ },
186
+ "format": {
187
+ "type": "string",
188
+ "enum": [
189
+ "email",
190
+ "url",
191
+ "tel",
192
+ "date",
193
+ "date-time"
194
+ ]
195
+ },
196
+ "default": {
197
+ "type": "string",
198
+ "maxLength": 10000
199
+ }
200
+ },
201
+ "required": [
202
+ "type"
203
+ ],
204
+ "additionalProperties": false
205
+ },
206
+ {
207
+ "type": "object",
208
+ "properties": {
209
+ "type": {
210
+ "type": "string",
211
+ "const": "number"
212
+ },
213
+ "description": {
214
+ "description": "What this member is for; shown in docs, the portal and to agents.",
215
+ "type": "string",
216
+ "minLength": 1,
217
+ "maxLength": 300,
218
+ "pattern": "^[^\\u0000-\\u0008\\u000b\\u000c\\u000e-\\u001f\\u007f]*$"
219
+ },
220
+ "min": {
221
+ "type": "number"
222
+ },
223
+ "max": {
224
+ "type": "number"
225
+ },
226
+ "integer": {
227
+ "type": "boolean"
228
+ },
229
+ "default": {
230
+ "type": "number"
231
+ },
232
+ "step": {
233
+ "type": "number",
234
+ "exclusiveMinimum": 0
235
+ }
236
+ },
237
+ "required": [
238
+ "type"
239
+ ],
240
+ "additionalProperties": false
241
+ },
242
+ {
243
+ "type": "object",
244
+ "properties": {
245
+ "type": {
246
+ "type": "string",
247
+ "const": "boolean"
248
+ },
249
+ "description": {
250
+ "description": "What this member is for; shown in docs, the portal and to agents.",
251
+ "type": "string",
252
+ "minLength": 1,
253
+ "maxLength": 300,
254
+ "pattern": "^[^\\u0000-\\u0008\\u000b\\u000c\\u000e-\\u001f\\u007f]*$"
255
+ },
256
+ "default": {
257
+ "type": "boolean",
258
+ "const": false
259
+ }
260
+ },
261
+ "required": [
262
+ "type"
263
+ ],
264
+ "additionalProperties": false
265
+ },
266
+ {
267
+ "type": "object",
268
+ "properties": {
269
+ "type": {
270
+ "type": "string",
271
+ "const": "enum"
272
+ },
273
+ "description": {
274
+ "description": "What this member is for; shown in docs, the portal and to agents.",
275
+ "type": "string",
276
+ "minLength": 1,
277
+ "maxLength": 300,
278
+ "pattern": "^[^\\u0000-\\u0008\\u000b\\u000c\\u000e-\\u001f\\u007f]*$"
279
+ },
280
+ "values": {
281
+ "minItems": 1,
282
+ "maxItems": 50,
283
+ "type": "array",
284
+ "items": {
285
+ "$ref": "#/$defs/EnumValue"
286
+ },
287
+ "uniqueItems": true
288
+ },
289
+ "default": {
290
+ "type": "string",
291
+ "maxLength": 64
292
+ }
293
+ },
294
+ "required": [
295
+ "type",
296
+ "values"
297
+ ],
298
+ "additionalProperties": false
299
+ },
300
+ {
301
+ "type": "object",
302
+ "properties": {
303
+ "type": {
304
+ "type": "string",
305
+ "const": "color"
306
+ },
307
+ "description": {
308
+ "description": "What this member is for; shown in docs, the portal and to agents.",
309
+ "type": "string",
310
+ "minLength": 1,
311
+ "maxLength": 300,
312
+ "pattern": "^[^\\u0000-\\u0008\\u000b\\u000c\\u000e-\\u001f\\u007f]*$"
313
+ },
314
+ "default": {
315
+ "type": "string",
316
+ "minLength": 1,
317
+ "maxLength": 64,
318
+ "pattern": "^(?:(?:color-mix|oklab|oklch|color|clamp|rgba|hsla|calc|rgb|hsl|hwb|lab|lch|min|max|var)\\(|[a-zA-Z-][a-zA-Z0-9-]*(?![a-zA-Z0-9(-])|[#0-9,.%/+\\s)])+$"
319
+ }
320
+ },
321
+ "required": [
322
+ "type"
323
+ ],
324
+ "additionalProperties": false
325
+ },
326
+ {
327
+ "type": "object",
328
+ "properties": {
329
+ "type": {
330
+ "type": "string",
331
+ "const": "url"
332
+ },
333
+ "description": {
334
+ "description": "What this member is for; shown in docs, the portal and to agents.",
335
+ "type": "string",
336
+ "minLength": 1,
337
+ "maxLength": 300,
338
+ "pattern": "^[^\\u0000-\\u0008\\u000b\\u000c\\u000e-\\u001f\\u007f]*$"
339
+ },
340
+ "protocols": {
341
+ "description": "Accepted URL schemes; defaults to [\"https\"].",
342
+ "minItems": 1,
343
+ "maxItems": 3,
344
+ "type": "array",
345
+ "items": {
346
+ "type": "string",
347
+ "enum": [
348
+ "https",
349
+ "http",
350
+ "mailto"
351
+ ]
352
+ },
353
+ "uniqueItems": true
354
+ },
355
+ "default": {
356
+ "type": "string",
357
+ "maxLength": 2048,
358
+ "pattern": "^(?:https:\\/\\/|http:\\/\\/|mailto:)[!#-&(-;=?-\\[\\]-_a-z{-~]+$"
359
+ }
360
+ },
361
+ "required": [
362
+ "type"
363
+ ],
364
+ "additionalProperties": false
365
+ },
366
+ {
367
+ "type": "object",
368
+ "properties": {
369
+ "type": {
370
+ "type": "string",
371
+ "const": "date"
372
+ },
373
+ "description": {
374
+ "description": "What this member is for; shown in docs, the portal and to agents.",
375
+ "type": "string",
376
+ "minLength": 1,
377
+ "maxLength": 300,
378
+ "pattern": "^[^\\u0000-\\u0008\\u000b\\u000c\\u000e-\\u001f\\u007f]*$"
379
+ },
380
+ "min": {
381
+ "type": "string",
382
+ "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"
383
+ },
384
+ "max": {
385
+ "type": "string",
386
+ "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"
387
+ },
388
+ "default": {
389
+ "type": "string",
390
+ "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"
391
+ }
392
+ },
393
+ "required": [
394
+ "type"
395
+ ],
396
+ "additionalProperties": false
397
+ },
398
+ {
399
+ "type": "object",
400
+ "properties": {
401
+ "type": {
402
+ "type": "string",
403
+ "const": "array"
404
+ },
405
+ "description": {
406
+ "description": "What this member is for; shown in docs, the portal and to agents.",
407
+ "type": "string",
408
+ "minLength": 1,
409
+ "maxLength": 300,
410
+ "pattern": "^[^\\u0000-\\u0008\\u000b\\u000c\\u000e-\\u001f\\u007f]*$"
411
+ },
412
+ "items": {
413
+ "$ref": "#/$defs/ValueSchemaDepth2"
414
+ },
415
+ "minItems": {
416
+ "type": "integer",
417
+ "minimum": 0,
418
+ "maximum": 1000
419
+ },
420
+ "maxItems": {
421
+ "description": "Defaults to 1000.",
422
+ "type": "integer",
423
+ "minimum": 1,
424
+ "maximum": 1000
425
+ },
426
+ "default": {
427
+ "maxItems": 1000,
428
+ "type": "array",
429
+ "items": {
430
+ "$ref": "#/$defs/DefaultValueDepth2"
431
+ }
432
+ }
433
+ },
434
+ "required": [
435
+ "type",
436
+ "items"
437
+ ],
438
+ "additionalProperties": false
439
+ },
440
+ {
441
+ "type": "object",
442
+ "properties": {
443
+ "type": {
444
+ "type": "string",
445
+ "const": "object"
446
+ },
447
+ "description": {
448
+ "description": "What this member is for; shown in docs, the portal and to agents.",
449
+ "type": "string",
450
+ "minLength": 1,
451
+ "maxLength": 300,
452
+ "pattern": "^[^\\u0000-\\u0008\\u000b\\u000c\\u000e-\\u001f\\u007f]*$"
453
+ },
454
+ "fields": {
455
+ "type": "object",
456
+ "propertyNames": {
457
+ "$ref": "#/$defs/FieldName"
458
+ },
459
+ "additionalProperties": {
460
+ "$ref": "#/$defs/ValueSchemaDepth2"
461
+ },
462
+ "maxProperties": 50
463
+ },
464
+ "required": {
465
+ "minItems": 1,
466
+ "maxItems": 50,
467
+ "type": "array",
468
+ "items": {
469
+ "$ref": "#/$defs/FieldName"
470
+ },
471
+ "uniqueItems": true
472
+ },
473
+ "default": {
474
+ "type": "object",
475
+ "propertyNames": {
476
+ "$ref": "#/$defs/FieldName"
477
+ },
478
+ "additionalProperties": {
479
+ "$ref": "#/$defs/DefaultValueDepth2"
480
+ },
481
+ "maxProperties": 50
482
+ }
483
+ },
484
+ "required": [
485
+ "type",
486
+ "fields"
487
+ ],
488
+ "additionalProperties": false
489
+ }
490
+ ]
491
+ },
492
+ "EnumValue": {
493
+ "type": "string",
494
+ "minLength": 1,
495
+ "maxLength": 64,
496
+ "pattern": "^[^\\u0000-\\u001f\\u007f]+$"
497
+ },
498
+ "ValueSchemaDepth2": {
499
+ "oneOf": [
500
+ {
501
+ "$ref": "#/$defs/StringValueSchema"
502
+ },
503
+ {
504
+ "$ref": "#/$defs/NumberValueSchema"
505
+ },
506
+ {
507
+ "$ref": "#/$defs/BooleanValueSchema"
508
+ },
509
+ {
510
+ "$ref": "#/$defs/EnumValueSchema"
511
+ },
512
+ {
513
+ "type": "object",
514
+ "properties": {
515
+ "type": {
516
+ "type": "string",
517
+ "const": "array"
518
+ },
519
+ "description": {
520
+ "description": "What this member is for; shown in docs, the portal and to agents.",
521
+ "type": "string",
522
+ "minLength": 1,
523
+ "maxLength": 300,
524
+ "pattern": "^[^\\u0000-\\u0008\\u000b\\u000c\\u000e-\\u001f\\u007f]*$"
525
+ },
526
+ "items": {
527
+ "$ref": "#/$defs/ValueSchemaDepth1"
528
+ },
529
+ "minItems": {
530
+ "type": "integer",
531
+ "minimum": 0,
532
+ "maximum": 1000
533
+ },
534
+ "maxItems": {
535
+ "description": "Defaults to 1000.",
536
+ "type": "integer",
537
+ "minimum": 1,
538
+ "maximum": 1000
539
+ }
540
+ },
541
+ "required": [
542
+ "type",
543
+ "items"
544
+ ],
545
+ "additionalProperties": false
546
+ },
547
+ {
548
+ "type": "object",
549
+ "properties": {
550
+ "type": {
551
+ "type": "string",
552
+ "const": "object"
553
+ },
554
+ "description": {
555
+ "description": "What this member is for; shown in docs, the portal and to agents.",
556
+ "type": "string",
557
+ "minLength": 1,
558
+ "maxLength": 300,
559
+ "pattern": "^[^\\u0000-\\u0008\\u000b\\u000c\\u000e-\\u001f\\u007f]*$"
560
+ },
561
+ "fields": {
562
+ "type": "object",
563
+ "propertyNames": {
564
+ "$ref": "#/$defs/FieldName"
565
+ },
566
+ "additionalProperties": {
567
+ "$ref": "#/$defs/ValueSchemaDepth1"
568
+ },
569
+ "maxProperties": 50
570
+ },
571
+ "required": {
572
+ "minItems": 1,
573
+ "maxItems": 50,
574
+ "type": "array",
575
+ "items": {
576
+ "$ref": "#/$defs/FieldName"
577
+ },
578
+ "uniqueItems": true
579
+ }
580
+ },
581
+ "required": [
582
+ "type",
583
+ "fields"
584
+ ],
585
+ "additionalProperties": false
586
+ }
587
+ ]
588
+ },
589
+ "StringValueSchema": {
590
+ "type": "object",
591
+ "properties": {
592
+ "type": {
593
+ "type": "string",
594
+ "const": "string"
595
+ },
596
+ "description": {
597
+ "description": "What this member is for; shown in docs, the portal and to agents.",
598
+ "type": "string",
599
+ "minLength": 1,
600
+ "maxLength": 300,
601
+ "pattern": "^[^\\u0000-\\u0008\\u000b\\u000c\\u000e-\\u001f\\u007f]*$"
602
+ },
603
+ "minLength": {
604
+ "type": "integer",
605
+ "minimum": 0,
606
+ "maximum": 10000
607
+ },
608
+ "maxLength": {
609
+ "description": "Defaults to 10000.",
610
+ "type": "integer",
611
+ "minimum": 1,
612
+ "maximum": 10000
613
+ },
614
+ "format": {
615
+ "type": "string",
616
+ "enum": [
617
+ "email",
618
+ "url",
619
+ "tel",
620
+ "date",
621
+ "date-time"
622
+ ]
623
+ }
624
+ },
625
+ "required": [
626
+ "type"
627
+ ],
628
+ "additionalProperties": false
629
+ },
630
+ "NumberValueSchema": {
631
+ "type": "object",
632
+ "properties": {
633
+ "type": {
634
+ "type": "string",
635
+ "const": "number"
636
+ },
637
+ "description": {
638
+ "description": "What this member is for; shown in docs, the portal and to agents.",
639
+ "type": "string",
640
+ "minLength": 1,
641
+ "maxLength": 300,
642
+ "pattern": "^[^\\u0000-\\u0008\\u000b\\u000c\\u000e-\\u001f\\u007f]*$"
643
+ },
644
+ "min": {
645
+ "type": "number"
646
+ },
647
+ "max": {
648
+ "type": "number"
649
+ },
650
+ "integer": {
651
+ "type": "boolean"
652
+ }
653
+ },
654
+ "required": [
655
+ "type"
656
+ ],
657
+ "additionalProperties": false
658
+ },
659
+ "BooleanValueSchema": {
660
+ "type": "object",
661
+ "properties": {
662
+ "type": {
663
+ "type": "string",
664
+ "const": "boolean"
665
+ },
666
+ "description": {
667
+ "description": "What this member is for; shown in docs, the portal and to agents.",
668
+ "type": "string",
669
+ "minLength": 1,
670
+ "maxLength": 300,
671
+ "pattern": "^[^\\u0000-\\u0008\\u000b\\u000c\\u000e-\\u001f\\u007f]*$"
672
+ }
673
+ },
674
+ "required": [
675
+ "type"
676
+ ],
677
+ "additionalProperties": false
678
+ },
679
+ "EnumValueSchema": {
680
+ "type": "object",
681
+ "properties": {
682
+ "type": {
683
+ "type": "string",
684
+ "const": "enum"
685
+ },
686
+ "description": {
687
+ "description": "What this member is for; shown in docs, the portal and to agents.",
688
+ "type": "string",
689
+ "minLength": 1,
690
+ "maxLength": 300,
691
+ "pattern": "^[^\\u0000-\\u0008\\u000b\\u000c\\u000e-\\u001f\\u007f]*$"
692
+ },
693
+ "values": {
694
+ "minItems": 1,
695
+ "maxItems": 50,
696
+ "type": "array",
697
+ "items": {
698
+ "$ref": "#/$defs/EnumValue"
699
+ },
700
+ "uniqueItems": true
701
+ }
702
+ },
703
+ "required": [
704
+ "type",
705
+ "values"
706
+ ],
707
+ "additionalProperties": false
708
+ },
709
+ "ValueSchemaDepth1": {
710
+ "oneOf": [
711
+ {
712
+ "$ref": "#/$defs/StringValueSchema"
713
+ },
714
+ {
715
+ "$ref": "#/$defs/NumberValueSchema"
716
+ },
717
+ {
718
+ "$ref": "#/$defs/BooleanValueSchema"
719
+ },
720
+ {
721
+ "$ref": "#/$defs/EnumValueSchema"
722
+ },
723
+ {
724
+ "type": "object",
725
+ "properties": {
726
+ "type": {
727
+ "type": "string",
728
+ "const": "array"
729
+ },
730
+ "description": {
731
+ "description": "What this member is for; shown in docs, the portal and to agents.",
732
+ "type": "string",
733
+ "minLength": 1,
734
+ "maxLength": 300,
735
+ "pattern": "^[^\\u0000-\\u0008\\u000b\\u000c\\u000e-\\u001f\\u007f]*$"
736
+ },
737
+ "items": {
738
+ "$ref": "#/$defs/ScalarValueSchema"
739
+ },
740
+ "minItems": {
741
+ "type": "integer",
742
+ "minimum": 0,
743
+ "maximum": 1000
744
+ },
745
+ "maxItems": {
746
+ "description": "Defaults to 1000.",
747
+ "type": "integer",
748
+ "minimum": 1,
749
+ "maximum": 1000
750
+ }
751
+ },
752
+ "required": [
753
+ "type",
754
+ "items"
755
+ ],
756
+ "additionalProperties": false
757
+ },
758
+ {
759
+ "type": "object",
760
+ "properties": {
761
+ "type": {
762
+ "type": "string",
763
+ "const": "object"
764
+ },
765
+ "description": {
766
+ "description": "What this member is for; shown in docs, the portal and to agents.",
767
+ "type": "string",
768
+ "minLength": 1,
769
+ "maxLength": 300,
770
+ "pattern": "^[^\\u0000-\\u0008\\u000b\\u000c\\u000e-\\u001f\\u007f]*$"
771
+ },
772
+ "fields": {
773
+ "type": "object",
774
+ "propertyNames": {
775
+ "$ref": "#/$defs/FieldName"
776
+ },
777
+ "additionalProperties": {
778
+ "$ref": "#/$defs/ScalarValueSchema"
779
+ },
780
+ "maxProperties": 50
781
+ },
782
+ "required": {
783
+ "minItems": 1,
784
+ "maxItems": 50,
785
+ "type": "array",
786
+ "items": {
787
+ "$ref": "#/$defs/FieldName"
788
+ },
789
+ "uniqueItems": true
790
+ }
791
+ },
792
+ "required": [
793
+ "type",
794
+ "fields"
795
+ ],
796
+ "additionalProperties": false
797
+ }
798
+ ]
799
+ },
800
+ "ScalarValueSchema": {
801
+ "oneOf": [
802
+ {
803
+ "$ref": "#/$defs/StringValueSchema"
804
+ },
805
+ {
806
+ "$ref": "#/$defs/NumberValueSchema"
807
+ },
808
+ {
809
+ "$ref": "#/$defs/BooleanValueSchema"
810
+ },
811
+ {
812
+ "$ref": "#/$defs/EnumValueSchema"
813
+ }
814
+ ]
815
+ },
816
+ "FieldName": {
817
+ "type": "string",
818
+ "minLength": 1,
819
+ "maxLength": 40,
820
+ "pattern": "^(?!(?:constructor|hasOwnProperty|isPrototypeOf|propertyIsEnumerable|toLocaleString|toString|valueOf)$)[a-zA-Z][a-zA-Z0-9_]*$"
821
+ },
822
+ "DefaultValueDepth2": {
823
+ "anyOf": [
824
+ {
825
+ "anyOf": [
826
+ {
827
+ "type": "string",
828
+ "maxLength": 10000
829
+ },
830
+ {
831
+ "type": "number"
832
+ },
833
+ {
834
+ "type": "boolean"
835
+ }
836
+ ]
837
+ },
838
+ {
839
+ "maxItems": 1000,
840
+ "type": "array",
841
+ "items": {
842
+ "$ref": "#/$defs/DefaultValueDepth1"
843
+ }
844
+ },
845
+ {
846
+ "type": "object",
847
+ "propertyNames": {
848
+ "$ref": "#/$defs/FieldName"
849
+ },
850
+ "additionalProperties": {
851
+ "$ref": "#/$defs/DefaultValueDepth1"
852
+ },
853
+ "maxProperties": 50
854
+ }
855
+ ]
856
+ },
857
+ "DefaultValueDepth1": {
858
+ "anyOf": [
859
+ {
860
+ "anyOf": [
861
+ {
862
+ "type": "string",
863
+ "maxLength": 10000
864
+ },
865
+ {
866
+ "type": "number"
867
+ },
868
+ {
869
+ "type": "boolean"
870
+ }
871
+ ]
872
+ },
873
+ {
874
+ "maxItems": 1000,
875
+ "type": "array",
876
+ "items": {
877
+ "anyOf": [
878
+ {
879
+ "type": "string",
880
+ "maxLength": 10000
881
+ },
882
+ {
883
+ "type": "number"
884
+ },
885
+ {
886
+ "type": "boolean"
887
+ }
888
+ ]
889
+ }
890
+ },
891
+ {
892
+ "type": "object",
893
+ "propertyNames": {
894
+ "$ref": "#/$defs/FieldName"
895
+ },
896
+ "additionalProperties": {
897
+ "anyOf": [
898
+ {
899
+ "type": "string",
900
+ "maxLength": 10000
901
+ },
902
+ {
903
+ "type": "number"
904
+ },
905
+ {
906
+ "type": "boolean"
907
+ }
908
+ ]
909
+ },
910
+ "maxProperties": 50
911
+ }
912
+ ]
913
+ },
914
+ "MemberName": {
915
+ "type": "string",
916
+ "minLength": 1,
917
+ "maxLength": 40,
918
+ "pattern": "^[a-z][a-z0-9]*(?:-[a-z0-9]+)*$"
919
+ },
920
+ "EventDeclaration": {
921
+ "type": "object",
922
+ "properties": {
923
+ "description": {
924
+ "description": "What this member is for; shown in docs, the portal and to agents.",
925
+ "type": "string",
926
+ "minLength": 1,
927
+ "maxLength": 300,
928
+ "pattern": "^[^\\u0000-\\u0008\\u000b\\u000c\\u000e-\\u001f\\u007f]*$"
929
+ },
930
+ "detail": {
931
+ "description": "Schema of `event.detail`; use { \"type\": \"object\", \"fields\": {} } for an event without data.",
932
+ "$ref": "#/$defs/ValueSchema"
933
+ },
934
+ "bubbles": {
935
+ "description": "Defaults to true.",
936
+ "type": "boolean"
937
+ },
938
+ "composed": {
939
+ "description": "Defaults to true.",
940
+ "type": "boolean"
941
+ }
942
+ },
943
+ "required": [
944
+ "detail"
945
+ ],
946
+ "additionalProperties": false
947
+ },
948
+ "ValueSchema": {
949
+ "oneOf": [
950
+ {
951
+ "$ref": "#/$defs/StringValueSchema"
952
+ },
953
+ {
954
+ "$ref": "#/$defs/NumberValueSchema"
955
+ },
956
+ {
957
+ "$ref": "#/$defs/BooleanValueSchema"
958
+ },
959
+ {
960
+ "$ref": "#/$defs/EnumValueSchema"
961
+ },
962
+ {
963
+ "type": "object",
964
+ "properties": {
965
+ "type": {
966
+ "type": "string",
967
+ "const": "array"
968
+ },
969
+ "description": {
970
+ "description": "What this member is for; shown in docs, the portal and to agents.",
971
+ "type": "string",
972
+ "minLength": 1,
973
+ "maxLength": 300,
974
+ "pattern": "^[^\\u0000-\\u0008\\u000b\\u000c\\u000e-\\u001f\\u007f]*$"
975
+ },
976
+ "items": {
977
+ "$ref": "#/$defs/ValueSchemaDepth2"
978
+ },
979
+ "minItems": {
980
+ "type": "integer",
981
+ "minimum": 0,
982
+ "maximum": 1000
983
+ },
984
+ "maxItems": {
985
+ "description": "Defaults to 1000.",
986
+ "type": "integer",
987
+ "minimum": 1,
988
+ "maximum": 1000
989
+ }
990
+ },
991
+ "required": [
992
+ "type",
993
+ "items"
994
+ ],
995
+ "additionalProperties": false
996
+ },
997
+ {
998
+ "type": "object",
999
+ "properties": {
1000
+ "type": {
1001
+ "type": "string",
1002
+ "const": "object"
1003
+ },
1004
+ "description": {
1005
+ "description": "What this member is for; shown in docs, the portal and to agents.",
1006
+ "type": "string",
1007
+ "minLength": 1,
1008
+ "maxLength": 300,
1009
+ "pattern": "^[^\\u0000-\\u0008\\u000b\\u000c\\u000e-\\u001f\\u007f]*$"
1010
+ },
1011
+ "fields": {
1012
+ "type": "object",
1013
+ "propertyNames": {
1014
+ "$ref": "#/$defs/FieldName"
1015
+ },
1016
+ "additionalProperties": {
1017
+ "$ref": "#/$defs/ValueSchemaDepth2"
1018
+ },
1019
+ "maxProperties": 50
1020
+ },
1021
+ "required": {
1022
+ "minItems": 1,
1023
+ "maxItems": 50,
1024
+ "type": "array",
1025
+ "items": {
1026
+ "$ref": "#/$defs/FieldName"
1027
+ },
1028
+ "uniqueItems": true
1029
+ }
1030
+ },
1031
+ "required": [
1032
+ "type",
1033
+ "fields"
1034
+ ],
1035
+ "additionalProperties": false
1036
+ }
1037
+ ],
1038
+ "description": "Declarative description of a JSON value. Plain data only: no code, no regular expressions."
1039
+ },
1040
+ "SlotDeclaration": {
1041
+ "type": "object",
1042
+ "properties": {
1043
+ "description": {
1044
+ "description": "What this member is for; shown in docs, the portal and to agents.",
1045
+ "type": "string",
1046
+ "minLength": 1,
1047
+ "maxLength": 300,
1048
+ "pattern": "^[^\\u0000-\\u0008\\u000b\\u000c\\u000e-\\u001f\\u007f]*$"
1049
+ }
1050
+ },
1051
+ "additionalProperties": false
1052
+ },
1053
+ "PartDeclaration": {
1054
+ "type": "object",
1055
+ "properties": {
1056
+ "description": {
1057
+ "description": "What this member is for; shown in docs, the portal and to agents.",
1058
+ "type": "string",
1059
+ "minLength": 1,
1060
+ "maxLength": 300,
1061
+ "pattern": "^[^\\u0000-\\u0008\\u000b\\u000c\\u000e-\\u001f\\u007f]*$"
1062
+ }
1063
+ },
1064
+ "additionalProperties": false
1065
+ },
1066
+ "CssVarName": {
1067
+ "type": "string",
1068
+ "minLength": 1,
1069
+ "maxLength": 64,
1070
+ "pattern": "^--[a-z][a-z0-9]*(?:-[a-z0-9]+)*$"
1071
+ },
1072
+ "CssVarDeclaration": {
1073
+ "oneOf": [
1074
+ {
1075
+ "type": "object",
1076
+ "properties": {
1077
+ "type": {
1078
+ "type": "string",
1079
+ "enum": [
1080
+ "color",
1081
+ "length",
1082
+ "number",
1083
+ "percentage"
1084
+ ]
1085
+ },
1086
+ "default": {
1087
+ "type": "string",
1088
+ "minLength": 1,
1089
+ "maxLength": 100,
1090
+ "pattern": "^(?:(?:color-mix|oklab|oklch|color|clamp|rgba|hsla|calc|rgb|hsl|hwb|lab|lch|min|max|var)\\(|[a-zA-Z-][a-zA-Z0-9-]*(?![a-zA-Z0-9(-])|[#0-9,.%/+\\s)])+$"
1091
+ },
1092
+ "description": {
1093
+ "description": "What this member is for; shown in docs, the portal and to agents.",
1094
+ "type": "string",
1095
+ "minLength": 1,
1096
+ "maxLength": 300,
1097
+ "pattern": "^[^\\u0000-\\u0008\\u000b\\u000c\\u000e-\\u001f\\u007f]*$"
1098
+ }
1099
+ },
1100
+ "required": [
1101
+ "type",
1102
+ "default"
1103
+ ],
1104
+ "additionalProperties": false
1105
+ },
1106
+ {
1107
+ "type": "object",
1108
+ "properties": {
1109
+ "type": {
1110
+ "type": "string",
1111
+ "const": "font-family"
1112
+ },
1113
+ "default": {
1114
+ "type": "string",
1115
+ "minLength": 1,
1116
+ "maxLength": 100,
1117
+ "pattern": "^[a-zA-Z0-9,\\s-]+$"
1118
+ },
1119
+ "description": {
1120
+ "description": "What this member is for; shown in docs, the portal and to agents.",
1121
+ "type": "string",
1122
+ "minLength": 1,
1123
+ "maxLength": 300,
1124
+ "pattern": "^[^\\u0000-\\u0008\\u000b\\u000c\\u000e-\\u001f\\u007f]*$"
1125
+ }
1126
+ },
1127
+ "required": [
1128
+ "type",
1129
+ "default"
1130
+ ],
1131
+ "additionalProperties": false
1132
+ }
1133
+ ]
1134
+ },
1135
+ "DataDeclaration": {
1136
+ "type": "object",
1137
+ "properties": {
1138
+ "collections": {
1139
+ "type": "object",
1140
+ "propertyNames": {
1141
+ "$ref": "#/$defs/MemberName"
1142
+ },
1143
+ "additionalProperties": {
1144
+ "$ref": "#/$defs/CollectionDeclaration"
1145
+ },
1146
+ "maxProperties": 10
1147
+ },
1148
+ "track": {
1149
+ "type": "object",
1150
+ "propertyNames": {
1151
+ "$ref": "#/$defs/MemberName"
1152
+ },
1153
+ "additionalProperties": {
1154
+ "$ref": "#/$defs/TrackEventDeclaration"
1155
+ },
1156
+ "maxProperties": 30
1157
+ },
1158
+ "personal": {
1159
+ "description": "True when the collections hold personal data (TAG-212): every submit then carries the visitor's consent. Defaults to false.",
1160
+ "type": "boolean"
1161
+ },
1162
+ "privacyPolicyUrl": {
1163
+ "description": "Name of the prop of type \"url\" that links the privacy policy, set per site (TAG-212). Required when personal is true.",
1164
+ "$ref": "#/$defs/PropName"
1165
+ }
1166
+ },
1167
+ "additionalProperties": false
1168
+ },
1169
+ "CollectionDeclaration": {
1170
+ "type": "object",
1171
+ "properties": {
1172
+ "description": {
1173
+ "description": "What this member is for; shown in docs, the portal and to agents.",
1174
+ "type": "string",
1175
+ "minLength": 1,
1176
+ "maxLength": 300,
1177
+ "pattern": "^[^\\u0000-\\u0008\\u000b\\u000c\\u000e-\\u001f\\u007f]*$"
1178
+ },
1179
+ "fields": {
1180
+ "type": "object",
1181
+ "propertyNames": {
1182
+ "$ref": "#/$defs/SnakeName"
1183
+ },
1184
+ "additionalProperties": {
1185
+ "$ref": "#/$defs/CollectionField"
1186
+ },
1187
+ "minProperties": 1,
1188
+ "maxProperties": 50
1189
+ },
1190
+ "required": {
1191
+ "minItems": 1,
1192
+ "maxItems": 50,
1193
+ "type": "array",
1194
+ "items": {
1195
+ "$ref": "#/$defs/SnakeName"
1196
+ },
1197
+ "uniqueItems": true
1198
+ },
1199
+ "visibility": {
1200
+ "description": "Defaults to \"private\".",
1201
+ "type": "string",
1202
+ "enum": [
1203
+ "private",
1204
+ "public"
1205
+ ]
1206
+ }
1207
+ },
1208
+ "required": [
1209
+ "fields"
1210
+ ],
1211
+ "additionalProperties": false
1212
+ },
1213
+ "SnakeName": {
1214
+ "type": "string",
1215
+ "minLength": 1,
1216
+ "maxLength": 40,
1217
+ "pattern": "^(?!(?:constructor|hasOwnProperty|isPrototypeOf|propertyIsEnumerable|toLocaleString|toString|valueOf)$)[a-z][a-z0-9]*(?:_[a-z0-9]+)*$"
1218
+ },
1219
+ "CollectionField": {
1220
+ "oneOf": [
1221
+ {
1222
+ "$ref": "#/$defs/StringValueSchema"
1223
+ },
1224
+ {
1225
+ "$ref": "#/$defs/NumberValueSchema"
1226
+ },
1227
+ {
1228
+ "$ref": "#/$defs/BooleanValueSchema"
1229
+ },
1230
+ {
1231
+ "$ref": "#/$defs/EnumValueSchema"
1232
+ },
1233
+ {
1234
+ "type": "object",
1235
+ "properties": {
1236
+ "type": {
1237
+ "type": "string",
1238
+ "const": "array"
1239
+ },
1240
+ "description": {
1241
+ "description": "What this member is for; shown in docs, the portal and to agents.",
1242
+ "type": "string",
1243
+ "minLength": 1,
1244
+ "maxLength": 300,
1245
+ "pattern": "^[^\\u0000-\\u0008\\u000b\\u000c\\u000e-\\u001f\\u007f]*$"
1246
+ },
1247
+ "items": {
1248
+ "$ref": "#/$defs/ScalarValueSchema"
1249
+ },
1250
+ "minItems": {
1251
+ "type": "integer",
1252
+ "minimum": 0,
1253
+ "maximum": 1000
1254
+ },
1255
+ "maxItems": {
1256
+ "description": "Defaults to 1000.",
1257
+ "type": "integer",
1258
+ "minimum": 1,
1259
+ "maximum": 1000
1260
+ }
1261
+ },
1262
+ "required": [
1263
+ "type",
1264
+ "items"
1265
+ ],
1266
+ "additionalProperties": false
1267
+ }
1268
+ ]
1269
+ },
1270
+ "TrackEventDeclaration": {
1271
+ "type": "object",
1272
+ "properties": {
1273
+ "description": {
1274
+ "description": "What this member is for; shown in docs, the portal and to agents.",
1275
+ "type": "string",
1276
+ "minLength": 1,
1277
+ "maxLength": 300,
1278
+ "pattern": "^[^\\u0000-\\u0008\\u000b\\u000c\\u000e-\\u001f\\u007f]*$"
1279
+ },
1280
+ "props": {
1281
+ "type": "object",
1282
+ "propertyNames": {
1283
+ "$ref": "#/$defs/SnakeName"
1284
+ },
1285
+ "additionalProperties": {
1286
+ "$ref": "#/$defs/TrackProp"
1287
+ },
1288
+ "maxProperties": 8
1289
+ }
1290
+ },
1291
+ "additionalProperties": false
1292
+ },
1293
+ "TrackProp": {
1294
+ "oneOf": [
1295
+ {
1296
+ "$ref": "#/$defs/NumberValueSchema"
1297
+ },
1298
+ {
1299
+ "$ref": "#/$defs/BooleanValueSchema"
1300
+ },
1301
+ {
1302
+ "$ref": "#/$defs/EnumValueSchema"
1303
+ }
1304
+ ]
1305
+ },
1306
+ "SizeHints": {
1307
+ "type": "object",
1308
+ "properties": {
1309
+ "display": {
1310
+ "description": "Defaults to \"block\".",
1311
+ "type": "string",
1312
+ "enum": [
1313
+ "block",
1314
+ "inline-block"
1315
+ ]
1316
+ },
1317
+ "minHeight": {
1318
+ "description": "Reserved height in CSS pixels.",
1319
+ "type": "integer",
1320
+ "minimum": 0,
1321
+ "maximum": 4000
1322
+ },
1323
+ "maxWidth": {
1324
+ "type": "integer",
1325
+ "minimum": 1,
1326
+ "maximum": 4000
1327
+ },
1328
+ "aspectRatio": {
1329
+ "type": "object",
1330
+ "properties": {
1331
+ "width": {
1332
+ "type": "integer",
1333
+ "minimum": 1,
1334
+ "maximum": 100
1335
+ },
1336
+ "height": {
1337
+ "type": "integer",
1338
+ "minimum": 1,
1339
+ "maximum": 100
1340
+ }
1341
+ },
1342
+ "required": [
1343
+ "width",
1344
+ "height"
1345
+ ],
1346
+ "additionalProperties": false
1347
+ }
1348
+ },
1349
+ "additionalProperties": false
1350
+ },
1351
+ "Permissions": {
1352
+ "type": "object",
1353
+ "properties": {
1354
+ "apis": {
1355
+ "minItems": 1,
1356
+ "maxItems": 4,
1357
+ "type": "array",
1358
+ "items": {
1359
+ "type": "string",
1360
+ "enum": [
1361
+ "clipboard-write",
1362
+ "fullscreen",
1363
+ "geolocation",
1364
+ "web-share"
1365
+ ]
1366
+ },
1367
+ "uniqueItems": true
1368
+ },
1369
+ "connect": {
1370
+ "minItems": 1,
1371
+ "maxItems": 10,
1372
+ "type": "array",
1373
+ "items": {
1374
+ "type": "string",
1375
+ "maxLength": 2048,
1376
+ "pattern": "^https:\\/\\/(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)+[a-z]{2,63}(?::[1-9]\\d{0,4})?$"
1377
+ },
1378
+ "uniqueItems": true
1379
+ }
1380
+ },
1381
+ "additionalProperties": false
1382
+ },
1383
+ "LibraryName": {
1384
+ "type": "string",
1385
+ "maxLength": 100,
1386
+ "pattern": "^@[a-z0-9][a-z0-9_-]{0,31}\\/[a-z0-9][a-z0-9._-]{0,63}$"
1387
+ },
1388
+ "LocalesDeclaration": {
1389
+ "type": "object",
1390
+ "properties": {
1391
+ "supported": {
1392
+ "minItems": 1,
1393
+ "maxItems": 30,
1394
+ "type": "array",
1395
+ "items": {
1396
+ "type": "string",
1397
+ "maxLength": 35,
1398
+ "pattern": "^[a-z]{2,3}(?:-[A-Za-z0-9]{2,8})*$"
1399
+ },
1400
+ "uniqueItems": true
1401
+ },
1402
+ "default": {
1403
+ "type": "string",
1404
+ "maxLength": 35,
1405
+ "pattern": "^[a-z]{2,3}(?:-[A-Za-z0-9]{2,8})*$"
1406
+ }
1407
+ },
1408
+ "required": [
1409
+ "supported",
1410
+ "default"
1411
+ ],
1412
+ "additionalProperties": false
1413
+ },
1414
+ "AssetDeclaration": {
1415
+ "type": "object",
1416
+ "properties": {
1417
+ "type": {
1418
+ "type": "string",
1419
+ "enum": [
1420
+ "image/avif",
1421
+ "image/jpeg",
1422
+ "image/png",
1423
+ "image/svg+xml",
1424
+ "image/webp",
1425
+ "font/woff2"
1426
+ ],
1427
+ "description": "MIME type; the CDN path ends in its extension."
1428
+ },
1429
+ "size": {
1430
+ "type": "integer",
1431
+ "minimum": 1,
1432
+ "maximum": 2097152,
1433
+ "description": "Size of the file in bytes."
1434
+ }
1435
+ },
1436
+ "required": [
1437
+ "type",
1438
+ "size"
1439
+ ],
1440
+ "additionalProperties": false
1441
+ }
1442
+ }
1443
+ }