Skip to content

Commit

Permalink
Add scenario reference for messages, groups, components, and code sets
Browse files Browse the repository at this point in the history
Fixes #228
  • Loading branch information
kleihan committed Oct 12, 2024
1 parent a0f3c86 commit 088d725
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 @@ -141,6 +141,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 @@ -236,6 +237,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 @@ -561,6 +563,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 @@ -743,6 +746,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:complexType>
Expand Down Expand Up @@ -868,6 +872,21 @@
</xs:annotation>
</xs:attribute>
</xs:attributeGroup>
<xs:attributeGroup name="scenarioRefGrp">
<xs:annotation>
<xs:documentation>A reference to a scenario by its key identifiers</xs:documentation>
</xs:annotation>
<xs:attribute name="scenarioRefId" type="fixr:id_t" default="1" 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" default="base">
<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 088d725

Please sign in to comment.