summaryrefslogtreecommitdiffstats
path: root/config-model/src/main/resources/schema/common.rnc
diff options
context:
space:
mode:
authorJon Bratseth <bratseth@vespa.ai>2023-05-15 20:47:16 +0200
committerJon Bratseth <bratseth@vespa.ai>2023-05-15 20:47:16 +0200
commit9406d9e50a3b0d183ec2d76595679eea41f0129f (patch)
treec75ae3cd85aa29522043ceb1f3f49e80fe6f8f5f /config-model/src/main/resources/schema/common.rnc
parentc2a220bed85e7af09f62d34de339b168d9507b87 (diff)
Make all node resource elements optional
Diffstat (limited to 'config-model/src/main/resources/schema/common.rnc')
-rw-r--r--config-model/src/main/resources/schema/common.rnc6
1 files changed, 3 insertions, 3 deletions
diff --git a/config-model/src/main/resources/schema/common.rnc b/config-model/src/main/resources/schema/common.rnc
index 538a8f069f5..21f3399a027 100644
--- a/config-model/src/main/resources/schema/common.rnc
+++ b/config-model/src/main/resources/schema/common.rnc
@@ -23,9 +23,9 @@ Nodes = element nodes {
}
Resources = element resources {
- attribute vcpu { xsd:double { minExclusive = "0.0" } | xsd:string } &
- attribute memory { xsd:string } &
- attribute disk { xsd:string } &
+ attribute vcpu { xsd:double { minExclusive = "0.0" } | xsd:string }? &
+ attribute memory { xsd:string }? &
+ attribute disk { xsd:string }? &
attribute disk-speed { xsd:string }? &
attribute storage-type { xsd:string }? &
attribute architecture { xsd:string }? &