{
    "Transaction": {
        "properties": {
            "date": {
                "_format": "date-time",
                "type": "string"
            },
            "nonce": {
                "type": "integer"
            },
            "recipient": {
                "type": "string"
            },
            "source": {
                "type": "string"
            },
            "value": {
                "type": "integer"
            }
        },
        "required": [
            "recipient",
            "source",
            "date",
            "value",
            "nonce"
        ],
        "type": "object"
    },
    "properties": {
        "address": {
            "type": "string"
        },
        "balance": {
            "type": "integer"
        },
        "bonus-credit": {
            "type": "integer"
        },
        "created": {
            "_format": "date-time",
            "type": "string"
        },
        "identity": {
            "type": "object"
        },
        "ranking": {
            "type": "integer"
        },
        "scheme": {
            "constant": "walletData"
        },
        "status": {
            "enum": [
                "active",
                "deleted"
            ]
        },
        "transactions": {
            "items": {
                "$ref": "#/Transaction"
            },
            "type": "array"
        }
    },
    "required": [
        "scheme",
        "address",
        "status",
        "identity",
        "created",
        "balance",
        "ranking",
        "bonus-credit",
        "transactions"
    ],
    "type": "object"
}