summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--pkg/requirements.pip4
-rw-r--r--src/leap/services/eip/eipspec.py10
2 files changed, 6 insertions, 8 deletions
diff --git a/pkg/requirements.pip b/pkg/requirements.pip
index 7f5eb5b0..e47e0bff 100644
--- a/pkg/requirements.pip
+++ b/pkg/requirements.pip
@@ -1,7 +1,7 @@
# in order of addition to the project.
# do not change the ordering.
-jsonschema
+jsonschema<=0.8
requests
srp>=1.0.2
pyopenssl
@@ -9,4 +9,4 @@ keyring
pyxdg
argparse
PySide
-python-dateutil \ No newline at end of file
+python-dateutil
diff --git a/src/leap/services/eip/eipspec.py b/src/leap/services/eip/eipspec.py
index d5c73056..69d4d927 100644
--- a/src/leap/services/eip/eipspec.py
+++ b/src/leap/services/eip/eipspec.py
@@ -18,18 +18,16 @@
eipservice_config_spec = {
'description': 'sample eip service config',
'type': 'object',
- 'required': [
- 'serial',
- 'version'
- ],
'properties': {
'serial': {
'type': int,
- 'default': 1
+ 'default': 1,
+ 'required': True
},
'version': {
'type': int,
- 'default': 1
+ 'default': 1,
+ 'required': True
},
'clusters': {
'type': list,