@pacp/spec 2.0.1 → 3.0.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/dist/pacp.schema.json +11 -3
- package/package.json +1 -1
package/dist/pacp.schema.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
3
|
"$id": "https://cdn.jsdelivr.net/npm/@pacp/spec@latest/dist/pacp.schema.json",
|
|
4
|
-
"title": "PACP
|
|
4
|
+
"title": "PACP v3.0.0",
|
|
5
5
|
"oneOf": [
|
|
6
6
|
{
|
|
7
7
|
"$ref": "#/$defs/catalog_document"
|
|
@@ -314,8 +314,16 @@
|
|
|
314
314
|
"type": "string"
|
|
315
315
|
},
|
|
316
316
|
"category": {
|
|
317
|
-
"type": "
|
|
318
|
-
"
|
|
317
|
+
"type": "array",
|
|
318
|
+
"items": {
|
|
319
|
+
"type": "array",
|
|
320
|
+
"items": {
|
|
321
|
+
"type": "string",
|
|
322
|
+
"minLength": 1
|
|
323
|
+
},
|
|
324
|
+
"minItems": 1
|
|
325
|
+
},
|
|
326
|
+
"description": "Categorias hierárquicas do produto. Cada item é um path da raiz à folha, ex.: [[\"Móveis\", \"Sofá\"], [\"Promoções\"]]."
|
|
319
327
|
},
|
|
320
328
|
"gtin": {
|
|
321
329
|
"type": "string",
|
package/package.json
CHANGED