summaryrefslogtreecommitdiffstats
path: root/config-model/src/main/resources/schema/common.rnc
diff options
context:
space:
mode:
authorJon Bratseth <bratseth@verizonmedia.com>2020-03-26 17:19:55 +0100
committerJon Bratseth <bratseth@verizonmedia.com>2020-03-26 17:19:55 +0100
commit77fa3b877833b8dc5957039ee02b1068cf0b0be6 (patch)
treebf0b58465e2ee002b100fb000d0eefa0170b7afe /config-model/src/main/resources/schema/common.rnc
parenta1d7251d0b27a5903ac4c700b5bbb80f9c989599 (diff)
Support specifying resource ranges
Diffstat (limited to 'config-model/src/main/resources/schema/common.rnc')
-rw-r--r--config-model/src/main/resources/schema/common.rnc4
1 files changed, 2 insertions, 2 deletions
diff --git a/config-model/src/main/resources/schema/common.rnc b/config-model/src/main/resources/schema/common.rnc
index c47983adc12..51a1d5f36b9 100644
--- a/config-model/src/main/resources/schema/common.rnc
+++ b/config-model/src/main/resources/schema/common.rnc
@@ -17,7 +17,7 @@ anyElement = element * {
JavaId = xsd:string { pattern = "([a-zA-Z_$][a-zA-Z\d_$]*\.)*[a-zA-Z_$][a-zA-Z\d_$]*" }
Nodes = element nodes {
- attribute count { xsd:positiveInteger } &
+ attribute count { xsd:positiveInteger | xsd:string } &
attribute flavor { xsd:string }? &
attribute docker-image { xsd:string }? &
Resources?
@@ -32,7 +32,7 @@ Resources = element resources {
}
OptionalDedicatedNodes = element nodes {
- attribute count { xsd:positiveInteger } &
+ attribute count { xsd:positiveInteger | xsd:string } &
attribute flavor { xsd:string }? &
attribute required { xsd:boolean }? &
attribute docker-image { xsd:string }? &