{
    "name": "Product",
    "properties": {
        "id": {
            "description": "Product identifier",
            "type": "number"
        },
        "name": {
            "description": "Name of the product",
            "type": "string"
        },
        "price": {
            "minimum": 0,
            "type": "number"
        },
        "stock": {
            "properties": {
                "retail": {
                    "type": "number"
                },
                "warehouse": {
                    "type": "number"
                }
            },
            "type": "object"
        },
        "tags": {
            "items": {
                "type": "string"
            },
            "type": "array"
        }
    },
    "required": [
        "id",
        "name",
        "price"
    ],
    "type": "object"
}