Skip to content

Commit

Permalink
Add TopicFile.Id to Markup and TopicFiles to Viewpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
GeorgDangl committed Aug 14, 2023
1 parent 8b74543 commit 55300f2
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
1 change: 1 addition & 0 deletions Schemas/markup.xsd
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,7 @@
<xs:element name="Date" type="xs:dateTime" minOccurs="0"/>
<!-- Reference (URL) of the file -->
<xs:element name="Reference" type="NonEmptyOrBlankString" minOccurs="0"/>
<xs:element name="Id" type="NonEmptyOrBlankString"/>
</xs:sequence>
<xs:attributeGroup ref="FileAttributes"/>
</xs:complexType>
Expand Down
10 changes: 10 additions & 0 deletions Schemas/visinfo.xsd
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@
</xs:annotation>
<xs:complexType>
<xs:sequence>
<!-- If one or more TopicFile elements are present, then this means that the
viewpoint is only supposed to load the given file references. Otherwise, the files
to be loaded in the viewpoint are the same as the Files list in the parent topic.-->
<xs:element name="TopicFiles" type="TopicFiles" minOccurs="0"/>
<!--
Although plural, 'Components' is not a collection
-->
Expand Down Expand Up @@ -106,6 +110,12 @@
<xs:maxExclusive value="180"/>
</xs:restriction>
</xs:simpleType>
<xs:complexType name="TopicFiles">
<xs:element name="TopicFileId" type="TopicFileId" maxOccurs="unbounded"/>
</xs:complexType>
<xs:complexType name="TopicFileId">
<xs:attribute name="Id" type="NonEmptyOrBlankString" use="required"/>
</xs:complexType>
<xs:complexType name="Components">
<xs:sequence>
<!-- Components with relevance to the viewpoint. They should be displayed highlighted or selected in a viewer -->
Expand Down

0 comments on commit 55300f2

Please sign in to comment.