Project

General

Profile

« Previous | Next » 

Revision 28097

#513: added inference attributes to properties of datasource, org, person, and project

View differences:

oaf-common-0.2.xsd
20 20
      </xs:extension>
21 21
    </xs:simpleContent>
22 22
  </xs:complexType>
23
  
24
  <xs:complexType mixed="true" name="inferenceExtendedBooleanType">
25
    <xs:annotation>
26
      <xs:documentation>XML elements of this type are simple booleans, but in cases where their
27
        values have been inferred by Openaire inference algorithms, the elements features some
28
        attributes describing the inference algorithm. This way it is easy to understand if a value
29
        comes from the originally imported data or if it has been added later for enrichment.
30
      </xs:documentation>
31
    </xs:annotation>
32
    <xs:simpleContent>
33
      <xs:extension base="xs:boolean">
34
        <xs:attributeGroup ref="optionalInferenceAttrGroup"/>
35
      </xs:extension>
36
    </xs:simpleContent>
37
  </xs:complexType>
23 38

  
24 39
  <xs:attributeGroup name="optionalInferenceAttrGroup">
25 40
    <xs:attribute name="inferred" use="optional" type="xs:boolean">
......
106 121
  <xs:complexType name="namedIdElement">
107 122
    <xs:attribute name="id" use="required"/>
108 123
    <xs:attribute name="name" use="required"/>
124
    <xs:attributeGroup ref="optionalInferenceAttrGroup"/>
109 125
  </xs:complexType>
110 126

  
111 127
  <xs:complexType name="labeledIdElement">
112 128
    <xs:attribute name="id" use="required"/>
113 129
    <xs:attribute name="label" use="required"/>
130
    <xs:attributeGroup ref="optionalInferenceAttrGroup"/>
114 131
  </xs:complexType>
115 132

  
116 133
  <xs:complexType name="datainfoType">

Also available in: Unified diff