Skip to content

Commit 243b8e8

Browse files
Harry RackmilHarry Rackmil
Harry Rackmil
authored and
Harry Rackmil
committed
add dataSource as required field in schema
1 parent 7821db2 commit 243b8e8

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

apps/lib/data_provider/configs/resources/source_config_schemas/random.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,6 @@
2020
"description": "The maximum possible generated value."
2121
}
2222
},
23-
"required": ["updateFrequency", "minValue", "maxValue"],
23+
"required": ["dataSource", "updateFrequency", "minValue", "maxValue"],
2424
"additionalProperties": false
2525
}

apps/lib/data_provider/configs/resources/source_config_schemas/uniswapv2.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@
2323
"type": "string",
2424
"description": "Contract address.",
2525
"pattern": "^0x[0-9a-fA-F]+$"
26-
2726
},
2827
"baseTokenIndex": {
2928
"type": "integer",
@@ -47,6 +46,7 @@
4746
}
4847
},
4948
"required": [
49+
"dataSource",
5050
"updateFrequency",
5151
"httpProviderUrl",
5252
"contractAddress",

0 commit comments

Comments
 (0)