Revision 40633
Added by Sandro La Bruzzo over 8 years ago
modules/dli-service-portal/trunk/static/res/DLIFMetadataFormat.xsd | ||
---|---|---|
1 |
<?xml version="1.0" encoding="UTF-8"?> |
|
2 |
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:dli="http://www.dli.eu" |
|
3 |
elementFormDefault="qualified" targetNamespace="http://www.dli.eu"> |
|
4 |
<xs:element name="dliObject" type="dli:dliEntity"> |
|
5 |
<xs:annotation> |
|
6 |
<xs:documentation> |
|
7 |
The Data Literature Interlinking entity. It contains the following main entities |
|
8 |
(sub-entities): artifact/inscription, visual representation, documental manifestation, trismegistos card. |
|
9 |
Such entities share some common properties like resource identifier in D-Net aggregation system, |
|
10 |
provenance and original identifier information, Intellectual property right statement. |
|
11 |
</xs:documentation> |
|
12 |
</xs:annotation> |
|
13 |
</xs:element> |
|
14 |
|
|
15 |
<xs:complexType name="dliEntity"> |
|
16 |
<xs:sequence> |
|
17 |
<xs:element maxOccurs="1" minOccurs="1" name="dnetResourceIdentifier" type="xs:string"> |
|
18 |
<xs:annotation> |
|
19 |
<xs:documentation> |
|
20 |
Unique resource identifier internal to D-Net infrastructure. |
|
21 |
This property is obtained by concatenating the content CP Acronym and the |
|
22 |
MD5 of local record ID to the identifier. (CP_ACRONYM::MD5(LOCAL_IDENTIFIER)) |
|
23 |
</xs:documentation> |
|
24 |
</xs:annotation> |
|
25 |
</xs:element> |
|
26 |
<xs:element maxOccurs="1" minOccurs="1" name="localIdentifier" type="dli:identifier"> |
|
27 |
<xs:annotation> |
|
28 |
<xs:documentation> |
|
29 |
The local identifier of the record |
|
30 |
</xs:documentation> |
|
31 |
</xs:annotation> |
|
32 |
</xs:element> |
|
33 |
<xs:element name="title" type="xs:string" minOccurs="0" maxOccurs="unbounded"/> |
|
34 |
<xs:element name="date" type="xs:string"/> |
|
35 |
<xs:element name="objectType" maxOccurs="1" minOccurs="1" type="dli:objectType"/> |
|
36 |
|
|
37 |
<xs:element name="authors"> |
|
38 |
<xs:complexType> |
|
39 |
<xs:sequence> |
|
40 |
<xs:element name="author" type="dli:authorType" maxOccurs="unbounded"/> |
|
41 |
</xs:sequence> |
|
42 |
</xs:complexType> |
|
43 |
</xs:element> |
|
44 |
|
|
45 |
<xs:element name="relations"> |
|
46 |
<xs:complexType> |
|
47 |
<xs:sequence> |
|
48 |
<xs:element name="relation" type="dli:realtionType" maxOccurs="unbounded"/> |
|
49 |
</xs:sequence> |
|
50 |
</xs:complexType> |
|
51 |
</xs:element> |
|
52 |
|
|
53 |
</xs:sequence> |
|
54 |
</xs:complexType> |
|
55 |
|
|
56 |
<xs:simpleType name="objectType"> |
|
57 |
<xs:restriction base="xs:string"> |
|
58 |
<xs:enumeration value="publication"/> |
|
59 |
<xs:enumeration value="dataset"/> |
|
60 |
</xs:restriction> |
|
61 |
</xs:simpleType> |
|
62 |
|
|
63 |
|
|
64 |
<xs:complexType name="realtionType"> |
|
65 |
<xs:sequence> |
|
66 |
<xs:element name="entitytype" type="dli:objectType"></xs:element> |
|
67 |
<xs:element name="pid" type="dli:identifier" minOccurs="1" maxOccurs="1"/> |
|
68 |
<xs:element name="resolvedURL" type="xs:string" maxOccurs="1"/> |
|
69 |
<xs:element name="typeOfRelation" maxOccurs="1"> |
|
70 |
<xs:simpleType> |
|
71 |
<xs:restriction base="xs:string"> |
|
72 |
<xs:enumeration value="relatedTo"/> |
|
73 |
</xs:restriction> |
|
74 |
</xs:simpleType> |
|
75 |
</xs:element> |
|
76 |
</xs:sequence> |
|
77 |
</xs:complexType> |
|
78 |
|
|
79 |
|
|
80 |
<xs:complexType name="authorType"> |
|
81 |
<xs:sequence> |
|
82 |
<xs:element name="fullname" type="xs:string" minOccurs="1" maxOccurs="1"/> |
|
83 |
<xs:element name="localIdentifier" type="xs:string" maxOccurs="1"/> |
|
84 |
<xs:element name="typeOfIdentifier" type="xs:string" maxOccurs="1"/> |
|
85 |
</xs:sequence> |
|
86 |
|
|
87 |
</xs:complexType> |
|
88 |
|
|
89 |
|
|
90 |
<xs:complexType name="identifier"> |
|
91 |
<xs:simpleContent> |
|
92 |
<xs:extension base="xs:string"> |
|
93 |
<xs:attribute name="type" type="xs:string" use="required"/> |
|
94 |
</xs:extension> |
|
95 |
</xs:simpleContent> |
|
96 |
</xs:complexType> |
|
97 |
|
|
98 |
|
|
99 |
</xs:schema> |
Also available in: Unified diff
added missing schema