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