aboutsummaryrefslogtreecommitdiffstats
path: root/src/schemas/ec_signature_schema.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/schemas/ec_signature_schema.ts')
-rw-r--r--src/schemas/ec_signature_schema.ts10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/schemas/ec_signature_schema.ts b/src/schemas/ec_signature_schema.ts
index 94e58e53c..e39a8bd70 100644
--- a/src/schemas/ec_signature_schema.ts
+++ b/src/schemas/ec_signature_schema.ts
@@ -1,10 +1,10 @@
-export const ECSignatureParameter = {
- id: '/ECSignatureParameter',
+export const ecSignatureParameter = {
+ id: '/ecSignatureParameter',
type: 'string',
pattern: '^0[xX][0-9A-Fa-f]{64}$',
};
-export const ECSignatureSchema = {
+export const ecSignatureSchema = {
id: '/ECSignature',
properties: {
v: {
@@ -12,8 +12,8 @@ export const ECSignatureSchema = {
minimum: 27,
maximum: 28,
},
- r: {$ref: '/ECSignatureParameter'},
- s: {$ref: '/ECSignatureParameter'},
+ r: {$ref: '/ecSignatureParameter'},
+ s: {$ref: '/ecSignatureParameter'},
},
required: ['v', 'r', 's'],
type: 'object',