Feature 10906: Support for Anti-Affinity groups
[osm/RO.git] / NG-RO / osm_ng_ro / validation.py
index efd940c..ca8cbc2 100644 (file)
 # See the License for the specific language governing permissions and
 # limitations under the License.
 
-from jsonschema import validate as js_v, exceptions as js_e
 from http import HTTPStatus
 
+from jsonschema import exceptions as js_e, validate as js_v
+
 __author__ = "Alfonso Tierno <alfonso.tiernosepulveda@telefonica.com>"
 __version__ = "0.1"
 version_date = "Jun 2020"
@@ -106,6 +107,7 @@ deploy_schema = {
                 "vld": deploy_item_list,
             },
         },
+        "affinity-or-anti-affinity-group": deploy_item_list,
     },
     "additionalProperties": False,
 }