CyBOK: scenario_schema.xsd update to include CyBOK elements, videos, and readings

This commit is contained in:
thomashaw
2021-03-18 15:31:48 +00:00
parent fbc7fbdad8
commit f4abb26eb5
2 changed files with 32 additions and 2 deletions

View File

@@ -12,8 +12,11 @@
<xs:element name="description" type="xs:string" minOccurs="0" maxOccurs="1"/>
<xs:element name="type" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="difficulty" type="xs:string" minOccurs="0" maxOccurs="1"/>
<xs:element name="CyBOK" type="CyBOKType" minOccurs="0" maxOccurs="unbounded" />
<xs:element name="video" type="VideoType" minOccurs="0" maxOccurs="unbounded" />
<xs:element name="reading" type="ReadingType" minOccurs="0" maxOccurs="unbounded" />
<xs:element name='system' type='SystemType' minOccurs='1' maxOccurs='unbounded' />
<xs:element name='system' type='SystemType' minOccurs='0' maxOccurs='unbounded' />
</xs:sequence>
</xs:complexType>
</xs:element>
@@ -37,6 +40,34 @@
<xs:attribute name='unique_module_list' type='xs:string'/>
</xs:complexType>
<xs:complexType name="CyBOKType">
<xs:sequence>
<xs:element name="topic" type="xs:string" minOccurs="1" maxOccurs="1"/>
<xs:element name="keyword" type="xs:string" minOccurs="1" maxOccurs="unbounded"/>
</xs:sequence>
<xs:attribute name='KA' type='xs:string'/>
</xs:complexType>
<xs:complexType name="VideoType">
<xs:sequence>
<xs:element name="url" type="xs:string" minOccurs="1" maxOccurs="1"/>
<xs:element name="title" type="xs:string" minOccurs="1" maxOccurs="1"/>
<xs:element name="description" type="xs:string" minOccurs="1" maxOccurs="unbounded"/>
<xs:element name="CyBOK" type="CyBOKType" minOccurs="0" maxOccurs="unbounded" />
</xs:sequence>
<xs:attribute name='KA' type='xs:string'/>
</xs:complexType>
<xs:complexType name="ReadingType">
<xs:sequence>
<xs:element name="url" type="xs:string" minOccurs="1" maxOccurs="1"/>
<xs:element name="title" type="xs:string" minOccurs="1" maxOccurs="1"/>
<xs:element name="CyBOK" type="CyBOKType" minOccurs="0" maxOccurs="unbounded" />
</xs:sequence>
<xs:attribute name='KA' type='xs:string'/>
</xs:complexType>
<xs:complexType name="SystemType">
<xs:sequence>
<xs:element name="system_name" minOccurs="1" maxOccurs="1">

View File

@@ -14,7 +14,6 @@
<type>lab-sheet</type>
<difficulty>easy</difficulty>
<CyBOK KA="AAA">
<topic>Authorisation</topic>
<keyword>access control</keyword>