Project

General

Profile

Revision fbeefcaf

IDfbeefcaf37895a96e07f0e071710aa89bee47cd5
Parent f476ff86
Child 741a4c05

Added by Andreas Müller about 5 years ago

ref #5974 Replace synonymRelationshipType by SynonymType and replace some other occurrences of synonym relationship

View differences:

cdmlib-io/src/main/resources/schema/cdm/taxon.xsd
18 18

  
19 19
  <xs:element name="Synonym" type="taxon:Synonym"/>
20 20

  
21
  <xs:element name="SynonymRelationship" type="taxon:SynonymRelationship"/>
22

  
23
  <xs:element name="SynonymRelationshipType" type="taxon:SynonymRelationshipType"/>
21
  <xs:element name="SynonymType" type="taxon:SynonymType"/>
24 22

  
25 23
  <xs:element name="Taxon" type="taxon:Taxon"/>
26 24

  
......
43 41
              </xs:sequence>
44 42
            </xs:complexType>
45 43
          </xs:element>
46
          <xs:element name="SynonymRelations" minOccurs="0" nillable="true">
47
            <xs:complexType>
48
              <xs:sequence>
49
                <xs:element ref="taxon:SynonymRelationship" minOccurs="0" maxOccurs="unbounded"/>
50
              </xs:sequence>
51
            </xs:complexType>
52
          </xs:element>
53 44
          <xs:element name="RelationsFromThisTaxon" minOccurs="0" nillable="true">
54 45
            <xs:complexType>
55 46
              <xs:sequence>
......
137 128
    <xs:complexContent>
138 129
      <xs:extension base="taxon:TaxonBase">
139 130
        <xs:sequence>
140
          <xs:element name="SynonymRelations" minOccurs="0" nillable="true">
141
            <xs:complexType>
142
              <xs:sequence>
143
                <xs:element ref="taxon:SynonymRelationship" minOccurs="0" maxOccurs="unbounded"/>
144
              </xs:sequence>
145
            </xs:complexType>
146
          </xs:element>
147
        </xs:sequence>
148
      </xs:extension>
149
    </xs:complexContent>
150
  </xs:complexType>
151

  
152
  <xs:complexType name="SynonymRelationship">
153
    <xs:complexContent>
154
      <xs:extension base="common:RelationshipBase">
155
        <xs:sequence>
156
          <xs:element name="RelatedFrom" type="xs:IDREF" minOccurs="0"/>
157
          <xs:element name="RelatedTo" type="xs:IDREF" minOccurs="0"/>
131
          <xs:element name="AcceptedTaxon" type="xs:IDREF" minOccurs="0"/>
158 132
          <xs:element name="Type" type="xs:IDREF" minOccurs="0"/>
159 133
          <xs:element name="IsProParte" type="xs:boolean"/>
160 134
          <xs:element name="IsPartial" type="xs:boolean"/>
......
163 137
    </xs:complexContent>
164 138
  </xs:complexType>
165 139

  
166
  <xs:complexType name="SynonymRelationshipType">
140
  <xs:complexType name="SynonymType">
167 141
    <xs:complexContent>
168 142
      <xs:extension base="common:RelationshipTermBase">
169 143
        <xs:sequence/>

Also available in: Unified diff

Add picture from clipboard (Maximum size: 40 MB)