f3d5690d5
b46ebc76e
36b866dad
1 2 3 4 5 6
7 8
9 10 11 12 13 14 15 16 17
18
19 20 21 22
export const tokenSchema = { id: '/token', properties: { name: {type: 'string'}, symbol: {type: 'string'}, decimals: {type: 'number'}, address: {$ref: '/addressSchema'}, url: { oneOf: [ { type: 'string', format: 'uri', }, { enum: [''], }, ], }, }, required: ['name', 'symbol', 'decimals', 'address', 'url'], type: 'object', };