Skip to content

Commit

Permalink
Add topic relation types
Browse files Browse the repository at this point in the history
  • Loading branch information
GeorgDangl committed Oct 21, 2024
1 parent 8cb334f commit 8ac6385
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions Schemas/markup.xsd
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@
<xs:element name="RelatedTopic" minOccurs="0" maxOccurs="unbounded">
<xs:complexType>
<xs:attribute name="Guid" type="Guid" use="required"/>
<xs:attribute name="ReleationType" type="TopicRelationType" use="optional"/>
</xs:complexType>
</xs:element>
</xs:sequence>
Expand Down Expand Up @@ -150,4 +151,12 @@
</xs:sequence>
<xs:attribute name="Guid" type="Guid" use="required"/>
</xs:complexType>
</xs:complexType>
<xs:simpleType name="TopicRelationType">
<xs:restriction base="xs:string">
<xs:enumeration value="Relates"/>
<xs:enumeration value="Parent"/>
<xs:enumeration value="Child"/>
</xs:restriction>
</xs:simpleType>
</xs:schema>

0 comments on commit 8ac6385

Please sign in to comment.