summaryrefslogtreecommitdiff
path: root/src/main/resources/boot/OD/ElementaryActivityDef.xsd
diff options
context:
space:
mode:
authorAndrew Branson <andrew.branson@cern.ch>2014-09-16 08:49:21 +0200
committerAndrew Branson <andrew.branson@cern.ch>2014-09-16 08:49:21 +0200
commit5e294dbd586034b23484adb3c0c4de0f6acd901c (patch)
treee5fac95eff998d6a9096383a97527b8dd0ef56cf /src/main/resources/boot/OD/ElementaryActivityDef.xsd
parent30a7e7b62147afe44fceaf3b52b75b04622ad19c (diff)
Abstract properties. Activities cannot be instantiated unless the slot
overrides them. Fixes #190
Diffstat (limited to 'src/main/resources/boot/OD/ElementaryActivityDef.xsd')
-rw-r--r--src/main/resources/boot/OD/ElementaryActivityDef.xsd3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/main/resources/boot/OD/ElementaryActivityDef.xsd b/src/main/resources/boot/OD/ElementaryActivityDef.xsd
index ebe52a0..f6cce06 100644
--- a/src/main/resources/boot/OD/ElementaryActivityDef.xsd
+++ b/src/main/resources/boot/OD/ElementaryActivityDef.xsd
@@ -8,7 +8,8 @@
<xs:sequence>
<xs:element name="KeyValuePair" maxOccurs="unbounded">
<xs:complexType>
- <xs:attribute name="Key" type="xs:string" use="optional"/>
+ <xs:attribute name="Key" type="xs:string" use="required"/>
+ <xs:attribute name="isAbstract" type="xs:boolean" use="optional"/>
<xs:attribute name="Boolean" type="xs:boolean" use="optional"/>
<xs:attribute name="String" type="xs:string" use="optional"/>
<xs:attribute name="Integer" type="xs:int" use="optional"/>