1<?xml-stylesheet type="text/xsl" href="D:\java\projekte\lbgr_lgb_catalog\webapps\csw\WEB-INF\conf\csw\out_csw_profile.xsl"?> 2<xsd:schema xmlns="http://www.deegree.org/wfs" xmlns:gml="http://www.opengis.net/gml" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:deegreewfs="http://www.deegree.org/wfs" xmlns:ogc="http://www.opengis.net/ogc" xmlns:app="http://www.deegree.org/app" targetNamespace="http://www.deegree.org/app" elementFormDefault="qualified" attributeFormDefault="unqualified"> 3 <!-- 4 <xsd:import namespace="http://www.opengis.net/gml" 5 schemaLocation="http://schemas.opengis.net/gml/3.1.1/base/feature.xsd"/> 6 <xsd:import namespace="http://www.opengis.net/gml" 7 schemaLocation="http://schemas.opengis.net/gml/3.1.1/base/geometryAggregates.xsd"/> 8 --> 9 <xsd:import namespace="http://www.opengis.net/gml" schemaLocation="../schema/gml/3.1.1/base/feature.xsd"/> 10 <xsd:import namespace="http://www.opengis.net/gml" schemaLocation="../schema/gml/3.1.1/base/geometryAggregates.xsd"/> 11 <!-- configuration for the persistence backend to be used --> 12 <xsd:annotation> 13 <xsd:appinfo> 14 <deegreewfs:Prefix>app</deegreewfs:Prefix> 15 <deegreewfs:Backend>POSTGIS</deegreewfs:Backend> 16 <deegreewfs:DefaultSRS>EPSG:4326</deegreewfs:DefaultSRS> 17 <JDBCConnection xmlns="http://www.deegree.org/jdbc"> 18 <Driver>org.postgresql.Driver</Driver> 19 <Url>jdbc:postgresql://localhost:5432/csw_blob</Url> 20 <User>postgres</User> 21 <Password>postgres</Password> 22 <SecurityConstraints/> 23 <Encoding>iso-8859-1</Encoding> 24 </JDBCConnection> 25 <deegreewfs:SuppressXLinkOutput>true</deegreewfs:SuppressXLinkOutput> 26 </xsd:appinfo> 27 </xsd:annotation> 28 <!-- ============================================================== --> 29 <xsd:element name="CQP_Main" type="app:CQP_MainType" substitutionGroup="gml:_Feature"> 30 <xsd:annotation> 31 <xsd:appinfo> 32 <deegreewfs:table>CQP_Main</deegreewfs:table> 33 <deegreewfs:gmlId prefix="CQP_Main_"> 34 <deegreewfs:MappingField field="ID" type="INTEGER"/> 35 <deegreewfs:IdGenerator type="DB_SEQ"> 36 <deegreewfs:param name="sequence">CQP_Main_ID_seq</deegreewfs:param> 37 </deegreewfs:IdGenerator> 38 <deegreewfs:IdentityPart>true</deegreewfs:IdentityPart> 39 </deegreewfs:gmlId> 40 <deegreewfs:transaction update="true" delete="true" insert="true"/> 41 </xsd:appinfo> 42 </xsd:annotation> 43 </xsd:element> 44 <!-- ============================================================== --> 45 <xsd:complexType name="CQP_MainType"> 46 <xsd:complexContent> 47 <xsd:extension base="gml:AbstractFeatureType"> 48 <xsd:sequence> 49 <xsd:element name="subject" type="xsd:string" minOccurs="0"> 50 <xsd:annotation> 51 <xsd:appinfo> 52 <deegreewfs:Content> 53 <deegreewfs:MappingField field="subject" type="VARCHAR"/> 54 </deegreewfs:Content> 55 </xsd:appinfo> 56 </xsd:annotation> 57 </xsd:element> 58 <xsd:element name="title" type="xsd:string" minOccurs="0"> 59 <xsd:annotation> 60 <xsd:appinfo> 61 <deegreewfs:Content> 62 <deegreewfs:MappingField field="title" type="VARCHAR"/> 63 </deegreewfs:Content> 64 </xsd:appinfo> 65 </xsd:annotation> 66 </xsd:element> 67 <xsd:element name="abstract" type="xsd:string" minOccurs="0"> 68 <xsd:annotation> 69 <xsd:appinfo> 70 <deegreewfs:Content> 71 <deegreewfs:MappingField field="abstract" type="VARCHAR"/> 72 </deegreewfs:Content> 73 </xsd:appinfo> 74 </xsd:annotation> 75 </xsd:element> 76 <xsd:element name="anyText" type="xsd:string" minOccurs="0"> 77 <xsd:annotation> 78 <xsd:appinfo> 79 <deegreewfs:Content> 80 <deegreewfs:MappingField field="anyText" type="VARCHAR"/> 81 </deegreewfs:Content> 82 </xsd:appinfo> 83 </xsd:annotation> 84 </xsd:element> 85 <xsd:element name="identifier" type="xsd:string" minOccurs="0"> 86 <xsd:annotation> 87 <xsd:appinfo> 88 <deegreewfs:Content> 89 <deegreewfs:MappingField field="identifier" type="VARCHAR"/> 90 </deegreewfs:Content> 91 </xsd:appinfo> 92 </xsd:annotation> 93 </xsd:element> 94 <xsd:element name="modified" type="xsd:dateTime" minOccurs="0"> 95 <xsd:annotation> 96 <xsd:appinfo> 97 <deegreewfs:Content> 98 <deegreewfs:MappingField field="modified" type="TIMESTAMP"/> 99 </deegreewfs:Content> 100 </xsd:appinfo> 101 </xsd:annotation> 102 </xsd:element> 103 <xsd:element name="type" type="xsd:string" minOccurs="0"> 104 <xsd:annotation> 105 <xsd:appinfo> 106 <deegreewfs:Content> 107 <deegreewfs:MappingField field="type" type="VARCHAR"/> 108 </deegreewfs:Content> 109 </xsd:appinfo> 110 </xsd:annotation> 111 </xsd:element> 112 <xsd:element name="extentBegin" type="xsd:dateTime" minOccurs="0"> 113 <xsd:annotation> 114 <xsd:appinfo> 115 <deegreewfs:Content> 116 <deegreewfs:MappingField field="extentBegin" type="TIMESTAMP"/> 117 </deegreewfs:Content> 118 </xsd:appinfo> 119 </xsd:annotation> 120 </xsd:element> 121 <xsd:element name="extentEnd" type="xsd:dateTime" minOccurs="0"> 122 <xsd:annotation> 123 <xsd:appinfo> 124 <deegreewfs:Content> 125 <deegreewfs:MappingField field="extentEnd" type="TIMESTAMP"/> 126 </deegreewfs:Content> 127 </xsd:appinfo> 128 </xsd:annotation> 129 </xsd:element> 130 <xsd:element name="revisionDate" type="xsd:dateTime" minOccurs="0"> 131 <xsd:annotation> 132 <xsd:appinfo> 133 <deegreewfs:Content> 134 <deegreewfs:MappingField field="revisionDate" type="TIMESTAMP"/> 135 </deegreewfs:Content> 136 </xsd:appinfo> 137 </xsd:annotation> 138 </xsd:element> 139 <xsd:element name="creationDate" type="xsd:dateTime" minOccurs="0"> 140 <xsd:annotation> 141 <xsd:appinfo> 142 <deegreewfs:Content> 143 <deegreewfs:MappingField field="creationDate" type="TIMESTAMP"/> 144 </deegreewfs:Content> 145 </xsd:appinfo> 146 </xsd:annotation> 147 </xsd:element> 148 <xsd:element name="publicationDate" type="xsd:dateTime" minOccurs="0" maxOccurs="unbounded"> 149 <xsd:annotation> 150 <xsd:appinfo> 151 <deegreewfs:Content> 152 <deegreewfs:MappingField field="publicationDate" type="TIMESTAMP"/> 153 </deegreewfs:Content> 154 </xsd:appinfo> 155 </xsd:annotation> 156 </xsd:element> 157 <xsd:element name="alternateTitle" type="xsd:string" minOccurs="0"> 158 <xsd:annotation> 159 <xsd:appinfo> 160 <deegreewfs:Content> 161 <deegreewfs:MappingField field="alternateTitle" type="VARCHAR"/> 162 </deegreewfs:Content> 163 </xsd:appinfo> 164 </xsd:annotation> 165 </xsd:element> 166 <xsd:element name="resourceIdentifier" type="xsd:string" minOccurs="0"> 167 <xsd:annotation> 168 <xsd:appinfo> 169 <deegreewfs:Content> 170 <deegreewfs:MappingField field="resourceIdentifier" type="VARCHAR"/> 171 </deegreewfs:Content> 172 </xsd:appinfo> 173 </xsd:annotation> 174 </xsd:element> 175 <xsd:element name="resourceLanguage" type="xsd:string" minOccurs="0"> 176 <xsd:annotation> 177 <xsd:appinfo> 178 <deegreewfs:Content> 179 <deegreewfs:MappingField field="resourceLanguage" type="VARCHAR"/> 180 </deegreewfs:Content> 181 </xsd:appinfo> 182 </xsd:annotation> 183 </xsd:element> 184 <xsd:element name="geographicDescripionCode" type="xsd:string" minOccurs="0"> 185 <xsd:annotation> 186 <xsd:appinfo> 187 <deegreewfs:Content> 188 <deegreewfs:MappingField field="geographicDescripionCode" type="VARCHAR"/> 189 </deegreewfs:Content> 190 </xsd:appinfo> 191 </xsd:annotation> 192 </xsd:element> 193 <xsd:element name="serviceType" type="xsd:string" minOccurs="0"> 194 <xsd:annotation> 195 <xsd:appinfo> 196 <deegreewfs:Content> 197 <deegreewfs:MappingField field="serviceType" type="VARCHAR"/> 198 </deegreewfs:Content> 199 </xsd:appinfo> 200 </xsd:annotation> 201 </xsd:element> 202 <xsd:element name="bbox" type="gml:FeaturePropertyType" minOccurs="0" maxOccurs="unbounded"> 203 <xsd:annotation> 204 <xsd:appinfo> 205 <deegreewfs:Content type="app:CQP_BBOX"> 206 <deegreewfs:Relation> 207 <deegreewfs:From> 208 <deegreewfs:MappingField field="ID" type="INTEGER"/> 209 </deegreewfs:From> 210 <deegreewfs:To fk="true"> 211 <deegreewfs:MappingField field="FK_CQP_MAIN" type="INTEGER"/> 212 </deegreewfs:To> 213 </deegreewfs:Relation> 214 </deegreewfs:Content> 215 </xsd:appinfo> 216 </xsd:annotation> 217 </xsd:element> 218 <xsd:element name="topicCategory" type="xsd:string" minOccurs="0"> 219 <xsd:annotation> 220 <xsd:appinfo> 221 <deegreewfs:Content> 222 <deegreewfs:MappingField field="topicCategory" type="VARCHAR"/> 223 </deegreewfs:Content> 224 </xsd:appinfo> 225 </xsd:annotation> 226 </xsd:element> 227 <xsd:element name="parentIdentifier" type="xsd:string" minOccurs="0"> 228 <xsd:annotation> 229 <xsd:appinfo> 230 <deegreewfs:Content> 231 <deegreewfs:MappingField field="parentId" type="VARCHAR"/> 232 </deegreewfs:Content> 233 </xsd:appinfo> 234 </xsd:annotation> 235 </xsd:element> 236 <xsd:element name="language" type="xsd:string" minOccurs="0"> 237 <xsd:annotation> 238 <xsd:appinfo> 239 <deegreewfs:Content> 240 <deegreewfs:MappingField field="language" type="VARCHAR"/> 241 </deegreewfs:Content> 242 </xsd:appinfo> 243 </xsd:annotation> 244 </xsd:element> 245 <xsd:element name="lineage" type="xsd:string" minOccurs="0"> 246 <xsd:annotation> 247 <xsd:appinfo> 248 <deegreewfs:Content> 249 <deegreewfs:MappingField field="lineage" type="VARCHAR"/> 250 </deegreewfs:Content> 251 </xsd:appinfo> 252 </xsd:annotation> 253 </xsd:element> 254 <xsd:element name="condAppToAccAndUse" type="xsd:string" minOccurs="0"> 255 <xsd:annotation> 256 <xsd:appinfo> 257 <deegreewfs:Content> 258 <deegreewfs:MappingField field="condAppToAccAndUse" type="VARCHAR"/> 259 </deegreewfs:Content> 260 </xsd:appinfo> 261 </xsd:annotation> 262 </xsd:element> 263 <xsd:element name="accessConstraints" type="xsd:string" minOccurs="0"> 264 <xsd:annotation> 265 <xsd:appinfo> 266 <deegreewfs:Content> 267 <deegreewfs:MappingField field="accessConstraints" type="VARCHAR"/> 268 </deegreewfs:Content> 269 </xsd:appinfo> 270 </xsd:annotation> 271 </xsd:element> 272 <xsd:element name="otherConstraints" type="xsd:string" minOccurs="0"> 273 <xsd:annotation> 274 <xsd:appinfo> 275 <deegreewfs:Content> 276 <deegreewfs:MappingField field="otherConstraints" type="VARCHAR"/> 277 </deegreewfs:Content> 278 </xsd:appinfo> 279 </xsd:annotation> 280 </xsd:element> 281 <xsd:element name="classification" type="xsd:string" minOccurs="0"> 282 <xsd:annotation> 283 <xsd:appinfo> 284 <deegreewfs:Content> 285 <deegreewfs:MappingField field="classification" type="VARCHAR"/> 286 </deegreewfs:Content> 287 </xsd:appinfo> 288 </xsd:annotation> 289 </xsd:element> 290 <xsd:element name="couplingType" type="xsd:string" minOccurs="0"> 291 <xsd:annotation> 292 <xsd:appinfo> 293 <deegreewfs:Content> 294 <deegreewfs:MappingField field="couplingType" type="VARCHAR"/> 295 </deegreewfs:Content> 296 </xsd:appinfo> 297 </xsd:annotation> 298 </xsd:element> 299 <xsd:element name="operation" type="xsd:string" minOccurs="0"> 300 <xsd:annotation> 301 <xsd:appinfo> 302 <deegreewfs:Content> 303 <deegreewfs:MappingField field="operation" type="VARCHAR"/> 304 </deegreewfs:Content> 305 </xsd:appinfo> 306 </xsd:annotation> 307 </xsd:element> 308 <xsd:element name="operatesOn" type="xsd:string" minOccurs="0"> 309 <xsd:annotation> 310 <xsd:appinfo> 311 <deegreewfs:Content> 312 <deegreewfs:MappingField field="operatesOn" type="VARCHAR"/> 313 </deegreewfs:Content> 314 </xsd:appinfo> 315 </xsd:annotation> 316 </xsd:element> 317 <xsd:element name="operatesOnIdentifier" type="xsd:string" minOccurs="0"> 318 <xsd:annotation> 319 <xsd:appinfo> 320 <deegreewfs:Content> 321 <deegreewfs:MappingField field="operatesOnIdentifier" type="VARCHAR"/> 322 </deegreewfs:Content> 323 </xsd:appinfo> 324 </xsd:annotation> 325 </xsd:element> 326 <xsd:element name="operatesOnName" type="xsd:string" minOccurs="0"> 327 <xsd:annotation> 328 <xsd:appinfo> 329 <deegreewfs:Content> 330 <deegreewfs:MappingField field="operatesOnName" type="VARCHAR"/> 331 </deegreewfs:Content> 332 </xsd:appinfo> 333 </xsd:annotation> 334 </xsd:element> 335 <xsd:element name="domainConsistency" type="gml:FeaturePropertyType" minOccurs="0" maxOccurs="unbounded"> 336 <xsd:annotation> 337 <xsd:appinfo> 338 <deegreewfs:Content type="app:CQP_DomainConsistency"> 339 <deegreewfs:Relation> 340 <deegreewfs:From> 341 <deegreewfs:MappingField field="ID" type="INTEGER"/> 342 </deegreewfs:From> 343 <deegreewfs:To fk="true"> 344 <deegreewfs:MappingField field="FK_CQP_MAIN" type="INTEGER"/> 345 </deegreewfs:To> 346 </deegreewfs:Relation> 347 </deegreewfs:Content> 348 </xsd:appinfo> 349 </xsd:annotation> 350 </xsd:element> 351 <xsd:element name="metadataset" type="xsd:string" minOccurs="0"> 352 <xsd:annotation> 353 <xsd:appinfo> 354 <deegreewfs:Content> 355 <deegreewfs:MappingField field="metadataset" type="VARCHAR"/> 356 </deegreewfs:Content> 357 </xsd:appinfo> 358 </xsd:annotation> 359 </xsd:element> 360 </xsd:sequence> 361 </xsd:extension> 362 </xsd:complexContent> 363 </xsd:complexType> 364 <!-- ============================================================== --> 365 <xsd:element name="CQP_BBOX" type="app:CQP_BBOXType" substitutionGroup="gml:_Feature"> 366 <xsd:annotation> 367 <xsd:appinfo> 368 <deegreewfs:table>CQP_BBOX</deegreewfs:table> 369 <deegreewfs:gmlId prefix="CQP_BBOX_"> 370 <deegreewfs:MappingField field="ID" type="INTEGER"/> 371 <deegreewfs:IdGenerator type="DB_SEQ"> 372 <deegreewfs:param name="sequence">CQP_BBOX_ID_seq 373 </deegreewfs:param> 374 </deegreewfs:IdGenerator> 375 <deegreewfs:IdentityPart>true</deegreewfs:IdentityPart> 376 </deegreewfs:gmlId> 377 <deegreewfs:transaction update="true" delete="true" insert="true"/> 378 </xsd:appinfo> 379 </xsd:annotation> 380 </xsd:element> 381 <!-- ============================================================== --> 382 <xsd:complexType name="CQP_BBOXType"> 383 <xsd:complexContent> 384 <xsd:extension base="gml:AbstractFeatureType"> 385 <xsd:sequence> 386 <xsd:element name="geom" type="gml:GeometryPropertyType"> 387 <xsd:annotation> 388 <xsd:appinfo> 389 <deegreewfs:Content> 390 <deegreewfs:MappingField field="geom" type="GEOMETRY" srs="4326"/> 391 </deegreewfs:Content> 392 </xsd:appinfo> 393 </xsd:annotation> 394 </xsd:element> 395 </xsd:sequence> 396 </xsd:extension> 397 </xsd:complexContent> 398 </xsd:complexType> 399 <!-- ============================================================== --> 400 <xsd:element name="CQP_DomainConsistency" type="app:CQP_DomainConsistencyType" substitutionGroup="gml:_Feature"> 401 <xsd:annotation> 402 <xsd:appinfo> 403 <deegreewfs:table>CQP_DomainConsistency</deegreewfs:table> 404 <deegreewfs:gmlId prefix="CQP_DomainConsistency_"> 405 <deegreewfs:MappingField field="ID" type="INTEGER"/> 406 <deegreewfs:IdGenerator type="DB_SEQ"> 407 <deegreewfs:param name="sequence">CQP_DomainConsistency_ID_seq 408 </deegreewfs:param> 409 </deegreewfs:IdGenerator> 410 <deegreewfs:IdentityPart>true</deegreewfs:IdentityPart> 411 </deegreewfs:gmlId> 412 <deegreewfs:transaction update="true" delete="true" insert="true"/> 413 </xsd:appinfo> 414 </xsd:annotation> 415 </xsd:element> 416 <!-- ============================================================== --> 417 <xsd:complexType name="CQP_DomainConsistencyType"> 418 <xsd:complexContent> 419 <xsd:extension base="gml:AbstractFeatureType"> 420 <xsd:sequence> 421 <xsd:element name="specificationTitle" type="xsd:string" minOccurs="0"> 422 <xsd:annotation> 423 <xsd:appinfo> 424 <deegreewfs:Content> 425 <deegreewfs:MappingField field="specificationTitle" type="VARCHAR"/> 426 </deegreewfs:Content> 427 </xsd:appinfo> 428 </xsd:annotation> 429 </xsd:element> 430 <xsd:element name="degree" type="xsd:boolean" minOccurs="0"> 431 <xsd:annotation> 432 <xsd:appinfo> 433 <deegreewfs:Content> 434 <deegreewfs:MappingField field="degree" type="BOOLEAN"/> 435 </deegreewfs:Content> 436 </xsd:appinfo> 437 </xsd:annotation> 438 </xsd:element> 439 <xsd:element name="specificationDate" type="gml:FeaturePropertyType" minOccurs="0" maxOccurs="unbounded"> 440 <xsd:annotation> 441 <xsd:appinfo> 442 <deegreewfs:Content type="app:CQP_SpecificationDate"> 443 <deegreewfs:Relation> 444 <deegreewfs:From> 445 <deegreewfs:MappingField field="ID" type="INTEGER"/> 446 </deegreewfs:From> 447 <deegreewfs:To fk="true"> 448 <deegreewfs:MappingField field="FK_CQP_DomainConsistency" type="INTEGER"/> 449 </deegreewfs:To> 450 </deegreewfs:Relation> 451 </deegreewfs:Content> 452 </xsd:appinfo> 453 </xsd:annotation> 454 </xsd:element> 455 </xsd:sequence> 456 </xsd:extension> 457 </xsd:complexContent> 458 </xsd:complexType> 459 <!-- ============================================================== --> 460 <xsd:element name="CQP_SpecificationDate" type="app:CQP_SpecificationDateType" substitutionGroup="gml:_Feature"> 461 <xsd:annotation> 462 <xsd:appinfo> 463 <deegreewfs:table>CQP_SpecificationDate</deegreewfs:table> 464 <deegreewfs:gmlId prefix="CQP_SpecificationDate_"> 465 <deegreewfs:MappingField field="ID" type="INTEGER"/> 466 <deegreewfs:IdGenerator type="DB_SEQ"> 467 <deegreewfs:param name="sequence">CQP_SpecificationDate_ID_seq 468 </deegreewfs:param> 469 </deegreewfs:IdGenerator> 470 <deegreewfs:IdentityPart>true</deegreewfs:IdentityPart> 471 </deegreewfs:gmlId> 472 <deegreewfs:transaction update="true" delete="true" insert="true"/> 473 </xsd:appinfo> 474 </xsd:annotation> 475 </xsd:element> 476 <!-- ============================================================== --> 477 <xsd:complexType name="CQP_SpecificationDateType"> 478 <xsd:complexContent> 479 <xsd:extension base="gml:AbstractFeatureType"> 480 <xsd:sequence> 481 <xsd:element name="dateStamp" type="xsd:dateTime" minOccurs="0"> 482 <xsd:annotation> 483 <xsd:appinfo> 484 <deegreewfs:Content> 485 <deegreewfs:MappingField field="dateStamp" type="TIMESTAMP"/> 486 </deegreewfs:Content> 487 </xsd:appinfo> 488 </xsd:annotation> 489 </xsd:element> 490 <xsd:element name="datetype" type="xsd:string" minOccurs="0"> 491 <xsd:annotation> 492 <xsd:appinfo> 493 <deegreewfs:Content> 494 <deegreewfs:MappingField field="datetype" type="VARCHAR"/> 495 </deegreewfs:Content> 496 </xsd:appinfo> 497 </xsd:annotation> 498 </xsd:element> 499 </xsd:sequence> 500 </xsd:extension> 501 </xsd:complexContent> 502 </xsd:complexType> 503</xsd:schema> 504