|
63 | 63 | <xs:selector xpath="fixr:code"/> |
64 | 64 | <xs:field xpath="@name"/> |
65 | 65 | </xs:key> |
66 | | - <xs:key name="codeIdKey"> |
67 | | - <xs:selector xpath="fixr:code"/> |
68 | | - <xs:field xpath="@id"/> |
69 | | - </xs:key> |
70 | 66 | </xs:element> |
71 | 67 | <xs:element ref="fixr:encodings" minOccurs="0"/> |
72 | 68 | <xs:element name="annotation" type="fixr:annotation" minOccurs="0"/> |
|
249 | 245 | </xs:attribute> |
250 | 246 | </xs:complexType> |
251 | 247 | <!-- Type attribute of a code set definition must reference a valid datatype name --> |
252 | | - <xs:keyref name="codeSetTypeRef" refer="fixr:datatypeKey"> |
| 248 | + <xs:keyref name="codeSetTypeKeyRef" refer="fixr:datatypeKey"> |
253 | 249 | <xs:selector xpath="fixr:codeSets/fixr:codeSet"/> |
254 | 250 | <xs:field xpath="@type"/> |
255 | 251 | </xs:keyref> |
256 | 252 | <!-- Type attribute of a field definition must reference a valid datatype name --> |
257 | | - <xs:keyref name="fieldTypeRef" refer="fixr:datatypeKey"> |
| 253 | + <xs:keyref name="fieldTypeKeyRef" refer="fixr:datatypeKey"> |
258 | 254 | <xs:selector xpath="fixr:fields/fixr:field"/> |
259 | 255 | <xs:field xpath="@type"/> |
260 | 256 | </xs:keyref> |
261 | 257 | <!-- Code set and scenario attributes in a field definition must reference a valid code set name and scenario --> |
262 | | - <xs:keyref name="fieldCodeSetRef" refer="fixr:codeSetNameKey"> |
| 258 | + <xs:keyref name="fieldCodeSetKeyRef" refer="fixr:codeSetNameKey"> |
263 | 259 | <xs:selector xpath="fixr:fields/fixr:field"/> |
264 | 260 | <xs:field xpath="@codeSet"/> |
265 | 261 | <xs:field xpath="@scenario"/> |
266 | 262 | </xs:keyref> |
| 263 | + <!-- A scenario used in a code set definition must be a valid scenario defined in the list of scenarios --> |
| 264 | + <xs:keyref name="codeSetScenarioKeyRef" refer="fixr:scenarioKey"> |
| 265 | + <xs:selector xpath="fixr:codeSets/fixr:codeSet"/> |
| 266 | + <xs:field xpath="@scenario"/> |
| 267 | + </xs:keyref> |
| 268 | + <!-- A scenario used in a component definition must be a valid scenario defined in the list of scenarios --> |
| 269 | + <xs:keyref name="componentScenarioKeyRef" refer="fixr:scenarioKey"> |
| 270 | + <xs:selector xpath="fixr:components/fixr:component"/> |
| 271 | + <xs:field xpath="@scenario"/> |
| 272 | + </xs:keyref> |
| 273 | + <!-- A scenario used in a group definition must be a valid scenario defined in the list of scenarios --> |
| 274 | + <xs:keyref name="groupScenarioKeyRef" refer="fixr:scenarioKey"> |
| 275 | + <xs:selector xpath="fixr:groups/fixr:group"/> |
| 276 | + <xs:field xpath="@scenario"/> |
| 277 | + </xs:keyref> |
| 278 | + <!-- A scenario used in a message definition must be a valid scenario defined in the list of scenarios --> |
| 279 | + <xs:keyref name="messageScenarioKeyRef" refer="fixr:scenarioKey"> |
| 280 | + <xs:selector xpath="fixr:messages/fixr:message"/> |
| 281 | + <xs:field xpath="@scenario"/> |
| 282 | + </xs:keyref> |
267 | 283 | </xs:element> |
268 | 284 | <!-- Scenario definitions --> |
269 | 285 | <xs:element name="scenarios"> |
|
0 commit comments