@taggor/contract 0.0.0-stage → 0.1.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 (339) 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 +72 -0
  93. package/dist/index.d.ts.map +1 -0
  94. package/dist/index.js +72 -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 +371 -0
  109. package/dist/limit-catalog.d.ts.map +1 -0
  110. package/dist/limit-catalog.js +414 -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/names.d.ts +37 -0
  145. package/dist/names.d.ts.map +1 -0
  146. package/dist/names.js +55 -0
  147. package/dist/names.js.map +1 -0
  148. package/dist/overage-pricing.d.ts +89 -0
  149. package/dist/overage-pricing.d.ts.map +1 -0
  150. package/dist/overage-pricing.js +170 -0
  151. package/dist/overage-pricing.js.map +1 -0
  152. package/dist/plan-ids.d.ts +10 -0
  153. package/dist/plan-ids.d.ts.map +1 -0
  154. package/dist/plan-ids.js +8 -0
  155. package/dist/plan-ids.js.map +1 -0
  156. package/dist/plan-limits.d.ts +138 -0
  157. package/dist/plan-limits.d.ts.map +1 -0
  158. package/dist/plan-limits.js +112 -0
  159. package/dist/plan-limits.js.map +1 -0
  160. package/dist/plan-pricing.d.ts +145 -0
  161. package/dist/plan-pricing.d.ts.map +1 -0
  162. package/dist/plan-pricing.js +172 -0
  163. package/dist/plan-pricing.js.map +1 -0
  164. package/dist/plan-usage.d.ts +112 -0
  165. package/dist/plan-usage.d.ts.map +1 -0
  166. package/dist/plan-usage.js +134 -0
  167. package/dist/plan-usage.js.map +1 -0
  168. package/dist/preview-token.d.ts +52 -0
  169. package/dist/preview-token.d.ts.map +1 -0
  170. package/dist/preview-token.js +106 -0
  171. package/dist/preview-token.js.map +1 -0
  172. package/dist/prop-names.d.ts +51 -0
  173. package/dist/prop-names.d.ts.map +1 -0
  174. package/dist/prop-names.js +150 -0
  175. package/dist/prop-names.js.map +1 -0
  176. package/dist/prop-type-docs.d.ts +20 -0
  177. package/dist/prop-type-docs.d.ts.map +1 -0
  178. package/dist/prop-type-docs.js +89 -0
  179. package/dist/prop-type-docs.js.map +1 -0
  180. package/dist/prop-types.d.ts +97 -0
  181. package/dist/prop-types.d.ts.map +1 -0
  182. package/dist/prop-types.js +299 -0
  183. package/dist/prop-types.js.map +1 -0
  184. package/dist/props.d.ts +996 -0
  185. package/dist/props.d.ts.map +1 -0
  186. package/dist/props.js +183 -0
  187. package/dist/props.js.map +1 -0
  188. package/dist/proto-guard.d.ts +29 -0
  189. package/dist/proto-guard.d.ts.map +1 -0
  190. package/dist/proto-guard.js +79 -0
  191. package/dist/proto-guard.js.map +1 -0
  192. package/dist/runtime-errors.d.ts +42 -0
  193. package/dist/runtime-errors.d.ts.map +1 -0
  194. package/dist/runtime-errors.js +42 -0
  195. package/dist/runtime-errors.js.map +1 -0
  196. package/dist/runtime-pointers.d.ts +58 -0
  197. package/dist/runtime-pointers.d.ts.map +1 -0
  198. package/dist/runtime-pointers.js +84 -0
  199. package/dist/runtime-pointers.js.map +1 -0
  200. package/dist/secret-scan.d.ts +191 -0
  201. package/dist/secret-scan.d.ts.map +1 -0
  202. package/dist/secret-scan.js +542 -0
  203. package/dist/secret-scan.js.map +1 -0
  204. package/dist/semver.d.ts +89 -0
  205. package/dist/semver.d.ts.map +1 -0
  206. package/dist/semver.js +400 -0
  207. package/dist/semver.js.map +1 -0
  208. package/dist/server-key.d.ts +68 -0
  209. package/dist/server-key.d.ts.map +1 -0
  210. package/dist/server-key.js +150 -0
  211. package/dist/server-key.js.map +1 -0
  212. package/dist/site-manifest-keys.d.ts +107 -0
  213. package/dist/site-manifest-keys.d.ts.map +1 -0
  214. package/dist/site-manifest-keys.js +146 -0
  215. package/dist/site-manifest-keys.js.map +1 -0
  216. package/dist/site-manifest.d.ts +286 -0
  217. package/dist/site-manifest.d.ts.map +1 -0
  218. package/dist/site-manifest.js +100 -0
  219. package/dist/site-manifest.js.map +1 -0
  220. package/dist/source-archive.d.ts +119 -0
  221. package/dist/source-archive.d.ts.map +1 -0
  222. package/dist/source-archive.js +644 -0
  223. package/dist/source-archive.js.map +1 -0
  224. package/dist/source-package-corpus.d.ts +55 -0
  225. package/dist/source-package-corpus.d.ts.map +1 -0
  226. package/dist/source-package-corpus.js +303 -0
  227. package/dist/source-package-corpus.js.map +1 -0
  228. package/dist/source-package.d.ts +227 -0
  229. package/dist/source-package.d.ts.map +1 -0
  230. package/dist/source-package.js +361 -0
  231. package/dist/source-package.js.map +1 -0
  232. package/dist/source-secrets.d.ts +21 -0
  233. package/dist/source-secrets.d.ts.map +1 -0
  234. package/dist/source-secrets.js +43 -0
  235. package/dist/source-secrets.js.map +1 -0
  236. package/dist/ssr-cap.d.ts +61 -0
  237. package/dist/ssr-cap.d.ts.map +1 -0
  238. package/dist/ssr-cap.js +107 -0
  239. package/dist/ssr-cap.js.map +1 -0
  240. package/dist/ssr-kv.d.ts +18 -0
  241. package/dist/ssr-kv.d.ts.map +1 -0
  242. package/dist/ssr-kv.js +18 -0
  243. package/dist/ssr-kv.js.map +1 -0
  244. package/dist/ssr-version-ledger.d.ts +53 -0
  245. package/dist/ssr-version-ledger.d.ts.map +1 -0
  246. package/dist/ssr-version-ledger.js +88 -0
  247. package/dist/ssr-version-ledger.js.map +1 -0
  248. package/dist/style-references.d.ts +58 -0
  249. package/dist/style-references.d.ts.map +1 -0
  250. package/dist/style-references.js +241 -0
  251. package/dist/style-references.js.map +1 -0
  252. package/dist/tag-name.d.ts +87 -0
  253. package/dist/tag-name.d.ts.map +1 -0
  254. package/dist/tag-name.js +222 -0
  255. package/dist/tag-name.js.map +1 -0
  256. package/dist/tar-writer.d.ts +74 -0
  257. package/dist/tar-writer.d.ts.map +1 -0
  258. package/dist/tar-writer.js +148 -0
  259. package/dist/tar-writer.js.map +1 -0
  260. package/dist/testing.d.ts +11 -0
  261. package/dist/testing.d.ts.map +1 -0
  262. package/dist/testing.js +11 -0
  263. package/dist/testing.js.map +1 -0
  264. package/dist/text-codec.d.ts +36 -0
  265. package/dist/text-codec.d.ts.map +1 -0
  266. package/dist/text-codec.js +32 -0
  267. package/dist/text-codec.js.map +1 -0
  268. package/dist/url-value.d.ts +41 -0
  269. package/dist/url-value.d.ts.map +1 -0
  270. package/dist/url-value.js +147 -0
  271. package/dist/url-value.js.map +1 -0
  272. package/dist/usage-guard.d.ts +99 -0
  273. package/dist/usage-guard.d.ts.map +1 -0
  274. package/dist/usage-guard.js +104 -0
  275. package/dist/usage-guard.js.map +1 -0
  276. package/dist/usage-mirror.d.ts +55 -0
  277. package/dist/usage-mirror.d.ts.map +1 -0
  278. package/dist/usage-mirror.js +52 -0
  279. package/dist/usage-mirror.js.map +1 -0
  280. package/dist/value-check.d.ts +88 -0
  281. package/dist/value-check.d.ts.map +1 -0
  282. package/dist/value-check.js +279 -0
  283. package/dist/value-check.js.map +1 -0
  284. package/dist/value-patterns.d.ts +9 -0
  285. package/dist/value-patterns.d.ts.map +1 -0
  286. package/dist/value-patterns.js +17 -0
  287. package/dist/value-patterns.js.map +1 -0
  288. package/dist/value-schema.d.ts +796 -0
  289. package/dist/value-schema.d.ts.map +1 -0
  290. package/dist/value-schema.js +231 -0
  291. package/dist/value-schema.js.map +1 -0
  292. package/dist/zod-free.d.ts +59 -0
  293. package/dist/zod-free.d.ts.map +1 -0
  294. package/dist/zod-free.js +57 -0
  295. package/dist/zod-free.js.map +1 -0
  296. package/package.json +75 -3
  297. package/schema/DEPLOYED +12 -0
  298. package/schema/build-diagnostic.v1.json +63 -0
  299. package/schema/component-manifest.v1.json +1000 -0
  300. package/schema/data-api.v1.json +194 -0
  301. package/schema/library-manifest.v1.json +60 -0
  302. package/schema/published/SHA256SUMS +36 -0
  303. package/schema/published/build-diagnostic/v1.10.json +83 -0
  304. package/schema/published/build-diagnostic/v1.3.json +83 -0
  305. package/schema/published/build-diagnostic/v1.4.json +83 -0
  306. package/schema/published/build-diagnostic/v1.5.json +83 -0
  307. package/schema/published/build-diagnostic/v1.6.json +83 -0
  308. package/schema/published/build-diagnostic/v1.7.json +83 -0
  309. package/schema/published/build-diagnostic/v1.8.json +83 -0
  310. package/schema/published/build-diagnostic/v1.9.json +83 -0
  311. package/schema/published/component-manifest/v1.10.json +1443 -0
  312. package/schema/published/component-manifest/v1.3.json +1411 -0
  313. package/schema/published/component-manifest/v1.4.json +1419 -0
  314. package/schema/published/component-manifest/v1.5.json +1437 -0
  315. package/schema/published/component-manifest/v1.6.json +1437 -0
  316. package/schema/published/component-manifest/v1.7.json +1437 -0
  317. package/schema/published/component-manifest/v1.8.json +1437 -0
  318. package/schema/published/component-manifest/v1.9.json +1437 -0
  319. package/schema/published/data-api/v1.10.json +282 -0
  320. package/schema/published/data-api/v1.3.json +281 -0
  321. package/schema/published/data-api/v1.4.json +281 -0
  322. package/schema/published/data-api/v1.5.json +281 -0
  323. package/schema/published/data-api/v1.6.json +281 -0
  324. package/schema/published/data-api/v1.7.json +281 -0
  325. package/schema/published/data-api/v1.8.json +282 -0
  326. package/schema/published/data-api/v1.9.json +282 -0
  327. package/schema/published/library-manifest/v1.10.json +68 -0
  328. package/schema/published/library-manifest/v1.5.json +68 -0
  329. package/schema/published/library-manifest/v1.6.json +68 -0
  330. package/schema/published/library-manifest/v1.7.json +68 -0
  331. package/schema/published/library-manifest/v1.8.json +68 -0
  332. package/schema/published/library-manifest/v1.9.json +68 -0
  333. package/schema/published/taggor-config/v1.10.json +56 -0
  334. package/schema/published/taggor-config/v1.5.json +56 -0
  335. package/schema/published/taggor-config/v1.6.json +56 -0
  336. package/schema/published/taggor-config/v1.7.json +56 -0
  337. package/schema/published/taggor-config/v1.8.json +56 -0
  338. package/schema/published/taggor-config/v1.9.json +56 -0
  339. package/schema/taggor-config.v1.json +39 -0
@@ -0,0 +1,1000 @@
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": { "$ref": "#/$defs/ComponentName" },
11
+ "tag": { "$ref": "#/$defs/TagName" },
12
+ "title": {
13
+ "type": "string",
14
+ "minLength": 1,
15
+ "maxLength": 80,
16
+ "pattern": "^[^\\u0000-\\u0008\\u000b\\u000c\\u000e-\\u001f\\u007f]*$"
17
+ },
18
+ "description": {
19
+ "type": "string",
20
+ "minLength": 1,
21
+ "maxLength": 500,
22
+ "pattern": "^[^\\u0000-\\u0008\\u000b\\u000c\\u000e-\\u001f\\u007f]*$"
23
+ },
24
+ "props": {
25
+ "type": "object",
26
+ "propertyNames": { "$ref": "#/$defs/PropName" },
27
+ "additionalProperties": { "$ref": "#/$defs/PropDeclaration" },
28
+ "maxProperties": 50
29
+ },
30
+ "events": {
31
+ "type": "object",
32
+ "propertyNames": { "$ref": "#/$defs/MemberName" },
33
+ "additionalProperties": { "$ref": "#/$defs/EventDeclaration" },
34
+ "maxProperties": 20
35
+ },
36
+ "slots": {
37
+ "type": "object",
38
+ "propertyNames": { "$ref": "#/$defs/MemberName" },
39
+ "additionalProperties": { "$ref": "#/$defs/SlotDeclaration" },
40
+ "maxProperties": 10
41
+ },
42
+ "parts": {
43
+ "type": "object",
44
+ "propertyNames": { "$ref": "#/$defs/MemberName" },
45
+ "additionalProperties": { "$ref": "#/$defs/PartDeclaration" },
46
+ "maxProperties": 30
47
+ },
48
+ "cssVars": {
49
+ "type": "object",
50
+ "propertyNames": { "$ref": "#/$defs/CssVarName" },
51
+ "additionalProperties": { "$ref": "#/$defs/CssVarDeclaration" },
52
+ "maxProperties": 30
53
+ },
54
+ "data": { "$ref": "#/$defs/DataDeclaration" },
55
+ "size": { "$ref": "#/$defs/SizeHints" },
56
+ "permissions": { "$ref": "#/$defs/Permissions" },
57
+ "libraries": {
58
+ "description": "Workspace-scoped libraries and the semver ranges this component is compatible with. Ownership is resolved by the API and builder.",
59
+ "type": "object",
60
+ "propertyNames": { "$ref": "#/$defs/LibraryName" },
61
+ "additionalProperties": {
62
+ "type": "string",
63
+ "maxLength": 256,
64
+ "description": "A supported npm semver range, for example ^1.2.0."
65
+ },
66
+ "maxProperties": 50
67
+ },
68
+ "locales": { "$ref": "#/$defs/LocalesDeclaration" },
69
+ "assets": {
70
+ "type": "object",
71
+ "propertyNames": { "type": "string", "maxLength": 64, "pattern": "^[0-9a-f]{64}$" },
72
+ "additionalProperties": { "$ref": "#/$defs/AssetDeclaration" },
73
+ "maxProperties": 50
74
+ },
75
+ "formAssociated": {
76
+ "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.",
77
+ "type": "boolean"
78
+ },
79
+ "eventSampleRate": {
80
+ "type": "number",
81
+ "minimum": 0.001,
82
+ "maximum": 1,
83
+ "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."
84
+ },
85
+ "delegatesFocus": {
86
+ "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.",
87
+ "type": "boolean"
88
+ }
89
+ },
90
+ "required": ["contractVersion", "name", "tag", "title", "description"],
91
+ "additionalProperties": false,
92
+ "title": "Taggor component manifest v1",
93
+ "description": "Declarative description of a Taggor component. Generated from the Zod source in @taggor/contract; do not edit.",
94
+ "$defs": {
95
+ "ComponentName": {
96
+ "type": "string",
97
+ "minLength": 1,
98
+ "maxLength": 64,
99
+ "pattern": "^[a-z][a-z0-9]*(?:-[a-z0-9]+)*$"
100
+ },
101
+ "TagName": {
102
+ "type": "string",
103
+ "minLength": 1,
104
+ "maxLength": 64,
105
+ "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]+)+$"
106
+ },
107
+ "PropName": {
108
+ "type": "string",
109
+ "minLength": 1,
110
+ "maxLength": 40,
111
+ "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]*$"
112
+ },
113
+ "PropDeclaration": {
114
+ "oneOf": [
115
+ {
116
+ "type": "object",
117
+ "properties": {
118
+ "type": { "type": "string", "const": "string" },
119
+ "description": {
120
+ "description": "What this member is for; shown in docs, the portal and to agents.",
121
+ "type": "string",
122
+ "minLength": 1,
123
+ "maxLength": 300,
124
+ "pattern": "^[^\\u0000-\\u0008\\u000b\\u000c\\u000e-\\u001f\\u007f]*$"
125
+ },
126
+ "minLength": { "type": "integer", "minimum": 0, "maximum": 10000 },
127
+ "maxLength": {
128
+ "description": "Defaults to 10000.",
129
+ "type": "integer",
130
+ "minimum": 1,
131
+ "maximum": 10000
132
+ },
133
+ "format": { "type": "string", "enum": ["email", "url", "tel", "date", "date-time"] },
134
+ "default": { "type": "string", "maxLength": 10000 }
135
+ },
136
+ "required": ["type"],
137
+ "additionalProperties": false
138
+ },
139
+ {
140
+ "type": "object",
141
+ "properties": {
142
+ "type": { "type": "string", "const": "number" },
143
+ "description": {
144
+ "description": "What this member is for; shown in docs, the portal and to agents.",
145
+ "type": "string",
146
+ "minLength": 1,
147
+ "maxLength": 300,
148
+ "pattern": "^[^\\u0000-\\u0008\\u000b\\u000c\\u000e-\\u001f\\u007f]*$"
149
+ },
150
+ "min": { "type": "number" },
151
+ "max": { "type": "number" },
152
+ "integer": { "type": "boolean" },
153
+ "default": { "type": "number" },
154
+ "step": { "type": "number", "exclusiveMinimum": 0 }
155
+ },
156
+ "required": ["type"],
157
+ "additionalProperties": false
158
+ },
159
+ {
160
+ "type": "object",
161
+ "properties": {
162
+ "type": { "type": "string", "const": "boolean" },
163
+ "description": {
164
+ "description": "What this member is for; shown in docs, the portal and to agents.",
165
+ "type": "string",
166
+ "minLength": 1,
167
+ "maxLength": 300,
168
+ "pattern": "^[^\\u0000-\\u0008\\u000b\\u000c\\u000e-\\u001f\\u007f]*$"
169
+ },
170
+ "default": { "type": "boolean", "const": false }
171
+ },
172
+ "required": ["type"],
173
+ "additionalProperties": false
174
+ },
175
+ {
176
+ "type": "object",
177
+ "properties": {
178
+ "type": { "type": "string", "const": "enum" },
179
+ "description": {
180
+ "description": "What this member is for; shown in docs, the portal and to agents.",
181
+ "type": "string",
182
+ "minLength": 1,
183
+ "maxLength": 300,
184
+ "pattern": "^[^\\u0000-\\u0008\\u000b\\u000c\\u000e-\\u001f\\u007f]*$"
185
+ },
186
+ "values": {
187
+ "minItems": 1,
188
+ "maxItems": 50,
189
+ "type": "array",
190
+ "items": { "$ref": "#/$defs/EnumValue" },
191
+ "uniqueItems": true
192
+ },
193
+ "default": { "type": "string", "maxLength": 64 }
194
+ },
195
+ "required": ["type", "values"],
196
+ "additionalProperties": false
197
+ },
198
+ {
199
+ "type": "object",
200
+ "properties": {
201
+ "type": { "type": "string", "const": "color" },
202
+ "description": {
203
+ "description": "What this member is for; shown in docs, the portal and to agents.",
204
+ "type": "string",
205
+ "minLength": 1,
206
+ "maxLength": 300,
207
+ "pattern": "^[^\\u0000-\\u0008\\u000b\\u000c\\u000e-\\u001f\\u007f]*$"
208
+ },
209
+ "default": {
210
+ "type": "string",
211
+ "minLength": 1,
212
+ "maxLength": 64,
213
+ "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)])+$"
214
+ }
215
+ },
216
+ "required": ["type"],
217
+ "additionalProperties": false
218
+ },
219
+ {
220
+ "type": "object",
221
+ "properties": {
222
+ "type": { "type": "string", "const": "url" },
223
+ "description": {
224
+ "description": "What this member is for; shown in docs, the portal and to agents.",
225
+ "type": "string",
226
+ "minLength": 1,
227
+ "maxLength": 300,
228
+ "pattern": "^[^\\u0000-\\u0008\\u000b\\u000c\\u000e-\\u001f\\u007f]*$"
229
+ },
230
+ "protocols": {
231
+ "description": "Accepted URL schemes; defaults to [\"https\"].",
232
+ "minItems": 1,
233
+ "maxItems": 3,
234
+ "type": "array",
235
+ "items": { "type": "string", "enum": ["https", "http", "mailto"] },
236
+ "uniqueItems": true
237
+ },
238
+ "default": {
239
+ "type": "string",
240
+ "maxLength": 2048,
241
+ "pattern": "^(?:https:\\/\\/|http:\\/\\/|mailto:)[!#-&(-;=?-\\[\\]-_a-z{-~]+$"
242
+ }
243
+ },
244
+ "required": ["type"],
245
+ "additionalProperties": false
246
+ },
247
+ {
248
+ "type": "object",
249
+ "properties": {
250
+ "type": { "type": "string", "const": "date" },
251
+ "description": {
252
+ "description": "What this member is for; shown in docs, the portal and to agents.",
253
+ "type": "string",
254
+ "minLength": 1,
255
+ "maxLength": 300,
256
+ "pattern": "^[^\\u0000-\\u0008\\u000b\\u000c\\u000e-\\u001f\\u007f]*$"
257
+ },
258
+ "min": {
259
+ "type": "string",
260
+ "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])))$"
261
+ },
262
+ "max": {
263
+ "type": "string",
264
+ "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])))$"
265
+ },
266
+ "default": {
267
+ "type": "string",
268
+ "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])))$"
269
+ }
270
+ },
271
+ "required": ["type"],
272
+ "additionalProperties": false
273
+ },
274
+ {
275
+ "type": "object",
276
+ "properties": {
277
+ "type": { "type": "string", "const": "array" },
278
+ "description": {
279
+ "description": "What this member is for; shown in docs, the portal and to agents.",
280
+ "type": "string",
281
+ "minLength": 1,
282
+ "maxLength": 300,
283
+ "pattern": "^[^\\u0000-\\u0008\\u000b\\u000c\\u000e-\\u001f\\u007f]*$"
284
+ },
285
+ "items": { "$ref": "#/$defs/ValueSchemaDepth2" },
286
+ "minItems": { "type": "integer", "minimum": 0, "maximum": 1000 },
287
+ "maxItems": {
288
+ "description": "Defaults to 1000.",
289
+ "type": "integer",
290
+ "minimum": 1,
291
+ "maximum": 1000
292
+ },
293
+ "default": {
294
+ "maxItems": 1000,
295
+ "type": "array",
296
+ "items": { "$ref": "#/$defs/DefaultValueDepth2" }
297
+ }
298
+ },
299
+ "required": ["type", "items"],
300
+ "additionalProperties": false
301
+ },
302
+ {
303
+ "type": "object",
304
+ "properties": {
305
+ "type": { "type": "string", "const": "object" },
306
+ "description": {
307
+ "description": "What this member is for; shown in docs, the portal and to agents.",
308
+ "type": "string",
309
+ "minLength": 1,
310
+ "maxLength": 300,
311
+ "pattern": "^[^\\u0000-\\u0008\\u000b\\u000c\\u000e-\\u001f\\u007f]*$"
312
+ },
313
+ "fields": {
314
+ "type": "object",
315
+ "propertyNames": { "$ref": "#/$defs/FieldName" },
316
+ "additionalProperties": { "$ref": "#/$defs/ValueSchemaDepth2" },
317
+ "maxProperties": 50
318
+ },
319
+ "required": {
320
+ "minItems": 1,
321
+ "maxItems": 50,
322
+ "type": "array",
323
+ "items": { "$ref": "#/$defs/FieldName" },
324
+ "uniqueItems": true
325
+ },
326
+ "default": {
327
+ "type": "object",
328
+ "propertyNames": { "$ref": "#/$defs/FieldName" },
329
+ "additionalProperties": { "$ref": "#/$defs/DefaultValueDepth2" },
330
+ "maxProperties": 50
331
+ }
332
+ },
333
+ "required": ["type", "fields"],
334
+ "additionalProperties": false
335
+ }
336
+ ]
337
+ },
338
+ "EnumValue": {
339
+ "type": "string",
340
+ "minLength": 1,
341
+ "maxLength": 64,
342
+ "pattern": "^[^\\u0000-\\u001f\\u007f]+$"
343
+ },
344
+ "ValueSchemaDepth2": {
345
+ "oneOf": [
346
+ { "$ref": "#/$defs/StringValueSchema" },
347
+ { "$ref": "#/$defs/NumberValueSchema" },
348
+ { "$ref": "#/$defs/BooleanValueSchema" },
349
+ { "$ref": "#/$defs/EnumValueSchema" },
350
+ {
351
+ "type": "object",
352
+ "properties": {
353
+ "type": { "type": "string", "const": "array" },
354
+ "description": {
355
+ "description": "What this member is for; shown in docs, the portal and to agents.",
356
+ "type": "string",
357
+ "minLength": 1,
358
+ "maxLength": 300,
359
+ "pattern": "^[^\\u0000-\\u0008\\u000b\\u000c\\u000e-\\u001f\\u007f]*$"
360
+ },
361
+ "items": { "$ref": "#/$defs/ValueSchemaDepth1" },
362
+ "minItems": { "type": "integer", "minimum": 0, "maximum": 1000 },
363
+ "maxItems": {
364
+ "description": "Defaults to 1000.",
365
+ "type": "integer",
366
+ "minimum": 1,
367
+ "maximum": 1000
368
+ }
369
+ },
370
+ "required": ["type", "items"],
371
+ "additionalProperties": false
372
+ },
373
+ {
374
+ "type": "object",
375
+ "properties": {
376
+ "type": { "type": "string", "const": "object" },
377
+ "description": {
378
+ "description": "What this member is for; shown in docs, the portal and to agents.",
379
+ "type": "string",
380
+ "minLength": 1,
381
+ "maxLength": 300,
382
+ "pattern": "^[^\\u0000-\\u0008\\u000b\\u000c\\u000e-\\u001f\\u007f]*$"
383
+ },
384
+ "fields": {
385
+ "type": "object",
386
+ "propertyNames": { "$ref": "#/$defs/FieldName" },
387
+ "additionalProperties": { "$ref": "#/$defs/ValueSchemaDepth1" },
388
+ "maxProperties": 50
389
+ },
390
+ "required": {
391
+ "minItems": 1,
392
+ "maxItems": 50,
393
+ "type": "array",
394
+ "items": { "$ref": "#/$defs/FieldName" },
395
+ "uniqueItems": true
396
+ }
397
+ },
398
+ "required": ["type", "fields"],
399
+ "additionalProperties": false
400
+ }
401
+ ]
402
+ },
403
+ "StringValueSchema": {
404
+ "type": "object",
405
+ "properties": {
406
+ "type": { "type": "string", "const": "string" },
407
+ "description": {
408
+ "description": "What this member is for; shown in docs, the portal and to agents.",
409
+ "type": "string",
410
+ "minLength": 1,
411
+ "maxLength": 300,
412
+ "pattern": "^[^\\u0000-\\u0008\\u000b\\u000c\\u000e-\\u001f\\u007f]*$"
413
+ },
414
+ "minLength": { "type": "integer", "minimum": 0, "maximum": 10000 },
415
+ "maxLength": {
416
+ "description": "Defaults to 10000.",
417
+ "type": "integer",
418
+ "minimum": 1,
419
+ "maximum": 10000
420
+ },
421
+ "format": { "type": "string", "enum": ["email", "url", "tel", "date", "date-time"] }
422
+ },
423
+ "required": ["type"],
424
+ "additionalProperties": false
425
+ },
426
+ "NumberValueSchema": {
427
+ "type": "object",
428
+ "properties": {
429
+ "type": { "type": "string", "const": "number" },
430
+ "description": {
431
+ "description": "What this member is for; shown in docs, the portal and to agents.",
432
+ "type": "string",
433
+ "minLength": 1,
434
+ "maxLength": 300,
435
+ "pattern": "^[^\\u0000-\\u0008\\u000b\\u000c\\u000e-\\u001f\\u007f]*$"
436
+ },
437
+ "min": { "type": "number" },
438
+ "max": { "type": "number" },
439
+ "integer": { "type": "boolean" }
440
+ },
441
+ "required": ["type"],
442
+ "additionalProperties": false
443
+ },
444
+ "BooleanValueSchema": {
445
+ "type": "object",
446
+ "properties": {
447
+ "type": { "type": "string", "const": "boolean" },
448
+ "description": {
449
+ "description": "What this member is for; shown in docs, the portal and to agents.",
450
+ "type": "string",
451
+ "minLength": 1,
452
+ "maxLength": 300,
453
+ "pattern": "^[^\\u0000-\\u0008\\u000b\\u000c\\u000e-\\u001f\\u007f]*$"
454
+ }
455
+ },
456
+ "required": ["type"],
457
+ "additionalProperties": false
458
+ },
459
+ "EnumValueSchema": {
460
+ "type": "object",
461
+ "properties": {
462
+ "type": { "type": "string", "const": "enum" },
463
+ "description": {
464
+ "description": "What this member is for; shown in docs, the portal and to agents.",
465
+ "type": "string",
466
+ "minLength": 1,
467
+ "maxLength": 300,
468
+ "pattern": "^[^\\u0000-\\u0008\\u000b\\u000c\\u000e-\\u001f\\u007f]*$"
469
+ },
470
+ "values": {
471
+ "minItems": 1,
472
+ "maxItems": 50,
473
+ "type": "array",
474
+ "items": { "$ref": "#/$defs/EnumValue" },
475
+ "uniqueItems": true
476
+ }
477
+ },
478
+ "required": ["type", "values"],
479
+ "additionalProperties": false
480
+ },
481
+ "ValueSchemaDepth1": {
482
+ "oneOf": [
483
+ { "$ref": "#/$defs/StringValueSchema" },
484
+ { "$ref": "#/$defs/NumberValueSchema" },
485
+ { "$ref": "#/$defs/BooleanValueSchema" },
486
+ { "$ref": "#/$defs/EnumValueSchema" },
487
+ {
488
+ "type": "object",
489
+ "properties": {
490
+ "type": { "type": "string", "const": "array" },
491
+ "description": {
492
+ "description": "What this member is for; shown in docs, the portal and to agents.",
493
+ "type": "string",
494
+ "minLength": 1,
495
+ "maxLength": 300,
496
+ "pattern": "^[^\\u0000-\\u0008\\u000b\\u000c\\u000e-\\u001f\\u007f]*$"
497
+ },
498
+ "items": { "$ref": "#/$defs/ScalarValueSchema" },
499
+ "minItems": { "type": "integer", "minimum": 0, "maximum": 1000 },
500
+ "maxItems": {
501
+ "description": "Defaults to 1000.",
502
+ "type": "integer",
503
+ "minimum": 1,
504
+ "maximum": 1000
505
+ }
506
+ },
507
+ "required": ["type", "items"],
508
+ "additionalProperties": false
509
+ },
510
+ {
511
+ "type": "object",
512
+ "properties": {
513
+ "type": { "type": "string", "const": "object" },
514
+ "description": {
515
+ "description": "What this member is for; shown in docs, the portal and to agents.",
516
+ "type": "string",
517
+ "minLength": 1,
518
+ "maxLength": 300,
519
+ "pattern": "^[^\\u0000-\\u0008\\u000b\\u000c\\u000e-\\u001f\\u007f]*$"
520
+ },
521
+ "fields": {
522
+ "type": "object",
523
+ "propertyNames": { "$ref": "#/$defs/FieldName" },
524
+ "additionalProperties": { "$ref": "#/$defs/ScalarValueSchema" },
525
+ "maxProperties": 50
526
+ },
527
+ "required": {
528
+ "minItems": 1,
529
+ "maxItems": 50,
530
+ "type": "array",
531
+ "items": { "$ref": "#/$defs/FieldName" },
532
+ "uniqueItems": true
533
+ }
534
+ },
535
+ "required": ["type", "fields"],
536
+ "additionalProperties": false
537
+ }
538
+ ]
539
+ },
540
+ "ScalarValueSchema": {
541
+ "oneOf": [
542
+ { "$ref": "#/$defs/StringValueSchema" },
543
+ { "$ref": "#/$defs/NumberValueSchema" },
544
+ { "$ref": "#/$defs/BooleanValueSchema" },
545
+ { "$ref": "#/$defs/EnumValueSchema" }
546
+ ]
547
+ },
548
+ "FieldName": {
549
+ "type": "string",
550
+ "minLength": 1,
551
+ "maxLength": 40,
552
+ "pattern": "^(?!(?:constructor|hasOwnProperty|isPrototypeOf|propertyIsEnumerable|toLocaleString|toString|valueOf)$)[a-zA-Z][a-zA-Z0-9_]*$"
553
+ },
554
+ "DefaultValueDepth2": {
555
+ "anyOf": [
556
+ {
557
+ "anyOf": [
558
+ { "type": "string", "maxLength": 10000 },
559
+ { "type": "number" },
560
+ { "type": "boolean" }
561
+ ]
562
+ },
563
+ { "maxItems": 1000, "type": "array", "items": { "$ref": "#/$defs/DefaultValueDepth1" } },
564
+ {
565
+ "type": "object",
566
+ "propertyNames": { "$ref": "#/$defs/FieldName" },
567
+ "additionalProperties": { "$ref": "#/$defs/DefaultValueDepth1" },
568
+ "maxProperties": 50
569
+ }
570
+ ]
571
+ },
572
+ "DefaultValueDepth1": {
573
+ "anyOf": [
574
+ {
575
+ "anyOf": [
576
+ { "type": "string", "maxLength": 10000 },
577
+ { "type": "number" },
578
+ { "type": "boolean" }
579
+ ]
580
+ },
581
+ {
582
+ "maxItems": 1000,
583
+ "type": "array",
584
+ "items": {
585
+ "anyOf": [
586
+ { "type": "string", "maxLength": 10000 },
587
+ { "type": "number" },
588
+ { "type": "boolean" }
589
+ ]
590
+ }
591
+ },
592
+ {
593
+ "type": "object",
594
+ "propertyNames": { "$ref": "#/$defs/FieldName" },
595
+ "additionalProperties": {
596
+ "anyOf": [
597
+ { "type": "string", "maxLength": 10000 },
598
+ { "type": "number" },
599
+ { "type": "boolean" }
600
+ ]
601
+ },
602
+ "maxProperties": 50
603
+ }
604
+ ]
605
+ },
606
+ "MemberName": {
607
+ "type": "string",
608
+ "minLength": 1,
609
+ "maxLength": 40,
610
+ "pattern": "^[a-z][a-z0-9]*(?:-[a-z0-9]+)*$"
611
+ },
612
+ "EventDeclaration": {
613
+ "type": "object",
614
+ "properties": {
615
+ "description": {
616
+ "description": "What this member is for; shown in docs, the portal and to agents.",
617
+ "type": "string",
618
+ "minLength": 1,
619
+ "maxLength": 300,
620
+ "pattern": "^[^\\u0000-\\u0008\\u000b\\u000c\\u000e-\\u001f\\u007f]*$"
621
+ },
622
+ "detail": {
623
+ "description": "Schema of `event.detail`; use { \"type\": \"object\", \"fields\": {} } for an event without data.",
624
+ "$ref": "#/$defs/ValueSchema"
625
+ },
626
+ "bubbles": { "description": "Defaults to true.", "type": "boolean" },
627
+ "composed": { "description": "Defaults to true.", "type": "boolean" }
628
+ },
629
+ "required": ["detail"],
630
+ "additionalProperties": false
631
+ },
632
+ "ValueSchema": {
633
+ "oneOf": [
634
+ { "$ref": "#/$defs/StringValueSchema" },
635
+ { "$ref": "#/$defs/NumberValueSchema" },
636
+ { "$ref": "#/$defs/BooleanValueSchema" },
637
+ { "$ref": "#/$defs/EnumValueSchema" },
638
+ {
639
+ "type": "object",
640
+ "properties": {
641
+ "type": { "type": "string", "const": "array" },
642
+ "description": {
643
+ "description": "What this member is for; shown in docs, the portal and to agents.",
644
+ "type": "string",
645
+ "minLength": 1,
646
+ "maxLength": 300,
647
+ "pattern": "^[^\\u0000-\\u0008\\u000b\\u000c\\u000e-\\u001f\\u007f]*$"
648
+ },
649
+ "items": { "$ref": "#/$defs/ValueSchemaDepth2" },
650
+ "minItems": { "type": "integer", "minimum": 0, "maximum": 1000 },
651
+ "maxItems": {
652
+ "description": "Defaults to 1000.",
653
+ "type": "integer",
654
+ "minimum": 1,
655
+ "maximum": 1000
656
+ }
657
+ },
658
+ "required": ["type", "items"],
659
+ "additionalProperties": false
660
+ },
661
+ {
662
+ "type": "object",
663
+ "properties": {
664
+ "type": { "type": "string", "const": "object" },
665
+ "description": {
666
+ "description": "What this member is for; shown in docs, the portal and to agents.",
667
+ "type": "string",
668
+ "minLength": 1,
669
+ "maxLength": 300,
670
+ "pattern": "^[^\\u0000-\\u0008\\u000b\\u000c\\u000e-\\u001f\\u007f]*$"
671
+ },
672
+ "fields": {
673
+ "type": "object",
674
+ "propertyNames": { "$ref": "#/$defs/FieldName" },
675
+ "additionalProperties": { "$ref": "#/$defs/ValueSchemaDepth2" },
676
+ "maxProperties": 50
677
+ },
678
+ "required": {
679
+ "minItems": 1,
680
+ "maxItems": 50,
681
+ "type": "array",
682
+ "items": { "$ref": "#/$defs/FieldName" },
683
+ "uniqueItems": true
684
+ }
685
+ },
686
+ "required": ["type", "fields"],
687
+ "additionalProperties": false
688
+ }
689
+ ],
690
+ "description": "Declarative description of a JSON value. Plain data only: no code, no regular expressions."
691
+ },
692
+ "SlotDeclaration": {
693
+ "type": "object",
694
+ "properties": {
695
+ "description": {
696
+ "description": "What this member is for; shown in docs, the portal and to agents.",
697
+ "type": "string",
698
+ "minLength": 1,
699
+ "maxLength": 300,
700
+ "pattern": "^[^\\u0000-\\u0008\\u000b\\u000c\\u000e-\\u001f\\u007f]*$"
701
+ }
702
+ },
703
+ "additionalProperties": false
704
+ },
705
+ "PartDeclaration": {
706
+ "type": "object",
707
+ "properties": {
708
+ "description": {
709
+ "description": "What this member is for; shown in docs, the portal and to agents.",
710
+ "type": "string",
711
+ "minLength": 1,
712
+ "maxLength": 300,
713
+ "pattern": "^[^\\u0000-\\u0008\\u000b\\u000c\\u000e-\\u001f\\u007f]*$"
714
+ }
715
+ },
716
+ "additionalProperties": false
717
+ },
718
+ "CssVarName": {
719
+ "type": "string",
720
+ "minLength": 1,
721
+ "maxLength": 64,
722
+ "pattern": "^--[a-z][a-z0-9]*(?:-[a-z0-9]+)*$"
723
+ },
724
+ "CssVarDeclaration": {
725
+ "oneOf": [
726
+ {
727
+ "type": "object",
728
+ "properties": {
729
+ "type": { "type": "string", "enum": ["color", "length", "number", "percentage"] },
730
+ "default": {
731
+ "type": "string",
732
+ "minLength": 1,
733
+ "maxLength": 100,
734
+ "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)])+$"
735
+ },
736
+ "description": {
737
+ "description": "What this member is for; shown in docs, the portal and to agents.",
738
+ "type": "string",
739
+ "minLength": 1,
740
+ "maxLength": 300,
741
+ "pattern": "^[^\\u0000-\\u0008\\u000b\\u000c\\u000e-\\u001f\\u007f]*$"
742
+ }
743
+ },
744
+ "required": ["type", "default"],
745
+ "additionalProperties": false
746
+ },
747
+ {
748
+ "type": "object",
749
+ "properties": {
750
+ "type": { "type": "string", "const": "font-family" },
751
+ "default": {
752
+ "type": "string",
753
+ "minLength": 1,
754
+ "maxLength": 100,
755
+ "pattern": "^[a-zA-Z0-9,\\s-]+$"
756
+ },
757
+ "description": {
758
+ "description": "What this member is for; shown in docs, the portal and to agents.",
759
+ "type": "string",
760
+ "minLength": 1,
761
+ "maxLength": 300,
762
+ "pattern": "^[^\\u0000-\\u0008\\u000b\\u000c\\u000e-\\u001f\\u007f]*$"
763
+ }
764
+ },
765
+ "required": ["type", "default"],
766
+ "additionalProperties": false
767
+ }
768
+ ]
769
+ },
770
+ "DataDeclaration": {
771
+ "type": "object",
772
+ "properties": {
773
+ "collections": {
774
+ "type": "object",
775
+ "propertyNames": { "$ref": "#/$defs/MemberName" },
776
+ "additionalProperties": { "$ref": "#/$defs/CollectionDeclaration" },
777
+ "maxProperties": 10
778
+ },
779
+ "track": {
780
+ "type": "object",
781
+ "propertyNames": { "$ref": "#/$defs/MemberName" },
782
+ "additionalProperties": { "$ref": "#/$defs/TrackEventDeclaration" },
783
+ "maxProperties": 30
784
+ },
785
+ "personal": {
786
+ "description": "True when the collections hold personal data (TAG-212): every submit then carries the visitor's consent. Defaults to false.",
787
+ "type": "boolean"
788
+ },
789
+ "privacyPolicyUrl": {
790
+ "description": "Name of the prop of type \"url\" that links the privacy policy, set per site (TAG-212). Required when personal is true.",
791
+ "$ref": "#/$defs/PropName"
792
+ }
793
+ },
794
+ "additionalProperties": false
795
+ },
796
+ "CollectionDeclaration": {
797
+ "type": "object",
798
+ "properties": {
799
+ "description": {
800
+ "description": "What this member is for; shown in docs, the portal and to agents.",
801
+ "type": "string",
802
+ "minLength": 1,
803
+ "maxLength": 300,
804
+ "pattern": "^[^\\u0000-\\u0008\\u000b\\u000c\\u000e-\\u001f\\u007f]*$"
805
+ },
806
+ "fields": {
807
+ "type": "object",
808
+ "propertyNames": { "$ref": "#/$defs/SnakeName" },
809
+ "additionalProperties": { "$ref": "#/$defs/CollectionField" },
810
+ "minProperties": 1,
811
+ "maxProperties": 50
812
+ },
813
+ "required": {
814
+ "minItems": 1,
815
+ "maxItems": 50,
816
+ "type": "array",
817
+ "items": { "$ref": "#/$defs/SnakeName" },
818
+ "uniqueItems": true
819
+ },
820
+ "visibility": {
821
+ "description": "Defaults to \"private\".",
822
+ "type": "string",
823
+ "enum": ["private", "public"]
824
+ }
825
+ },
826
+ "required": ["fields"],
827
+ "additionalProperties": false
828
+ },
829
+ "SnakeName": {
830
+ "type": "string",
831
+ "minLength": 1,
832
+ "maxLength": 40,
833
+ "pattern": "^(?!(?:constructor|hasOwnProperty|isPrototypeOf|propertyIsEnumerable|toLocaleString|toString|valueOf)$)[a-z][a-z0-9]*(?:_[a-z0-9]+)*$"
834
+ },
835
+ "CollectionField": {
836
+ "oneOf": [
837
+ { "$ref": "#/$defs/StringValueSchema" },
838
+ { "$ref": "#/$defs/NumberValueSchema" },
839
+ { "$ref": "#/$defs/BooleanValueSchema" },
840
+ { "$ref": "#/$defs/EnumValueSchema" },
841
+ {
842
+ "type": "object",
843
+ "properties": {
844
+ "type": { "type": "string", "const": "array" },
845
+ "description": {
846
+ "description": "What this member is for; shown in docs, the portal and to agents.",
847
+ "type": "string",
848
+ "minLength": 1,
849
+ "maxLength": 300,
850
+ "pattern": "^[^\\u0000-\\u0008\\u000b\\u000c\\u000e-\\u001f\\u007f]*$"
851
+ },
852
+ "items": { "$ref": "#/$defs/ScalarValueSchema" },
853
+ "minItems": { "type": "integer", "minimum": 0, "maximum": 1000 },
854
+ "maxItems": {
855
+ "description": "Defaults to 1000.",
856
+ "type": "integer",
857
+ "minimum": 1,
858
+ "maximum": 1000
859
+ }
860
+ },
861
+ "required": ["type", "items"],
862
+ "additionalProperties": false
863
+ }
864
+ ]
865
+ },
866
+ "TrackEventDeclaration": {
867
+ "type": "object",
868
+ "properties": {
869
+ "description": {
870
+ "description": "What this member is for; shown in docs, the portal and to agents.",
871
+ "type": "string",
872
+ "minLength": 1,
873
+ "maxLength": 300,
874
+ "pattern": "^[^\\u0000-\\u0008\\u000b\\u000c\\u000e-\\u001f\\u007f]*$"
875
+ },
876
+ "props": {
877
+ "type": "object",
878
+ "propertyNames": { "$ref": "#/$defs/SnakeName" },
879
+ "additionalProperties": { "$ref": "#/$defs/TrackProp" },
880
+ "maxProperties": 8
881
+ }
882
+ },
883
+ "additionalProperties": false
884
+ },
885
+ "TrackProp": {
886
+ "oneOf": [
887
+ { "$ref": "#/$defs/NumberValueSchema" },
888
+ { "$ref": "#/$defs/BooleanValueSchema" },
889
+ { "$ref": "#/$defs/EnumValueSchema" }
890
+ ]
891
+ },
892
+ "SizeHints": {
893
+ "type": "object",
894
+ "properties": {
895
+ "display": {
896
+ "description": "Defaults to \"block\".",
897
+ "type": "string",
898
+ "enum": ["block", "inline-block"]
899
+ },
900
+ "minHeight": {
901
+ "description": "Reserved height in CSS pixels.",
902
+ "type": "integer",
903
+ "minimum": 0,
904
+ "maximum": 4000
905
+ },
906
+ "maxWidth": { "type": "integer", "minimum": 1, "maximum": 4000 },
907
+ "aspectRatio": {
908
+ "type": "object",
909
+ "properties": {
910
+ "width": { "type": "integer", "minimum": 1, "maximum": 100 },
911
+ "height": { "type": "integer", "minimum": 1, "maximum": 100 }
912
+ },
913
+ "required": ["width", "height"],
914
+ "additionalProperties": false
915
+ }
916
+ },
917
+ "additionalProperties": false
918
+ },
919
+ "Permissions": {
920
+ "type": "object",
921
+ "properties": {
922
+ "apis": {
923
+ "minItems": 1,
924
+ "maxItems": 4,
925
+ "type": "array",
926
+ "items": {
927
+ "type": "string",
928
+ "enum": ["clipboard-write", "fullscreen", "geolocation", "web-share"]
929
+ },
930
+ "uniqueItems": true
931
+ },
932
+ "connect": {
933
+ "minItems": 1,
934
+ "maxItems": 10,
935
+ "type": "array",
936
+ "items": {
937
+ "type": "string",
938
+ "maxLength": 2048,
939
+ "pattern": "^https:\\/\\/(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)+[a-z]{2,63}(?::[1-9]\\d{0,4})?$"
940
+ },
941
+ "uniqueItems": true
942
+ }
943
+ },
944
+ "additionalProperties": false
945
+ },
946
+ "LibraryName": {
947
+ "type": "string",
948
+ "maxLength": 100,
949
+ "pattern": "^@[a-z0-9][a-z0-9_-]{0,31}\\/[a-z0-9][a-z0-9._-]{0,63}$"
950
+ },
951
+ "LocalesDeclaration": {
952
+ "type": "object",
953
+ "properties": {
954
+ "supported": {
955
+ "minItems": 1,
956
+ "maxItems": 30,
957
+ "type": "array",
958
+ "items": {
959
+ "type": "string",
960
+ "maxLength": 35,
961
+ "pattern": "^[a-z]{2,3}(?:-[A-Za-z0-9]{2,8})*$"
962
+ },
963
+ "uniqueItems": true
964
+ },
965
+ "default": {
966
+ "type": "string",
967
+ "maxLength": 35,
968
+ "pattern": "^[a-z]{2,3}(?:-[A-Za-z0-9]{2,8})*$"
969
+ }
970
+ },
971
+ "required": ["supported", "default"],
972
+ "additionalProperties": false
973
+ },
974
+ "AssetDeclaration": {
975
+ "type": "object",
976
+ "properties": {
977
+ "type": {
978
+ "type": "string",
979
+ "enum": [
980
+ "image/avif",
981
+ "image/jpeg",
982
+ "image/png",
983
+ "image/svg+xml",
984
+ "image/webp",
985
+ "font/woff2"
986
+ ],
987
+ "description": "MIME type; the CDN path ends in its extension."
988
+ },
989
+ "size": {
990
+ "type": "integer",
991
+ "minimum": 1,
992
+ "maximum": 2097152,
993
+ "description": "Size of the file in bytes."
994
+ }
995
+ },
996
+ "required": ["type", "size"],
997
+ "additionalProperties": false
998
+ }
999
+ }
1000
+ }