diff --git a/README.md b/README.md index c72e501aa07c52a1e6711c91f39c872eb9d2df6e..e02b06014b530972ce2ccaf8b0a4ffe2d8c1a69a 100644 --- a/README.md +++ b/README.md @@ -379,7 +379,7 @@ Any non-empty responses are JSON formatted messages. The response will be formatted according to the following syntax: ```json - { + { "$schema": "http://json-schema.org/draft-07/schema#", "type": "object", @@ -428,10 +428,20 @@ Any non-empty responses are JSON formatted messages. "required": ["name", "description", "as"], "additionalProperties": False }, - "ix-public-peer-group": { + "ix-public-peer-list": { "type": "array", "items": {"$ref": "#/definitions/ip-address"} }, + "ix-public-peer-info": { + "type": "object", + "properties": { + "peer": {"$ref": "#/definitions/ix-public-peer"}, + "group": {"$ref": "#/definitions/ix-public-peer-list"}, + "router": {"$ref": "#/definitions/ix-public-peer-list"} + }, + "required": ["peer", "group", "router"], + "additionalProperties": False + }, "interface-info": { "type": "object", "properties": { @@ -462,9 +472,7 @@ Any non-empty responses are JSON formatted messages. "type": "object", "properties": { - "ix-public-peer-info": {"$ref": "#/definitions/ix-public-peer"}, - "ix-public-peer-group": { - "$ref": "#/definitions/ix-public-peer-group"}, + "ix-public-peer-info": {"$ref": "#/definitions/ix-public-peer-info"}, "vpn-rr-peer-info": {"$ref": "#/definitions/vpn-rr-peer"}, "interfaces": { "type": "array",