Skip to content

Commit

Permalink
Merge pull request #241 from FIXTradingCommunity/Issue228
Browse files Browse the repository at this point in the history
[#228] Add scenario reference for messages, groups, components, and code sets
  • Loading branch information
kleihan authored Nov 4, 2024
2 parents 8df8598 + 7621560 commit 099224e
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions repository/src/main/resources/xsd/repositorytypes.xsd
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,7 @@
<xs:element name="annotation" type="fixr:annotation" minOccurs="0"/>
</xs:sequence>
<xs:attributeGroup ref="fixr:oidGrp"/>
<xs:attributeGroup ref="fixr:scenarioRefGrp"/>
<xs:attribute name="type" type="fixr:Name_t" use="required">
<xs:annotation>
<xs:documentation>Underlying FIX datatype of codes
Expand Down Expand Up @@ -225,6 +226,7 @@
</xs:sequence>
<xs:attributeGroup ref="fixr:entityAttribGrp"/>
<xs:attributeGroup ref="fixr:oidGrp"/>
<xs:attributeGroup ref="fixr:scenarioRefGrp"/>
<xs:attribute name="category" type="fixr:Name_t"/>
<xs:attribute name="rendering" type="xs:string">
<xs:annotation>
Expand Down Expand Up @@ -568,6 +570,7 @@
</xs:sequence>
<xs:attributeGroup ref="fixr:entityAttribGrp"/>
<xs:attributeGroup ref="fixr:oidGrp"/>
<xs:attributeGroup ref="fixr:scenarioRefGrp"/>
<xs:attribute name="category" type="fixr:Name_t"/>
<xs:attribute name="rendering" type="xs:string">
<xs:annotation>
Expand Down Expand Up @@ -739,6 +742,7 @@
<xs:attribute name="msgType" type="fixr:MsgType_t"/>
<xs:attribute name="category" type="fixr:Name_t"/>
<xs:attributeGroup ref="fixr:oidGrp"/>
<xs:attributeGroup ref="fixr:scenarioRefGrp"/>
<xs:attributeGroup ref="fixr:entityAttribGrp"/>
<xs:attribute name="flow" type="fixr:Name_t"/>
<xs:attribute name="rendering" type="xs:string">
Expand Down Expand Up @@ -901,6 +905,21 @@
</xs:annotation>
</xs:attribute>
</xs:attributeGroup>
<xs:attributeGroup name="scenarioRefGrp">
<xs:annotation>
<xs:documentation>A reference to a scenario by its key identifiers. There are no defaults as scenario references are optional.</xs:documentation>
</xs:annotation>
<xs:attribute name="scenarioRefId" type="fixr:id_t" use="required">
<xs:annotation>
<xs:documentation>Unique identifier of a scenario. Default is '1' for base scenario.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="scenarioRef" type="fixr:Name_t">
<xs:annotation>
<xs:documentation>Name of a scenario. The name is optional as part of a reference and only for convenience.</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:attributeGroup>
<xs:simpleType name="reliability_t">
<xs:annotation>
<xs:documentation>Message delivery gurantee</xs:documentation>
Expand Down

0 comments on commit 099224e

Please sign in to comment.