{
    "description": "a payment transaction",
    "properties": {
        "sign": {
            "items": {
                "type": "string"
            },
            "minItems": 1,
            "type": "array",
            "_uniqueItems": true
        },
        "tx": {
            "properties": {
                "fee": {
                    "exclusiveMinimum": 0,
                    "type": "integer"
                },
                "from": {
                    "items": {
                        "type": "string"
                    },
                    "minItems": 1,
                    "type": "array",
                    "_uniqueItems": true
                },
                "id": {
                    "pattern": "^[0-9a-f]{64}$",
                    "type": "string"
                },
                "msg": {
                    "maxLength": 254,
                    "type": "string"
                },
                "to": {
                    "items": {
                        "properties": {
                            "address": {
                                "type": "string"
                            },
                            "amount": {
                                "exclusiveMinimum": 0,
                                "type": "integer"
                            }
                        },
                        "required": [
                            "address",
                            "amount"
                        ],
                        "type": "object"
                    },
                    "minItems": 1,
                    "type": "array"
                }
            },
            "required": [
                "id",
                "from",
                "to",
                "msg",
                "fee"
            ],
            "type": "object"
        }
    },
    "required": [
        "tx",
        "sign"
    ],
    "title": "Payment",
    "type": "object"
}