{
    "type": "object",
    "properties": {
        "type": {
            "$ref": "https://raw.githubusercontent.com/acrylplatform/acryl-transactions/master/src/schemas/IMassTransferTransaction.json#/definitions/TRANSACTION_TYPE.MASS_TRANSFER"
        },
        "transfers": {
            "type": "array",
            "items": {
                "$ref": "https://raw.githubusercontent.com/acrylplatform/acryl-transactions/master/src/schemas/IMassTransferTransaction.json#/definitions/IMassTransferItem<LONG>"
            }
        },
        "attachment": {
            "type": "string"
        },
        "assetId": {
            "type": [
                "null",
                "string"
            ]
        },
        "timestamp": {
            "type": "number"
        },
        "fee": {
            "$ref": "https://raw.githubusercontent.com/acrylplatform/acryl-transactions/master/src/schemas/IMassTransferTransaction.json#/definitions/LONG"
        },
        "version": {
            "type": "number"
        },
        "proofs": {
            "description": "ITransaction signatures",
            "minItems": 0,
            "maxItems": 8,
            "type": "array",
            "items": {
                "type": "string"
            }
        },
        "senderPublicKey": {
            "description": "Account public key. This account will pay fee and this account's script will be executed if exists",
            "type": "string"
        }
    },
    "required": [
        "attachment",
        "fee",
        "proofs",
        "senderPublicKey",
        "timestamp",
        "transfers",
        "type",
        "version"
    ],
    "definitions": {
        "TRANSACTION_TYPE.MASS_TRANSFER": {
            "type": "number",
            "enum": [
                11
            ]
        },
        "IMassTransferItem<LONG>": {
            "type": "object",
            "properties": {
                "recipient": {
                    "type": "string"
                },
                "amount": {
                    "$ref": "https://raw.githubusercontent.com/acrylplatform/acryl-transactions/master/src/schemas/IMassTransferTransaction.json#/definitions/LONG"
                }
            },
            "required": [
                "amount",
                "recipient"
            ]
        },
        "LONG": {
            "type": [
                "number"
            ]
        }
    },
    "$schema": "http://json-schema.org/draft-07/schema#",
    "$id": "https://raw.githubusercontent.com/acrylplatform/acryl-transactions/master/src/schemas/IMassTransferTransaction.json"
}
