Project

General

Profile

« Previous | Next » 

Revision 29876

Updated documentation to state which fields is applicable only to datasets or only to publications (see #744 and Result.proto)

View differences:

oaf-result-0.2.xsd
61 61
				<xs:element name="source" type="inferenceExtendedStringType">
62 62
					<xs:annotation>
63 63
						<xs:documentation>The semantics of this field is inherited from
64
							dc:source in Dublin Core.
64
							dc:source in Dublin Core. 
65 65
						</xs:documentation>
66 66
					</xs:annotation>
67 67
				</xs:element>
......
72 72
				<xs:element name="resourcetype" type="optionalClassedSchemedElement">
73 73
					<xs:annotation>
74 74
						<xs:documentation>
75
							Type of the resource, for example: article, thesis, etc.
76
							<p>For allowed values check:
77
								$vocabulariesURL$/dnet:publication_resource
78
							</p>
75
						This field is valid only if resulttype is "dataset". It expresses the nature of the dataset.
76
						<p>For allowed values check:
77
							$vocabulariesURL$/dnet:publication_resource
78
						</p>
79 79
						</xs:documentation>
80 80
					</xs:annotation>
81 81
				</xs:element>
82
				<xs:element name="device" type="inferenceExtendedStringType" />
83
				<xs:element name="size" type="inferenceExtendedStringType" />
84
				<xs:element name="format" type="inferenceExtendedStringType" />
85
				<xs:element name="version" type="inferenceExtendedStringType" />
86
				<xs:element name="lastmetadataupdate" type="inferenceExtendedStringType" />
87
				<xs:element name="metadataversionnumber" type="inferenceExtendedStringType" />
82
				<xs:element name="device" type="inferenceExtendedStringType">
83
					<xs:annotation>
84
						<xs:documentation>
85
						This field is valid only if resulttype is "dataset". It contains information about the device used to generate the dataset.
86
						</xs:documentation>
87
					</xs:annotation>
88
				</xs:element>
89
				<xs:element name="size" type="inferenceExtendedStringType">
90
					<xs:annotation>
91
						<xs:documentation>
92
						This field is valid only if resulttype is "dataset". It contains information about the size of the dataset.
93
						</xs:documentation>
94
					</xs:annotation>
95
				</xs:element>
96
				<xs:element name="format" type="inferenceExtendedStringType">
97
					<xs:annotation>
98
						<xs:documentation>
99
						This field is valid only if resulttype is "dataset". It contains information about the format of the dataset.
100
						</xs:documentation>
101
					</xs:annotation>
102
				</xs:element>
103
				<xs:element name="version" type="inferenceExtendedStringType">
104
					<xs:annotation>
105
						<xs:documentation>
106
						This field is valid only if resulttype is "dataset". It contains information about the version of the dataset.
107
						</xs:documentation>
108
					</xs:annotation>
109
				</xs:element>
110
				<xs:element name="lastmetadataupdate" type="inferenceExtendedStringType">
111
				<xs:annotation>
112
						<xs:documentation>
113
						This field is valid only if resulttype is "dataset". It is the last update date of the metadata of the dataset.
114
						</xs:documentation>
115
					</xs:annotation>
116
				</xs:element>
117
				<xs:element name="metadataversionnumber" type="inferenceExtendedStringType">
118
				<xs:annotation>
119
						<xs:documentation>
120
						This field is valid only if resulttype is "dataset". It contains information about the version of the metadata of the dataset.
121
						</xs:documentation>
122
					</xs:annotation>
123
				</xs:element>
88 124
				<xs:element name="originalId" type="xs:string" maxOccurs="unbounded" />
89 125
				<xs:element name="collectedfrom" type="namedIdElement"
90 126
					maxOccurs="unbounded">
......
135 171
	</xs:element>
136 172

  
137 173
	<xs:complexType name="journalType">
174
		<xs:annotation>
175
			<xs:documentation>Journal where the publication has been published.Attributes refer to electronic, printed and linking (ISSN-L) ISSN.
176
			This field is applicable when resulttype is "publication". 
177
			</xs:documentation>
178
		</xs:annotation>
138 179
		<xs:simpleContent>
139 180
			<xs:extension base="inferenceExtendedStringType">
140
				<xs:attribute name="eissn" use="optional" />
181
				<xs:attribute name="eissn" use="optional"/>
141 182
				<xs:attribute name="issn" use="optional" />
142 183
				<xs:attribute name="lissn" use="optional" />
143 184
			</xs:extension>

Also available in: Unified diff