aboutsummaryrefslogtreecommitdiffstats
path: root/packages/json-schemas/schemas/index_filter_values_schema.ts
diff options
context:
space:
mode:
authorBrandon Millman <brandon@0xproject.com>2017-11-15 02:02:17 +0800
committerGitHub <noreply@github.com>2017-11-15 02:02:17 +0800
commit4d61d56639ad70b13245ca25047c6f299e746393 (patch)
tree339b5f43f2239fdd0c3d36c272d87fdd0fe88ffb /packages/json-schemas/schemas/index_filter_values_schema.ts
parent430154d5438225313372d950271bcb08f5332e19 (diff)
parentbb6631c7c66f8d825b64e7d715fd798ddaa01ef8 (diff)
downloaddexon-sol-tools-4d61d56639ad70b13245ca25047c6f299e746393.tar
dexon-sol-tools-4d61d56639ad70b13245ca25047c6f299e746393.tar.gz
dexon-sol-tools-4d61d56639ad70b13245ca25047c6f299e746393.tar.bz2
dexon-sol-tools-4d61d56639ad70b13245ca25047c6f299e746393.tar.lz
dexon-sol-tools-4d61d56639ad70b13245ca25047c6f299e746393.tar.xz
dexon-sol-tools-4d61d56639ad70b13245ca25047c6f299e746393.tar.zst
dexon-sol-tools-4d61d56639ad70b13245ca25047c6f299e746393.zip
Merge pull request #221 from 0xProject/feature/addJsonSchemas
Add json-schemas package to mono repo
Diffstat (limited to 'packages/json-schemas/schemas/index_filter_values_schema.ts')
-rw-r--r--packages/json-schemas/schemas/index_filter_values_schema.ts11
1 files changed, 11 insertions, 0 deletions
diff --git a/packages/json-schemas/schemas/index_filter_values_schema.ts b/packages/json-schemas/schemas/index_filter_values_schema.ts
new file mode 100644
index 000000000..f7e323e45
--- /dev/null
+++ b/packages/json-schemas/schemas/index_filter_values_schema.ts
@@ -0,0 +1,11 @@
+export const indexFilterValuesSchema = {
+ id: '/IndexFilterValues',
+ additionalProperties: {
+ oneOf: [
+ {$ref: '/Number'},
+ {$ref: '/Address'},
+ {$ref: '/OrderHashSchema'},
+ ],
+ },
+ type: 'object',
+};