Skip to content

Commit

Permalink
Merge pull request #236 from FIXTradingCommunity/Issue229
Browse files Browse the repository at this point in the history
[#229] Extend recommended documentation purposes and define all purposes
  • Loading branch information
kleihan authored Nov 4, 2024
2 parents aa85874 + a4ee542 commit 4927f2d
Showing 1 changed file with 38 additions and 6 deletions.
44 changes: 38 additions & 6 deletions repository/src/main/resources/xsd/repositorytypes.xsd
Original file line number Diff line number Diff line change
Expand Up @@ -831,14 +831,46 @@
<xs:documentation>Recommended annotation purposes</xs:documentation>
</xs:annotation>
<xs:restriction base="xs:string">
<xs:enumeration value="SYNOPSIS"/>
<xs:enumeration value="ELABORATION"/>
<xs:enumeration value="EXAMPLE"/>
<xs:enumeration value="SYNOPSIS">
<xs:annotation>
<xs:documentation>
Brief summary of the element, typically highlighting its key function or purpose, restricted to one paragraph for conciseness.</xs:documentation>
</xs:annotation>
</xs:enumeration>
<xs:enumeration value="ELABORATION">
<xs:annotation>
<xs:documentation>
Detailed explanation of the element, clarifying its usage, functionality, or background.</xs:documentation>
</xs:annotation>
</xs:enumeration>
<xs:enumeration value="EXAMPLE">
<xs:annotation>
<xs:documentation>
Sample or illustration demonstrating how the element is used in practice.</xs:documentation>
</xs:annotation>
</xs:enumeration>
<xs:enumeration value="DISPLAY">
<xs:annotation>
<xs:documentation>For UI when different from canonical name; may
have multi-language displays
</xs:documentation>
<xs:documentation>
For UI when different from canonical name; may have multi-language displays.</xs:documentation>
</xs:annotation>
</xs:enumeration>
<xs:enumeration value="CAPTION">
<xs:annotation>
<xs:documentation>
Descriptive label or title for the element, may be used for tables, figures, headings or brief annotations.</xs:documentation>
</xs:annotation>
</xs:enumeration>
<xs:enumeration value="TOOLTIP">
<xs:annotation>
<xs:documentation>
Short message or hint that appears when hovering over the element, usually explaining its function or use.</xs:documentation>
</xs:annotation>
</xs:enumeration>
<xs:enumeration value="DEFINITION">
<xs:annotation>
<xs:documentation>
Precise and formal explanation of the element, restricted to one sentence in length to ensure brevity.</xs:documentation>
</xs:annotation>
</xs:enumeration>
</xs:restriction>
Expand Down

0 comments on commit 4927f2d

Please sign in to comment.