Skip to content

Commit 088d725

Browse files
committed
Add scenario reference for messages, groups, components, and code sets
Fixes #228
1 parent a0f3c86 commit 088d725

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
@@ -141,6 +141,7 @@
141141
<xs:element name="annotation" type="fixr:annotation" minOccurs="0"/>
142142
</xs:sequence>
143143
<xs:attributeGroup ref="fixr:oidGrp"/>
144+
<xs:attributeGroup ref="fixr:scenarioRefGrp">
144145
<xs:attribute name="type" type="fixr:Name_t" use="required">
145146
<xs:annotation>
146147
<xs:documentation>Underlying FIX datatype of codes
@@ -236,6 +237,7 @@
236237
</xs:sequence>
237238
<xs:attributeGroup ref="fixr:entityAttribGrp"/>
238239
<xs:attributeGroup ref="fixr:oidGrp"/>
240+
<xs:attributeGroup ref="fixr:scenarioRefGrp">
239241
<xs:attribute name="category" type="fixr:Name_t"/>
240242
<xs:attribute name="rendering" type="xs:string">
241243
<xs:annotation>
@@ -561,6 +563,7 @@
561563
</xs:sequence>
562564
<xs:attributeGroup ref="fixr:entityAttribGrp"/>
563565
<xs:attributeGroup ref="fixr:oidGrp"/>
566+
<xs:attributeGroup ref="fixr:scenarioRefGrp">
564567
<xs:attribute name="category" type="fixr:Name_t"/>
565568
<xs:attribute name="rendering" type="xs:string">
566569
<xs:annotation>
@@ -743,6 +746,7 @@
743746
<xs:attribute name="msgType" type="fixr:MsgType_t"/>
744747
<xs:attribute name="category" type="fixr:Name_t"/>
745748
<xs:attributeGroup ref="fixr:oidGrp"/>
749+
<xs:attributeGroup ref="fixr:scenarioRefGrp">
746750
<xs:attributeGroup ref="fixr:entityAttribGrp"/>
747751
<xs:attribute name="flow" type="fixr:Name_t"/>
748752
</xs:complexType>
@@ -868,6 +872,21 @@
868872
</xs:annotation>
869873
</xs:attribute>
870874
</xs:attributeGroup>
875+
<xs:attributeGroup name="scenarioRefGrp">
876+
<xs:annotation>
877+
<xs:documentation>A reference to a scenario by its key identifiers</xs:documentation>
878+
</xs:annotation>
879+
<xs:attribute name="scenarioRefId" type="fixr:id_t" default="1" use="required">
880+
<xs:annotation>
881+
<xs:documentation>Unique identifier of a scenario. Default is '1' for base scenario.</xs:documentation>
882+
</xs:annotation>
883+
</xs:attribute>
884+
<xs:attribute name="scenarioRef" type="fixr:Name_t" default="base">
885+
<xs:annotation>
886+
<xs:documentation>Name of a scenario. The name is optional as part of a reference and only for convenience.</xs:documentation>
887+
</xs:annotation>
888+
</xs:attribute>
889+
</xs:attributeGroup>
871890
<xs:simpleType name="reliability_t">
872891
<xs:annotation>
873892
<xs:documentation>Message delivery gurantee</xs:documentation>

0 commit comments

Comments
 (0)