{
  "$schema": "http://json-schema.org/draft-07/schema",
  "$id": "rosetta-public-key-schema",
  "type": "object",
  "title": "RosettaPublicKey",
  "description": "PublicKey contains a public key byte array for a particular CurveType encoded in hex. Note that there is no PrivateKey struct as this is NEVER the concern of an implementation.",
  "required": ["hex_bytes", "curve_type"],
  "properties": {
    "hex_bytes": {
      "type": "string",
      "description": "Hex-encoded public key bytes in the format specified by the CurveType."
    },
    "curve_type": {
      "type": "string",
      "description": "CurveType is the type of cryptographic curve associated with a PublicKey.",
      "enum": ["secp256k1", "edwards25519"]
    }
  }
}
