diff options
Diffstat (limited to 'JSONSchema/bc-filler-schema.json')
-rw-r--r-- | JSONSchema/bc-filler-schema.json | 27 |
1 files changed, 22 insertions, 5 deletions
diff --git a/JSONSchema/bc-filler-schema.json b/JSONSchema/bc-filler-schema.json index a5306c5c3..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" @@ -313,13 +325,18 @@ }, "type": "array" }, + "network": { + "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" |