aboutsummaryrefslogtreecommitdiffstats
path: root/src/schemas/index_filter_values_schema.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/schemas/index_filter_values_schema.ts')
-rw-r--r--src/schemas/index_filter_values_schema.ts11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/schemas/index_filter_values_schema.ts b/src/schemas/index_filter_values_schema.ts
new file mode 100644
index 000000000..7c8d3f943
--- /dev/null
+++ b/src/schemas/index_filter_values_schema.ts
@@ -0,0 +1,11 @@
+export const indexFilterValuesSchema = {
+ id: '/indexFilterValues',
+ additionalProperties: {
+ oneOf: [
+ {$ref: '/numberSchema'},
+ {$ref: '/addressSchema'},
+ {$ref: '/orderHashSchema'},
+ ],
+ },
+ type: 'object',
+};