{
  "$schema": "http://json-schema.org/draft-07/schema",
  "$id": "rosetta-signature",
  "type": "object",
  "title": "RosettaSignature",
  "description": "Signature contains the payload that was signed, the public keys of the keypairs used to produce the signature, the signature (encoded in hex), and the SignatureType. PublicKey is often times not known during construction of the signing payloads but may be needed to combine signatures properly.",
  "required": ["signing_payload", "public_key", "signature_type", "hex_bytes"],
  "properties": {
    "signing_payload": {
      "$ref": "./../../entities/rosetta/rosetta-signing-payload.schema.json"
    },
    "public_key": {
      "$ref": "./../../entities/rosetta/rosetta-public-key.schema.json"
    },
    "signature_type": {
      "$ref": "./../../entities/rosetta/rosetta-signature-type.schema.json"
    },
    "hex_bytes": {
      "type": "string"
    }
  }
}
