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