{
"title": "Product",
"type": "object",
"description": "A product from Acme's catalog",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://example.com/product.schema.json",
"required": [
"productId",
"productName",
"price"
],
"properties": {
"productId": {
"type": "integer",
"description": "The unique identifier for a product",
"properties": {}
},
"productName": {
"type": "string",
"description": "Name of the product",
"properties": {}
},
"price": {
"type": "number",
"description": "The price of the product",
"exclusiveMinimum": 0.0,
"properties": {}
},
"tags": {
"type": "array",
"description": "Tags for the product",
"minItems": 1.0,
"uniqueItems": true,
"items": {
"type": "string"
},
"properties": {}
},
"dimensions": {
"type": "object",
"required": [
"length",
"width",
"height"
],
"properties": {
"length": {
"type": "number",
"properties": {}
},
"width": {
"type": "number",
"properties": {}
},
"height": {
"type": "number",
"properties": {}
}
}
},
"warehouseLocation": {
"$ref": "https://example.com/geographical-location.schema.json",
"description": "Coordinates of the warehouse where the product is located.",
"properties": {}
}
}
}