From 5fb25738c9cbccd1f99aeec210995905169efa9b Mon Sep 17 00:00:00 2001
From: Erik Reid <erik.reid@geant.org>
Date: Fri, 1 Mar 2019 10:07:56 +0100
Subject: [PATCH] updated peer-info schema spec

---
 README.md | 18 ++++++++++++------
 1 file changed, 12 insertions(+), 6 deletions(-)

diff --git a/README.md b/README.md
index 57ff6af4..5e71995c 100644
--- a/README.md
+++ b/README.md
@@ -376,10 +376,10 @@ Any non-empty responses are JSON formatted messages.
   then information about the interface is returned, otherwise
   404 is returned.
 
-  The resp onse will be formatted according to the following syntax:
+  The response will be formatted according to the following syntax:
 
   ```json
-  {
+    {
         "$schema": "http://json-schema.org/draft-07/schema#",
         "type": "object",
 
@@ -402,7 +402,6 @@ Any non-empty responses are JSON formatted messages.
                 "required": ["name", "description"],
                 "additionalProperties": False
             },
-
             "ix-public-peer": {
                 "type": "object",
                 "properties": {
@@ -421,17 +420,24 @@ Any non-empty responses are JSON formatted messages.
                 },
                 "required": ["name", "description", "as"],
                 "additionalProperties": False
-            }
+            },
+            "ix-public-peer-group": {
+                "type": "array",
+                "items": {"$ref": "#/definitions/ip-address"}
+            },
+
         },
 
         "type": "object",
         "properties": {
             "ix-public-peer-info": {"$ref": "#/definitions/ix-public-peer"},
+            "ix-public-peer-group": {
+                "$ref": "#/definitions/ix-public-peer-group"},
             "vpn-rr-peer-info": {"$ref": "#/definitions/vpn-rr-peer"}
         },
         "additionalProperties": False
-  }
-  ```
+    }
+    ```
 
 
 * /poller/interfaces/*`hostname`*
-- 
GitLab