annotate conf/domain-suffixes.xsd @ 0:3b37d71af924 default tip

iniitial
author dwinter
date Tue, 26 Feb 2013 15:50:30 +0100
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
3b37d71af924 iniitial
dwinter
parents:
diff changeset
1 <?xml version="1.0" encoding="UTF-8"?>
3b37d71af924 iniitial
dwinter
parents:
diff changeset
2 <!--
3b37d71af924 iniitial
dwinter
parents:
diff changeset
3 Licensed to the Apache Software Foundation (ASF) under one or more
3b37d71af924 iniitial
dwinter
parents:
diff changeset
4 contributor license agreements. See the NOTICE file distributed with
3b37d71af924 iniitial
dwinter
parents:
diff changeset
5 this work for additional information regarding copyright ownership.
3b37d71af924 iniitial
dwinter
parents:
diff changeset
6 The ASF licenses this file to You under the Apache License, Version 2.0
3b37d71af924 iniitial
dwinter
parents:
diff changeset
7 (the "License"); you may not use this file except in compliance with
3b37d71af924 iniitial
dwinter
parents:
diff changeset
8 the License. You may obtain a copy of the License at
3b37d71af924 iniitial
dwinter
parents:
diff changeset
9
3b37d71af924 iniitial
dwinter
parents:
diff changeset
10 http://www.apache.org/licenses/LICENSE-2.0
3b37d71af924 iniitial
dwinter
parents:
diff changeset
11
3b37d71af924 iniitial
dwinter
parents:
diff changeset
12 Unless required by applicable law or agreed to in writing, software
3b37d71af924 iniitial
dwinter
parents:
diff changeset
13 distributed under the License is distributed on an "AS IS" BASIS,
3b37d71af924 iniitial
dwinter
parents:
diff changeset
14 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
3b37d71af924 iniitial
dwinter
parents:
diff changeset
15 See the License for the specific language governing permissions and
3b37d71af924 iniitial
dwinter
parents:
diff changeset
16 limitations under the License.
3b37d71af924 iniitial
dwinter
parents:
diff changeset
17 -->
3b37d71af924 iniitial
dwinter
parents:
diff changeset
18
3b37d71af924 iniitial
dwinter
parents:
diff changeset
19 <!--
3b37d71af924 iniitial
dwinter
parents:
diff changeset
20 Document : domain-suffixes.xsd
3b37d71af924 iniitial
dwinter
parents:
diff changeset
21 Author : Enis Soztutar - enis.soz.nutch@gmail.com
3b37d71af924 iniitial
dwinter
parents:
diff changeset
22 Description: This document is the schema for valid domain-suffixes
3b37d71af924 iniitial
dwinter
parents:
diff changeset
23 definitions. For successful parsing of domain-suffixes xml files,
3b37d71af924 iniitial
dwinter
parents:
diff changeset
24 the xml file should be validated with this xsd.
3b37d71af924 iniitial
dwinter
parents:
diff changeset
25 See : org.apache.nutch.util.domain.DomainSuffixesReader.java
3b37d71af924 iniitial
dwinter
parents:
diff changeset
26 -->
3b37d71af924 iniitial
dwinter
parents:
diff changeset
27
3b37d71af924 iniitial
dwinter
parents:
diff changeset
28 <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
3b37d71af924 iniitial
dwinter
parents:
diff changeset
29 targetNamespace="http://lucene.apache.org/nutch"
3b37d71af924 iniitial
dwinter
parents:
diff changeset
30 xmlns="http://lucene.apache.org/nutch"
3b37d71af924 iniitial
dwinter
parents:
diff changeset
31 elementFormDefault="qualified">
3b37d71af924 iniitial
dwinter
parents:
diff changeset
32
3b37d71af924 iniitial
dwinter
parents:
diff changeset
33 <xs:element name="domains">
3b37d71af924 iniitial
dwinter
parents:
diff changeset
34 <xs:complexType>
3b37d71af924 iniitial
dwinter
parents:
diff changeset
35 <xs:sequence>
3b37d71af924 iniitial
dwinter
parents:
diff changeset
36 <xs:element name="tlds">
3b37d71af924 iniitial
dwinter
parents:
diff changeset
37 <xs:complexType>
3b37d71af924 iniitial
dwinter
parents:
diff changeset
38 <xs:sequence>
3b37d71af924 iniitial
dwinter
parents:
diff changeset
39 <xs:element name="itlds">
3b37d71af924 iniitial
dwinter
parents:
diff changeset
40 <xs:complexType>
3b37d71af924 iniitial
dwinter
parents:
diff changeset
41 <xs:sequence>
3b37d71af924 iniitial
dwinter
parents:
diff changeset
42 <xs:element name="tld" maxOccurs="unbounded"
3b37d71af924 iniitial
dwinter
parents:
diff changeset
43 type="gtld" />
3b37d71af924 iniitial
dwinter
parents:
diff changeset
44 </xs:sequence>
3b37d71af924 iniitial
dwinter
parents:
diff changeset
45 </xs:complexType>
3b37d71af924 iniitial
dwinter
parents:
diff changeset
46 </xs:element>
3b37d71af924 iniitial
dwinter
parents:
diff changeset
47
3b37d71af924 iniitial
dwinter
parents:
diff changeset
48 <xs:element name="gtlds">
3b37d71af924 iniitial
dwinter
parents:
diff changeset
49 <xs:complexType>
3b37d71af924 iniitial
dwinter
parents:
diff changeset
50 <xs:sequence>
3b37d71af924 iniitial
dwinter
parents:
diff changeset
51 <xs:element name="tld" maxOccurs="unbounded"
3b37d71af924 iniitial
dwinter
parents:
diff changeset
52 type="gtld" />
3b37d71af924 iniitial
dwinter
parents:
diff changeset
53 </xs:sequence>
3b37d71af924 iniitial
dwinter
parents:
diff changeset
54 </xs:complexType>
3b37d71af924 iniitial
dwinter
parents:
diff changeset
55 </xs:element>
3b37d71af924 iniitial
dwinter
parents:
diff changeset
56
3b37d71af924 iniitial
dwinter
parents:
diff changeset
57 <xs:element name="cctlds">
3b37d71af924 iniitial
dwinter
parents:
diff changeset
58 <xs:complexType>
3b37d71af924 iniitial
dwinter
parents:
diff changeset
59 <xs:sequence>
3b37d71af924 iniitial
dwinter
parents:
diff changeset
60 <xs:element name="tld" maxOccurs="unbounded"
3b37d71af924 iniitial
dwinter
parents:
diff changeset
61 type="cctld" />
3b37d71af924 iniitial
dwinter
parents:
diff changeset
62 </xs:sequence>
3b37d71af924 iniitial
dwinter
parents:
diff changeset
63 </xs:complexType>
3b37d71af924 iniitial
dwinter
parents:
diff changeset
64 </xs:element>
3b37d71af924 iniitial
dwinter
parents:
diff changeset
65
3b37d71af924 iniitial
dwinter
parents:
diff changeset
66 </xs:sequence>
3b37d71af924 iniitial
dwinter
parents:
diff changeset
67 </xs:complexType>
3b37d71af924 iniitial
dwinter
parents:
diff changeset
68 </xs:element>
3b37d71af924 iniitial
dwinter
parents:
diff changeset
69
3b37d71af924 iniitial
dwinter
parents:
diff changeset
70 <xs:element name="suffixes">
3b37d71af924 iniitial
dwinter
parents:
diff changeset
71 <xs:complexType>
3b37d71af924 iniitial
dwinter
parents:
diff changeset
72 <xs:sequence>
3b37d71af924 iniitial
dwinter
parents:
diff changeset
73 <xs:element name="suffix" maxOccurs="unbounded"
3b37d71af924 iniitial
dwinter
parents:
diff changeset
74 type="sldType" />
3b37d71af924 iniitial
dwinter
parents:
diff changeset
75 </xs:sequence>
3b37d71af924 iniitial
dwinter
parents:
diff changeset
76 </xs:complexType>
3b37d71af924 iniitial
dwinter
parents:
diff changeset
77 </xs:element>
3b37d71af924 iniitial
dwinter
parents:
diff changeset
78 </xs:sequence>
3b37d71af924 iniitial
dwinter
parents:
diff changeset
79 </xs:complexType>
3b37d71af924 iniitial
dwinter
parents:
diff changeset
80 </xs:element>
3b37d71af924 iniitial
dwinter
parents:
diff changeset
81
3b37d71af924 iniitial
dwinter
parents:
diff changeset
82 <xs:complexType name="gtld">
3b37d71af924 iniitial
dwinter
parents:
diff changeset
83 <xs:sequence>
3b37d71af924 iniitial
dwinter
parents:
diff changeset
84 <xs:element name="status" minOccurs="0">
3b37d71af924 iniitial
dwinter
parents:
diff changeset
85 <xs:simpleType>
3b37d71af924 iniitial
dwinter
parents:
diff changeset
86 <xs:restriction base="xs:string">
3b37d71af924 iniitial
dwinter
parents:
diff changeset
87 <xs:enumeration value="INFRASTRUCTURE" />
3b37d71af924 iniitial
dwinter
parents:
diff changeset
88 <xs:enumeration value="SPONSORED" />
3b37d71af924 iniitial
dwinter
parents:
diff changeset
89 <xs:enumeration value="UNSPONSORED" />
3b37d71af924 iniitial
dwinter
parents:
diff changeset
90 <xs:enumeration value="STARTUP" />
3b37d71af924 iniitial
dwinter
parents:
diff changeset
91 <xs:enumeration value="PROPOSED" />
3b37d71af924 iniitial
dwinter
parents:
diff changeset
92 <xs:enumeration value="DELETED" />
3b37d71af924 iniitial
dwinter
parents:
diff changeset
93 <xs:enumeration value="PSEUDO_DOMAIN" />
3b37d71af924 iniitial
dwinter
parents:
diff changeset
94 </xs:restriction>
3b37d71af924 iniitial
dwinter
parents:
diff changeset
95 </xs:simpleType>
3b37d71af924 iniitial
dwinter
parents:
diff changeset
96 </xs:element>
3b37d71af924 iniitial
dwinter
parents:
diff changeset
97 <xs:element name="boost" type="xs:float" minOccurs="0" />
3b37d71af924 iniitial
dwinter
parents:
diff changeset
98 <xs:element name="description" type="xs:string" minOccurs="0" />
3b37d71af924 iniitial
dwinter
parents:
diff changeset
99 </xs:sequence>
3b37d71af924 iniitial
dwinter
parents:
diff changeset
100 <xs:attribute name="domain" type="xs:string" />
3b37d71af924 iniitial
dwinter
parents:
diff changeset
101 </xs:complexType>
3b37d71af924 iniitial
dwinter
parents:
diff changeset
102
3b37d71af924 iniitial
dwinter
parents:
diff changeset
103 <xs:complexType name="cctld">
3b37d71af924 iniitial
dwinter
parents:
diff changeset
104 <xs:sequence>
3b37d71af924 iniitial
dwinter
parents:
diff changeset
105 <xs:element name="country" type="xs:string" />
3b37d71af924 iniitial
dwinter
parents:
diff changeset
106 <xs:element name="status" type="statusType" minOccurs="0" />
3b37d71af924 iniitial
dwinter
parents:
diff changeset
107 <xs:element name="boost" type="xs:float" minOccurs="0" />
3b37d71af924 iniitial
dwinter
parents:
diff changeset
108 <xs:element name="description" type="xs:string" minOccurs="0" />
3b37d71af924 iniitial
dwinter
parents:
diff changeset
109 </xs:sequence>
3b37d71af924 iniitial
dwinter
parents:
diff changeset
110 <xs:attribute name="domain" type="xs:string" />
3b37d71af924 iniitial
dwinter
parents:
diff changeset
111 </xs:complexType>
3b37d71af924 iniitial
dwinter
parents:
diff changeset
112
3b37d71af924 iniitial
dwinter
parents:
diff changeset
113 <xs:complexType name="sldType">
3b37d71af924 iniitial
dwinter
parents:
diff changeset
114 <xs:sequence>
3b37d71af924 iniitial
dwinter
parents:
diff changeset
115 <xs:element name="status" type="statusType" minOccurs="0" />
3b37d71af924 iniitial
dwinter
parents:
diff changeset
116 <xs:element name="boost" type="xs:float" minOccurs="0" />
3b37d71af924 iniitial
dwinter
parents:
diff changeset
117 <xs:element name="description" type="xs:string" minOccurs="0" />
3b37d71af924 iniitial
dwinter
parents:
diff changeset
118 </xs:sequence>
3b37d71af924 iniitial
dwinter
parents:
diff changeset
119 <xs:attribute name="domain" type="xs:string" />
3b37d71af924 iniitial
dwinter
parents:
diff changeset
120 </xs:complexType>
3b37d71af924 iniitial
dwinter
parents:
diff changeset
121
3b37d71af924 iniitial
dwinter
parents:
diff changeset
122 <xs:simpleType name="statusType">
3b37d71af924 iniitial
dwinter
parents:
diff changeset
123 <xs:restriction base="xs:string">
3b37d71af924 iniitial
dwinter
parents:
diff changeset
124 <xs:enumeration value="IN_USE" />
3b37d71af924 iniitial
dwinter
parents:
diff changeset
125 <xs:enumeration value="NOT_IN_USE" />
3b37d71af924 iniitial
dwinter
parents:
diff changeset
126 <xs:enumeration value="DELETED" />
3b37d71af924 iniitial
dwinter
parents:
diff changeset
127 </xs:restriction>
3b37d71af924 iniitial
dwinter
parents:
diff changeset
128 </xs:simpleType>
3b37d71af924 iniitial
dwinter
parents:
diff changeset
129
3b37d71af924 iniitial
dwinter
parents:
diff changeset
130 </xs:schema>