{
    "properties": {
        "address": {
            "pattern": "^(0x)?(([0-9]|[a-f]|[A-F]){2}){20}$",
            "type": "string"
        },
        "crypto": {
            "additionalProperties": false,
            "properties": {
                "cipher": {
                    "type": "string"
                },
                "cipherparams": {
                    "type": "object"
                },
                "ciphertext": {
                    "type": "string"
                },
                "kdf": {
                    "type": "string"
                },
                "kdfparams": {
                    "type": "object"
                },
                "mac": {
                    "pattern": "^(([0-9]|[a-f]){2}){32}$",
                    "type": "string"
                }
            },
            "required": [
                "cipher",
                "cipherparams",
                "ciphertext",
                "kdf",
                "kdfparams",
                "mac"
            ],
            "type": "object"
        },
        "meta": {
            "type": "string"
        },
        "name": {
            "type": "string"
        },
        "version": {
            "minimum": 1,
            "type": "integer"
        }
    },
    "required": [
        "version",
        "crypto"
    ],
    "type": "object"
}