{
  "$ref": "#/definitions/UnsignedEthereumTransaction",
  "$schema": "http://json-schema.org/draft-07/schema#",
  "definitions": {
    "HexString": {
      "type": "string"
    },
    "UnsignedEthereumTransaction": {
      "additionalProperties": false,
      "properties": {
        "callbackURL": {
          "type": "string"
        },
        "publicKey": {
          "type": "string"
        },
        "transaction": {
          "additionalProperties": false,
          "properties": {
            "chainId": {
              "type": "number"
            },
            "data": {
              "$ref": "#/definitions/HexString"
            },
            "gasLimit": {
              "$ref": "#/definitions/HexString"
            },
            "gasPrice": {
              "$ref": "#/definitions/HexString"
            },
            "nonce": {
              "$ref": "#/definitions/HexString"
            },
            "to": {
              "$ref": "#/definitions/HexString"
            },
            "value": {
              "$ref": "#/definitions/HexString"
            }
          },
          "required": [
            "nonce",
            "gasPrice",
            "gasLimit",
            "to",
            "value",
            "chainId",
            "data"
          ],
          "type": "object"
        }
      },
      "required": [
        "publicKey",
        "transaction"
      ],
      "type": "object"
    }
  }
}
