diff options
author | Fabio Berger <me@fabioberger.com> | 2017-05-30 00:13:07 +0800 |
---|---|---|
committer | Fabio Berger <me@fabioberger.com> | 2017-05-30 00:13:07 +0800 |
commit | 46fb1914cfef6af8423897ef5edb477ba5e40665 (patch) | |
tree | c393edd9f1f421d69bcd67b9e3cf561e9c521233 /src/schemas | |
parent | 43082b576ce764cf896d6c3b9fdae8c414467794 (diff) | |
download | dexon-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.ts | 10 |
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', |