Project

General

Profile

Revision 2125

Added by Duane Costa over 16 years ago

Remove obsolete schema file

View differences:

lib/harvester/harvesterDocument.xsd
1
<?xml version="1.0" encoding="UTF-8"?>
2
<!-- edited with XMLSPY v5 rel. 4 U (http://www.xmlspy.com) by Matt Jones (NCEAS) -->
3
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" attributeFormDefault="unqualified">
4
  <xs:annotation>
5
    <xs:documentation>This module defines the required information for the harvester to collect documents from the local site. The local system containing this document must give the Metacat Harvester read access to this document.	</xs:documentation>
6
  </xs:annotation>
7
  <xs:annotation>
8
    <xs:appinfo>
9
      <tooltip/>
10
      <summary/>
11
      <description/>
12
    </xs:appinfo>
13
  </xs:annotation>
14
  <xs:element name="harvestDocument">
15
    <xs:annotation>
16
      <xs:documentation>This represents the local document information that is used to inform the Harvester of the docid, document type, and location of the document to be harvested.</xs:documentation>
17
    </xs:annotation>
18
    <xs:complexType>
19
      <xs:sequence>
20
        <xs:element name="document" maxOccurs="unbounded">
21
          <xs:complexType>
22
            <xs:sequence>
23
              <xs:element name="docid">
24
                <xs:annotation>
25
                  <xs:documentation>The complete document identifier to be used by metacat.  The docid is a compound element that gives a scope for the identifier, an integer local identifer that is unique within that scope, and a revision.  Each revision is assumed to specify a unique, non-changing document, so once a particular revision is harvested, there is no need for it to be harvested again.  To trigger a harvest of a document that has been updated, increment the revision number for that identifier.
26
									</xs:documentation>
27
                </xs:annotation>
28
                <xs:complexType>
29
                  <xs:sequence>
30
                    <xs:element name="scope" type="xs:string">
31
                      <xs:annotation>
32
                        <xs:documentation>
33
													The system prefix of a metacat docid that defines the scope within which the identifier is unique.																</xs:documentation>
34
                      </xs:annotation>
35
                    </xs:element>
36
                    <xs:element name="identifier" type="xs:long">
37
                      <xs:annotation>
38
                        <xs:documentation>
39
													The local (site specific) portion of the identifier (docid) that is unique within the context of the scope.
40
												</xs:documentation>
41
                      </xs:annotation>
42
                    </xs:element>
43
                    <xs:element name="revision" type="xs:long">
44
                      <xs:annotation>
45
                        <xs:documentation>The revision identifier for this document, indicating a unique document version.
46
												</xs:documentation>
47
                      </xs:annotation>
48
                    </xs:element>
49
                  </xs:sequence>
50
                </xs:complexType>
51
              </xs:element>
52
              <xs:element name="documentType" type="xs:string">
53
                <xs:annotation>
54
                  <xs:documentation>
55
										The  type of dodument to be harvested, indicated by a namespace string, formal public identifier, mime type, or other type indicator.											</xs:documentation>
56
                </xs:annotation>
57
              </xs:element>
58
              <xs:element name="documentURL" type="xs:anyURI">
59
                <xs:annotation>
60
                  <xs:documentation>
61
										The documentURL field contains the URL of the document to be harvested. The Metacat harvester must be given read access to the contents at this URL.
62
									</xs:documentation>
63
                </xs:annotation>
64
              </xs:element>
65
            </xs:sequence>
66
          </xs:complexType>
67
        </xs:element>
68
      </xs:sequence>
69
    </xs:complexType>
70
  </xs:element>
71
</xs:schema>
72 0

  

Also available in: Unified diff