aboutsummaryrefslogtreecommitdiffstats
path: root/JSONSchema/bc-filler-schema.json
diff options
context:
space:
mode:
Diffstat (limited to 'JSONSchema/bc-filler-schema.json')
-rw-r--r--JSONSchema/bc-filler-schema.json24
1 files changed, 19 insertions, 5 deletions
diff --git a/JSONSchema/bc-filler-schema.json b/JSONSchema/bc-filler-schema.json
index b002f43ae..a6874095a 100644
--- a/JSONSchema/bc-filler-schema.json
+++ b/JSONSchema/bc-filler-schema.json
@@ -1,5 +1,17 @@
{
"definitions": {
+ "BlockchainExpectSection": {
+ "additionalProperties": false,
+ "properties": {
+ "network": {
+ "$ref": "#/definitions/Networks"
+ },
+ "result": {
+ "$ref": "#/definitions/AccountMap"
+ }
+ },
+ "type": "array"
+ },
"BadHexData": {
"pattern": "^0x[0-9a-zA-Z]*$",
"type": "string"
@@ -317,12 +329,14 @@
"type": "string"
},
"expect": {
- "patternProperties": {
- "^0x[0-9a-f]*": {
- "$ref": "#/definitions/PreStateAccount",
- "description": "poststate account address with 0x prefix"
+ "oneOf": [
+ {
+ "$ref": "#/definitions/AccountMap"
+ },
+ {
+ "$ref": "#/definitions/BlockchainExpectSection"
}
- }
+ ]
},
"genesisBlockHeader": {
"$ref": "#/definitions/BlockHeader"