aboutsummaryrefslogtreecommitdiffstats
path: root/src/schemas
diff options
context:
space:
mode:
authorFabio Berger <me@fabioberger.com>2017-05-30 00:13:07 +0800
committerFabio Berger <me@fabioberger.com>2017-05-30 00:13:07 +0800
commit46fb1914cfef6af8423897ef5edb477ba5e40665 (patch)
treec393edd9f1f421d69bcd67b9e3cf561e9c521233 /src/schemas
parent43082b576ce764cf896d6c3b9fdae8c414467794 (diff)
downloaddexon-sol-tools-46fb1914cfef6af8423897ef5edb477ba5e40665.tar
dexon-sol-tools-46fb1914cfef6af8423897ef5edb477ba5e40665.tar.gz
dexon-sol-tools-46fb1914cfef6af8423897ef5edb477ba5e40665.tar.bz2
dexon-sol-tools-46fb1914cfef6af8423897ef5edb477ba5e40665.tar.lz
dexon-sol-tools-46fb1914cfef6af8423897ef5edb477ba5e40665.tar.xz
dexon-sol-tools-46fb1914cfef6af8423897ef5edb477ba5e40665.tar.zst
dexon-sol-tools-46fb1914cfef6af8423897ef5edb477ba5e40665.zip
Lowercase schema names
Diffstat (limited to 'src/schemas')
-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',