aboutsummaryrefslogtreecommitdiffstats
path: root/packages/website/ts/schemas/token_schema.ts
diff options
context:
space:
mode:
Diffstat (limited to 'packages/website/ts/schemas/token_schema.ts')
-rw-r--r--packages/website/ts/schemas/token_schema.ts11
1 files changed, 11 insertions, 0 deletions
diff --git a/packages/website/ts/schemas/token_schema.ts b/packages/website/ts/schemas/token_schema.ts
new file mode 100644
index 000000000..c15f57429
--- /dev/null
+++ b/packages/website/ts/schemas/token_schema.ts
@@ -0,0 +1,11 @@
+export const tokenSchema = {
+ id: '/Token',
+ properties: {
+ name: {type: 'string'},
+ symbol: {type: 'string'},
+ decimals: {type: 'number'},
+ address: {type: 'string'},
+ },
+ required: ['name', 'symbol', 'decimals', 'address'],
+ type: 'object',
+};