aboutsummaryrefslogtreecommitdiffstats
path: root/packages/json-schemas/schemas/block_range_schema.json
diff options
context:
space:
mode:
authorKadinsky <kandinsky454@protonmail.ch>2018-10-18 02:01:29 +0800
committerGitHub <noreply@github.com>2018-10-18 02:01:29 +0800
commit5ec4b27200297708298deca97603849a37b2f66a (patch)
tree96c28898329c3bf786a08549384f2de79d0903f8 /packages/json-schemas/schemas/block_range_schema.json
parentb2012bf1610eda65afe180b04df6c9ee8f5dc659 (diff)
parentbdae4ba2a2c9b7b3b41c352c628cb11cd4a1f295 (diff)
downloaddexon-0x-contracts-5ec4b27200297708298deca97603849a37b2f66a.tar.gz
dexon-0x-contracts-5ec4b27200297708298deca97603849a37b2f66a.tar.zst
dexon-0x-contracts-5ec4b27200297708298deca97603849a37b2f66a.zip
Merge pull request #1145 from 0xProject/refactorSchemasToJSON
Move json-schema schemas to JSON files
Diffstat (limited to 'packages/json-schemas/schemas/block_range_schema.json')
-rw-r--r--packages/json-schemas/schemas/block_range_schema.json8
1 files changed, 8 insertions, 0 deletions
diff --git a/packages/json-schemas/schemas/block_range_schema.json b/packages/json-schemas/schemas/block_range_schema.json
new file mode 100644
index 000000000..b14294649
--- /dev/null
+++ b/packages/json-schemas/schemas/block_range_schema.json
@@ -0,0 +1,8 @@
+{
+ "id": "/blockRangeSchema",
+ "properties": {
+ "fromBlock": { "$ref": "/blockParamSchema" },
+ "toBlock": { "$ref": "/blockParamSchema" }
+ },
+ "type": "object"
+}