Skip to content

Commit 099224e

Browse files
authored
Merge pull request #241 from FIXTradingCommunity/Issue228
[#228] Add scenario reference for messages, groups, components, and code sets
2 parents 8df8598 + 7621560 commit 099224e

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

repository/src/main/resources/xsd/repositorytypes.xsd

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -135,6 +135,7 @@
135135
<xs:element name="annotation" type="fixr:annotation" minOccurs="0"/>
136136
</xs:sequence>
137137
<xs:attributeGroup ref="fixr:oidGrp"/>
138+
<xs:attributeGroup ref="fixr:scenarioRefGrp"/>
138139
<xs:attribute name="type" type="fixr:Name_t" use="required">
139140
<xs:annotation>
140141
<xs:documentation>Underlying FIX datatype of codes
@@ -225,6 +226,7 @@
225226
</xs:sequence>
226227
<xs:attributeGroup ref="fixr:entityAttribGrp"/>
227228
<xs:attributeGroup ref="fixr:oidGrp"/>
229+
<xs:attributeGroup ref="fixr:scenarioRefGrp"/>
228230
<xs:attribute name="category" type="fixr:Name_t"/>
229231
<xs:attribute name="rendering" type="xs:string">
230232
<xs:annotation>
@@ -568,6 +570,7 @@
568570
</xs:sequence>
569571
<xs:attributeGroup ref="fixr:entityAttribGrp"/>
570572
<xs:attributeGroup ref="fixr:oidGrp"/>
573+
<xs:attributeGroup ref="fixr:scenarioRefGrp"/>
571574
<xs:attribute name="category" type="fixr:Name_t"/>
572575
<xs:attribute name="rendering" type="xs:string">
573576
<xs:annotation>
@@ -739,6 +742,7 @@
739742
<xs:attribute name="msgType" type="fixr:MsgType_t"/>
740743
<xs:attribute name="category" type="fixr:Name_t"/>
741744
<xs:attributeGroup ref="fixr:oidGrp"/>
745+
<xs:attributeGroup ref="fixr:scenarioRefGrp"/>
742746
<xs:attributeGroup ref="fixr:entityAttribGrp"/>
743747
<xs:attribute name="flow" type="fixr:Name_t"/>
744748
<xs:attribute name="rendering" type="xs:string">
@@ -901,6 +905,21 @@
901905
</xs:annotation>
902906
</xs:attribute>
903907
</xs:attributeGroup>
908+
<xs:attributeGroup name="scenarioRefGrp">
909+
<xs:annotation>
910+
<xs:documentation>A reference to a scenario by its key identifiers. There are no defaults as scenario references are optional.</xs:documentation>
911+
</xs:annotation>
912+
<xs:attribute name="scenarioRefId" type="fixr:id_t" use="required">
913+
<xs:annotation>
914+
<xs:documentation>Unique identifier of a scenario. Default is '1' for base scenario.</xs:documentation>
915+
</xs:annotation>
916+
</xs:attribute>
917+
<xs:attribute name="scenarioRef" type="fixr:Name_t">
918+
<xs:annotation>
919+
<xs:documentation>Name of a scenario. The name is optional as part of a reference and only for convenience.</xs:documentation>
920+
</xs:annotation>
921+
</xs:attribute>
922+
</xs:attributeGroup>
904923
<xs:simpleType name="reliability_t">
905924
<xs:annotation>
906925
<xs:documentation>Message delivery gurantee</xs:documentation>

0 commit comments

Comments
 (0)