{
    "$schema": "http://json-schema.org/draft-04/schema#",
    "type": "object",
    "properties": {
        "id": {
            "type": "string"
        },
        "name": {
            "type": "string"
        },
        "price": {
            "type": "number"
        },
        "tags": {
            "type": "array"
        },
        "vector": {
            "type": "array"
        },
        "address": {
            "type": "object",
            "properties": {
                "street": {
                    "type": "string"
                },
                "number": {
                    "type": "number"
                },
                "zip_code": {
                    "type": "string"
                },
                "state": {
                    "type": "object",
                    "properties": {
                        "name": {
                            "type": "string"
                        },
                        "code": {
                            "type": "string"
                        }
                    }
                },
                "country": {
                    "type": "string",
                    "enum": [
                        "Czech Republic",
                        "United States of America"
                    ]
                }
            },
            "required": [
                "street",
                "number",
                "zip_code",
                "country"
            ]
        }
    },
    "required": [
        "id"
    ]
}