From fde9e60297889a67f7665c8808aeb3eb52f9d945 Mon Sep 17 00:00:00 2001 From: ALPAC-4 Date: Wed, 12 Jun 2024 15:43:59 +0900 Subject: [PATCH] feat: check op bridge info exists --- chain.schema.json | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/chain.schema.json b/chain.schema.json index 8d59aad..5ed218a 100644 --- a/chain.schema.json +++ b/chain.schema.json @@ -624,7 +624,16 @@ "description": "[Optional] The type of minitia and the version of it " } }, - "additionalProperties": true + "additionalProperties": true, + "if": { + "not": { + "properties": { + "is_l1": { "const": true } + }, + "required": ["is_l1"] + } + }, + "then": { "required": ["op_bridge_id", "op_denoms"] } } }, "additionalProperties": false,