diff --git a/chain.schema.json b/chain.schema.json index df2a2b9..5473b21 100644 --- a/chain.schema.json +++ b/chain.schema.json @@ -487,21 +487,21 @@ "rpc": { "type": "array", "items": { - "$ref": "#/$defs/endpoint" + "$ref": "#/$defs/secureEndpoint" }, "minContains": "1" }, "rest": { "type": "array", "items": { - "$ref": "#/$defs/endpoint" + "$ref": "#/$defs/secureEndpoint" }, "minContains": "1" }, "api": { "type": "array", "items": { - "$ref": "#/$defs/endpoint" + "$ref": "#/$defs/secureEndpoint" } }, "grpc": { @@ -694,6 +694,31 @@ }, "additionalProperties": false }, + "secureEndpoint": { + "type": "object", + "required": ["address"], + "properties": { + "address": { + "type": "string", + "format": "uri", + "pattern": "^https://." + }, + "provider": { + "type": "string" + }, + "archive": { + "type": "boolean", + "default": false + }, + "authorizedUser": { + "type": "string" + }, + "indexForSkip": { + "type": "number" + } + }, + "additionalProperties": false + }, "explorer": { "type": "object", "properties": { diff --git a/testnets/milkyway/chain.json b/testnets/milkyway/chain.json index 2fc7a45..199f8e6 100644 --- a/testnets/milkyway/chain.json +++ b/testnets/milkyway/chain.json @@ -42,7 +42,7 @@ "provider": "MilkyWay Labs" }, { - "address": " https://rpc-skip.testnet.milkyway.zone", + "address": "https://rpc-skip.testnet.milkyway.zone", "provider": "MilkyWay Labs", "authorizedUser": "skip", "indexForSkip": 0