Skip to content
Snippets Groups Projects

:hammer::sparkles: validator package does not assume a odoo.addons package name, provide full package name instead

Merged Vincent Hatakeyama requested to merge topic/18.0/change-validate-and-test into branch/18.0
2 files
+ 2
− 46
Compare changes
  • Side-by-side
  • Inline
Files
2
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://example.com/product.schema.json",
@@ -11,5 +10,4 @@
"type": "object",
"properties": {
"productId": {
@@ -15,5 +13,4 @@
"productId": {
"description": "The unique identifier for a product",
"type": "integer"
@@ -17,7 +14,6 @@
"description": "The unique identifier for a product",
"type": "integer"
},
"productName": {
@@ -21,7 +17,6 @@
},
"productName": {
"description": "Name of the product",
"type": "string"
@@ -25,7 +20,6 @@
"description": "Name of the product",
"type": "string"
},
"price": {
@@ -29,9 +23,8 @@
},
"price": {
"description": "The price of the product",
"type": "number",
"exclusiveMinimum": 0
@@ -33,9 +26,8 @@
"description": "The price of the product",
"type": "number",
"exclusiveMinimum": 0
},
"tags": {
@@ -39,9 +31,8 @@
},
"tags": {
"description": "Tags for the product",
"type": "array",
"items": {
@@ -43,7 +34,6 @@
"description": "Tags for the product",
"type": "array",
"items": {
"type": "string"
@@ -49,7 +39,6 @@
"type": "string"
},
"minItems": 1,
"uniqueItems": true
@@ -51,7 +40,6 @@
},
"minItems": 1,
"uniqueItems": true
}
@@ -57,4 +45,3 @@
}
},
@@ -59,13 +46,4 @@
},
"required": [
"productId",
"productName",
"price"
]
"required": ["productId", "productName", "price"]
}
Loading