@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,1419 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "$id": "https://taggor.app/schema/component-manifest/v1.json",
4
+ "type": "object",
5
+ "properties": {
6
+ "contractVersion": {
7
+ "type": "string",
8
+ "pattern": "^1\\.(?:0|1|2|3|4)\\.(?: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
+ "locales": {
88
+ "$ref": "#/$defs/LocalesDeclaration"
89
+ },
90
+ "assets": {
91
+ "type": "object",
92
+ "propertyNames": {
93
+ "type": "string",
94
+ "maxLength": 64,
95
+ "pattern": "^[0-9a-f]{64}$"
96
+ },
97
+ "additionalProperties": {
98
+ "$ref": "#/$defs/AssetDeclaration"
99
+ },
100
+ "maxProperties": 50
101
+ },
102
+ "formAssociated": {
103
+ "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.",
104
+ "type": "boolean"
105
+ },
106
+ "delegatesFocus": {
107
+ "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.",
108
+ "type": "boolean"
109
+ }
110
+ },
111
+ "required": [
112
+ "contractVersion",
113
+ "name",
114
+ "tag",
115
+ "title",
116
+ "description"
117
+ ],
118
+ "additionalProperties": false,
119
+ "title": "Taggor component manifest v1",
120
+ "description": "Declarative description of a Taggor component. Generated from the Zod source in @taggor/contract; do not edit.",
121
+ "$defs": {
122
+ "ComponentName": {
123
+ "type": "string",
124
+ "minLength": 1,
125
+ "maxLength": 64,
126
+ "pattern": "^[a-z][a-z0-9]*(?:-[a-z0-9]+)*$"
127
+ },
128
+ "TagName": {
129
+ "type": "string",
130
+ "minLength": 1,
131
+ "maxLength": 64,
132
+ "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]+)+$"
133
+ },
134
+ "PropName": {
135
+ "type": "string",
136
+ "minLength": 1,
137
+ "maxLength": 40,
138
+ "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]*$"
139
+ },
140
+ "PropDeclaration": {
141
+ "oneOf": [
142
+ {
143
+ "type": "object",
144
+ "properties": {
145
+ "type": {
146
+ "type": "string",
147
+ "const": "string"
148
+ },
149
+ "description": {
150
+ "description": "What this member is for; shown in docs, the portal and to agents.",
151
+ "type": "string",
152
+ "minLength": 1,
153
+ "maxLength": 300,
154
+ "pattern": "^[^\\u0000-\\u0008\\u000b\\u000c\\u000e-\\u001f\\u007f]*$"
155
+ },
156
+ "minLength": {
157
+ "type": "integer",
158
+ "minimum": 0,
159
+ "maximum": 10000
160
+ },
161
+ "maxLength": {
162
+ "description": "Defaults to 10000.",
163
+ "type": "integer",
164
+ "minimum": 1,
165
+ "maximum": 10000
166
+ },
167
+ "format": {
168
+ "type": "string",
169
+ "enum": [
170
+ "email",
171
+ "url",
172
+ "tel",
173
+ "date",
174
+ "date-time"
175
+ ]
176
+ },
177
+ "default": {
178
+ "type": "string",
179
+ "maxLength": 10000
180
+ }
181
+ },
182
+ "required": [
183
+ "type"
184
+ ],
185
+ "additionalProperties": false
186
+ },
187
+ {
188
+ "type": "object",
189
+ "properties": {
190
+ "type": {
191
+ "type": "string",
192
+ "const": "number"
193
+ },
194
+ "description": {
195
+ "description": "What this member is for; shown in docs, the portal and to agents.",
196
+ "type": "string",
197
+ "minLength": 1,
198
+ "maxLength": 300,
199
+ "pattern": "^[^\\u0000-\\u0008\\u000b\\u000c\\u000e-\\u001f\\u007f]*$"
200
+ },
201
+ "min": {
202
+ "type": "number"
203
+ },
204
+ "max": {
205
+ "type": "number"
206
+ },
207
+ "integer": {
208
+ "type": "boolean"
209
+ },
210
+ "default": {
211
+ "type": "number"
212
+ },
213
+ "step": {
214
+ "type": "number",
215
+ "exclusiveMinimum": 0
216
+ }
217
+ },
218
+ "required": [
219
+ "type"
220
+ ],
221
+ "additionalProperties": false
222
+ },
223
+ {
224
+ "type": "object",
225
+ "properties": {
226
+ "type": {
227
+ "type": "string",
228
+ "const": "boolean"
229
+ },
230
+ "description": {
231
+ "description": "What this member is for; shown in docs, the portal and to agents.",
232
+ "type": "string",
233
+ "minLength": 1,
234
+ "maxLength": 300,
235
+ "pattern": "^[^\\u0000-\\u0008\\u000b\\u000c\\u000e-\\u001f\\u007f]*$"
236
+ },
237
+ "default": {
238
+ "type": "boolean",
239
+ "const": false
240
+ }
241
+ },
242
+ "required": [
243
+ "type"
244
+ ],
245
+ "additionalProperties": false
246
+ },
247
+ {
248
+ "type": "object",
249
+ "properties": {
250
+ "type": {
251
+ "type": "string",
252
+ "const": "enum"
253
+ },
254
+ "description": {
255
+ "description": "What this member is for; shown in docs, the portal and to agents.",
256
+ "type": "string",
257
+ "minLength": 1,
258
+ "maxLength": 300,
259
+ "pattern": "^[^\\u0000-\\u0008\\u000b\\u000c\\u000e-\\u001f\\u007f]*$"
260
+ },
261
+ "values": {
262
+ "minItems": 1,
263
+ "maxItems": 50,
264
+ "type": "array",
265
+ "items": {
266
+ "$ref": "#/$defs/EnumValue"
267
+ },
268
+ "uniqueItems": true
269
+ },
270
+ "default": {
271
+ "type": "string",
272
+ "maxLength": 64
273
+ }
274
+ },
275
+ "required": [
276
+ "type",
277
+ "values"
278
+ ],
279
+ "additionalProperties": false
280
+ },
281
+ {
282
+ "type": "object",
283
+ "properties": {
284
+ "type": {
285
+ "type": "string",
286
+ "const": "color"
287
+ },
288
+ "description": {
289
+ "description": "What this member is for; shown in docs, the portal and to agents.",
290
+ "type": "string",
291
+ "minLength": 1,
292
+ "maxLength": 300,
293
+ "pattern": "^[^\\u0000-\\u0008\\u000b\\u000c\\u000e-\\u001f\\u007f]*$"
294
+ },
295
+ "default": {
296
+ "type": "string",
297
+ "minLength": 1,
298
+ "maxLength": 64,
299
+ "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)])+$"
300
+ }
301
+ },
302
+ "required": [
303
+ "type"
304
+ ],
305
+ "additionalProperties": false
306
+ },
307
+ {
308
+ "type": "object",
309
+ "properties": {
310
+ "type": {
311
+ "type": "string",
312
+ "const": "url"
313
+ },
314
+ "description": {
315
+ "description": "What this member is for; shown in docs, the portal and to agents.",
316
+ "type": "string",
317
+ "minLength": 1,
318
+ "maxLength": 300,
319
+ "pattern": "^[^\\u0000-\\u0008\\u000b\\u000c\\u000e-\\u001f\\u007f]*$"
320
+ },
321
+ "protocols": {
322
+ "description": "Accepted URL schemes; defaults to [\"https\"].",
323
+ "minItems": 1,
324
+ "maxItems": 3,
325
+ "type": "array",
326
+ "items": {
327
+ "type": "string",
328
+ "enum": [
329
+ "https",
330
+ "http",
331
+ "mailto"
332
+ ]
333
+ },
334
+ "uniqueItems": true
335
+ },
336
+ "default": {
337
+ "type": "string",
338
+ "maxLength": 2048,
339
+ "pattern": "^(?:https:\\/\\/|http:\\/\\/|mailto:)[!#-&(-;=?-\\[\\]-_a-z{-~]+$"
340
+ }
341
+ },
342
+ "required": [
343
+ "type"
344
+ ],
345
+ "additionalProperties": false
346
+ },
347
+ {
348
+ "type": "object",
349
+ "properties": {
350
+ "type": {
351
+ "type": "string",
352
+ "const": "date"
353
+ },
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
+ "min": {
362
+ "type": "string",
363
+ "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])))$"
364
+ },
365
+ "max": {
366
+ "type": "string",
367
+ "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])))$"
368
+ },
369
+ "default": {
370
+ "type": "string",
371
+ "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])))$"
372
+ }
373
+ },
374
+ "required": [
375
+ "type"
376
+ ],
377
+ "additionalProperties": false
378
+ },
379
+ {
380
+ "type": "object",
381
+ "properties": {
382
+ "type": {
383
+ "type": "string",
384
+ "const": "array"
385
+ },
386
+ "description": {
387
+ "description": "What this member is for; shown in docs, the portal and to agents.",
388
+ "type": "string",
389
+ "minLength": 1,
390
+ "maxLength": 300,
391
+ "pattern": "^[^\\u0000-\\u0008\\u000b\\u000c\\u000e-\\u001f\\u007f]*$"
392
+ },
393
+ "items": {
394
+ "$ref": "#/$defs/ValueSchemaDepth2"
395
+ },
396
+ "minItems": {
397
+ "type": "integer",
398
+ "minimum": 0,
399
+ "maximum": 1000
400
+ },
401
+ "maxItems": {
402
+ "description": "Defaults to 1000.",
403
+ "type": "integer",
404
+ "minimum": 1,
405
+ "maximum": 1000
406
+ },
407
+ "default": {
408
+ "maxItems": 1000,
409
+ "type": "array",
410
+ "items": {
411
+ "$ref": "#/$defs/DefaultValueDepth2"
412
+ }
413
+ }
414
+ },
415
+ "required": [
416
+ "type",
417
+ "items"
418
+ ],
419
+ "additionalProperties": false
420
+ },
421
+ {
422
+ "type": "object",
423
+ "properties": {
424
+ "type": {
425
+ "type": "string",
426
+ "const": "object"
427
+ },
428
+ "description": {
429
+ "description": "What this member is for; shown in docs, the portal and to agents.",
430
+ "type": "string",
431
+ "minLength": 1,
432
+ "maxLength": 300,
433
+ "pattern": "^[^\\u0000-\\u0008\\u000b\\u000c\\u000e-\\u001f\\u007f]*$"
434
+ },
435
+ "fields": {
436
+ "type": "object",
437
+ "propertyNames": {
438
+ "$ref": "#/$defs/FieldName"
439
+ },
440
+ "additionalProperties": {
441
+ "$ref": "#/$defs/ValueSchemaDepth2"
442
+ },
443
+ "maxProperties": 50
444
+ },
445
+ "required": {
446
+ "minItems": 1,
447
+ "maxItems": 50,
448
+ "type": "array",
449
+ "items": {
450
+ "$ref": "#/$defs/FieldName"
451
+ },
452
+ "uniqueItems": true
453
+ },
454
+ "default": {
455
+ "type": "object",
456
+ "propertyNames": {
457
+ "$ref": "#/$defs/FieldName"
458
+ },
459
+ "additionalProperties": {
460
+ "$ref": "#/$defs/DefaultValueDepth2"
461
+ },
462
+ "maxProperties": 50
463
+ }
464
+ },
465
+ "required": [
466
+ "type",
467
+ "fields"
468
+ ],
469
+ "additionalProperties": false
470
+ }
471
+ ]
472
+ },
473
+ "EnumValue": {
474
+ "type": "string",
475
+ "minLength": 1,
476
+ "maxLength": 64,
477
+ "pattern": "^[^\\u0000-\\u001f\\u007f]+$"
478
+ },
479
+ "ValueSchemaDepth2": {
480
+ "oneOf": [
481
+ {
482
+ "$ref": "#/$defs/StringValueSchema"
483
+ },
484
+ {
485
+ "$ref": "#/$defs/NumberValueSchema"
486
+ },
487
+ {
488
+ "$ref": "#/$defs/BooleanValueSchema"
489
+ },
490
+ {
491
+ "$ref": "#/$defs/EnumValueSchema"
492
+ },
493
+ {
494
+ "type": "object",
495
+ "properties": {
496
+ "type": {
497
+ "type": "string",
498
+ "const": "array"
499
+ },
500
+ "description": {
501
+ "description": "What this member is for; shown in docs, the portal and to agents.",
502
+ "type": "string",
503
+ "minLength": 1,
504
+ "maxLength": 300,
505
+ "pattern": "^[^\\u0000-\\u0008\\u000b\\u000c\\u000e-\\u001f\\u007f]*$"
506
+ },
507
+ "items": {
508
+ "$ref": "#/$defs/ValueSchemaDepth1"
509
+ },
510
+ "minItems": {
511
+ "type": "integer",
512
+ "minimum": 0,
513
+ "maximum": 1000
514
+ },
515
+ "maxItems": {
516
+ "description": "Defaults to 1000.",
517
+ "type": "integer",
518
+ "minimum": 1,
519
+ "maximum": 1000
520
+ }
521
+ },
522
+ "required": [
523
+ "type",
524
+ "items"
525
+ ],
526
+ "additionalProperties": false
527
+ },
528
+ {
529
+ "type": "object",
530
+ "properties": {
531
+ "type": {
532
+ "type": "string",
533
+ "const": "object"
534
+ },
535
+ "description": {
536
+ "description": "What this member is for; shown in docs, the portal and to agents.",
537
+ "type": "string",
538
+ "minLength": 1,
539
+ "maxLength": 300,
540
+ "pattern": "^[^\\u0000-\\u0008\\u000b\\u000c\\u000e-\\u001f\\u007f]*$"
541
+ },
542
+ "fields": {
543
+ "type": "object",
544
+ "propertyNames": {
545
+ "$ref": "#/$defs/FieldName"
546
+ },
547
+ "additionalProperties": {
548
+ "$ref": "#/$defs/ValueSchemaDepth1"
549
+ },
550
+ "maxProperties": 50
551
+ },
552
+ "required": {
553
+ "minItems": 1,
554
+ "maxItems": 50,
555
+ "type": "array",
556
+ "items": {
557
+ "$ref": "#/$defs/FieldName"
558
+ },
559
+ "uniqueItems": true
560
+ }
561
+ },
562
+ "required": [
563
+ "type",
564
+ "fields"
565
+ ],
566
+ "additionalProperties": false
567
+ }
568
+ ]
569
+ },
570
+ "StringValueSchema": {
571
+ "type": "object",
572
+ "properties": {
573
+ "type": {
574
+ "type": "string",
575
+ "const": "string"
576
+ },
577
+ "description": {
578
+ "description": "What this member is for; shown in docs, the portal and to agents.",
579
+ "type": "string",
580
+ "minLength": 1,
581
+ "maxLength": 300,
582
+ "pattern": "^[^\\u0000-\\u0008\\u000b\\u000c\\u000e-\\u001f\\u007f]*$"
583
+ },
584
+ "minLength": {
585
+ "type": "integer",
586
+ "minimum": 0,
587
+ "maximum": 10000
588
+ },
589
+ "maxLength": {
590
+ "description": "Defaults to 10000.",
591
+ "type": "integer",
592
+ "minimum": 1,
593
+ "maximum": 10000
594
+ },
595
+ "format": {
596
+ "type": "string",
597
+ "enum": [
598
+ "email",
599
+ "url",
600
+ "tel",
601
+ "date",
602
+ "date-time"
603
+ ]
604
+ }
605
+ },
606
+ "required": [
607
+ "type"
608
+ ],
609
+ "additionalProperties": false
610
+ },
611
+ "NumberValueSchema": {
612
+ "type": "object",
613
+ "properties": {
614
+ "type": {
615
+ "type": "string",
616
+ "const": "number"
617
+ },
618
+ "description": {
619
+ "description": "What this member is for; shown in docs, the portal and to agents.",
620
+ "type": "string",
621
+ "minLength": 1,
622
+ "maxLength": 300,
623
+ "pattern": "^[^\\u0000-\\u0008\\u000b\\u000c\\u000e-\\u001f\\u007f]*$"
624
+ },
625
+ "min": {
626
+ "type": "number"
627
+ },
628
+ "max": {
629
+ "type": "number"
630
+ },
631
+ "integer": {
632
+ "type": "boolean"
633
+ }
634
+ },
635
+ "required": [
636
+ "type"
637
+ ],
638
+ "additionalProperties": false
639
+ },
640
+ "BooleanValueSchema": {
641
+ "type": "object",
642
+ "properties": {
643
+ "type": {
644
+ "type": "string",
645
+ "const": "boolean"
646
+ },
647
+ "description": {
648
+ "description": "What this member is for; shown in docs, the portal and to agents.",
649
+ "type": "string",
650
+ "minLength": 1,
651
+ "maxLength": 300,
652
+ "pattern": "^[^\\u0000-\\u0008\\u000b\\u000c\\u000e-\\u001f\\u007f]*$"
653
+ }
654
+ },
655
+ "required": [
656
+ "type"
657
+ ],
658
+ "additionalProperties": false
659
+ },
660
+ "EnumValueSchema": {
661
+ "type": "object",
662
+ "properties": {
663
+ "type": {
664
+ "type": "string",
665
+ "const": "enum"
666
+ },
667
+ "description": {
668
+ "description": "What this member is for; shown in docs, the portal and to agents.",
669
+ "type": "string",
670
+ "minLength": 1,
671
+ "maxLength": 300,
672
+ "pattern": "^[^\\u0000-\\u0008\\u000b\\u000c\\u000e-\\u001f\\u007f]*$"
673
+ },
674
+ "values": {
675
+ "minItems": 1,
676
+ "maxItems": 50,
677
+ "type": "array",
678
+ "items": {
679
+ "$ref": "#/$defs/EnumValue"
680
+ },
681
+ "uniqueItems": true
682
+ }
683
+ },
684
+ "required": [
685
+ "type",
686
+ "values"
687
+ ],
688
+ "additionalProperties": false
689
+ },
690
+ "ValueSchemaDepth1": {
691
+ "oneOf": [
692
+ {
693
+ "$ref": "#/$defs/StringValueSchema"
694
+ },
695
+ {
696
+ "$ref": "#/$defs/NumberValueSchema"
697
+ },
698
+ {
699
+ "$ref": "#/$defs/BooleanValueSchema"
700
+ },
701
+ {
702
+ "$ref": "#/$defs/EnumValueSchema"
703
+ },
704
+ {
705
+ "type": "object",
706
+ "properties": {
707
+ "type": {
708
+ "type": "string",
709
+ "const": "array"
710
+ },
711
+ "description": {
712
+ "description": "What this member is for; shown in docs, the portal and to agents.",
713
+ "type": "string",
714
+ "minLength": 1,
715
+ "maxLength": 300,
716
+ "pattern": "^[^\\u0000-\\u0008\\u000b\\u000c\\u000e-\\u001f\\u007f]*$"
717
+ },
718
+ "items": {
719
+ "$ref": "#/$defs/ScalarValueSchema"
720
+ },
721
+ "minItems": {
722
+ "type": "integer",
723
+ "minimum": 0,
724
+ "maximum": 1000
725
+ },
726
+ "maxItems": {
727
+ "description": "Defaults to 1000.",
728
+ "type": "integer",
729
+ "minimum": 1,
730
+ "maximum": 1000
731
+ }
732
+ },
733
+ "required": [
734
+ "type",
735
+ "items"
736
+ ],
737
+ "additionalProperties": false
738
+ },
739
+ {
740
+ "type": "object",
741
+ "properties": {
742
+ "type": {
743
+ "type": "string",
744
+ "const": "object"
745
+ },
746
+ "description": {
747
+ "description": "What this member is for; shown in docs, the portal and to agents.",
748
+ "type": "string",
749
+ "minLength": 1,
750
+ "maxLength": 300,
751
+ "pattern": "^[^\\u0000-\\u0008\\u000b\\u000c\\u000e-\\u001f\\u007f]*$"
752
+ },
753
+ "fields": {
754
+ "type": "object",
755
+ "propertyNames": {
756
+ "$ref": "#/$defs/FieldName"
757
+ },
758
+ "additionalProperties": {
759
+ "$ref": "#/$defs/ScalarValueSchema"
760
+ },
761
+ "maxProperties": 50
762
+ },
763
+ "required": {
764
+ "minItems": 1,
765
+ "maxItems": 50,
766
+ "type": "array",
767
+ "items": {
768
+ "$ref": "#/$defs/FieldName"
769
+ },
770
+ "uniqueItems": true
771
+ }
772
+ },
773
+ "required": [
774
+ "type",
775
+ "fields"
776
+ ],
777
+ "additionalProperties": false
778
+ }
779
+ ]
780
+ },
781
+ "ScalarValueSchema": {
782
+ "oneOf": [
783
+ {
784
+ "$ref": "#/$defs/StringValueSchema"
785
+ },
786
+ {
787
+ "$ref": "#/$defs/NumberValueSchema"
788
+ },
789
+ {
790
+ "$ref": "#/$defs/BooleanValueSchema"
791
+ },
792
+ {
793
+ "$ref": "#/$defs/EnumValueSchema"
794
+ }
795
+ ]
796
+ },
797
+ "FieldName": {
798
+ "type": "string",
799
+ "minLength": 1,
800
+ "maxLength": 40,
801
+ "pattern": "^(?!(?:constructor|hasOwnProperty|isPrototypeOf|propertyIsEnumerable|toLocaleString|toString|valueOf)$)[a-zA-Z][a-zA-Z0-9_]*$"
802
+ },
803
+ "DefaultValueDepth2": {
804
+ "anyOf": [
805
+ {
806
+ "anyOf": [
807
+ {
808
+ "type": "string",
809
+ "maxLength": 10000
810
+ },
811
+ {
812
+ "type": "number"
813
+ },
814
+ {
815
+ "type": "boolean"
816
+ }
817
+ ]
818
+ },
819
+ {
820
+ "maxItems": 1000,
821
+ "type": "array",
822
+ "items": {
823
+ "$ref": "#/$defs/DefaultValueDepth1"
824
+ }
825
+ },
826
+ {
827
+ "type": "object",
828
+ "propertyNames": {
829
+ "$ref": "#/$defs/FieldName"
830
+ },
831
+ "additionalProperties": {
832
+ "$ref": "#/$defs/DefaultValueDepth1"
833
+ },
834
+ "maxProperties": 50
835
+ }
836
+ ]
837
+ },
838
+ "DefaultValueDepth1": {
839
+ "anyOf": [
840
+ {
841
+ "anyOf": [
842
+ {
843
+ "type": "string",
844
+ "maxLength": 10000
845
+ },
846
+ {
847
+ "type": "number"
848
+ },
849
+ {
850
+ "type": "boolean"
851
+ }
852
+ ]
853
+ },
854
+ {
855
+ "maxItems": 1000,
856
+ "type": "array",
857
+ "items": {
858
+ "anyOf": [
859
+ {
860
+ "type": "string",
861
+ "maxLength": 10000
862
+ },
863
+ {
864
+ "type": "number"
865
+ },
866
+ {
867
+ "type": "boolean"
868
+ }
869
+ ]
870
+ }
871
+ },
872
+ {
873
+ "type": "object",
874
+ "propertyNames": {
875
+ "$ref": "#/$defs/FieldName"
876
+ },
877
+ "additionalProperties": {
878
+ "anyOf": [
879
+ {
880
+ "type": "string",
881
+ "maxLength": 10000
882
+ },
883
+ {
884
+ "type": "number"
885
+ },
886
+ {
887
+ "type": "boolean"
888
+ }
889
+ ]
890
+ },
891
+ "maxProperties": 50
892
+ }
893
+ ]
894
+ },
895
+ "MemberName": {
896
+ "type": "string",
897
+ "minLength": 1,
898
+ "maxLength": 40,
899
+ "pattern": "^[a-z][a-z0-9]*(?:-[a-z0-9]+)*$"
900
+ },
901
+ "EventDeclaration": {
902
+ "type": "object",
903
+ "properties": {
904
+ "description": {
905
+ "description": "What this member is for; shown in docs, the portal and to agents.",
906
+ "type": "string",
907
+ "minLength": 1,
908
+ "maxLength": 300,
909
+ "pattern": "^[^\\u0000-\\u0008\\u000b\\u000c\\u000e-\\u001f\\u007f]*$"
910
+ },
911
+ "detail": {
912
+ "description": "Schema of `event.detail`; use { \"type\": \"object\", \"fields\": {} } for an event without data.",
913
+ "$ref": "#/$defs/ValueSchema"
914
+ },
915
+ "bubbles": {
916
+ "description": "Defaults to true.",
917
+ "type": "boolean"
918
+ },
919
+ "composed": {
920
+ "description": "Defaults to true.",
921
+ "type": "boolean"
922
+ }
923
+ },
924
+ "required": [
925
+ "detail"
926
+ ],
927
+ "additionalProperties": false
928
+ },
929
+ "ValueSchema": {
930
+ "oneOf": [
931
+ {
932
+ "$ref": "#/$defs/StringValueSchema"
933
+ },
934
+ {
935
+ "$ref": "#/$defs/NumberValueSchema"
936
+ },
937
+ {
938
+ "$ref": "#/$defs/BooleanValueSchema"
939
+ },
940
+ {
941
+ "$ref": "#/$defs/EnumValueSchema"
942
+ },
943
+ {
944
+ "type": "object",
945
+ "properties": {
946
+ "type": {
947
+ "type": "string",
948
+ "const": "array"
949
+ },
950
+ "description": {
951
+ "description": "What this member is for; shown in docs, the portal and to agents.",
952
+ "type": "string",
953
+ "minLength": 1,
954
+ "maxLength": 300,
955
+ "pattern": "^[^\\u0000-\\u0008\\u000b\\u000c\\u000e-\\u001f\\u007f]*$"
956
+ },
957
+ "items": {
958
+ "$ref": "#/$defs/ValueSchemaDepth2"
959
+ },
960
+ "minItems": {
961
+ "type": "integer",
962
+ "minimum": 0,
963
+ "maximum": 1000
964
+ },
965
+ "maxItems": {
966
+ "description": "Defaults to 1000.",
967
+ "type": "integer",
968
+ "minimum": 1,
969
+ "maximum": 1000
970
+ }
971
+ },
972
+ "required": [
973
+ "type",
974
+ "items"
975
+ ],
976
+ "additionalProperties": false
977
+ },
978
+ {
979
+ "type": "object",
980
+ "properties": {
981
+ "type": {
982
+ "type": "string",
983
+ "const": "object"
984
+ },
985
+ "description": {
986
+ "description": "What this member is for; shown in docs, the portal and to agents.",
987
+ "type": "string",
988
+ "minLength": 1,
989
+ "maxLength": 300,
990
+ "pattern": "^[^\\u0000-\\u0008\\u000b\\u000c\\u000e-\\u001f\\u007f]*$"
991
+ },
992
+ "fields": {
993
+ "type": "object",
994
+ "propertyNames": {
995
+ "$ref": "#/$defs/FieldName"
996
+ },
997
+ "additionalProperties": {
998
+ "$ref": "#/$defs/ValueSchemaDepth2"
999
+ },
1000
+ "maxProperties": 50
1001
+ },
1002
+ "required": {
1003
+ "minItems": 1,
1004
+ "maxItems": 50,
1005
+ "type": "array",
1006
+ "items": {
1007
+ "$ref": "#/$defs/FieldName"
1008
+ },
1009
+ "uniqueItems": true
1010
+ }
1011
+ },
1012
+ "required": [
1013
+ "type",
1014
+ "fields"
1015
+ ],
1016
+ "additionalProperties": false
1017
+ }
1018
+ ],
1019
+ "description": "Declarative description of a JSON value. Plain data only: no code, no regular expressions."
1020
+ },
1021
+ "SlotDeclaration": {
1022
+ "type": "object",
1023
+ "properties": {
1024
+ "description": {
1025
+ "description": "What this member is for; shown in docs, the portal and to agents.",
1026
+ "type": "string",
1027
+ "minLength": 1,
1028
+ "maxLength": 300,
1029
+ "pattern": "^[^\\u0000-\\u0008\\u000b\\u000c\\u000e-\\u001f\\u007f]*$"
1030
+ }
1031
+ },
1032
+ "additionalProperties": false
1033
+ },
1034
+ "PartDeclaration": {
1035
+ "type": "object",
1036
+ "properties": {
1037
+ "description": {
1038
+ "description": "What this member is for; shown in docs, the portal and to agents.",
1039
+ "type": "string",
1040
+ "minLength": 1,
1041
+ "maxLength": 300,
1042
+ "pattern": "^[^\\u0000-\\u0008\\u000b\\u000c\\u000e-\\u001f\\u007f]*$"
1043
+ }
1044
+ },
1045
+ "additionalProperties": false
1046
+ },
1047
+ "CssVarName": {
1048
+ "type": "string",
1049
+ "minLength": 1,
1050
+ "maxLength": 64,
1051
+ "pattern": "^--[a-z][a-z0-9]*(?:-[a-z0-9]+)*$"
1052
+ },
1053
+ "CssVarDeclaration": {
1054
+ "oneOf": [
1055
+ {
1056
+ "type": "object",
1057
+ "properties": {
1058
+ "type": {
1059
+ "type": "string",
1060
+ "enum": [
1061
+ "color",
1062
+ "length",
1063
+ "number",
1064
+ "percentage"
1065
+ ]
1066
+ },
1067
+ "default": {
1068
+ "type": "string",
1069
+ "minLength": 1,
1070
+ "maxLength": 100,
1071
+ "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)])+$"
1072
+ },
1073
+ "description": {
1074
+ "description": "What this member is for; shown in docs, the portal and to agents.",
1075
+ "type": "string",
1076
+ "minLength": 1,
1077
+ "maxLength": 300,
1078
+ "pattern": "^[^\\u0000-\\u0008\\u000b\\u000c\\u000e-\\u001f\\u007f]*$"
1079
+ }
1080
+ },
1081
+ "required": [
1082
+ "type",
1083
+ "default"
1084
+ ],
1085
+ "additionalProperties": false
1086
+ },
1087
+ {
1088
+ "type": "object",
1089
+ "properties": {
1090
+ "type": {
1091
+ "type": "string",
1092
+ "const": "font-family"
1093
+ },
1094
+ "default": {
1095
+ "type": "string",
1096
+ "minLength": 1,
1097
+ "maxLength": 100,
1098
+ "pattern": "^[a-zA-Z0-9,\\s-]+$"
1099
+ },
1100
+ "description": {
1101
+ "description": "What this member is for; shown in docs, the portal and to agents.",
1102
+ "type": "string",
1103
+ "minLength": 1,
1104
+ "maxLength": 300,
1105
+ "pattern": "^[^\\u0000-\\u0008\\u000b\\u000c\\u000e-\\u001f\\u007f]*$"
1106
+ }
1107
+ },
1108
+ "required": [
1109
+ "type",
1110
+ "default"
1111
+ ],
1112
+ "additionalProperties": false
1113
+ }
1114
+ ]
1115
+ },
1116
+ "DataDeclaration": {
1117
+ "type": "object",
1118
+ "properties": {
1119
+ "collections": {
1120
+ "type": "object",
1121
+ "propertyNames": {
1122
+ "$ref": "#/$defs/MemberName"
1123
+ },
1124
+ "additionalProperties": {
1125
+ "$ref": "#/$defs/CollectionDeclaration"
1126
+ },
1127
+ "maxProperties": 10
1128
+ },
1129
+ "track": {
1130
+ "type": "object",
1131
+ "propertyNames": {
1132
+ "$ref": "#/$defs/MemberName"
1133
+ },
1134
+ "additionalProperties": {
1135
+ "$ref": "#/$defs/TrackEventDeclaration"
1136
+ },
1137
+ "maxProperties": 30
1138
+ },
1139
+ "personal": {
1140
+ "description": "True when the collections hold personal data (TAG-212): every submit then carries the visitor's consent. Defaults to false.",
1141
+ "type": "boolean"
1142
+ },
1143
+ "privacyPolicyUrl": {
1144
+ "description": "Name of the prop of type \"url\" that links the privacy policy, set per site (TAG-212). Required when personal is true.",
1145
+ "$ref": "#/$defs/PropName"
1146
+ }
1147
+ },
1148
+ "additionalProperties": false
1149
+ },
1150
+ "CollectionDeclaration": {
1151
+ "type": "object",
1152
+ "properties": {
1153
+ "description": {
1154
+ "description": "What this member is for; shown in docs, the portal and to agents.",
1155
+ "type": "string",
1156
+ "minLength": 1,
1157
+ "maxLength": 300,
1158
+ "pattern": "^[^\\u0000-\\u0008\\u000b\\u000c\\u000e-\\u001f\\u007f]*$"
1159
+ },
1160
+ "fields": {
1161
+ "type": "object",
1162
+ "propertyNames": {
1163
+ "$ref": "#/$defs/SnakeName"
1164
+ },
1165
+ "additionalProperties": {
1166
+ "$ref": "#/$defs/CollectionField"
1167
+ },
1168
+ "minProperties": 1,
1169
+ "maxProperties": 50
1170
+ },
1171
+ "required": {
1172
+ "minItems": 1,
1173
+ "maxItems": 50,
1174
+ "type": "array",
1175
+ "items": {
1176
+ "$ref": "#/$defs/SnakeName"
1177
+ },
1178
+ "uniqueItems": true
1179
+ },
1180
+ "visibility": {
1181
+ "description": "Defaults to \"private\".",
1182
+ "type": "string",
1183
+ "enum": [
1184
+ "private",
1185
+ "public"
1186
+ ]
1187
+ }
1188
+ },
1189
+ "required": [
1190
+ "fields"
1191
+ ],
1192
+ "additionalProperties": false
1193
+ },
1194
+ "SnakeName": {
1195
+ "type": "string",
1196
+ "minLength": 1,
1197
+ "maxLength": 40,
1198
+ "pattern": "^(?!(?:constructor|hasOwnProperty|isPrototypeOf|propertyIsEnumerable|toLocaleString|toString|valueOf)$)[a-z][a-z0-9]*(?:_[a-z0-9]+)*$"
1199
+ },
1200
+ "CollectionField": {
1201
+ "oneOf": [
1202
+ {
1203
+ "$ref": "#/$defs/StringValueSchema"
1204
+ },
1205
+ {
1206
+ "$ref": "#/$defs/NumberValueSchema"
1207
+ },
1208
+ {
1209
+ "$ref": "#/$defs/BooleanValueSchema"
1210
+ },
1211
+ {
1212
+ "$ref": "#/$defs/EnumValueSchema"
1213
+ },
1214
+ {
1215
+ "type": "object",
1216
+ "properties": {
1217
+ "type": {
1218
+ "type": "string",
1219
+ "const": "array"
1220
+ },
1221
+ "description": {
1222
+ "description": "What this member is for; shown in docs, the portal and to agents.",
1223
+ "type": "string",
1224
+ "minLength": 1,
1225
+ "maxLength": 300,
1226
+ "pattern": "^[^\\u0000-\\u0008\\u000b\\u000c\\u000e-\\u001f\\u007f]*$"
1227
+ },
1228
+ "items": {
1229
+ "$ref": "#/$defs/ScalarValueSchema"
1230
+ },
1231
+ "minItems": {
1232
+ "type": "integer",
1233
+ "minimum": 0,
1234
+ "maximum": 1000
1235
+ },
1236
+ "maxItems": {
1237
+ "description": "Defaults to 1000.",
1238
+ "type": "integer",
1239
+ "minimum": 1,
1240
+ "maximum": 1000
1241
+ }
1242
+ },
1243
+ "required": [
1244
+ "type",
1245
+ "items"
1246
+ ],
1247
+ "additionalProperties": false
1248
+ }
1249
+ ]
1250
+ },
1251
+ "TrackEventDeclaration": {
1252
+ "type": "object",
1253
+ "properties": {
1254
+ "description": {
1255
+ "description": "What this member is for; shown in docs, the portal and to agents.",
1256
+ "type": "string",
1257
+ "minLength": 1,
1258
+ "maxLength": 300,
1259
+ "pattern": "^[^\\u0000-\\u0008\\u000b\\u000c\\u000e-\\u001f\\u007f]*$"
1260
+ },
1261
+ "props": {
1262
+ "type": "object",
1263
+ "propertyNames": {
1264
+ "$ref": "#/$defs/SnakeName"
1265
+ },
1266
+ "additionalProperties": {
1267
+ "$ref": "#/$defs/TrackProp"
1268
+ },
1269
+ "maxProperties": 8
1270
+ }
1271
+ },
1272
+ "additionalProperties": false
1273
+ },
1274
+ "TrackProp": {
1275
+ "oneOf": [
1276
+ {
1277
+ "$ref": "#/$defs/NumberValueSchema"
1278
+ },
1279
+ {
1280
+ "$ref": "#/$defs/BooleanValueSchema"
1281
+ },
1282
+ {
1283
+ "$ref": "#/$defs/EnumValueSchema"
1284
+ }
1285
+ ]
1286
+ },
1287
+ "SizeHints": {
1288
+ "type": "object",
1289
+ "properties": {
1290
+ "display": {
1291
+ "description": "Defaults to \"block\".",
1292
+ "type": "string",
1293
+ "enum": [
1294
+ "block",
1295
+ "inline-block"
1296
+ ]
1297
+ },
1298
+ "minHeight": {
1299
+ "description": "Reserved height in CSS pixels.",
1300
+ "type": "integer",
1301
+ "minimum": 0,
1302
+ "maximum": 4000
1303
+ },
1304
+ "maxWidth": {
1305
+ "type": "integer",
1306
+ "minimum": 1,
1307
+ "maximum": 4000
1308
+ },
1309
+ "aspectRatio": {
1310
+ "type": "object",
1311
+ "properties": {
1312
+ "width": {
1313
+ "type": "integer",
1314
+ "minimum": 1,
1315
+ "maximum": 100
1316
+ },
1317
+ "height": {
1318
+ "type": "integer",
1319
+ "minimum": 1,
1320
+ "maximum": 100
1321
+ }
1322
+ },
1323
+ "required": [
1324
+ "width",
1325
+ "height"
1326
+ ],
1327
+ "additionalProperties": false
1328
+ }
1329
+ },
1330
+ "additionalProperties": false
1331
+ },
1332
+ "Permissions": {
1333
+ "type": "object",
1334
+ "properties": {
1335
+ "apis": {
1336
+ "minItems": 1,
1337
+ "maxItems": 4,
1338
+ "type": "array",
1339
+ "items": {
1340
+ "type": "string",
1341
+ "enum": [
1342
+ "clipboard-write",
1343
+ "fullscreen",
1344
+ "geolocation",
1345
+ "web-share"
1346
+ ]
1347
+ },
1348
+ "uniqueItems": true
1349
+ },
1350
+ "connect": {
1351
+ "minItems": 1,
1352
+ "maxItems": 10,
1353
+ "type": "array",
1354
+ "items": {
1355
+ "type": "string",
1356
+ "maxLength": 2048,
1357
+ "pattern": "^https:\\/\\/(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)+[a-z]{2,63}(?::[1-9]\\d{0,4})?$"
1358
+ },
1359
+ "uniqueItems": true
1360
+ }
1361
+ },
1362
+ "additionalProperties": false
1363
+ },
1364
+ "LocalesDeclaration": {
1365
+ "type": "object",
1366
+ "properties": {
1367
+ "supported": {
1368
+ "minItems": 1,
1369
+ "maxItems": 30,
1370
+ "type": "array",
1371
+ "items": {
1372
+ "type": "string",
1373
+ "maxLength": 35,
1374
+ "pattern": "^[a-z]{2,3}(?:-[A-Za-z0-9]{2,8})*$"
1375
+ },
1376
+ "uniqueItems": true
1377
+ },
1378
+ "default": {
1379
+ "type": "string",
1380
+ "maxLength": 35,
1381
+ "pattern": "^[a-z]{2,3}(?:-[A-Za-z0-9]{2,8})*$"
1382
+ }
1383
+ },
1384
+ "required": [
1385
+ "supported",
1386
+ "default"
1387
+ ],
1388
+ "additionalProperties": false
1389
+ },
1390
+ "AssetDeclaration": {
1391
+ "type": "object",
1392
+ "properties": {
1393
+ "type": {
1394
+ "type": "string",
1395
+ "enum": [
1396
+ "image/avif",
1397
+ "image/jpeg",
1398
+ "image/png",
1399
+ "image/svg+xml",
1400
+ "image/webp",
1401
+ "font/woff2"
1402
+ ],
1403
+ "description": "MIME type; the CDN path ends in its extension."
1404
+ },
1405
+ "size": {
1406
+ "type": "integer",
1407
+ "minimum": 1,
1408
+ "maximum": 2097152,
1409
+ "description": "Size of the file in bytes."
1410
+ }
1411
+ },
1412
+ "required": [
1413
+ "type",
1414
+ "size"
1415
+ ],
1416
+ "additionalProperties": false
1417
+ }
1418
+ }
1419
+ }