@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,1437 +0,0 @@
1
- {
2
- "$schema": "https://json-schema.org/draft/2020-12/schema",
3
- "$id": "https://taggor.dev/schema/component-manifest/v1.json",
4
- "type": "object",
5
- "properties": {
6
- "contractVersion": {
7
- "type": "string",
8
- "pattern": "^1\\.(?:0|1|2|3|4|5|6)\\.(?: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
- }