Skip to content
Snippets Groups Projects
Commit 5556bfbd authored by szeka.wong's avatar szeka.wong
Browse files

Ruff and prettier

parent 641c8be4
No related branches found
No related tags found
1 merge request!57🔨✨ validator package does not assume a odoo.addons package name, provide full package name instead
{
"$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"]
}
{
"$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"]
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment