aboutsummaryrefslogtreecommitdiffstats
path: root/packages/json-schemas/schemas/ec_signature_schema.json
diff options
context:
space:
mode:
Diffstat (limited to 'packages/json-schemas/schemas/ec_signature_schema.json')
-rw-r--r--packages/json-schemas/schemas/ec_signature_schema.json14
1 files changed, 14 insertions, 0 deletions
diff --git a/packages/json-schemas/schemas/ec_signature_schema.json b/packages/json-schemas/schemas/ec_signature_schema.json
new file mode 100644
index 000000000..bc79ca5e9
--- /dev/null
+++ b/packages/json-schemas/schemas/ec_signature_schema.json
@@ -0,0 +1,14 @@
+{
+ "id": "/ECSignature",
+ "properties": {
+ "v": {
+ "type": "number",
+ "minimum": 27,
+ "maximum": 28
+ },
+ "r": { "$ref": "/ecSignatureParameterSchema" },
+ "s": { "$ref": "/ecSignatureParameterSchema" }
+ },
+ "required": ["v", "r", "s"],
+ "type": "object"
+}