{
  "$schema": "http://json-schema.org/draft-07/schema",
  "$id": "rosetta-construction-parse-request",
  "type": "object",
  "title": "RosettaConstructionParseRequest",
  "description": "Parse is called on both unsigned and signed transactions to understand the intent of the formulated transaction. This is run as a sanity check before signing (after /construction/payloads) and before broadcast (after /construction/combine).",
  "required": ["network_identifier", "signed", "transaction"],
  "properties": {
    "network_identifier": {
      "$ref": "./../../entities/rosetta/rosetta-network-identifier.schema.json"
    },
    "signed": {
      "type": "boolean",
      "description": "Signed is a boolean indicating whether the transaction is signed."
    },
    "transaction": {
      "type": "string",
      "description": "This must be either the unsigned transaction blob returned by /construction/payloads or the signed transaction blob returned by /construction/combine."
    }
  }
}
