{
    "$schema": "http://json-schema.org/draft-04/schema#",
    "title": "Wishlist Item",
    "type": "object",
    "properties": {
        "product": {
            "type": "string",
            "pattern": "^.+"
        },
        "amount": {
            "type": "integer",
            "minimum": 1,
            "default": 1
        },
        "note": {
            "type": "string"
        },
        "createdAt": {
            "type": "string",
            "format": "date-time"
        },
        "category": {
            "type": "string"
        },
        "link": {
            "type": "string"
        }
    },
    "required": [
        "product",
        "amount"
    ]
}