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/token_schema.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/token_schema.ts')
-rw-r--r-- | packages/json-schemas/schemas/token_schema.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/json-schemas/schemas/token_schema.ts b/packages/json-schemas/schemas/token_schema.ts index e64565c8b..a0b1ae27f 100644 --- a/packages/json-schemas/schemas/token_schema.ts +++ b/packages/json-schemas/schemas/token_schema.ts @@ -1,10 +1,10 @@ export const tokenSchema = { - id: '/Token', + id: '/tokenSchema', properties: { name: { type: 'string' }, symbol: { type: 'string' }, decimals: { type: 'number' }, - address: { $ref: '/Address' }, + address: { $ref: '/addressSchema' }, }, required: ['name', 'symbol', 'decimals', 'address'], type: 'object', |