@pagefront/lint-commerce 0.10.0 → 0.12.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.
- package/README.md +49 -16
- package/dist/catalogue.js +4 -2
- package/dist/generated/release-manifest.d.ts +30 -0
- package/dist/generated/release-manifest.js +36 -0
- package/dist/generated/schema-ids.d.ts +1 -0
- package/dist/generated/schema-ids.js +9 -0
- package/dist/generated/schema-properties.d.ts +1 -0
- package/dist/{schema-properties.js → generated/schema-properties.js} +2 -10
- package/dist/generated/schemas.d.ts +1 -0
- package/dist/generated/schemas.js +7326 -0
- package/dist/index.d.ts +8 -5
- package/dist/index.js +8 -5
- package/dist/organization-catalogue.js +3 -2
- package/dist/releases.d.ts +12 -26
- package/dist/releases.js +16 -30
- package/dist/rules/org-e-001.js +2 -0
- package/dist/rules/org-e-002.js +2 -0
- package/dist/rules/org-e-003.js +2 -0
- package/dist/rules/org-e-004.d.ts +11 -0
- package/dist/rules/org-e-004.js +18 -0
- package/dist/rules/org-w-001.js +2 -0
- package/dist/rules/org-w-002.js +2 -0
- package/dist/rules/org-w-003.js +2 -0
- package/dist/rules/org-w-004.js +2 -0
- package/dist/rules/org-w-005.js +2 -0
- package/dist/rules/org-w-006.js +2 -0
- package/dist/rules/pdp-e-001.js +2 -0
- package/dist/rules/pdp-e-002.js +2 -0
- package/dist/rules/pdp-e-003.js +2 -0
- package/dist/rules/pdp-e-004.js +2 -0
- package/dist/rules/pdp-e-005.js +2 -0
- package/dist/rules/pdp-e-006.js +2 -0
- package/dist/rules/pdp-e-007.js +2 -0
- package/dist/rules/pdp-e-008.js +2 -0
- package/dist/rules/pdp-e-009.js +2 -0
- package/dist/rules/pdp-e-010.js +2 -0
- package/dist/rules/pdp-e-011.js +2 -0
- package/dist/rules/pdp-e-012.js +2 -0
- package/dist/rules/pdp-e-013.js +2 -0
- package/dist/rules/pdp-e-014.js +2 -0
- package/dist/rules/pdp-e-015.js +2 -0
- package/dist/rules/pdp-e-016.js +2 -0
- package/dist/rules/pdp-e-017.d.ts +2 -0
- package/dist/rules/pdp-e-017.js +80 -0
- package/dist/rules/pdp-e-018.d.ts +11 -0
- package/dist/rules/pdp-e-018.js +18 -0
- package/dist/rules/pdp-i-001.js +5 -2
- package/dist/rules/pdp-w-001.js +2 -0
- package/dist/rules/pdp-w-002.js +2 -0
- package/dist/rules/pdp-w-003.js +2 -0
- package/dist/rules/pdp-w-004.js +2 -0
- package/dist/rules/pdp-w-005.js +2 -0
- package/dist/rules/pdp-w-006.js +2 -0
- package/dist/rules/pdp-w-007.js +2 -0
- package/dist/rules/pdp-w-008.js +2 -0
- package/dist/rules/pdp-w-009.js +2 -0
- package/dist/rules/pdp-w-010.js +2 -0
- package/dist/rules/pdp-w-011.js +2 -0
- package/dist/rules/pdp-w-012.js +2 -0
- package/dist/rules/pdp-w-013.js +2 -0
- package/dist/rules/pdp-w-014.js +2 -0
- package/dist/rules/pdp-w-015.js +2 -0
- package/dist/rules/pdp-w-016.js +2 -0
- package/dist/rules/pdp-w-017.js +2 -0
- package/dist/rules/pdp-w-018.js +2 -0
- package/dist/rules/pdp-w-019.js +2 -0
- package/dist/rules/pdp-w-020.js +2 -0
- package/dist/rules/pdp-w-021.js +2 -0
- package/dist/rules/pdp-w-022.js +2 -0
- package/dist/rules/pdp-w-023.js +2 -0
- package/dist/rules/pdp-w-024.js +2 -0
- package/dist/rules/pdp-w-025.js +2 -0
- package/dist/rules/pdp-w-026.js +2 -0
- package/dist/rules/pdp-w-027.js +2 -0
- package/dist/rules/pdp-w-028.js +2 -0
- package/dist/rules/pdp-w-029.js +2 -0
- package/dist/rules/pdp-w-030.js +2 -0
- package/dist/rules/pdp-w-031.js +2 -0
- package/dist/rules/pdp-w-032.js +2 -0
- package/dist/rules/pdp-w-033.js +2 -0
- package/dist/rules/pdp-w-034.js +2 -0
- package/dist/rules/pdp-w-035.js +2 -0
- package/dist/rules/pdp-w-036.js +2 -0
- package/dist/rules/pdp-w-037.js +2 -0
- package/dist/rules/pdp-w-038.js +2 -0
- package/dist/rules/pdp-w-039.js +2 -0
- package/dist/rules/release-schema.d.ts +18 -7
- package/dist/rules/release-schema.js +55 -15
- package/dist/schema-registry.d.ts +42 -0
- package/dist/schema-registry.js +52 -0
- package/dist/schema-validators.d.ts +7 -8
- package/dist/schema-validators.js +18 -4
- package/dist/validate-and-lint.d.ts +28 -21
- package/dist/validate-and-lint.js +60 -36
- package/dist/validate-organization.d.ts +5 -5
- package/dist/validate-organization.js +8 -18
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +3 -3
- package/dist/legacy-schemas.d.ts +0 -9
- package/dist/legacy-schemas.js +0 -2446
- package/dist/organization-schema.d.ts +0 -10
- package/dist/organization-schema.js +0 -443
- package/dist/product-schema.d.ts +0 -9
- package/dist/product-schema.js +0 -2015
- package/dist/schema-properties.d.ts +0 -10
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* The Pagefront Commerce Organization Sheet JSON Schema
|
|
3
|
-
* (commerce/spec/organization.json, the current sheet-spec version on
|
|
4
|
-
* the release line), bundled verbatim so
|
|
5
|
-
* the published package can run Layer 1 validation without the
|
|
6
|
-
* monorepo checkout. Generated from the spec file; the schema drift
|
|
7
|
-
* test (test/schema.test.mjs) fails when the two diverge. Regenerate
|
|
8
|
-
* on any schema change, in the same change that motivates it.
|
|
9
|
-
*/
|
|
10
|
-
export declare const ORGANIZATION_SCHEMA: Record<string, unknown>;
|
|
@@ -1,443 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* The Pagefront Commerce Organization Sheet JSON Schema
|
|
3
|
-
* (commerce/spec/organization.json, the current sheet-spec version on
|
|
4
|
-
* the release line), bundled verbatim so
|
|
5
|
-
* the published package can run Layer 1 validation without the
|
|
6
|
-
* monorepo checkout. Generated from the spec file; the schema drift
|
|
7
|
-
* test (test/schema.test.mjs) fails when the two diverge. Regenerate
|
|
8
|
-
* on any schema change, in the same change that motivates it.
|
|
9
|
-
*/
|
|
10
|
-
export const ORGANIZATION_SCHEMA = {
|
|
11
|
-
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
12
|
-
"$id": "https://themachineweb.org/pagefront/spec/commerce/organization/v0.3.0.json",
|
|
13
|
-
"title": "Pagefront Commerce Organization Sheet 0.3.0",
|
|
14
|
-
"description": "Sheet spec version 0.3.0, a member of commerce release 0.3.0: the envelope carries release in place of format_version, and $schema names this sheet-spec version; a sheet carrying format_version belongs to the legacy draft line and validates against the legacy schema at .../organization/v0.9.json, which is otherwise identical. Formal schema for the Pagefront Commerce Organization Sheet — the sheet describing the entity behind products (brand owner, manufacturer, seller), introduced with commerce format 0.9 alongside the reference-capable legalEntity and the seller-sheet return/shipping model. The data block roots on Schema.org Organization (recognized subtypes permitted; @type is not constrained to a single value). pagefront:commerceRole is the required role discriminator, an array of one or more values from the closed enum brand_owner / manufacturer / seller. pagefront:fulfillmentTerms carries the store-wide shipping defaults as an array of Schema.org-native OfferShippingDetails objects; only the attachment shell is validated, the payload is Schema.org content. pagefront:socialAccount carries the organization's official social accounts (platform / url / handle; publisher-stated only), distinct from sameAs, which carries identity authority records only. pagefront:authorizedResellers carries the brand's authorization claim over its distribution — a pagefront:AuthorizedResellers object with an optional exhaustive flag and a reseller array whose entries name an Organization either as a reference stub (@id) or inline (name plus url and/or address), with optional Schema.org-native areaServed; valid only where commerceRole includes brand_owner (linter ORG-W-006). There is no GTIN-equivalent identifier requirement: identity is @id + name. Validates the envelope and pagefront-namespaced extensions strictly; Schema.org-typed blocks permit additional unspecified properties.",
|
|
15
|
-
"type": "object",
|
|
16
|
-
"required": [
|
|
17
|
-
"release",
|
|
18
|
-
"schema_org_version",
|
|
19
|
-
"canonical_url",
|
|
20
|
-
"sheet_url",
|
|
21
|
-
"generated_at",
|
|
22
|
-
"data"
|
|
23
|
-
],
|
|
24
|
-
"properties": {
|
|
25
|
-
"$schema": {
|
|
26
|
-
"type": "string",
|
|
27
|
-
"format": "uri"
|
|
28
|
-
},
|
|
29
|
-
"release": {
|
|
30
|
-
"type": "string",
|
|
31
|
-
"pattern": "^(0|[1-9]\\d*)\\.(0|[1-9]\\d*)\\.(0|[1-9]\\d*)$"
|
|
32
|
-
},
|
|
33
|
-
"schema_org_version": {
|
|
34
|
-
"type": "string",
|
|
35
|
-
"pattern": "^\\d+(\\.\\d+)?$"
|
|
36
|
-
},
|
|
37
|
-
"canonical_url": {
|
|
38
|
-
"type": "string",
|
|
39
|
-
"format": "uri"
|
|
40
|
-
},
|
|
41
|
-
"sheet_url": {
|
|
42
|
-
"type": "string",
|
|
43
|
-
"format": "uri"
|
|
44
|
-
},
|
|
45
|
-
"generated_at": {
|
|
46
|
-
"type": "string",
|
|
47
|
-
"format": "date-time"
|
|
48
|
-
},
|
|
49
|
-
"expires_at": {
|
|
50
|
-
"type": "string",
|
|
51
|
-
"format": "date-time"
|
|
52
|
-
},
|
|
53
|
-
"data": {
|
|
54
|
-
"$ref": "#/$defs/dataBlock"
|
|
55
|
-
}
|
|
56
|
-
},
|
|
57
|
-
"additionalProperties": false,
|
|
58
|
-
"$defs": {
|
|
59
|
-
"dataBlock": {
|
|
60
|
-
"type": "object",
|
|
61
|
-
"required": [
|
|
62
|
-
"@context",
|
|
63
|
-
"@type",
|
|
64
|
-
"@id",
|
|
65
|
-
"name",
|
|
66
|
-
"inLanguage",
|
|
67
|
-
"pagefront:commerceRole"
|
|
68
|
-
],
|
|
69
|
-
"properties": {
|
|
70
|
-
"@context": {
|
|
71
|
-
"oneOf": [
|
|
72
|
-
{
|
|
73
|
-
"const": "https://schema.org"
|
|
74
|
-
},
|
|
75
|
-
{
|
|
76
|
-
"type": "array",
|
|
77
|
-
"items": {
|
|
78
|
-
"oneOf": [
|
|
79
|
-
{
|
|
80
|
-
"type": "string",
|
|
81
|
-
"format": "uri"
|
|
82
|
-
},
|
|
83
|
-
{
|
|
84
|
-
"type": "object"
|
|
85
|
-
}
|
|
86
|
-
]
|
|
87
|
-
},
|
|
88
|
-
"minItems": 1
|
|
89
|
-
}
|
|
90
|
-
]
|
|
91
|
-
},
|
|
92
|
-
"@type": {
|
|
93
|
-
"type": "string"
|
|
94
|
-
},
|
|
95
|
-
"@id": {
|
|
96
|
-
"type": "string",
|
|
97
|
-
"format": "uri"
|
|
98
|
-
},
|
|
99
|
-
"name": {
|
|
100
|
-
"type": "string",
|
|
101
|
-
"minLength": 1
|
|
102
|
-
},
|
|
103
|
-
"legalName": {
|
|
104
|
-
"type": "string"
|
|
105
|
-
},
|
|
106
|
-
"inLanguage": {
|
|
107
|
-
"type": "string"
|
|
108
|
-
},
|
|
109
|
-
"url": {
|
|
110
|
-
"type": "string",
|
|
111
|
-
"format": "uri"
|
|
112
|
-
},
|
|
113
|
-
"description": {
|
|
114
|
-
"type": "string"
|
|
115
|
-
},
|
|
116
|
-
"slogan": {
|
|
117
|
-
"type": "string"
|
|
118
|
-
},
|
|
119
|
-
"logo": {
|
|
120
|
-
"oneOf": [
|
|
121
|
-
{
|
|
122
|
-
"type": "string",
|
|
123
|
-
"format": "uri"
|
|
124
|
-
},
|
|
125
|
-
{
|
|
126
|
-
"type": "object"
|
|
127
|
-
}
|
|
128
|
-
]
|
|
129
|
-
},
|
|
130
|
-
"iso6523Code": {
|
|
131
|
-
"type": "string"
|
|
132
|
-
},
|
|
133
|
-
"identifier": {
|
|
134
|
-
"oneOf": [
|
|
135
|
-
{
|
|
136
|
-
"type": "string"
|
|
137
|
-
},
|
|
138
|
-
{
|
|
139
|
-
"type": "object"
|
|
140
|
-
},
|
|
141
|
-
{
|
|
142
|
-
"type": "array",
|
|
143
|
-
"items": {
|
|
144
|
-
"oneOf": [
|
|
145
|
-
{
|
|
146
|
-
"type": "string"
|
|
147
|
-
},
|
|
148
|
-
{
|
|
149
|
-
"type": "object"
|
|
150
|
-
}
|
|
151
|
-
]
|
|
152
|
-
}
|
|
153
|
-
}
|
|
154
|
-
]
|
|
155
|
-
},
|
|
156
|
-
"sameAs": {
|
|
157
|
-
"oneOf": [
|
|
158
|
-
{
|
|
159
|
-
"type": "string",
|
|
160
|
-
"format": "uri"
|
|
161
|
-
},
|
|
162
|
-
{
|
|
163
|
-
"type": "array",
|
|
164
|
-
"items": {
|
|
165
|
-
"type": "string",
|
|
166
|
-
"format": "uri"
|
|
167
|
-
}
|
|
168
|
-
}
|
|
169
|
-
]
|
|
170
|
-
},
|
|
171
|
-
"email": {
|
|
172
|
-
"type": "string",
|
|
173
|
-
"format": "email"
|
|
174
|
-
},
|
|
175
|
-
"address": {
|
|
176
|
-
"type": "object"
|
|
177
|
-
},
|
|
178
|
-
"contactPoint": {
|
|
179
|
-
"oneOf": [
|
|
180
|
-
{
|
|
181
|
-
"type": "object"
|
|
182
|
-
},
|
|
183
|
-
{
|
|
184
|
-
"type": "array",
|
|
185
|
-
"items": {
|
|
186
|
-
"type": "object"
|
|
187
|
-
}
|
|
188
|
-
}
|
|
189
|
-
]
|
|
190
|
-
},
|
|
191
|
-
"foundingDate": {
|
|
192
|
-
"type": "string"
|
|
193
|
-
},
|
|
194
|
-
"numberOfEmployees": {
|
|
195
|
-
"type": "object"
|
|
196
|
-
},
|
|
197
|
-
"parentOrganization": {
|
|
198
|
-
"type": "object"
|
|
199
|
-
},
|
|
200
|
-
"subOrganization": {
|
|
201
|
-
"oneOf": [
|
|
202
|
-
{
|
|
203
|
-
"type": "object"
|
|
204
|
-
},
|
|
205
|
-
{
|
|
206
|
-
"type": "array",
|
|
207
|
-
"items": {
|
|
208
|
-
"type": "object"
|
|
209
|
-
}
|
|
210
|
-
}
|
|
211
|
-
]
|
|
212
|
-
},
|
|
213
|
-
"location": {
|
|
214
|
-
"oneOf": [
|
|
215
|
-
{
|
|
216
|
-
"type": "object"
|
|
217
|
-
},
|
|
218
|
-
{
|
|
219
|
-
"type": "array",
|
|
220
|
-
"items": {
|
|
221
|
-
"type": "object"
|
|
222
|
-
}
|
|
223
|
-
}
|
|
224
|
-
]
|
|
225
|
-
},
|
|
226
|
-
"brand": {
|
|
227
|
-
"type": "object"
|
|
228
|
-
},
|
|
229
|
-
"aggregateRating": {
|
|
230
|
-
"type": "object"
|
|
231
|
-
},
|
|
232
|
-
"hasCertification": {
|
|
233
|
-
"type": "array",
|
|
234
|
-
"items": {
|
|
235
|
-
"$ref": "#/$defs/certification"
|
|
236
|
-
}
|
|
237
|
-
},
|
|
238
|
-
"hasMerchantReturnPolicy": {
|
|
239
|
-
"type": "object"
|
|
240
|
-
},
|
|
241
|
-
"paymentAccepted": {
|
|
242
|
-
"oneOf": [
|
|
243
|
-
{
|
|
244
|
-
"type": "string"
|
|
245
|
-
},
|
|
246
|
-
{
|
|
247
|
-
"type": "array",
|
|
248
|
-
"items": {
|
|
249
|
-
"type": "string"
|
|
250
|
-
}
|
|
251
|
-
}
|
|
252
|
-
]
|
|
253
|
-
},
|
|
254
|
-
"pagefront:commerceRole": {
|
|
255
|
-
"type": "array",
|
|
256
|
-
"minItems": 1,
|
|
257
|
-
"items": {
|
|
258
|
-
"type": "string",
|
|
259
|
-
"enum": [
|
|
260
|
-
"brand_owner",
|
|
261
|
-
"manufacturer",
|
|
262
|
-
"seller"
|
|
263
|
-
]
|
|
264
|
-
}
|
|
265
|
-
},
|
|
266
|
-
"pagefront:fulfillmentTerms": {
|
|
267
|
-
"type": "array",
|
|
268
|
-
"items": {
|
|
269
|
-
"type": "object",
|
|
270
|
-
"required": [
|
|
271
|
-
"@type"
|
|
272
|
-
],
|
|
273
|
-
"properties": {
|
|
274
|
-
"@type": {
|
|
275
|
-
"const": "OfferShippingDetails"
|
|
276
|
-
}
|
|
277
|
-
},
|
|
278
|
-
"additionalProperties": true
|
|
279
|
-
}
|
|
280
|
-
},
|
|
281
|
-
"pagefront:socialAccount": {
|
|
282
|
-
"type": "array",
|
|
283
|
-
"items": {
|
|
284
|
-
"type": "object",
|
|
285
|
-
"required": [
|
|
286
|
-
"platform",
|
|
287
|
-
"url"
|
|
288
|
-
],
|
|
289
|
-
"properties": {
|
|
290
|
-
"@type": {
|
|
291
|
-
"const": "pagefront:SocialAccount"
|
|
292
|
-
},
|
|
293
|
-
"platform": {
|
|
294
|
-
"type": "string",
|
|
295
|
-
"minLength": 1
|
|
296
|
-
},
|
|
297
|
-
"url": {
|
|
298
|
-
"type": "string",
|
|
299
|
-
"format": "uri"
|
|
300
|
-
},
|
|
301
|
-
"handle": {
|
|
302
|
-
"type": "string",
|
|
303
|
-
"minLength": 1
|
|
304
|
-
}
|
|
305
|
-
},
|
|
306
|
-
"additionalProperties": true
|
|
307
|
-
}
|
|
308
|
-
},
|
|
309
|
-
"pagefront:authorizedResellers": {
|
|
310
|
-
"type": "object",
|
|
311
|
-
"required": [
|
|
312
|
-
"reseller"
|
|
313
|
-
],
|
|
314
|
-
"properties": {
|
|
315
|
-
"@type": {
|
|
316
|
-
"const": "pagefront:AuthorizedResellers"
|
|
317
|
-
},
|
|
318
|
-
"exhaustive": {
|
|
319
|
-
"type": "boolean"
|
|
320
|
-
},
|
|
321
|
-
"reseller": {
|
|
322
|
-
"type": "array",
|
|
323
|
-
"minItems": 1,
|
|
324
|
-
"items": {
|
|
325
|
-
"type": "object",
|
|
326
|
-
"required": [
|
|
327
|
-
"organization"
|
|
328
|
-
],
|
|
329
|
-
"properties": {
|
|
330
|
-
"organization": {
|
|
331
|
-
"type": "object",
|
|
332
|
-
"properties": {
|
|
333
|
-
"@type": {
|
|
334
|
-
"type": "string"
|
|
335
|
-
},
|
|
336
|
-
"@id": {
|
|
337
|
-
"type": "string",
|
|
338
|
-
"format": "uri"
|
|
339
|
-
},
|
|
340
|
-
"name": {
|
|
341
|
-
"type": "string",
|
|
342
|
-
"minLength": 1
|
|
343
|
-
},
|
|
344
|
-
"url": {
|
|
345
|
-
"type": "string",
|
|
346
|
-
"format": "uri"
|
|
347
|
-
},
|
|
348
|
-
"address": {
|
|
349
|
-
"type": "object"
|
|
350
|
-
}
|
|
351
|
-
},
|
|
352
|
-
"anyOf": [
|
|
353
|
-
{
|
|
354
|
-
"required": [
|
|
355
|
-
"@id"
|
|
356
|
-
]
|
|
357
|
-
},
|
|
358
|
-
{
|
|
359
|
-
"required": [
|
|
360
|
-
"name",
|
|
361
|
-
"url"
|
|
362
|
-
]
|
|
363
|
-
},
|
|
364
|
-
{
|
|
365
|
-
"required": [
|
|
366
|
-
"name",
|
|
367
|
-
"address"
|
|
368
|
-
]
|
|
369
|
-
}
|
|
370
|
-
],
|
|
371
|
-
"additionalProperties": true
|
|
372
|
-
},
|
|
373
|
-
"areaServed": {
|
|
374
|
-
"oneOf": [
|
|
375
|
-
{
|
|
376
|
-
"type": "object"
|
|
377
|
-
},
|
|
378
|
-
{
|
|
379
|
-
"type": "array",
|
|
380
|
-
"minItems": 1,
|
|
381
|
-
"items": {
|
|
382
|
-
"type": "object"
|
|
383
|
-
}
|
|
384
|
-
}
|
|
385
|
-
]
|
|
386
|
-
}
|
|
387
|
-
},
|
|
388
|
-
"additionalProperties": false
|
|
389
|
-
}
|
|
390
|
-
}
|
|
391
|
-
},
|
|
392
|
-
"additionalProperties": false
|
|
393
|
-
},
|
|
394
|
-
"pagefront:availableLanguages": {
|
|
395
|
-
"type": "array",
|
|
396
|
-
"items": {
|
|
397
|
-
"type": "object",
|
|
398
|
-
"required": [
|
|
399
|
-
"lang",
|
|
400
|
-
"url"
|
|
401
|
-
],
|
|
402
|
-
"properties": {
|
|
403
|
-
"lang": {
|
|
404
|
-
"type": "string"
|
|
405
|
-
},
|
|
406
|
-
"url": {
|
|
407
|
-
"type": "string",
|
|
408
|
-
"format": "uri"
|
|
409
|
-
}
|
|
410
|
-
},
|
|
411
|
-
"additionalProperties": false
|
|
412
|
-
}
|
|
413
|
-
}
|
|
414
|
-
},
|
|
415
|
-
"additionalProperties": true
|
|
416
|
-
},
|
|
417
|
-
"certification": {
|
|
418
|
-
"type": "object",
|
|
419
|
-
"required": [
|
|
420
|
-
"@type",
|
|
421
|
-
"name"
|
|
422
|
-
],
|
|
423
|
-
"properties": {
|
|
424
|
-
"@type": {
|
|
425
|
-
"const": "Certification"
|
|
426
|
-
},
|
|
427
|
-
"name": {
|
|
428
|
-
"type": "string"
|
|
429
|
-
},
|
|
430
|
-
"issuedBy": {
|
|
431
|
-
"type": "object"
|
|
432
|
-
},
|
|
433
|
-
"about": {
|
|
434
|
-
"type": "string"
|
|
435
|
-
},
|
|
436
|
-
"additionalProperty": {
|
|
437
|
-
"type": "array"
|
|
438
|
-
}
|
|
439
|
-
},
|
|
440
|
-
"additionalProperties": true
|
|
441
|
-
}
|
|
442
|
-
}
|
|
443
|
-
};
|
package/dist/product-schema.d.ts
DELETED
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* The Pagefront Product Sheet JSON Schema (commerce/spec/product.json,
|
|
3
|
-
* the current sheet-spec version on the release line), bundled verbatim so the published package can run
|
|
4
|
-
* Layer 1 validation without the monorepo checkout. Generated from
|
|
5
|
-
* the spec file; the schema drift test (test/schema.test.mjs) fails
|
|
6
|
-
* when the two diverge. Regenerate on any schema change, in the same
|
|
7
|
-
* change that motivates it.
|
|
8
|
-
*/
|
|
9
|
-
export declare const PRODUCT_SCHEMA: Record<string, unknown>;
|