diff options
author | fragosti <francesco.agosti93@gmail.com> | 2018-08-03 02:57:23 +0800 |
---|---|---|
committer | fragosti <francesco.agosti93@gmail.com> | 2018-08-03 02:57:23 +0800 |
commit | afc5c2616acfaf59e8ce716bc9329bc06021dc7a (patch) | |
tree | 0377e459e8be957f90107b1d2310ed098e2193c8 /packages/json-schemas/schemas/basic_type_schemas.ts | |
parent | f8a252d1427a6dddffa3cdb177ebc6ffd9cb774c (diff) | |
download | dexon-sol-tools-afc5c2616acfaf59e8ce716bc9329bc06021dc7a.tar dexon-sol-tools-afc5c2616acfaf59e8ce716bc9329bc06021dc7a.tar.gz dexon-sol-tools-afc5c2616acfaf59e8ce716bc9329bc06021dc7a.tar.bz2 dexon-sol-tools-afc5c2616acfaf59e8ce716bc9329bc06021dc7a.tar.lz dexon-sol-tools-afc5c2616acfaf59e8ce716bc9329bc06021dc7a.tar.xz dexon-sol-tools-afc5c2616acfaf59e8ce716bc9329bc06021dc7a.tar.zst dexon-sol-tools-afc5c2616acfaf59e8ce716bc9329bc06021dc7a.zip |
Enforce stronger naming convention for json schema ids
Diffstat (limited to 'packages/json-schemas/schemas/basic_type_schemas.ts')
-rw-r--r-- | packages/json-schemas/schemas/basic_type_schemas.ts | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/packages/json-schemas/schemas/basic_type_schemas.ts b/packages/json-schemas/schemas/basic_type_schemas.ts index 7565df9e0..031383a11 100644 --- a/packages/json-schemas/schemas/basic_type_schemas.ts +++ b/packages/json-schemas/schemas/basic_type_schemas.ts @@ -1,17 +1,17 @@ export const addressSchema = { - id: '/Address', + id: '/addressSchema', type: 'string', pattern: '^0x[0-9a-f]{40}$', }; export const hexSchema = { - id: '/Hex', + id: '/hexSchema', type: 'string', pattern: '^0x([0-9a-f][0-9a-f])+$', }; export const numberSchema = { - id: '/Number', + id: '/numberSchema', type: 'string', pattern: '^\\d+(\\.\\d+)?$', }; |