Move bootstrapdir requirement to main json schema

This commit is contained in:
Anders Ingemann 2013-06-27 21:31:52 +02:00
parent 29394270c6
commit 5418ac87ca
2 changed files with 6 additions and 5 deletions

View file

@ -6,6 +6,9 @@
"provider": {
"type": "string"
},
"bootstrapdir": {
"type": "string"
},
"volume": {
"type": "object",
"properties": {
@ -29,6 +32,7 @@
}
},
"additionalProperties": false
}
},
"require": ["provider", "bootstrapdir"]
}
}

View file

@ -3,9 +3,6 @@
"title": "EC2 manifest",
"type": "object",
"properties": {
"bootstrapdir": {
"type": "string"
},
"volume": {
"type": "object",
"properties": {
@ -21,5 +18,5 @@
"required": ["backing", "filesystem"]
}
},
"required": ["bootstrapdir", "volume"]
"required": ["volume"]
}