| 21 | from ea_model.iso_19111_referencing_by_coordinates.reference_systems.rs_referencesystem import RS_ReferenceSystem |
| 22 | from ea_model.iso_19115_2006_metadata_corrigendum.citation_and_responsible_party_information.ci_address import CI_Address |
| 23 | from ea_model.iso_19115_2006_metadata_corrigendum.portrayal_catalogue_information.md_portrayalcataloguereference import MD_PortrayalCatalogueReference |
| 24 | from ea_model.iso_19115_2006_metadata_corrigendum.metadata_extension_information.md_datatypecode import MD_DatatypeCode |
| 25 | from ea_model.iso_19107_2003_spatial_schema.topology.topological_primitive.tp_primitive import TP_Primitive |
| 26 | from ea_model.iso_19115_2006_metadata_corrigendum.citation_and_responsible_party_information.ci_telephone import CI_Telephone |
| 27 | from ea_model.iso_19111_referencing_by_coordinates.coordinate_systems.cs_verticalcs import CS_VerticalCS |
| 28 | from ea_model.iso_19108_2006_temporal_schema.temporal_reference_system.tm_indeterminatevalue import TM_IndeterminateValue |
| 29 | from ea_model.iso_19103_2005_schema_language.basic_types.derived.units_of_measure.unitofmeasure import UnitOfMeasure |
| 30 | from ea_model.iso_19115_2006_metadata_corrigendum.citation_and_responsible_party_information.ci_onlineresource import CI_OnlineResource |
| 31 | from ea_model.iso_19115_2006_metadata_corrigendum.extent_information.ex_extent import EX_Extent |
| 32 | from ea_model.iso_19108_2006_temporal_schema.temporal_objects.tm_duration import TM_Duration |
| 33 | from ea_model.iso_19103_2005_schema_language.basic_types.implementation.names.genericname import GenericName |
| 34 | from ea_model.iso_19115_2006_metadata_corrigendum.identification_information.md_identification import MD_Identification |
| 35 | from ea_model.moles3_4.utilities.mo_rolevalue import MO_RoleValue |
| 36 | from ea_model.iso_19111_referencing_by_coordinates.coordinate_operations.cc_operationmethod import CC_OperationMethod |
| 37 | from ea_model.iso_19108_2006_temporal_schema.temporal_objects.tm_complex import TM_Complex |
| 38 | from ea_model.iso_19103_2005_schema_language.basic_types.implementation.records_and_class_metadata.recordtype import RecordType |
| 39 | from ea_model.iso_19108_2006_temporal_schema.temporal_objects.tm_edge import TM_Edge |
| 40 | from ea_model.iso_19115_2_2009_metadata___imagery.data_quality_information___imagery.le_algorithm import LE_Algorithm |
| 41 | from ea_model.iso_19115_2006_metadata_corrigendum.reference_system_information.rs_identifier import RS_Identifier |
| 42 | from ea_model.iso_19123_2005_coverages.coverages.segmented_curve.cv_commonpointrule import CV_CommonPointRule |
| 43 | from ea_model.iso_19103_2005_schema_language.basic_types.implementation.names.namespace import NameSpace |
| 44 | from ea_model.iso_19115_2006_metadata_corrigendum.extent_information.ex_geographicextent import EX_GeographicExtent |
| 45 | from ea_model.iso_19123_2005_coverages.coverages.quadrilateral_grid.cv_gridenvelope import CV_GridEnvelope |
| 46 | from ea_model.iso_19115_2006_metadata_corrigendum.metadata_application_information.ds_dataset import DS_DataSet |
| 47 | from ea_model.moles3_4.acquisition.mo_platformtypevalue import MO_PlatformTypeValue |
| 48 | from ea_model.iso_19111_referencing_by_coordinates.coordinate_reference_systems.sc_verticalcrs import SC_VerticalCRS |
| 49 | from ea_model.iso_fdis_19156_2011_observations_and_measurements.observation_schema.observation.namedvalue import NamedValue |
| 50 | from ea_model.ceda_metadatamodel.ceda_observation.ceda_observation import CEDA_Observation |
| 51 | from ea_model.iso_19103_2005_schema_language.basic_types.derived.units_of_measure.time import Time |
| 52 | from ea_model.iso_19103_2005_schema_language.basic_types.primitive.date_and_time.clocktime import ClockTime |
| 53 | from ea_model.iso_19115_2006_metadata_corrigendum.distribution_information.md_distributor import MD_Distributor |
| 54 | from ea_model.ceda_metadatamodel.ceda_acquisition.ceda_platform import CEDA_Platform |
| 55 | from ea_model.iso_19103_2005_schema_language.basic_types.primitive.numerics.unlimitedinteger import UnlimitedInteger |
| 56 | from ea_model.iso_19111_referencing_by_coordinates.coordinate_operations.cc_conversion import CC_Conversion |
| 57 | from ea_model.iso_19111_referencing_by_coordinates.coordinate_systems.cs_axisdirection import CS_AxisDirection |
| 58 | from ea_model.iso_19103_2005_schema_language.basic_types.derived.units_of_measure.length import Length |
| 59 | from ea_model.ceda_metadatamodel.ceda_utilities.ceda_reviewfrequencyvalue import CEDA_ReviewFrequencyValue |
| 60 | from ea_model.iso_19115_2006_metadata_corrigendum.identification_information.md_keywords import MD_Keywords |
| 61 | from ea_model.iso_19103_2005_schema_language.basic_types.implementation.names.localname import LocalName |
| 62 | from ea_model.iso_19123_2005_coverages.coverages.coverage_core.cv_domainobject import CV_DomainObject |
| 63 | from ea_model.iso_19109_2005_application_schema.general_feature_model.gf_associationtype import GF_AssociationType |
| 64 | from ea_model.iso_19108_2006_temporal_schema.temporal_objects.tm_geometricprimitive import TM_GeometricPrimitive |
| 65 | from ea_model.iso_19108_2006_temporal_schema.temporal_objects.tm_primitive import TM_Primitive |
| 66 | from ea_model.iso_19103_2005_schema_language.basic_types.derived.units_of_measure.measuretype import MeasureType |
| 67 | from ea_model.moles3_4.observationprocess.mo_process import MO_Process |
| 68 | from ea_model.iso_19109_2005_application_schema.general_feature_model.gf_propertytype import GF_PropertyType |
| 69 | from ea_model.moles3_4.observation.mo_observation import MO_Observation |
| 70 | from ea_model.iso_19115_2006_metadata_corrigendum.identification_information.ds_associationtypecode import DS_AssociationTypeCode |
| 71 | from ea_model.iso_19115_2006_metadata_corrigendum.citation_and_responsible_party_information.ci_series import CI_Series |
| 72 | from ea_model.iso_19115_2006_metadata_corrigendum.distribution_information.md_standardorderprocess import MD_StandardOrderProcess |
| 73 | from ea_model.iso_19107_2003_spatial_schema.geometry.geometric_complex.gm_composite import GM_Composite |
| 74 | from ea_model.ceda_metadatamodel.ceda_result.ceda_curationvalue import CEDA_CurationValue |
| 75 | from ea_model.iso_19111_referencing_by_coordinates.coordinate_systems.cs_rangemeaning import CS_RangeMeaning |
| 76 | from ea_model.upcomingiso.ci_party import CI_Party |
| 77 | from ea_model.iso_19123_2005_coverages.coverages.quadrilateral_grid.cv_footprint import CV_FootPrint |
| 78 | from ea_model.iso_19115_2006_metadata_corrigendum.metadata_application_information.ds_aggregate import DS_Aggregate |
| 79 | from ea_model.iso_19115_2006_metadata_corrigendum.data_quality_information.dq_dataquality import DQ_DataQuality |
| 80 | from ea_model.iso_19107_2003_spatial_schema.topology.topological_primitive.tp_expressionterm import TP_ExpressionTerm |
| 81 | from ea_model.iso_19115_2006_metadata_corrigendum.identification_information.md_browsegraphic import MD_BrowseGraphic |
| 82 | from ea_model.moles3_4.result.mo_result import MO_Result |
| 83 | from ea_model.iso_19115_2006_metadata_corrigendum.extent_information.ex_temporalextent import EX_TemporalExtent |
| 84 | from ea_model.iso_19103_2005_schema_language.basic_types.derived.units_of_measure.measure import Measure |
| 85 | from ea_model.ceda_metadatamodel.ceda_utilities.ceda_notes import CEDA_Notes |
| 86 | from ea_model.iso_19111_referencing_by_coordinates.identified_objects.io_identifiedobject import IO_IdentifiedObject |
| 87 | from ea_model.moles3_4.project.mo_project import MO_Project |
| 88 | from ea_model.iso_19108_2006_temporal_schema.temporal_objects.tm_topologicalcomplex import TM_TopologicalComplex |
| 89 | from ea_model.iso_19115_2006_metadata_corrigendum.data_quality_information.dq_element import DQ_Element |
| 90 | from ea_model.iso_19111_referencing_by_coordinates.coordinate_reference_systems.sc_compoundcrs import SC_CompoundCRS |
| 91 | from ea_model.iso_19115_2006_metadata_corrigendum.reference_system_information.md_identifier import MD_Identifier |
| 92 | from ea_model.ceda_metadatamodel.ceda_acquisition.ceda_acquisition import CEDA_Acquisition |
| 93 | from ea_model.iso_19108_2006_temporal_schema.temporal_objects.tm_node import TM_Node |
| 94 | from ea_model.iso_19108_2006_temporal_schema.temporal_objects.tm_periodduration import TM_PeriodDuration |
| 95 | from ea_model.iso_19115_2006_metadata_corrigendum.citation_and_responsible_party_information.ci_onlinefunctioncode import CI_OnLineFunctionCode |
| 96 | from ea_model.iso_19115_2006_metadata_corrigendum.distribution_information.md_mediumformatcode import MD_MediumFormatCode |
| 97 | from ea_model.ceda_metadatamodel.ceda_result.ceda_result import CEDA_Result |
| 98 | from ea_model.iso_19103_2005_schema_language.basic_types.implementation.records_and_class_metadata.record import Record |
| 99 | from ea_model.iso_19103_2005_schema_language.basic_types.primitive.multiplicities.multiplicityrange import MultiplicityRange |
| 100 | from ea_model.iso_19103_2005_schema_language.basic_types.implementation.records_and_class_metadata.schema import Schema |
| 101 | from ea_model.iso_19115_2006_metadata_corrigendum.maintenance_information.md_scopedescription import MD_ScopeDescription |
| 102 | from ea_model.iso_19107_2003_spatial_schema.topology.topological_primitive.tp_directedtopo import TP_DirectedTopo |
| 103 | from ea_model.iso_19115_2006_metadata_corrigendum.citation_and_responsible_party_information.ci_contact import CI_Contact |
| 104 | from ea_model.iso_19103_2005_schema_language.basic_types.derived.units_of_measure.uomlength import UomLength |
| 105 | from ea_model.moles3_4.acquisition.mo_instrument import MO_Instrument |
| 106 | from ea_model.iso_19123_2005_coverages.coverages.coverage_core.cv_attributevalues import CV_AttributeValues |
| 107 | from ea_model.iso_19123_2005_coverages.coverages.quadrilateral_grid.cv_gridpoint import CV_GridPoint |
| 108 | from ea_model.moles3_4.acquisition.mo_location import MO_Location |
| 109 | from ea_model.ceda_metadatamodel.ceda_project.ceda_project import CEDA_Project |
| 110 | from ea_model.iso_19115_2006_metadata_corrigendum.data_quality_information.dq_evaluationmethodtypecode import DQ_EvaluationMethodTypeCode |
| 111 | from ea_model.iso_fdis_19156_2011_observations_and_measurements.general_feature_instance.gfi_feature import GFI_Feature |
| 112 | from ea_model.moles3_4.observationprocess.mo_compositeprocess import MO_CompositeProcess |
| 113 | from ea_model.iso_19115_2006_metadata_corrigendum.data_quality_information.li_source import LI_Source |
| 114 | from ea_model.moles3_4.acquisition.mo_instrumentplatformpair import MO_InstrumentPlatformPair |
| 115 | from ea_model.iso_19109_2005_application_schema.general_feature_model.gf_constraint import GF_Constraint |
| 116 | from ea_model.iso_19103_2005_schema_language.basic_types.implementation.names.scopedname import ScopedName |
| 117 | from ea_model.iso_19108_2006_temporal_schema.temporal_objects.tm_object import TM_Object |
| 118 | from ea_model.iso_19103_2005_schema_language.basic_types.implementation.records_and_class_metadata.type import Type |
| 119 | from ea_model.iso_19111_referencing_by_coordinates.coordinate_operations.cc_generaloperationparameter import CC_GeneralOperationParameter |
| 120 | from ea_model.moles3_4.acquisition.mo_acquisition import MO_Acquisition |
| 121 | from ea_model.iso_19115_2_2009_metadata___imagery.data_quality_information___imagery.le_source import LE_Source |
| 122 | from ea_model.ceda_metadatamodel.ceda_acquisition.ceda_instrument import CEDA_Instrument |
| 123 | from ea_model.iso_19115_2006_metadata_corrigendum.metadata_extension_information.md_obligationcode import MD_ObligationCode |
| 124 | from ea_model.iso_19115_2006_metadata_corrigendum.identification_information.ds_initiativetypecode import DS_InitiativeTypeCode |
| 125 | from ea_model.iso_19115_2006_metadata_corrigendum.citation_and_responsible_party_information.ci_date import CI_Date |
| 126 | from ea_model.iso_19123_2005_coverages.coverages.quadrilateral_grid.cv_grid import CV_Grid |
| 127 | from ea_model.moles3_4.computation.mo_processing import MO_Processing |
| 128 | from ea_model.iso_19115_2006_metadata_corrigendum.data_quality_information.dq_positionalaccuracy import DQ_PositionalAccuracy |
| 248 | ceda_citation_table = Table('ceda_citation', metadata, |
| 249 | Column('id', Integer, Sequence('ceda_citation_id_seq'), primary_key=True), |
| 250 | Column('ceda_observation_citation', Integer, ForeignKey('ceda_observation.id')), |
| 251 | Column('title', TEXT , nullable=False), |
| 252 | Column('author', ARRAY(TEXT) , nullable=False), |
| 253 | extend_existing=False,) |
| 254 | |
| 255 | |
| 256 | |
| 257 | |
| 258 | |
| 259 | |
| 260 | |
| 261 | |
| 262 | |
| 263 | |
| 264 | |
| 265 | |
| 266 | tm_duration_table = Table('tm_duration', metadata, |
| 267 | Column('id', Integer, Sequence('tm_duration_id_seq'), primary_key=True), |
| 268 | Column('tm_periodduration__tm_duration_id', Integer, ForeignKey('tm_periodduration.id')), |
| 269 | extend_existing=False,) |
| 270 | |
| 271 | |
| 272 | |
| 273 | |
| 274 | |
| 275 | |
| 276 | |
| 277 | |
| 278 | |
| 279 | |
| 280 | |
| 281 | |
| 282 | md_browsegraphic_table = Table('md_browsegraphic', metadata, |
| 283 | Column('id', Integer, Sequence('md_browsegraphic_id_seq'), primary_key=True), |
| 284 | Column('md_identification_graphicoverview', Integer, ForeignKey('md_identification.id')), |
| 285 | Column('fileName', TEXT , nullable=False), |
| 286 | Column('fileDescription', TEXT , nullable=True), |
| 287 | Column('fileType', TEXT , nullable=True), |
| 288 | extend_existing=False,) |
| 289 | |
| 290 | |
| 291 | |
| 292 | |
| 293 | |
| 294 | |
| 295 | |
| 296 | |
| 297 | |
| 298 | |
| 299 | |
| 300 | |
| 301 | md_spatialrepresentation_table = Table('md_spatialrepresentation', metadata, |
| 302 | Column('id', Integer, Sequence('md_spatialrepresentation_id_seq'), primary_key=True), |
| 303 | Column('md_metadata_spatialrepresentationinfo', Integer, ForeignKey('md_metadata.id')), |
| 304 | extend_existing=False,) |
| 305 | |
| 306 | |
| 307 | |
| 308 | |
| 309 | |
| 310 | |
| 311 | |
| 312 | |
| 313 | |
| 314 | |
| 315 | |
| 316 | |
| 317 | dq_result_table = Table('dq_result', metadata, |
| 318 | Column('id', Integer, Sequence('dq_result_id_seq'), primary_key=True), |
| 319 | Column('dq_element_result', Integer, ForeignKey('dq_element.id')), |
| 320 | extend_existing=False,) |
| 321 | |
| 322 | |
| 323 | |
| 324 | |
| 325 | |
| 326 | |
| 327 | |
| 328 | |
| 329 | |
| 330 | |
| 331 | |
| 332 | |
| 333 | md_contentinformation_table = Table('md_contentinformation', metadata, |
| 334 | Column('id', Integer, Sequence('md_contentinformation_id_seq'), primary_key=True), |
| 335 | Column('md_metadata_contentinfo', Integer, ForeignKey('md_metadata.id')), |
| 336 | extend_existing=False,) |
| 337 | |
| 338 | |
| 339 | |
| 340 | |
| 341 | |
| 342 | |
| 343 | |
| 344 | |
| 345 | |
| 346 | |
| 347 | |
| 348 | |
| 349 | cv_gridcoordinate_table = Table('cv_gridcoordinate', metadata, |
| 350 | Column('id', Integer, Sequence('cv_gridcoordinate_id_seq'), primary_key=True), |
| 351 | Column('cv_gridenvelope_high_id', Integer, ForeignKey('cv_gridenvelope.id')), |
| 352 | Column('cv_gridenvelope_low_id', Integer, ForeignKey('cv_gridenvelope.id')), |
| 353 | Column('cv_gridpoint_gridcoord_id', Integer, ForeignKey('cv_gridpoint.id')), |
| 354 | Column('coordValues', ARRAY(Integer) , nullable=False), |
| 355 | extend_existing=False,) |
| 356 | |
| 357 | |
| 358 | |
| 359 | |
| 360 | |
| 361 | |
| 362 | |
| 363 | |
| 364 | |
| 365 | |
| 366 | |
| 367 | |
| 368 | clocktime_table = Table('clocktime', metadata, |
| 369 | Column('id', Integer, Sequence('clocktime_id_seq'), primary_key=True), |
| 370 | Column('datetime__clocktime_id', Integer, ForeignKey('datetime.id')), |
| 371 | Column('hour', TEXT , nullable=False), |
| 372 | Column('timeZone', TEXT , nullable=True), |
| 373 | Column('minute', TEXT , nullable=True), |
| 374 | Column('second', TEXT , nullable=True), |
| 375 | extend_existing=False,) |
| 376 | |
| 377 | |
| 378 | |
| 379 | |
| 380 | |
| 381 | |
| 382 | |
| 383 | |
| 384 | |
| 385 | |
| 386 | |
| 387 | |
| 388 | dateprecision_table = Table('dateprecision', metadata, |
| 389 | Column('id', Integer, Sequence('dateprecision_id_seq'), primary_key=True), |
| 390 | Column('date_precision_id', Integer, ForeignKey('date.id')), |
| 391 | Column('precision', TEXT , nullable=False), |
| 392 | Column('determinationMethod', TEXT , nullable=False), |
| 393 | extend_existing=False,) |
| 394 | |
| 395 | |
| 396 | |
| 397 | |
| 398 | |
| 399 | |
| 400 | |
| 401 | |
| 402 | |
| 403 | |
| 404 | |
| 405 | |
| 406 | unlimitedinteger_table = Table('unlimitedinteger', metadata, |
| 407 | Column('id', Integer, Sequence('unlimitedinteger_id_seq'), primary_key=True), |
| 408 | Column('multiplicityrange_upper_id', Integer, ForeignKey('multiplicityrange.id')), |
| 409 | Column('value', Integer , nullable=True), |
| 410 | Column('isInfinite', BOOLEAN , nullable=False), |
| 411 | extend_existing=False,) |
| 412 | |
| 413 | |
| 414 | |
| 415 | |
| 416 | |
| 417 | |
| 418 | |
| 419 | |
| 420 | |
| 421 | |
| 422 | |
| 423 | |
| 424 | tm_object_table = Table('tm_object', metadata, |
| 425 | Column('id', Integer, Sequence('tm_object_id_seq'), primary_key=True), |
| 426 | Column('mo_observationcollection_phenomenontime', Integer, ForeignKey('mo_observationcollection.id')), |
| 427 | Column('mo_operation_operationtime_id', Integer, ForeignKey('mo_operation.id')), |
| 428 | Column('tm_primitive__tm_object_id', Integer, ForeignKey('tm_primitive.id')), |
| 429 | Column('tm_complex__tm_object_id', Integer, ForeignKey('tm_complex.id')), |
| 430 | Column('om_observation_phenomenontime_id', Integer, ForeignKey('om_observation.id')), |
| 431 | extend_existing=False,) |
| 432 | |
| 433 | |
| 434 | |
| 435 | |
| 436 | |
| 437 | |
| 438 | |
| 439 | |
| 440 | |
| 441 | |
| 442 | |
| 443 | |
| 444 | any_table = Table('any', metadata, |
| 445 | Column('id', Integer, Sequence('any_id_seq'), primary_key=True), |
| 446 | Column('om_observation_result_id', Integer, ForeignKey('om_observation.id')), |
| 447 | Column('namedvalue_value_id', Integer, ForeignKey('namedvalue.id')), |
| 448 | extend_existing=False,) |
| 449 | |
| 450 | |
| 451 | |
| 452 | |
| 453 | |
| 454 | |
| 455 | |
| 456 | |
| 457 | |
| 458 | |
| 459 | |
| 460 | |
| 461 | earootclass_table = Table('earootclass', metadata, |
| 462 | Column('id', Integer, Sequence('earootclass_id_seq'), primary_key=True), |
| 463 | extend_existing=False,) |
| 464 | |
| 465 | |
| 466 | |
| 467 | |
| 468 | |
| 469 | |
| 470 | |
| 471 | |
| 472 | |
| 473 | |
| 474 | |
| 475 | |
| 476 | gf_constraint_table = Table('gf_constraint', metadata, |
| 477 | Column('id', Integer, Sequence('gf_constraint_id_seq'), primary_key=True), |
| 478 | Column('gf_propertytype_constrainedby', Integer, ForeignKey('gf_propertytype.id')), |
| 479 | Column('gf_featuretype_constrainedby', Integer, ForeignKey('gf_featuretype.id')), |
| 480 | Column('description', TEXT , nullable=False), |
| 481 | extend_existing=False,) |
| 482 | |
| 483 | |
| 484 | |
| 485 | |
| 486 | |
| 487 | |
| 488 | |
| 489 | |
| 490 | |
| 491 | |
| 492 | |
| 493 | |
| 494 | url_table = Table('url', metadata, |
| 495 | Column('id', Integer, Sequence('url_id_seq'), primary_key=True), |
| 496 | Column('ci_onlineresource_linkage_id', Integer, ForeignKey('ci_onlineresource.id')), |
| 497 | extend_existing=False,) |
| 498 | |
| 499 | |
| 500 | |
| 501 | |
| 502 | |
| 503 | |
| 504 | |
| 505 | |
| 506 | |
| 507 | |
| 508 | |
| 509 | |
| 510 | ex_geographicextent_table = Table('ex_geographicextent', metadata, |
| 511 | Column('id', Integer, Sequence('ex_geographicextent_id_seq'), primary_key=True), |
| 512 | Column('ex_extent_geographicelement', Integer, ForeignKey('ex_extent.id')), |
| 513 | Column('mo_observationcollection_geographicextent', Integer, ForeignKey('mo_observationcollection.id')), |
| 514 | Column('ex_geographicdescription__ex_geographicextent_id', Integer, ForeignKey('ex_geographicdescription.id')), |
| 515 | Column('mo_observation_geographicextent', Integer, ForeignKey('mo_observation.id')), |
| 516 | Column('extentTypeCode', BOOLEAN , nullable=True), |
| 517 | extend_existing=False,) |
| 518 | |
| 519 | |
| 520 | |
| 521 | |
| 522 | |
| 523 | |
| 524 | |
| 525 | |
| 526 | |
| 527 | |
| 528 | |
| 529 | |
| 530 | ci_telephone_table = Table('ci_telephone', metadata, |
| 531 | Column('id', Integer, Sequence('ci_telephone_id_seq'), primary_key=True), |
| 532 | Column('ci_contact_phone_id', Integer, ForeignKey('ci_contact.id')), |
| 533 | Column('voice', ARRAY(TEXT) , nullable=True), |
| 534 | Column('facsimile', ARRAY(TEXT) , nullable=True), |
| 535 | extend_existing=False,) |
| 536 | |
| 537 | |
| 538 | |
| 539 | |
| 540 | |
| 541 | |
| 542 | |
| 543 | |
| 544 | |
| 545 | |
| 546 | |
| 547 | |
| 548 | md_constraints_table = Table('md_constraints', metadata, |
| 549 | Column('id', Integer, Sequence('md_constraints_id_seq'), primary_key=True), |
| 550 | Column('md_identification_resourceconstraints', Integer, ForeignKey('md_identification.id')), |
| 551 | Column('mo_observation_permission_id', Integer, ForeignKey('mo_observation.id')), |
| 552 | Column('md_metadata_metadataconstraints', Integer, ForeignKey('md_metadata.id')), |
| 553 | Column('useLimitation', ARRAY(TEXT) , nullable=True), |
| 554 | extend_existing=False,) |
| 555 | |
| 556 | |
| 557 | |
| 558 | |
| 559 | |
| 560 | |
| 561 | |
| 562 | |
| 563 | |
| 564 | |
| 565 | |
| 566 | |
171 | | Column('t_type', String(30), nullable=False, default='ci_series'), |
172 | | extend_existing=False,) |
173 | | |
174 | | |
175 | | |
176 | | |
177 | | |
178 | | |
179 | | |
180 | | |
181 | | |
182 | | |
183 | | |
184 | | |
185 | | clocktime_table = Table('clocktime', metadata, |
186 | | Column('clocktime_id', Integer, Sequence('clocktime_id_seq'), primary_key=True), |
187 | | Column('minute', TEXT , nullable=True), |
188 | | Column('timeZone', TEXT , nullable=True), |
189 | | Column('second', TEXT , nullable=True), |
190 | | Column('hour', TEXT , nullable=False), |
191 | | Column('t_type', String(30), nullable=False, default='clocktime'), |
192 | | extend_existing=False,) |
193 | | |
194 | | |
195 | | |
196 | | |
197 | | |
198 | | |
199 | | |
200 | | |
201 | | |
202 | | |
203 | | |
204 | | |
205 | | md_distribution_table = Table('md_distribution', metadata, |
206 | | Column('md_distribution_id', Integer, Sequence('md_distribution_id_seq'), primary_key=True), |
207 | | Column('md_metadata_distributionInfo', Integer, ForeignKey('md_metadata.md_metadata_id')), |
208 | | Column('t_type', String(30), nullable=False, default='md_distribution'), |
209 | | extend_existing=False,) |
210 | | |
211 | | |
212 | | |
213 | | |
214 | | |
215 | | |
216 | | |
217 | | |
218 | | |
219 | | |
220 | | |
221 | | |
222 | | ci_telephone_table = Table('ci_telephone', metadata, |
223 | | Column('ci_telephone_id', Integer, Sequence('ci_telephone_id_seq'), primary_key=True), |
224 | | Column('ci_contact_phone', Integer, ForeignKey('ci_contact.ci_contact_id')), |
225 | | Column('voice', ARRAY(TEXT) , nullable=True), |
226 | | Column('facsimile', ARRAY(TEXT) , nullable=True), |
227 | | Column('t_type', String(30), nullable=False, default='ci_telephone'), |
228 | | extend_existing=False,) |
229 | | |
230 | | |
231 | | |
232 | | |
233 | | |
234 | | |
235 | | |
236 | | |
237 | | |
238 | | |
239 | | |
240 | | |
241 | | md_contentinformation_table = Table('md_contentinformation', metadata, |
242 | | Column('md_contentinformation_id', Integer, Sequence('md_contentinformation_id_seq'), primary_key=True), |
243 | | Column('md_metadata_contentInfo', Integer, ForeignKey('md_metadata.md_metadata_id')), |
244 | | Column('t_type', String(30), nullable=False, default='md_contentinformation'), |
245 | | extend_existing=False,) |
246 | | |
247 | | |
248 | | |
249 | | |
250 | | |
251 | | |
252 | | |
253 | | |
254 | | |
255 | | |
256 | | |
257 | | |
258 | | mo_responsiblepartyinfo_table = Table('mo_responsiblepartyinfo', metadata, |
259 | | Column('mo_responsiblepartyinfo_id', Integer, Sequence('mo_responsiblepartyinfo_id_seq'), primary_key=True), |
260 | | Column('mo_observation_relatedParty', Integer, ForeignKey('mo_observation.mo_observation_id')), |
261 | | Column('mo_acquisition_realatedParty', Integer, ForeignKey('mo_acquisition.mo_acquisition_id')), |
262 | | Column('mo_instrument_realatedParty', Integer, ForeignKey('mo_instrument.mo_instrument_id')), |
263 | | Column('mo_platform_relatedParty', Integer, ForeignKey('mo_platform.mo_platform_id')), |
264 | | Column('mo_compositeprocess_relatedParty', Integer, ForeignKey('mo_compositeprocess.mo_compositeprocess_id')), |
265 | | Column('ceda_notes_commentator', Integer, ForeignKey('ceda_notes.ceda_notes_id')), |
266 | | Column('ceda_review_reviewer', Integer, ForeignKey('ceda_review.ceda_review_id')), |
267 | | Column('mo_project_relatedParty', Integer, ForeignKey('mo_project.mo_project_id')), |
268 | | Column('mo_operation_relatedPartyInfo', Integer, ForeignKey('mo_operation.mo_operation_id')), |
269 | | Column('mo_processing_relatedParty', Integer, ForeignKey('mo_processing.mo_processing_id')), |
270 | | Column('role', MO_RoleValue.db_type() , nullable=False), |
271 | | Column('t_type', String(30), nullable=False, default='mo_responsiblepartyinfo'), |
272 | | extend_existing=False,) |
273 | | |
274 | | |
275 | | |
276 | | |
277 | | |
278 | | |
279 | | |
280 | | |
281 | | |
282 | | |
283 | | |
284 | | |
285 | | multiplicity_table = Table('multiplicity', metadata, |
286 | | Column('multiplicity_id', Integer, Sequence('multiplicity_id_seq'), primary_key=True), |
287 | | Column('gf_attributetype_cardinality', Integer, ForeignKey('gf_attributetype.gf_attributetype_id')), |
288 | | Column('t_type', String(30), nullable=False, default='multiplicity'), |
289 | | extend_existing=False,) |
290 | | |
291 | | |
292 | | |
293 | | |
294 | | |
295 | | |
296 | | |
297 | | |
298 | | |
299 | | |
300 | | |
301 | | |
302 | | tm_temporalposition_table = Table('tm_temporalposition', metadata, |
303 | | Column('tm_temporalposition_id', Integer, Sequence('tm_temporalposition_id_seq'), primary_key=True), |
304 | | Column('tm_position_anyOther', Integer, ForeignKey('tm_position.tm_position_id')), |
305 | | Column('indeterminatePosition', TM_IndeterminateValue.db_type() , nullable=True), |
306 | | Column('t_type', String(30), nullable=False, default='tm_temporalposition'), |
307 | | extend_existing=False,) |
308 | | |
309 | | |
310 | | |
311 | | |
312 | | |
313 | | |
314 | | |
315 | | |
316 | | |
317 | | |
318 | | |
319 | | |
320 | | genericname_table = Table('genericname', metadata, |
321 | | Column('genericname_id', Integer, Sequence('genericname_id_seq'), primary_key=True), |
322 | | Column('namedvalue_name', Integer, ForeignKey('namedvalue.namedvalue_id')), |
323 | | Column('io_identifiedobjectbase_alias', Integer, ForeignKey('io_identifiedobjectbase.io_identifiedobjectbase_id')), |
324 | | Column('mo_inputoutput_name', Integer, ForeignKey('mo_inputoutput.mo_inputoutput_id')), |
325 | | Column('t_type', String(30), nullable=False, default='genericname'), |
326 | | extend_existing=False,) |
327 | | |
328 | | |
329 | | |
330 | | |
331 | | |
332 | | |
333 | | |
334 | | |
335 | | |
336 | | |
337 | | |
338 | | |
339 | | om_process_table = Table('om_process', metadata, |
340 | | Column('om_process_id', Integer, Sequence('om_process_id_seq'), primary_key=True), |
341 | | Column('t_type', String(30), nullable=False, default='om_process'), |
342 | | extend_existing=False,) |
343 | | |
344 | | |
345 | | |
346 | | |
347 | | |
348 | | |
349 | | |
350 | | |
351 | | |
352 | | |
353 | | |
354 | | |
355 | | gf_constraint_table = Table('gf_constraint', metadata, |
356 | | Column('gf_constraint_id', Integer, Sequence('gf_constraint_id_seq'), primary_key=True), |
357 | | Column('gf_featuretype_constrainedBy', Integer, ForeignKey('gf_featuretype.gf_featuretype_id')), |
358 | | Column('gf_propertytype_constrainedBy', Integer, ForeignKey('gf_propertytype.gf_propertytype_id')), |
359 | | Column('description', TEXT , nullable=False), |
360 | | Column('t_type', String(30), nullable=False, default='gf_constraint'), |
361 | | extend_existing=False,) |
362 | | |
363 | | |
364 | | |
365 | | |
366 | | |
367 | | |
368 | | |
369 | | |
370 | | |
371 | | |
372 | | |
373 | | |
374 | | any_table = Table('any', metadata, |
375 | | Column('any_id', Integer, Sequence('any_id_seq'), primary_key=True), |
376 | | Column('om_observation_result', Integer, ForeignKey('om_observation.om_observation_id')), |
377 | | Column('namedvalue_value', Integer, ForeignKey('namedvalue.namedvalue_id')), |
378 | | Column('t_type', String(30), nullable=False, default='any'), |
379 | | extend_existing=False,) |
380 | | |
381 | | |
382 | | |
383 | | |
384 | | |
385 | | |
386 | | |
387 | | |
388 | | |
389 | | |
390 | | |
391 | | |
392 | | gm_object_table = Table('gm_object', metadata, |
393 | | Column('gm_object_id', Integer, Sequence('gm_object_id_seq'), primary_key=True), |
394 | | Column('mo_location_geometryLocation', Integer, ForeignKey('mo_location.mo_location_id')), |
395 | | Column('t_type', String(30), nullable=False, default='gm_object'), |
396 | | extend_existing=False,) |
397 | | |
398 | | |
399 | | |
400 | | |
401 | | |
402 | | |
403 | | |
404 | | |
405 | | |
406 | | |
407 | | |
408 | | |
409 | | ceda_citation_table = Table('ceda_citation', metadata, |
410 | | Column('ceda_citation_id', Integer, Sequence('ceda_citation_id_seq'), primary_key=True), |
411 | | Column('ceda_observation_citation', Integer, ForeignKey('ceda_observation.ceda_observation_id')), |
412 | | Column('author', ARRAY(TEXT) , nullable=False), |
413 | | Column('title', TEXT , nullable=False), |
414 | | Column('t_type', String(30), nullable=False, default='ceda_citation'), |
415 | | extend_existing=False,) |
416 | | |
417 | | |
418 | | |
419 | | |
420 | | |
421 | | |
422 | | |
423 | | |
424 | | |
425 | | |
426 | | |
427 | | |
428 | | dateprecision_table = Table('dateprecision', metadata, |
429 | | Column('dateprecision_id', Integer, Sequence('dateprecision_id_seq'), primary_key=True), |
430 | | Column('date_precision', Integer, ForeignKey('date.date_id')), |
431 | | Column('determinationMethod', TEXT , nullable=False), |
432 | | Column('precision', TEXT , nullable=False), |
433 | | Column('t_type', String(30), nullable=False, default='dateprecision'), |
434 | | extend_existing=False,) |
435 | | |
436 | | |
437 | | |
438 | | |
439 | | |
440 | | |
441 | | |
442 | | |
443 | | |
444 | | |
445 | | |
446 | | |
447 | | md_spatialrepresentation_table = Table('md_spatialrepresentation', metadata, |
448 | | Column('md_spatialrepresentation_id', Integer, Sequence('md_spatialrepresentation_id_seq'), primary_key=True), |
449 | | Column('md_metadata_spatialRepresentationInfo', Integer, ForeignKey('md_metadata.md_metadata_id')), |
450 | | Column('t_type', String(30), nullable=False, default='md_spatialrepresentation'), |
451 | | extend_existing=False,) |
452 | | |
453 | | |
454 | | |
455 | | |
456 | | |
457 | | |
458 | | |
459 | | |
460 | | |
461 | | |
462 | | |
463 | | |
464 | | md_format_table = Table('md_format', metadata, |
465 | | Column('md_format_id', Integer, Sequence('md_format_id_seq'), primary_key=True), |
466 | | Column('md_identification_resourceFormat', Integer, ForeignKey('md_identification.md_identification_id')), |
467 | | Column('amendmentNumber', TEXT , nullable=True), |
468 | | Column('name', TEXT , nullable=False), |
469 | | Column('specification', TEXT , nullable=True), |
470 | | Column('version', TEXT , nullable=False), |
471 | | Column('fileDecompressionTechnique', TEXT , nullable=True), |
472 | | Column('t_type', String(30), nullable=False, default='md_format'), |
473 | | extend_existing=False,) |
474 | | |
475 | | |
476 | | |
477 | | |
478 | | |
479 | | |
480 | | |
481 | | |
482 | | |
483 | | |
484 | | |
485 | | |
486 | | unitofmeasure_table = Table('unitofmeasure', metadata, |
487 | | Column('unitofmeasure_id', Integer, Sequence('unitofmeasure_id_seq'), primary_key=True), |
488 | | Column('offsetToStandardUnit', NUMERIC , nullable=True), |
489 | | Column('scaleToStandardUnit', NUMERIC , nullable=True), |
490 | | Column('uomName', TEXT , nullable=False), |
491 | | Column('measureType', MeasureType.db_type() , nullable=False), |
492 | | Column('formula', TEXT , nullable=True), |
493 | | Column('nameStandardUnit', TEXT , nullable=True), |
494 | | Column('uomSymbol', TEXT , nullable=False), |
495 | | Column('t_type', String(30), nullable=False, default='unitofmeasure'), |
496 | | extend_existing=False,) |
497 | | |
498 | | |
499 | | |
500 | | |
501 | | |
502 | | |
503 | | |
504 | | |
505 | | |
506 | | |
507 | | |
508 | | |
509 | | tm_duration_table = Table('tm_duration', metadata, |
510 | | Column('tm_duration_id', Integer, Sequence('tm_duration_id_seq'), primary_key=True), |
511 | | Column('t_type', String(30), nullable=False, default='tm_duration'), |
512 | | extend_existing=False,) |
513 | | |
514 | | |
515 | | |
516 | | |
517 | | |
518 | | |
519 | | |
520 | | |
521 | | |
522 | | |
523 | | |
524 | | |
525 | | measure_table = Table('measure', metadata, |
526 | | Column('measure_id', Integer, Sequence('measure_id_seq'), primary_key=True), |
527 | | Column('value', NUMERIC , nullable=False), |
528 | | Column('t_type', String(30), nullable=False, default='measure'), |
| 572 | Column('issueIdentification', TEXT , nullable=True), |
549 | | Column('administrativeArea', TEXT , nullable=True), |
550 | | Column('postalCode', TEXT , nullable=True), |
551 | | Column('t_type', String(30), nullable=False, default='ci_address'), |
552 | | extend_existing=False,) |
553 | | |
554 | | |
555 | | |
556 | | |
557 | | |
558 | | |
559 | | |
560 | | |
561 | | |
562 | | |
563 | | |
564 | | |
565 | | earootclass_table = Table('earootclass', metadata, |
566 | | Column('earootclass_id', Integer, Sequence('earootclass_id_seq'), primary_key=True), |
567 | | Column('t_type', String(30), nullable=False, default='earootclass'), |
568 | | extend_existing=False,) |
569 | | |
570 | | |
571 | | |
572 | | |
573 | | |
574 | | |
575 | | |
576 | | |
577 | | |
578 | | |
579 | | |
580 | | |
581 | | tm_object_table = Table('tm_object', metadata, |
582 | | Column('tm_object_id', Integer, Sequence('tm_object_id_seq'), primary_key=True), |
583 | | Column('om_observation_phenomenonTime', Integer, ForeignKey('om_observation.om_observation_id')), |
584 | | Column('mo_operation_operationTime', Integer, ForeignKey('mo_operation.mo_operation_id')), |
585 | | Column('mo_observationcollection_phenomenonTime', Integer, ForeignKey('mo_observationcollection.mo_observationcollection_id')), |
586 | | Column('t_type', String(30), nullable=False, default='tm_object'), |
587 | | extend_existing=False,) |
588 | | |
589 | | |
590 | | |
591 | | |
592 | | |
593 | | |
594 | | |
595 | | |
596 | | |
597 | | |
598 | | |
599 | | |
600 | | dq_result_table = Table('dq_result', metadata, |
601 | | Column('dq_result_id', Integer, Sequence('dq_result_id_seq'), primary_key=True), |
602 | | Column('dq_element_result', Integer, ForeignKey('dq_element.dq_element_id')), |
603 | | Column('t_type', String(30), nullable=False, default='dq_result'), |
604 | | extend_existing=False,) |
605 | | |
606 | | |
607 | | |
608 | | |
609 | | |
610 | | |
611 | | |
612 | | |
613 | | |
614 | | |
615 | | |
616 | | |
617 | | url_table = Table('url', metadata, |
618 | | Column('url_id', Integer, Sequence('url_id_seq'), primary_key=True), |
619 | | Column('ci_onlineresource_linkage', Integer, ForeignKey('ci_onlineresource.ci_onlineresource_id')), |
620 | | Column('t_type', String(30), nullable=False, default='url'), |
621 | | extend_existing=False,) |
622 | | |
623 | | |
624 | | |
625 | | |
626 | | |
627 | | |
628 | | |
629 | | |
630 | | |
631 | | |
632 | | |
633 | | |
634 | | ex_geographicextent_table = Table('ex_geographicextent', metadata, |
635 | | Column('ex_geographicextent_id', Integer, Sequence('ex_geographicextent_id_seq'), primary_key=True), |
636 | | Column('ex_extent_geographicElement', Integer, ForeignKey('ex_extent.ex_extent_id')), |
637 | | Column('mo_observationcollection_geographicExtent', Integer, ForeignKey('mo_observationcollection.mo_observationcollection_id')), |
638 | | Column('mo_observation_geographicExtent', Integer, ForeignKey('mo_observation.mo_observation_id')), |
639 | | Column('extentTypeCode', BOOLEAN , nullable=True), |
640 | | Column('t_type', String(30), nullable=False, default='ex_geographicextent'), |
641 | | extend_existing=False,) |
642 | | |
643 | | |
644 | | |
645 | | |
646 | | |
647 | | |
648 | | |
649 | | |
650 | | |
651 | | |
652 | | |
653 | | |
654 | | md_browsegraphic_table = Table('md_browsegraphic', metadata, |
655 | | Column('md_browsegraphic_id', Integer, Sequence('md_browsegraphic_id_seq'), primary_key=True), |
656 | | Column('md_identification_graphicOverview', Integer, ForeignKey('md_identification.md_identification_id')), |
657 | | Column('fileType', TEXT , nullable=True), |
658 | | Column('fileName', TEXT , nullable=False), |
659 | | Column('fileDescription', TEXT , nullable=True), |
660 | | Column('t_type', String(30), nullable=False, default='md_browsegraphic'), |
661 | | extend_existing=False,) |
662 | | |
663 | | |
664 | | |
665 | | |
666 | | |
667 | | |
668 | | |
669 | | |
670 | | |
671 | | |
672 | | |
673 | | |
674 | | md_constraints_table = Table('md_constraints', metadata, |
675 | | Column('md_constraints_id', Integer, Sequence('md_constraints_id_seq'), primary_key=True), |
676 | | Column('mo_observation_permission', Integer, ForeignKey('mo_observation.mo_observation_id')), |
677 | | Column('md_identification_resourceConstraints', Integer, ForeignKey('md_identification.md_identification_id')), |
678 | | Column('md_metadata_metadataConstraints', Integer, ForeignKey('md_metadata.md_metadata_id')), |
679 | | Column('useLimitation', ARRAY(TEXT) , nullable=True), |
680 | | Column('t_type', String(30), nullable=False, default='md_constraints'), |
681 | | extend_existing=False,) |
682 | | |
683 | | |
684 | | |
685 | | |
686 | | |
687 | | |
688 | | |
689 | | |
690 | | |
691 | | |
692 | | |
693 | | |
694 | | time_table = Table('time', metadata, |
695 | | Column('time_id', Integer, Sequence('time_id_seq'), primary_key=True), |
696 | | Column('measure_id', Integer, ForeignKey('measure.measure_id')), Column('tm_position_time8601', Integer, ForeignKey('tm_position.tm_position_id')), |
697 | | Column('t_type', String(30), nullable=False, default='time'), |
698 | | extend_existing=False,) |
699 | | |
700 | | |
701 | | |
702 | | |
703 | | |
704 | | |
705 | | |
706 | | |
707 | | |
708 | | |
709 | | |
710 | | |
711 | | scopedname_table = Table('scopedname', metadata, |
712 | | Column('scopedname_id', Integer, Sequence('scopedname_id_seq'), primary_key=True), |
713 | | Column('genericname_id', Integer, ForeignKey('genericname.genericname_id')), Column('mo_instrument_type', Integer, ForeignKey('mo_instrument.mo_instrument_id')), |
714 | | Column('t_type', String(30), nullable=False, default='scopedname'), |
715 | | extend_existing=False,) |
716 | | |
717 | | |
718 | | |
719 | | |
720 | | |
721 | | |
722 | | |
723 | | |
724 | | |
725 | | |
726 | | |
727 | | |
728 | | namedvalue_table = Table('namedvalue', metadata, |
729 | | Column('namedvalue_id', Integer, Sequence('namedvalue_id_seq'), primary_key=True), |
730 | | Column('om_observation_parameter', Integer, ForeignKey('om_observation.om_observation_id')), |
731 | | Column('t_type', String(30), nullable=False, default='namedvalue'), |
732 | | extend_existing=False,) |
733 | | |
734 | | |
735 | | |
736 | | |
737 | | |
738 | | |
739 | | |
740 | | |
741 | | |
742 | | |
743 | | |
744 | | |
745 | | tm_primitive_table = Table('tm_primitive', metadata, |
746 | | Column('tm_primitive_id', Integer, Sequence('tm_primitive_id_seq'), primary_key=True), |
747 | | Column('tm_object_id', Integer, ForeignKey('tm_object.tm_object_id')), Column('ex_temporalextent_extent', Integer, ForeignKey('ex_temporalextent.ex_temporalextent_id')), |
748 | | Column('t_type', String(30), nullable=False, default='tm_primitive'), |
749 | | extend_existing=False,) |
750 | | |
751 | | |
752 | | |
753 | | |
754 | | |
755 | | |
756 | | |
757 | | |
758 | | |
759 | | |
760 | | |
761 | | |
762 | | uomscale_table = Table('uomscale', metadata, |
763 | | Column('uomscale_id', Integer, Sequence('uomscale_id_seq'), primary_key=True), |
764 | | Column('unitofmeasure_id', Integer, ForeignKey('unitofmeasure.unitofmeasure_id')), Column('scale_uom', Integer, ForeignKey('scale.scale_id')), |
765 | | Column('t_type', String(30), nullable=False, default='uomscale'), |
| 595 | extend_existing=False,) |
| 596 | |
| 597 | |
| 598 | |
| 599 | |
| 600 | |
| 601 | |
| 602 | |
| 603 | |
| 604 | |
| 605 | |
| 606 | |
| 607 | |
| 608 | md_medium_table = Table('md_medium', metadata, |
| 609 | Column('id', Integer, Sequence('md_medium_id_seq'), primary_key=True), |
| 610 | Column('md_digitaltransferoptions_offline_id', Integer, ForeignKey('md_digitaltransferoptions.id')), |
| 611 | Column('mediumNote', TEXT , nullable=True), |
| 612 | Column('density', ARRAY(NUMERIC) , nullable=True), |
| 613 | Column('mediumFormat', MD_MediumFormatCode.db_type() , nullable=True), |
| 614 | Column('densityUnits', TEXT , nullable=True), |
| 615 | Column('volumes', Integer , nullable=True), |
| 616 | Column('name', MD_MediumNameCode.db_type() , nullable=True), |
| 666 | extend_existing=False,) |
| 667 | |
| 668 | |
| 669 | |
| 670 | |
| 671 | |
| 672 | |
| 673 | |
| 674 | |
| 675 | |
| 676 | |
| 677 | |
| 678 | |
| 679 | cv_gridenvelope_table = Table('cv_gridenvelope', metadata, |
| 680 | Column('id', Integer, Sequence('cv_gridenvelope_id_seq'), primary_key=True), |
| 681 | Column('cv_grid_extent_id', Integer, ForeignKey('cv_grid.id')), |
| 682 | extend_existing=False,) |
| 683 | |
| 684 | |
| 685 | |
| 686 | |
| 687 | |
| 688 | |
| 689 | |
| 690 | |
| 691 | |
| 692 | |
| 693 | |
| 694 | |
| 695 | multiplicityrange_table = Table('multiplicityrange', metadata, |
| 696 | Column('id', Integer, Sequence('multiplicityrange_id_seq'), primary_key=True), |
| 697 | Column('multiplicity_range', Integer, ForeignKey('multiplicity.id')), |
| 698 | Column('lower', Integer , nullable=False), |
| 699 | extend_existing=False,) |
| 700 | |
| 701 | |
| 702 | |
| 703 | |
| 704 | |
| 705 | |
| 706 | |
| 707 | |
| 708 | |
| 709 | |
| 710 | |
| 711 | |
| 712 | date_table = Table('date', metadata, |
| 713 | Column('id', Integer, Sequence('date_id_seq'), primary_key=True), |
| 714 | Column('datetime__date_id', Integer, ForeignKey('datetime.id')), |
| 715 | Column('ci_citation_editiondate_id', Integer, ForeignKey('ci_citation.id')), |
| 716 | Column('md_metadata_datestamp_id', Integer, ForeignKey('md_metadata.id')), |
| 717 | Column('ci_date_date_id', Integer, ForeignKey('ci_date.id')), |
| 718 | Column('cd_datum_realizationepoch_id', Integer, ForeignKey('cd_datum.id')), |
| 719 | Column('tm_position_date8601_id', Integer, ForeignKey('tm_position.id')), |
| 720 | Column('md_maintenanceinformation_dateofnextupdate_id', Integer, ForeignKey('md_maintenanceinformation.id')), |
| 721 | Column('century', TEXT , nullable=False), |
| 722 | Column('year', TEXT , nullable=True), |
| 723 | Column('month', TEXT , nullable=True), |
| 724 | Column('day', TEXT , nullable=True), |
| 725 | extend_existing=False,) |
| 726 | |
| 727 | |
| 728 | |
| 729 | |
| 730 | |
| 731 | |
| 732 | |
| 733 | |
| 734 | |
| 735 | |
| 736 | |
| 737 | |
| 738 | datetime_table = Table('datetime', metadata, |
| 739 | Column('id', Integer, Sequence('datetime_id_seq'), primary_key=True), |
| 740 | Column('md_usage_usagedatetime_id', Integer, ForeignKey('md_usage.id')), |
| 741 | Column('dq_element_datetime', Integer, ForeignKey('dq_element.id')), |
| 742 | Column('li_processstep_datetime_id', Integer, ForeignKey('li_processstep.id')), |
| 743 | Column('ceda_notes_date_id', Integer, ForeignKey('ceda_notes.id')), |
| 744 | Column('md_standardorderprocess_plannedavailabledatetime_id', Integer, ForeignKey('md_standardorderprocess.id')), |
| 745 | Column('tm_position_datetime8601_id', Integer, ForeignKey('tm_position.id')), |
| 746 | extend_existing=False,) |
| 747 | |
| 748 | |
| 749 | |
| 750 | |
| 751 | |
| 752 | |
| 753 | |
| 754 | |
| 755 | |
| 756 | |
| 757 | |
| 758 | |
| 759 | tm_primitive_table = Table('tm_primitive', metadata, |
| 760 | Column('id', Integer, Sequence('tm_primitive_id_seq'), primary_key=True), |
| 761 | Column('tm_topologicalprimitive__tm_primitive_id', Integer, ForeignKey('tm_topologicalprimitive.id')), |
| 762 | Column('tm_geometricprimitive__tm_primitive_id', Integer, ForeignKey('tm_geometricprimitive.id')), |
| 763 | Column('ex_temporalextent_extent_id', Integer, ForeignKey('ex_temporalextent.id')), |
| 764 | extend_existing=False,) |
| 765 | |
| 766 | |
| 767 | |
| 768 | |
| 769 | |
| 770 | |
| 771 | |
| 772 | |
| 773 | |
| 774 | |
| 775 | |
| 776 | |
| 777 | tm_complex_table = Table('tm_complex', metadata, |
| 778 | Column('id', Integer, Sequence('tm_complex_id_seq'), primary_key=True), |
| 779 | Column('tm_topologicalcomplex__tm_complex_id', Integer, ForeignKey('tm_topologicalcomplex.id')), |
| 780 | extend_existing=False,) |
| 781 | |
| 782 | |
| 783 | |
| 784 | |
| 785 | |
| 786 | |
| 787 | |
| 788 | |
| 789 | |
| 790 | |
| 791 | |
| 792 | |
| 793 | multiplicity_table = Table('multiplicity', metadata, |
| 794 | Column('id', Integer, Sequence('multiplicity_id_seq'), primary_key=True), |
| 795 | Column('gf_associationrole_cardinality_id', Integer, ForeignKey('gf_associationrole.id')), |
| 796 | Column('gf_attributetype_cardinality_id', Integer, ForeignKey('gf_attributetype.id')), |
| 797 | extend_existing=False,) |
| 798 | |
| 799 | |
| 800 | |
| 801 | |
| 802 | |
| 803 | |
| 804 | |
| 805 | |
| 806 | |
| 807 | |
| 808 | |
| 809 | |
| 810 | ex_temporalextent_table = Table('ex_temporalextent', metadata, |
| 811 | Column('id', Integer, Sequence('ex_temporalextent_id_seq'), primary_key=True), |
| 812 | Column('ex_extent_temporalelement', Integer, ForeignKey('ex_extent.id')), |
| 813 | extend_existing=False,) |
| 814 | |
| 815 | |
| 816 | |
| 817 | |
| 818 | |
| 819 | |
| 820 | |
| 821 | |
| 822 | |
| 823 | |
| 824 | |
| 825 | |
| 826 | tm_geometricprimitive_table = Table('tm_geometricprimitive', metadata, |
| 827 | Column('id', Integer, Sequence('tm_geometricprimitive_id_seq'), primary_key=True), |
| 828 | Column('tm_instant__tm_geometricprimitive_id', Integer, ForeignKey('tm_instant.id')), |
| 829 | Column('cv_domainobject_temporalelement', Integer, ForeignKey('cv_domainobject.id')), |
| 830 | Column('tm_period__tm_geometricprimitive_id', Integer, ForeignKey('tm_period.id')), |
| 831 | extend_existing=False,) |
| 832 | |
| 833 | |
| 834 | |
| 835 | |
| 836 | |
| 837 | |
| 838 | |
| 839 | |
| 840 | |
| 841 | |
| 842 | |
| 843 | |
| 844 | md_digitaltransferoptions_table = Table('md_digitaltransferoptions', metadata, |
| 845 | Column('id', Integer, Sequence('md_digitaltransferoptions_id_seq'), primary_key=True), |
| 846 | Column('md_distributor_distributortransferoptions', Integer, ForeignKey('md_distributor.id')), |
| 847 | Column('md_distribution_transferoptions', Integer, ForeignKey('md_distribution.id')), |
| 848 | Column('unitsOfDistribution', TEXT , nullable=True), |
| 849 | Column('transferSize', NUMERIC , nullable=True), |
| 850 | extend_existing=False,) |
| 851 | |
| 852 | |
| 853 | |
| 854 | |
| 855 | |
| 856 | |
| 857 | |
| 858 | |
| 859 | |
| 860 | |
| 861 | |
| 862 | |
| 863 | ci_date_table = Table('ci_date', metadata, |
| 864 | Column('id', Integer, Sequence('ci_date_id_seq'), primary_key=True), |
| 865 | Column('ci_citation_date', Integer, ForeignKey('ci_citation.id')), |
| 866 | Column('dateType', CI_DateTypeCode.db_type() , nullable=False), |
| 867 | extend_existing=False,) |
| 868 | |
| 869 | |
| 870 | |
| 871 | |
| 872 | |
| 873 | |
| 874 | |
| 875 | |
| 876 | |
| 877 | |
| 878 | |
| 879 | |
| 880 | ci_contact_table = Table('ci_contact', metadata, |
| 881 | Column('id', Integer, Sequence('ci_contact_id_seq'), primary_key=True), |
| 882 | Column('ci_party_contactinfo', Integer, ForeignKey('ci_party.id')), |
| 883 | Column('ci_responsibleparty_contactinfo_id', Integer, ForeignKey('ci_responsibleparty.id')), |
| 884 | Column('hoursOfService', TEXT , nullable=True), |
| 885 | Column('contactInstructions', TEXT , nullable=True), |
| 886 | extend_existing=False,) |
| 887 | |
| 888 | |
| 889 | |
| 890 | |
| 891 | |
| 892 | |
| 893 | |
| 894 | |
| 895 | |
| 896 | |
| 897 | |
| 898 | |
| 899 | ci_responsibleparty_table = Table('ci_responsibleparty', metadata, |
| 900 | Column('id', Integer, Sequence('ci_responsibleparty_id_seq'), primary_key=True), |
| 901 | Column('md_usage_usercontactinfo', Integer, ForeignKey('md_usage.id')), |
| 902 | Column('li_processstep_processor', Integer, ForeignKey('li_processstep.id')), |
| 903 | Column('md_maintenanceinformation_contact', Integer, ForeignKey('md_maintenanceinformation.id')), |
| 904 | Column('md_metadata_contact', Integer, ForeignKey('md_metadata.id')), |
| 905 | Column('md_extendedelementinformation_source', Integer, ForeignKey('md_extendedelementinformation.id')), |
| 906 | Column('md_identification_pointofcontact', Integer, ForeignKey('md_identification.id')), |
| 907 | Column('ci_citation_citedresponsibleparty', Integer, ForeignKey('ci_citation.id')), |
| 908 | Column('md_distributor_distributorcontact_id', Integer, ForeignKey('md_distributor.id')), |
| 909 | Column('individualName', TEXT , nullable=True), |
| 910 | Column('role', CI_RoleCode.db_type() , nullable=False), |
| 911 | Column('organisationName', TEXT , nullable=True), |
| 912 | Column('positionName', TEXT , nullable=True), |
| 913 | extend_existing=False,) |
| 914 | |
| 915 | |
| 916 | |
| 917 | |
| 918 | |
| 919 | |
| 920 | |
| 921 | |
| 922 | |
| 923 | |
| 924 | |
| 925 | |
| 926 | md_standardorderprocess_table = Table('md_standardorderprocess', metadata, |
| 927 | Column('id', Integer, Sequence('md_standardorderprocess_id_seq'), primary_key=True), |
| 928 | Column('md_distributor_distributionorderprocess', Integer, ForeignKey('md_distributor.id')), |
| 929 | Column('fees', TEXT , nullable=True), |
| 930 | Column('turnaround', TEXT , nullable=True), |
| 931 | Column('orderingInstructions', TEXT , nullable=True), |
| 932 | extend_existing=False,) |
| 933 | |
| 934 | |
| 935 | |
| 936 | |
| 937 | |
| 938 | |
| 939 | |
| 940 | |
| 941 | |
| 942 | |
| 943 | |
| 944 | |
| 945 | ci_party_table = Table('ci_party', metadata, |
| 946 | Column('id', Integer, Sequence('ci_party_id_seq'), primary_key=True), |
| 947 | Column('ci_responsibility_party', Integer, ForeignKey('ci_responsibility.id')), |
| 948 | Column('name', TEXT , nullable=True), |
| 949 | extend_existing=False,) |
| 950 | |
| 951 | |
| 952 | |
| 953 | |
| 954 | |
| 955 | |
| 956 | |
| 957 | |
| 958 | |
| 959 | |
| 960 | |
| 961 | |
| 962 | md_extendedelementinformation_table = Table('md_extendedelementinformation', metadata, |
| 963 | Column('id', Integer, Sequence('md_extendedelementinformation_id_seq'), primary_key=True), |
| 964 | Column('md_metadataextensioninformation_extendedelementinformation', Integer, ForeignKey('md_metadataextensioninformation.id')), |
| 965 | Column('rule', TEXT , nullable=False), |
| 966 | Column('rationale', ARRAY(TEXT) , nullable=True), |
| 967 | Column('domainValue', TEXT , nullable=True), |
| 968 | Column('domainCode', Integer , nullable=True), |
| 969 | Column('definition', TEXT , nullable=False), |
| 970 | Column('dataType', MD_DatatypeCode.db_type() , nullable=False), |
| 971 | Column('condition', TEXT , nullable=True), |
| 972 | Column('name', TEXT , nullable=False), |
| 973 | Column('maximumOccurrence', TEXT , nullable=True), |
| 974 | Column('parentEntity', ARRAY(TEXT) , nullable=False), |
| 975 | Column('shortName', TEXT , nullable=True), |
| 976 | Column('obligation', MD_ObligationCode.db_type() , nullable=True), |
| 977 | extend_existing=False,) |
| 978 | |
| 979 | |
| 980 | |
| 981 | |
| 982 | |
| 983 | |
| 984 | |
| 985 | |
| 986 | |
| 987 | |
| 988 | |
| 989 | |
| 990 | md_usage_table = Table('md_usage', metadata, |
| 991 | Column('id', Integer, Sequence('md_usage_id_seq'), primary_key=True), |
| 992 | Column('md_identification_resourcespecificusage', Integer, ForeignKey('md_identification.id')), |
| 993 | Column('userDeterminedLimitations', TEXT , nullable=True), |
| 994 | Column('specificUsage', TEXT , nullable=False), |
| 995 | extend_existing=False,) |
| 996 | |
| 997 | |
| 998 | |
| 999 | |
| 1000 | |
| 1001 | |
| 1002 | |
| 1003 | |
| 1004 | |
| 1005 | |
| 1006 | |
| 1007 | |
| 1008 | md_metadataextensioninformation_table = Table('md_metadataextensioninformation', metadata, |
| 1009 | Column('id', Integer, Sequence('md_metadataextensioninformation_id_seq'), primary_key=True), |
| 1010 | Column('md_metadata_metadataextensioninfo', Integer, ForeignKey('md_metadata.id')), |
| 1011 | extend_existing=False,) |
| 1012 | |
| 1013 | |
| 1014 | |
| 1015 | |
| 1016 | |
| 1017 | |
| 1018 | |
| 1019 | |
| 1020 | |
| 1021 | |
| 1022 | |
| 1023 | |
| 1024 | ci_responsibility_table = Table('ci_responsibility', metadata, |
| 1025 | Column('id', Integer, Sequence('ci_responsibility_id_seq'), primary_key=True), |
| 1026 | Column('mo_responsiblepartyinfo__ci_responsibility_id', Integer, ForeignKey('mo_responsiblepartyinfo.id')), |
| 1027 | extend_existing=False,) |
| 1028 | |
| 1029 | |
| 1030 | |
| 1031 | |
| 1032 | |
| 1033 | |
| 1034 | |
| 1035 | |
| 1036 | |
| 1037 | |
| 1038 | |
| 1039 | |
| 1040 | gfi_feature_table = Table('gfi_feature', metadata, |
| 1041 | Column('id', Integer, Sequence('gfi_feature_id_seq'), primary_key=True), |
| 1042 | Column('om_observation_featureofinterest_id', Integer, ForeignKey('om_observation.id', use_alter=True, name='fk_om_observation_featureofinterest')), |
| 1043 | extend_existing=False,) |
| 1044 | |
| 1045 | |
| 1046 | |
| 1047 | |
| 1048 | |
| 1049 | |
| 1050 | |
| 1051 | |
| 1052 | |
| 1053 | |
| 1054 | |
| 1055 | |
| 1056 | gf_associationtype_table = Table('gf_associationtype', metadata, |
| 1057 | Column('id', Integer, Sequence('gf_associationtype_id_seq'), primary_key=True), |
| 1058 | Column('gf_featuretype_linkbetween', Integer, ForeignKey('gf_featuretype.id', use_alter=True, name='fk_gf_featuretype_linkbetween')), |
| 1059 | Column('gf_operation_dependson', Integer, ForeignKey('gf_operation.id', use_alter=True, name='fk_gf_operation_dependson')), |
| 1060 | extend_existing=False,) |
| 1061 | |
| 1062 | |
| 1063 | |
| 1064 | |
| 1065 | |
| 1066 | |
| 1067 | |
| 1068 | |
| 1069 | |
| 1070 | |
| 1071 | |
| 1072 | |
| 1073 | li_processstep_table = Table('li_processstep', metadata, |
| 1074 | Column('id', Integer, Sequence('li_processstep_id_seq'), primary_key=True), |
| 1075 | Column('li_lineage_processstep', Integer, ForeignKey('li_lineage.id')), |
| 1076 | Column('li_source_sourcestep', Integer, ForeignKey('li_source.id', use_alter=True, name='fk_li_source_sourcestep')), |
| 1077 | Column('description', TEXT , nullable=False), |
| 1078 | Column('rationale', TEXT , nullable=True), |
| 1079 | extend_existing=False,) |
| 1080 | |
| 1081 | |
| 1082 | |
| 1083 | |
| 1084 | |
| 1085 | |
| 1086 | |
| 1087 | |
| 1088 | |
| 1089 | |
| 1090 | |
| 1091 | |
| 1092 | tm_referencesystem_table = Table('tm_referencesystem', metadata, |
| 1093 | Column('id', Integer, Sequence('tm_referencesystem_id_seq'), primary_key=True), |
| 1094 | Column('tm_temporalposition_frame_id', Integer, ForeignKey('tm_temporalposition.id', use_alter=True, name='fk_tm_temporalposition_frame')), |
| 1095 | extend_existing=False,) |
| 1096 | |
| 1097 | |
| 1098 | |
| 1099 | |
| 1100 | |
| 1101 | |
| 1102 | |
| 1103 | |
| 1104 | |
| 1105 | |
| 1106 | |
| 1107 | |
| 1108 | mo_result_table = Table('mo_result', metadata, |
| 1109 | Column('id', Integer, Sequence('mo_result_id_seq'), primary_key=True), |
| 1110 | Column('mo_observation_result_id', Integer, ForeignKey('mo_observation.id')), |
| 1111 | Column('ceda_result__mo_result_id', Integer, ForeignKey('ceda_result.id')), |
| 1112 | extend_existing=False,) |
| 1113 | |
| 1114 | |
| 1115 | |
| 1116 | |
| 1117 | |
| 1118 | |
| 1119 | |
| 1120 | |
| 1121 | |
| 1122 | |
| 1123 | |
| 1124 | |
| 1125 | typename_table = Table('typename', metadata, |
| 1126 | Column('id', Integer, Sequence('typename_id_seq'), primary_key=True), |
| 1127 | Column('schema_acceptableclasslist', Integer, ForeignKey('schema.id')), |
| 1128 | Column('namespace_acceptableclasslist', Integer, ForeignKey('namespace.id', use_alter=True, name='fk_namespace_acceptableclasslist')), |
| 1129 | Column('type_typename_id', Integer, ForeignKey('type.id')), |
| 1130 | Column('gf_attributetype_valuetype_id', Integer, ForeignKey('gf_attributetype.id')), |
| 1131 | Column('gf_associationrole_valuetype_id', Integer, ForeignKey('gf_associationrole.id')), |
| 1132 | Column('aName', TEXT , nullable=False), |
| 1133 | extend_existing=False,) |
| 1134 | |
| 1135 | |
| 1136 | |
| 1137 | |
| 1138 | |
| 1139 | |
| 1140 | |
| 1141 | |
| 1142 | |
| 1143 | |
| 1144 | |
| 1145 | |
| 1146 | gf_inheritancerelation_table = Table('gf_inheritancerelation', metadata, |
| 1147 | Column('id', Integer, Sequence('gf_inheritancerelation_id_seq'), primary_key=True), |
| 1148 | Column('gf_featuretype_thegf_inheritancerelation', Integer, ForeignKey('gf_featuretype.id', use_alter=True, name='fk_gf_featuretype_thegf_inheritancerelation')), |
| 1149 | Column('description', TEXT , nullable=False), |
| 1150 | Column('uniqueInstance', BOOLEAN , nullable=False), |
| 1151 | Column('name', TEXT , nullable=False), |
| 1152 | extend_existing=False,) |
| 1153 | |
| 1154 | |
| 1155 | |
| 1156 | |
| 1157 | |
| 1158 | |
| 1159 | |
| 1160 | |
| 1161 | |
| 1162 | |
| 1163 | |
| 1164 | |
| 1165 | length_table = Table('length', metadata, |
| 1166 | Column('id', Integer, Sequence('length_id_seq'), primary_key=True), |
| 1167 | Column('distance__length_id', Integer, ForeignKey('distance.id')), |
| 1168 | extend_existing=False,) |
| 1169 | |
| 1170 | |
| 1171 | |
| 1172 | |
| 1173 | |
| 1174 | |
| 1175 | |
| 1176 | |
| 1177 | |
| 1178 | |
| 1179 | |
| 1180 | |
| 1181 | mo_onlineresource_table = Table('mo_onlineresource', metadata, |
| 1182 | Column('id', Integer, Sequence('mo_onlineresource_id_seq'), primary_key=True), |
| 1183 | Column('mo_result_source', Integer, ForeignKey('mo_result.id')), |
| 1184 | Column('mo_result_sample', Integer, ForeignKey('mo_result.id')), |
| 1185 | Column('ceda_project_projectresource', Integer, ForeignKey('ceda_project.id')), |
| 1186 | extend_existing=False,) |
| 1187 | |
| 1188 | |
| 1189 | |
| 1190 | |
| 1191 | |
| 1192 | |
| 1193 | |
| 1194 | |
| 1195 | |
| 1196 | |
| 1197 | |
| 1198 | |
| 1199 | measure_table = Table('measure', metadata, |
| 1200 | Column('id', Integer, Sequence('measure_id_seq'), primary_key=True), |
| 1201 | Column('length__measure_id', Integer, ForeignKey('length.id')), |
| 1202 | Column('unitofmeasure_measure', Integer, ForeignKey('unitofmeasure.id', use_alter=True, name='fk_unitofmeasure_measure')), |
| 1203 | Column('time__measure_id', Integer, ForeignKey('time.id')), |
| 1204 | Column('scale__measure_id', Integer, ForeignKey('scale.id')), |
| 1205 | Column('value', NUMERIC , nullable=False), |
| 1206 | extend_existing=False,) |
| 1207 | |
| 1208 | |
| 1209 | |
| 1210 | |
| 1211 | |
| 1212 | |
| 1213 | |
| 1214 | |
| 1215 | |
| 1216 | |
| 1217 | |
| 1218 | |
| 1219 | cs_coordinatesystem_table = Table('cs_coordinatesystem', metadata, |
| 1220 | Column('id', Integer, Sequence('cs_coordinatesystem_id_seq'), primary_key=True), |
| 1221 | Column('cs_coordinatesystemaxis_coordinatesystem', Integer, ForeignKey('cs_coordinatesystemaxis.id', use_alter=True, name='fk_cs_coordinatesystemaxis_coordinatesystem')), |
| 1222 | Column('cs_verticalcs__cs_coordinatesystem_id', Integer, ForeignKey('cs_verticalcs.id')), |
| 1223 | Column('sc_singlecrs_coordinatesystem_id', Integer, ForeignKey('sc_singlecrs.id', use_alter=True, name='fk_sc_singlecrs_coordinatesystem')), |
| 1224 | extend_existing=False,) |
| 1225 | |
| 1226 | |
| 1227 | |
| 1228 | |
| 1229 | |
| 1230 | |
| 1231 | |
| 1232 | |
| 1233 | |
| 1234 | |
| 1235 | |
| 1236 | |
| 1237 | mo_compositeprocess_table = Table('mo_compositeprocess', metadata, |
| 1238 | Column('id', Integer, Sequence('mo_compositeprocess_id_seq'), primary_key=True), |
| 1239 | Column('ceda_compositeprocess__mo_compositeprocess_id', Integer, ForeignKey('ceda_compositeprocess.id')), |
890 | | Column('protocol', TEXT , nullable=True), |
891 | | Column('t_type', String(30), nullable=False, default='ci_onlineresource'), |
892 | | extend_existing=False,) |
893 | | |
894 | | |
895 | | |
896 | | |
897 | | |
898 | | |
899 | | |
900 | | |
901 | | |
902 | | |
903 | | |
904 | | |
905 | | localname_table = Table('localname', metadata, |
906 | | Column('localname_id', Integer, Sequence('localname_id_seq'), primary_key=True), |
907 | | Column('genericname_id', Integer, ForeignKey('genericname.genericname_id')), Column('gf_featuretype_typeName', Integer, ForeignKey('gf_featuretype.gf_featuretype_id')), |
908 | | Column('gf_propertytype_memberName', Integer, ForeignKey('gf_propertytype.gf_propertytype_id')), |
909 | | Column('t_type', String(30), nullable=False, default='localname'), |
910 | | extend_existing=False,) |
911 | | |
912 | | |
913 | | |
914 | | |
915 | | |
916 | | |
917 | | |
918 | | |
919 | | |
920 | | |
921 | | |
922 | | |
923 | | uomlength_table = Table('uomlength', metadata, |
924 | | Column('uomlength_id', Integer, Sequence('uomlength_id_seq'), primary_key=True), |
925 | | Column('unitofmeasure_id', Integer, ForeignKey('unitofmeasure.unitofmeasure_id')), Column('scale_sourceUnits', Integer, ForeignKey('scale.scale_id')), |
926 | | Column('scale_targetUnits', Integer, ForeignKey('scale.scale_id')), |
927 | | Column('t_type', String(30), nullable=False, default='uomlength'), |
928 | | extend_existing=False,) |
929 | | |
930 | | |
931 | | |
932 | | |
933 | | |
934 | | |
935 | | |
936 | | |
937 | | |
938 | | |
939 | | |
940 | | |
941 | | ceda_process_table = Table('ceda_process', metadata, |
942 | | Column('ceda_process_id', Integer, Sequence('ceda_process_id_seq'), primary_key=True), |
943 | | Column('mo_process_id', Integer, ForeignKey('mo_process.mo_process_id')), Column('ceda_observation_procedure', Integer, ForeignKey('ceda_observation.ceda_observation_id')), |
944 | | Column('t_type', String(30), nullable=False, default='ceda_process'), |
945 | | extend_existing=False,) |
946 | | |
947 | | |
948 | | |
949 | | |
950 | | |
951 | | |
952 | | |
953 | | |
954 | | |
955 | | |
956 | | |
957 | | |
958 | | mo_onlineresource_table = Table('mo_onlineresource', metadata, |
959 | | Column('mo_onlineresource_id', Integer, Sequence('mo_onlineresource_id_seq'), primary_key=True), |
960 | | Column('ci_onlineresource_id', Integer, ForeignKey('ci_onlineresource.ci_onlineresource_id')), Column('mo_result_source', Integer, ForeignKey('mo_result.mo_result_id')), |
961 | | Column('mo_result_sample', Integer, ForeignKey('mo_result.mo_result_id')), |
962 | | Column('ceda_project_projectResource', Integer, ForeignKey('ceda_project.ceda_project_id')), |
963 | | Column('applicationProfile', MO_ApplicationProfileValue.db_type() , nullable=False), |
964 | | Column('function', MO_OnLineFunctionValue.db_type() , nullable=False), |
965 | | Column('t_type', String(30), nullable=False, default='mo_onlineresource'), |
966 | | extend_existing=False,) |
967 | | |
968 | | |
969 | | |
970 | | |
971 | | |
972 | | |
973 | | |
974 | | |
975 | | |
976 | | |
977 | | |
978 | | |
979 | | scale_table = Table('scale', metadata, |
980 | | Column('scale_id', Integer, Sequence('scale_id_seq'), primary_key=True), |
981 | | Column('measure_id', Integer, ForeignKey('measure.measure_id')), Column('md_representativefraction_equivalentScale', Integer, ForeignKey('md_representativefraction.md_representativefraction_id')), |
982 | | Column('t_type', String(30), nullable=False, default='scale'), |
983 | | extend_existing=False,) |
984 | | |
985 | | |
986 | | |
987 | | |
988 | | |
989 | | |
990 | | |
991 | | |
992 | | |
993 | | |
994 | | |
995 | | |
996 | | typename_table = Table('typename', metadata, |
997 | | Column('typename_id', Integer, Sequence('typename_id_seq'), primary_key=True), |
998 | | Column('localname_id', Integer, ForeignKey('localname.localname_id')), Column('gf_attributetype_valueType', Integer, ForeignKey('gf_attributetype.gf_attributetype_id')), |
999 | | Column('aName', TEXT , nullable=False), |
1000 | | Column('t_type', String(30), nullable=False, default='typename'), |
1001 | | extend_existing=False,) |
1002 | | |
1003 | | |
1004 | | |
1005 | | |
1006 | | |
1007 | | |
1008 | | |
1009 | | |
1010 | | |
1011 | | |
1012 | | |
1013 | | |
1014 | | mo_result_table = Table('mo_result', metadata, |
1015 | | Column('mo_result_id', Integer, Sequence('mo_result_id_seq'), primary_key=True), |
1016 | | Column('mo_observation_result', Integer, ForeignKey('mo_observation.mo_observation_id')), |
1017 | | Column('t_type', String(30), nullable=False, default='mo_result'), |
1018 | | extend_existing=False,) |
1019 | | |
1020 | | |
1021 | | |
1022 | | |
1023 | | |
1024 | | |
1025 | | |
1026 | | |
1027 | | |
1028 | | |
1029 | | |
1030 | | |
1031 | | datetime_table = Table('datetime', metadata, |
1032 | | Column('datetime_id', Integer, Sequence('datetime_id_seq'), primary_key=True), |
1033 | | Column('date_id', Integer, ForeignKey('date.date_id')), Column('clocktime_id', Integer, ForeignKey('clocktime.clocktime_id')), Column('li_processstep_dateTime', Integer, ForeignKey('li_processstep.li_processstep_id')), |
1034 | | Column('md_usage_usageDateTime', Integer, ForeignKey('md_usage.md_usage_id')), |
1035 | | Column('tm_position_dateTime8601', Integer, ForeignKey('tm_position.tm_position_id')), |
1036 | | Column('dq_element_dateTime', Integer, ForeignKey('dq_element.dq_element_id')), |
1037 | | Column('ceda_notes_date', Integer, ForeignKey('ceda_notes.ceda_notes_id')), |
1038 | | Column('t_type', String(30), nullable=False, default='datetime'), |
1039 | | extend_existing=False,) |
1040 | | |
1041 | | |
1042 | | |
1043 | | |
1044 | | |
1045 | | |
1046 | | |
1047 | | |
1048 | | |
1049 | | |
1050 | | |
1051 | | |
1052 | | gf_featuretype_table = Table('gf_featuretype', metadata, |
1053 | | Column('gf_featuretype_id', Integer, Sequence('gf_featuretype_id_seq'), primary_key=True), |
1054 | | Column('md_scopedescription_features', Integer, ForeignKey('md_scopedescription.md_scopedescription_id')), |
1055 | | Column('md_scopedescription_featureInstances', Integer, ForeignKey('md_scopedescription.md_scopedescription_id')), |
1056 | | Column('definition', TEXT , nullable=False), |
1057 | | Column('isAbstract', BOOLEAN , nullable=False), |
1058 | | Column('t_type', String(30), nullable=False, default='gf_featuretype'), |
| 1241 | extend_existing=False,) |
| 1242 | |
| 1243 | |
| 1244 | |
| 1245 | |
| 1246 | |
| 1247 | |
| 1248 | |
| 1249 | |
| 1250 | |
| 1251 | |
| 1252 | |
| 1253 | |
| 1254 | le_nominalresolution_table = Table('le_nominalresolution', metadata, |
| 1255 | Column('id', Integer, Sequence('le_nominalresolution_id_seq'), primary_key=True), |
| 1256 | Column('le_source_resolution_id', Integer, ForeignKey('le_source.id')), |
| 1257 | extend_existing=False,) |
| 1258 | |
| 1259 | |
| 1260 | |
| 1261 | |
| 1262 | |
| 1263 | |
| 1264 | |
| 1265 | |
| 1266 | |
| 1267 | |
| 1268 | |
| 1269 | |
| 1270 | cc_operationmethod_table = Table('cc_operationmethod', metadata, |
| 1271 | Column('id', Integer, Sequence('cc_operationmethod_id_seq'), primary_key=True), |
| 1272 | Column('cc_singleoperation_method_id', Integer, ForeignKey('cc_singleoperation.id', use_alter=True, name='fk_cc_singleoperation_method')), |
| 1273 | Column('targetDimensions', Integer , nullable=True), |
| 1274 | Column('sourceDimensions', Integer , nullable=True), |
| 1275 | extend_existing=False,) |
| 1276 | |
| 1277 | |
| 1278 | |
| 1279 | |
| 1280 | |
| 1281 | |
| 1282 | |
| 1283 | |
| 1284 | |
| 1285 | |
| 1286 | |
| 1287 | |
| 1288 | md_applicationschemainformation_table = Table('md_applicationschemainformation', metadata, |
| 1289 | Column('id', Integer, Sequence('md_applicationschemainformation_id_seq'), primary_key=True), |
| 1290 | Column('md_metadata_applicationschemainfo', Integer, ForeignKey('md_metadata.id')), |
| 1291 | Column('constraintLanguage', TEXT , nullable=False), |
| 1292 | Column('schemaAscii', TEXT , nullable=True), |
| 1293 | Column('softwareDevelopmentFileFormat', TEXT , nullable=True), |
| 1294 | Column('schemaLanguage', TEXT , nullable=False), |
| 1295 | extend_existing=False,) |
| 1296 | |
| 1297 | |
| 1298 | |
| 1299 | |
| 1300 | |
| 1301 | |
| 1302 | |
| 1303 | |
| 1304 | |
| 1305 | |
| 1306 | |
| 1307 | |
| 1308 | md_distribution_table = Table('md_distribution', metadata, |
| 1309 | Column('id', Integer, Sequence('md_distribution_id_seq'), primary_key=True), |
| 1310 | Column('md_metadata_distributioninfo_id', Integer, ForeignKey('md_metadata.id')), |
| 1311 | extend_existing=False,) |
| 1312 | |
| 1313 | |
| 1314 | |
| 1315 | |
| 1316 | |
| 1317 | |
| 1318 | |
| 1319 | |
| 1320 | |
| 1321 | |
| 1322 | |
| 1323 | |
| 1324 | cc_conversion_table = Table('cc_conversion', metadata, |
| 1325 | Column('id', Integer, Sequence('cc_conversion_id_seq'), primary_key=True), |
| 1326 | Column('sc_generalderivedcrs_conversion_id', Integer, ForeignKey('sc_generalderivedcrs.id', use_alter=True, name='fk_sc_generalderivedcrs_conversion')), |
| 1327 | Column('operationVersion', TEXT , nullable=True), |
| 1328 | extend_existing=False,) |
| 1329 | |
| 1330 | |
| 1331 | |
| 1332 | |
| 1333 | |
| 1334 | |
| 1335 | |
| 1336 | |
| 1337 | |
| 1338 | |
| 1339 | |
| 1340 | |
| 1341 | cv_domainobject_table = Table('cv_domainobject', metadata, |
| 1342 | Column('id', Integer, Sequence('cv_domainobject_id_seq'), primary_key=True), |
| 1343 | Column('cv_coverage_domainelement', Integer, ForeignKey('cv_coverage.id', use_alter=True, name='fk_cv_coverage_domainelement')), |
| 1344 | Column('cv_gridpoint__cv_domainobject_id', Integer, ForeignKey('cv_gridpoint.id')), |
| 1345 | extend_existing=False,) |
| 1346 | |
| 1347 | |
| 1348 | |
| 1349 | |
| 1350 | |
| 1351 | |
| 1352 | |
| 1353 | |
| 1354 | |
| 1355 | |
| 1356 | |
| 1357 | |
| 1358 | cv_attributevalues_table = Table('cv_attributevalues', metadata, |
| 1359 | Column('id', Integer, Sequence('cv_attributevalues_id_seq'), primary_key=True), |
| 1360 | Column('cv_coverage_rangeelement', Integer, ForeignKey('cv_coverage.id', use_alter=True, name='fk_cv_coverage_rangeelement')), |
1078 | | Column('volume', Integer , nullable=True), |
1079 | | Column('t_type', String(30), nullable=False, default='ceda_result'), |
1080 | | extend_existing=False,) |
1081 | | |
1082 | | |
1083 | | |
1084 | | |
1085 | | |
1086 | | |
1087 | | |
1088 | | |
1089 | | |
1090 | | |
1091 | | |
1092 | | |
1093 | | gf_propertytype_table = Table('gf_propertytype', metadata, |
1094 | | Column('gf_propertytype_id', Integer, Sequence('gf_propertytype_id_seq'), primary_key=True), |
1095 | | Column('om_observation_observedProperty', Integer, ForeignKey('om_observation.om_observation_id')), |
1096 | | Column('definition', TEXT , nullable=False), |
1097 | | Column('t_type', String(30), nullable=False, default='gf_propertytype'), |
1098 | | extend_existing=False,) |
1099 | | |
1100 | | |
1101 | | |
1102 | | |
1103 | | |
1104 | | |
1105 | | |
1106 | | |
1107 | | |
1108 | | |
1109 | | |
1110 | | |
1111 | | ci_date_table = Table('ci_date', metadata, |
1112 | | Column('ci_date_id', Integer, Sequence('ci_date_id_seq'), primary_key=True), |
1113 | | Column('ci_citation_date', Integer, ForeignKey('ci_citation.ci_citation_id')), |
1114 | | Column('dateType', CI_DateTypeCode.db_type() , nullable=False), |
1115 | | Column('t_type', String(30), nullable=False, default='ci_date'), |
1116 | | extend_existing=False,) |
1117 | | |
1118 | | |
1119 | | |
1120 | | |
1121 | | |
1122 | | |
1123 | | |
1124 | | |
1125 | | |
1126 | | |
1127 | | |
1128 | | |
1129 | | tm_geometricprimitive_table = Table('tm_geometricprimitive', metadata, |
1130 | | Column('tm_geometricprimitive_id', Integer, Sequence('tm_geometricprimitive_id_seq'), primary_key=True), |
1131 | | Column('tm_primitive_id', Integer, ForeignKey('tm_primitive.tm_primitive_id')),Column('t_type', String(30), nullable=False, default='tm_geometricprimitive'), |
1132 | | extend_existing=False,) |
1133 | | |
1134 | | |
1135 | | |
1136 | | |
1137 | | |
1138 | | |
1139 | | |
1140 | | |
1141 | | |
1142 | | |
1143 | | |
1144 | | |
1145 | | ex_temporalextent_table = Table('ex_temporalextent', metadata, |
1146 | | Column('ex_temporalextent_id', Integer, Sequence('ex_temporalextent_id_seq'), primary_key=True), |
1147 | | Column('ex_extent_temporalElement', Integer, ForeignKey('ex_extent.ex_extent_id')), |
1148 | | Column('t_type', String(30), nullable=False, default='ex_temporalextent'), |
1149 | | extend_existing=False,) |
1150 | | |
1151 | | |
1152 | | |
1153 | | |
1154 | | |
1155 | | |
1156 | | |
1157 | | |
1158 | | |
1159 | | |
1160 | | |
1161 | | |
1162 | | ceda_notes_table = Table('ceda_notes', metadata, |
1163 | | Column('ceda_notes_id', Integer, Sequence('ceda_notes_id_seq'), primary_key=True), |
1164 | | Column('ceda_review_notes', Integer, ForeignKey('ceda_review.ceda_review_id')), |
1165 | | Column('comments', TEXT , nullable=False), |
1166 | | Column('t_type', String(30), nullable=False, default='ceda_notes'), |
1167 | | extend_existing=False,) |
1168 | | |
1169 | | |
1170 | | |
1171 | | |
1172 | | |
1173 | | |
1174 | | |
1175 | | |
1176 | | |
1177 | | |
1178 | | |
1179 | | |
1180 | | ci_contact_table = Table('ci_contact', metadata, |
1181 | | Column('ci_contact_id', Integer, Sequence('ci_contact_id_seq'), primary_key=True), |
1182 | | Column('ci_responsibleparty_contactInfo', Integer, ForeignKey('ci_responsibleparty.ci_responsibleparty_id')), |
1183 | | Column('hoursOfService', TEXT , nullable=True), |
1184 | | Column('contactInstructions', TEXT , nullable=True), |
1185 | | Column('t_type', String(30), nullable=False, default='ci_contact'), |
1186 | | extend_existing=False,) |
1187 | | |
1188 | | |
1189 | | |
1190 | | |
1191 | | |
1192 | | |
1193 | | |
1194 | | |
1195 | | |
1196 | | |
1197 | | |
1198 | | |
1199 | | tm_position_table = Table('tm_position', metadata, |
1200 | | Column('tm_position_id', Integer, Sequence('tm_position_id_seq'), primary_key=True), |
1201 | | Column('tm_instant_position', Integer, ForeignKey('tm_instant.tm_instant_id')), |
1202 | | Column('t_type', String(30), nullable=False, default='tm_position'), |
1203 | | extend_existing=False,) |
1204 | | |
1205 | | |
1206 | | |
1207 | | |
1208 | | |
1209 | | |
1210 | | |
1211 | | |
1212 | | |
1213 | | |
1214 | | |
1215 | | |
1216 | | tm_period_table = Table('tm_period', metadata, |
1217 | | Column('tm_period_id', Integer, Sequence('tm_period_id_seq'), primary_key=True), |
1218 | | Column('tm_geometricprimitive_id', Integer, ForeignKey('tm_geometricprimitive.tm_geometricprimitive_id')), Column('om_observation_validTime', Integer, ForeignKey('om_observation.om_observation_id')), |
1219 | | Column('t_type', String(30), nullable=False, default='tm_period'), |
1220 | | extend_existing=False,) |
1221 | | |
1222 | | |
1223 | | |
1224 | | |
1225 | | |
1226 | | |
1227 | | |
1228 | | |
1229 | | |
1230 | | |
1231 | | |
1232 | | |
1233 | | md_representativefraction_table = Table('md_representativefraction', metadata, |
1234 | | Column('md_representativefraction_id', Integer, Sequence('md_representativefraction_id_seq'), primary_key=True), |
1235 | | Column('li_source_scaleDenominator', Integer, ForeignKey('li_source.li_source_id')), |
1236 | | Column('denominator', Integer , nullable=False), |
1237 | | Column('t_type', String(30), nullable=False, default='md_representativefraction'), |
1238 | | extend_existing=False,) |
1239 | | |
1240 | | |
1241 | | |
1242 | | |
1243 | | |
1244 | | |
1245 | | |
1246 | | |
1247 | | |
1248 | | |
1249 | | |
1250 | | |
1251 | | ci_responsibleparty_table = Table('ci_responsibleparty', metadata, |
1252 | | Column('ci_responsibleparty_id', Integer, Sequence('ci_responsibleparty_id_seq'), primary_key=True), |
1253 | | Column('md_extendedelementinformation_source', Integer, ForeignKey('md_extendedelementinformation.md_extendedelementinformation_id')), |
1254 | | Column('md_metadata_contact', Integer, ForeignKey('md_metadata.md_metadata_id')), |
1255 | | Column('md_usage_userContactInfo', Integer, ForeignKey('md_usage.md_usage_id')), |
1256 | | Column('li_processstep_processor', Integer, ForeignKey('li_processstep.li_processstep_id')), |
1257 | | Column('md_identification_pointOfContact', Integer, ForeignKey('md_identification.md_identification_id')), |
1258 | | Column('md_maintenanceinformation_contact', Integer, ForeignKey('md_maintenanceinformation.md_maintenanceinformation_id')), |
1259 | | Column('ci_citation_citedResponsibleParty', Integer, ForeignKey('ci_citation.ci_citation_id')), |
| 1380 | extend_existing=False,) |
| 1381 | |
| 1382 | |
| 1383 | |
| 1384 | |
| 1385 | |
| 1386 | |
| 1387 | |
| 1388 | |
| 1389 | |
| 1390 | |
| 1391 | |
| 1392 | |
| 1393 | ceda_compositeprocess_table = Table('ceda_compositeprocess', metadata, |
| 1394 | Column('id', Integer, Sequence('ceda_compositeprocess_id_seq'), primary_key=True), |
| 1395 | extend_existing=False,) |
| 1396 | |
| 1397 | |
| 1398 | |
| 1399 | |
| 1400 | |
| 1401 | |
| 1402 | |
| 1403 | |
| 1404 | |
| 1405 | |
| 1406 | |
| 1407 | |
| 1408 | scale_table = Table('scale', metadata, |
| 1409 | Column('id', Integer, Sequence('scale_id_seq'), primary_key=True), |
| 1410 | Column('md_representativefraction_equivalentscale', Integer, ForeignKey('md_representativefraction.id')), |
| 1411 | extend_existing=False,) |
| 1412 | |
| 1413 | |
| 1414 | |
| 1415 | |
| 1416 | |
| 1417 | |
| 1418 | |
| 1419 | |
| 1420 | |
| 1421 | |
| 1422 | |
| 1423 | |
| 1424 | unitofmeasure_table = Table('unitofmeasure', metadata, |
| 1425 | Column('id', Integer, Sequence('unitofmeasure_id_seq'), primary_key=True), |
| 1426 | Column('uomscale__unitofmeasure_id', Integer, ForeignKey('uomscale.id')), |
| 1427 | Column('measure_uom_id', Integer, ForeignKey('measure.id', use_alter=True, name='fk_measure_uom')), |
| 1428 | Column('uomlength__unitofmeasure_id', Integer, ForeignKey('uomlength.id')), |
| 1429 | Column('cs_coordinatesystemaxis_axisunitid_id', Integer, ForeignKey('cs_coordinatesystemaxis.id')), |
| 1430 | Column('formula', TEXT , nullable=True), |
| 1431 | Column('uomSymbol', TEXT , nullable=False), |
| 1432 | Column('offsetToStandardUnit', NUMERIC , nullable=True), |
| 1433 | Column('uomName', TEXT , nullable=False), |
| 1434 | Column('nameStandardUnit', TEXT , nullable=True), |
| 1435 | Column('measureType', MeasureType.db_type() , nullable=False), |
| 1436 | Column('scaleToStandardUnit', NUMERIC , nullable=True), |
| 1437 | extend_existing=False,) |
| 1438 | |
| 1439 | |
| 1440 | |
| 1441 | |
| 1442 | |
| 1443 | |
| 1444 | |
| 1445 | |
| 1446 | |
| 1447 | |
| 1448 | |
| 1449 | |
| 1450 | sc_compoundcrs_table = Table('sc_compoundcrs', metadata, |
| 1451 | Column('id', Integer, Sequence('sc_compoundcrs_id_seq'), primary_key=True), |
| 1452 | Column('sc_singlecrs_compoundcrs', Integer, ForeignKey('sc_singlecrs.id', use_alter=True, name='fk_sc_singlecrs_compoundcrs')), |
| 1453 | extend_existing=False,) |
| 1454 | |
| 1455 | |
| 1456 | |
| 1457 | |
| 1458 | |
| 1459 | |
| 1460 | |
| 1461 | |
| 1462 | |
| 1463 | |
| 1464 | |
| 1465 | |
| 1466 | ceda_operation_table = Table('ceda_operation', metadata, |
| 1467 | Column('id', Integer, Sequence('ceda_operation_id_seq'), primary_key=True), |
| 1468 | extend_existing=False,) |
| 1469 | |
| 1470 | |
| 1471 | |
| 1472 | |
| 1473 | |
| 1474 | |
| 1475 | |
| 1476 | |
| 1477 | |
| 1478 | |
| 1479 | |
| 1480 | |
| 1481 | gm_complex_table = Table('gm_complex', metadata, |
| 1482 | Column('id', Integer, Sequence('gm_complex_id_seq'), primary_key=True), |
| 1483 | Column('gm_primitive_complex', Integer, ForeignKey('gm_primitive.id', use_alter=True, name='fk_gm_primitive_complex')), |
| 1484 | Column('gm_composite__gm_complex_id', Integer, ForeignKey('gm_composite.id')), |
| 1485 | Column('tp_complex_geometry_id', Integer, ForeignKey('tp_complex.id', use_alter=True, name='fk_tp_complex_geometry')), |
| 1486 | extend_existing=False,) |
| 1487 | |
| 1488 | |
| 1489 | |
| 1490 | |
| 1491 | |
| 1492 | |
| 1493 | |
| 1494 | |
| 1495 | |
| 1496 | |
| 1497 | |
| 1498 | |
| 1499 | li_lineage_table = Table('li_lineage', metadata, |
| 1500 | Column('id', Integer, Sequence('li_lineage_id_seq'), primary_key=True), |
| 1501 | Column('dq_dataquality_lineage_id', Integer, ForeignKey('dq_dataquality.id')), |
| 1502 | Column('statement', TEXT , nullable=True), |
| 1503 | extend_existing=False,) |
| 1504 | |
| 1505 | |
| 1506 | |
| 1507 | |
| 1508 | |
| 1509 | |
| 1510 | |
| 1511 | |
| 1512 | |
| 1513 | |
| 1514 | |
| 1515 | |
| 1516 | cc_generaloperationparameter_table = Table('cc_generaloperationparameter', metadata, |
| 1517 | Column('id', Integer, Sequence('cc_generaloperationparameter_id_seq'), primary_key=True), |
| 1518 | Column('cc_operationparametergroup__cc_generaloperationparameter_id', Integer, ForeignKey('cc_operationparametergroup.id')), |
| 1519 | Column('cc_operationparametergroup_parameter', Integer, ForeignKey('cc_operationparametergroup.id', use_alter=True, name='fk_cc_operationparametergroup_parameter')), |
| 1520 | Column('cc_generalparametervalue_parameter_id', Integer, ForeignKey('cc_generalparametervalue.id', use_alter=True, name='fk_cc_generalparametervalue_parameter')), |
| 1521 | Column('minimumOccurs', Integer , nullable=True), |
| 1522 | extend_existing=False,) |
| 1523 | |
| 1524 | |
| 1525 | |
| 1526 | |
| 1527 | |
| 1528 | |
| 1529 | |
| 1530 | |
| 1531 | |
| 1532 | |
| 1533 | |
| 1534 | |
| 1535 | tp_expressionterm_table = Table('tp_expressionterm', metadata, |
| 1536 | Column('id', Integer, Sequence('tp_expressionterm_id_seq'), primary_key=True), |
| 1537 | Column('tp_directedtopo_term', Integer, ForeignKey('tp_directedtopo.id', use_alter=True, name='fk_tp_directedtopo_term')), |
| 1538 | Column('tp_expression_term', Integer, ForeignKey('tp_expression.id', use_alter=True, name='fk_tp_expression_term')), |
| 1539 | Column('coefficient', Integer , nullable=False), |
| 1540 | extend_existing=False,) |
| 1541 | |
| 1542 | |
| 1543 | |
| 1544 | |
| 1545 | |
| 1546 | |
| 1547 | |
| 1548 | |
| 1549 | |
| 1550 | |
| 1551 | |
| 1552 | |
| 1553 | io_identifiedobjectbase_table = Table('io_identifiedobjectbase', metadata, |
| 1554 | Column('id', Integer, Sequence('io_identifiedobjectbase_id_seq'), primary_key=True), |
| 1555 | Column('io_identifiedobject__io_identifiedobjectbase_id', Integer, ForeignKey('io_identifiedobject.id')), |
| 1556 | Column('sc_crs__io_identifiedobjectbase_id', Integer, ForeignKey('sc_crs.id')), |
| 1557 | Column('remarks', TEXT , nullable=True), |
| 1558 | extend_existing=False,) |
| 1559 | |
| 1560 | |
| 1561 | |
| 1562 | |
| 1563 | |
| 1564 | |
| 1565 | |
| 1566 | |
| 1567 | |
| 1568 | |
| 1569 | |
| 1570 | |
| 1571 | ds_aggregate_table = Table('ds_aggregate', metadata, |
| 1572 | Column('id', Integer, Sequence('ds_aggregate_id_seq'), primary_key=True), |
| 1573 | Column('md_metadata_series', Integer, ForeignKey('md_metadata.id', use_alter=True, name='fk_md_metadata_series')), |
| 1574 | Column('ds_dataset_partof', Integer, ForeignKey('ds_dataset.id', use_alter=True, name='fk_ds_dataset_partof')), |
| 1575 | extend_existing=False,) |
| 1576 | |
| 1577 | |
| 1578 | |
| 1579 | |
| 1580 | |
| 1581 | |
| 1582 | |
| 1583 | |
| 1584 | |
| 1585 | |
| 1586 | |
| 1587 | |
| 1588 | gf_operation_table = Table('gf_operation', metadata, |
| 1589 | Column('id', Integer, Sequence('gf_operation_id_seq'), primary_key=True), |
| 1590 | Column('gf_associationtype_thegf_operation', Integer, ForeignKey('gf_associationtype.id', use_alter=True, name='fk_gf_associationtype_thegf_operation')), |
| 1591 | Column('signature', TEXT , nullable=False), |
| 1592 | extend_existing=False,) |
| 1593 | |
| 1594 | |
| 1595 | |
| 1596 | |
| 1597 | |
| 1598 | |
| 1599 | |
| 1600 | |
| 1601 | |
| 1602 | |
| 1603 | |
| 1604 | |
| 1605 | mo_observation_table = Table('mo_observation', metadata, |
| 1606 | Column('id', Integer, Sequence('mo_observation_id_seq'), primary_key=True), |
| 1607 | Column('ceda_observation__mo_observation_id', Integer, ForeignKey('ceda_observation.id')), |
| 1608 | Column('mo_observationcollection_member', Integer, ForeignKey('mo_observationcollection.id')), |
| 1609 | Column('description', TEXT , nullable=True), |
| 1610 | Column('status', MD_ProgressCode.db_type() , nullable=True), |
| 1611 | Column('publicationState', MO_PublicationStateValue.db_type() , nullable=True), |
| 1612 | Column('resolution', TEXT , nullable=True), |
| 1613 | Column('resultAccumulation', MD_MaintenanceFrequencyCode.db_type() , nullable=True), |
| 1614 | extend_existing=False,) |
| 1615 | |
| 1616 | |
| 1617 | |
| 1618 | |
| 1619 | |
| 1620 | |
| 1621 | |
| 1622 | |
| 1623 | |
| 1624 | |
| 1625 | |
| 1626 | |
| 1627 | ci_responsiblepartyinfo_table = Table('ci_responsiblepartyinfo', metadata, |
| 1628 | Column('id', Integer, Sequence('ci_responsiblepartyinfo_id_seq'), primary_key=True), |
| 1629 | Column('ci_responsibility__ci_responsiblepartyinfo_id', Integer, ForeignKey('ci_responsibility.id')), |
1261 | | Column('individualName', TEXT , nullable=True), |
1262 | | Column('organisationName', TEXT , nullable=True), |
1263 | | Column('positionName', TEXT , nullable=True), |
1264 | | Column('t_type', String(30), nullable=False, default='ci_responsibleparty'), |
1265 | | extend_existing=False,) |
1266 | | |
1267 | | |
1268 | | |
1269 | | |
1270 | | |
1271 | | |
1272 | | |
1273 | | |
1274 | | |
1275 | | |
1276 | | |
1277 | | |
1278 | | li_processstep_table = Table('li_processstep', metadata, |
1279 | | Column('li_processstep_id', Integer, Sequence('li_processstep_id_seq'), primary_key=True), |
1280 | | Column('li_lineage_processStep', Integer, ForeignKey('li_lineage.li_lineage_id')), |
1281 | | Column('description', TEXT , nullable=False), |
1282 | | Column('rationale', TEXT , nullable=True), |
1283 | | Column('t_type', String(30), nullable=False, default='li_processstep'), |
1284 | | extend_existing=False,) |
1285 | | |
1286 | | |
1287 | | |
1288 | | |
1289 | | |
1290 | | |
1291 | | |
1292 | | |
1293 | | |
1294 | | |
1295 | | |
1296 | | |
1297 | | gf_attributetype_table = Table('gf_attributetype', metadata, |
1298 | | Column('gf_attributetype_id', Integer, Sequence('gf_attributetype_id_seq'), primary_key=True), |
1299 | | Column('gf_propertytype_id', Integer, ForeignKey('gf_propertytype.gf_propertytype_id')), Column('md_scopedescription_attributes', Integer, ForeignKey('md_scopedescription.md_scopedescription_id')), |
1300 | | Column('md_scopedescription_attributeInstances', Integer, ForeignKey('md_scopedescription.md_scopedescription_id')), |
1301 | | Column('valueDomain', TEXT , nullable=False), |
1302 | | Column('t_type', String(30), nullable=False, default='gf_attributetype'), |
1303 | | extend_existing=False,) |
1304 | | |
1305 | | |
1306 | | |
1307 | | |
1308 | | |
1309 | | |
1310 | | |
1311 | | |
1312 | | |
1313 | | |
1314 | | |
1315 | | |
1316 | | md_usage_table = Table('md_usage', metadata, |
1317 | | Column('md_usage_id', Integer, Sequence('md_usage_id_seq'), primary_key=True), |
1318 | | Column('md_identification_resourceSpecificUsage', Integer, ForeignKey('md_identification.md_identification_id')), |
1319 | | Column('userDeterminedLimitations', TEXT , nullable=True), |
1320 | | Column('specificUsage', TEXT , nullable=False), |
1321 | | Column('t_type', String(30), nullable=False, default='md_usage'), |
1322 | | extend_existing=False,) |
1323 | | |
1324 | | |
1325 | | |
1326 | | |
1327 | | |
1328 | | |
1329 | | |
1330 | | |
1331 | | |
1332 | | |
1333 | | |
1334 | | |
1335 | | tm_instant_table = Table('tm_instant', metadata, |
1336 | | Column('tm_instant_id', Integer, Sequence('tm_instant_id_seq'), primary_key=True), |
1337 | | Column('tm_geometricprimitive_id', Integer, ForeignKey('tm_geometricprimitive.tm_geometricprimitive_id')), Column('om_observation_resultTime', Integer, ForeignKey('om_observation.om_observation_id')), |
1338 | | Column('t_type', String(30), nullable=False, default='tm_instant'), |
1339 | | extend_existing=False,) |
1340 | | |
1341 | | |
1342 | | |
1343 | | |
1344 | | |
1345 | | |
1346 | | |
1347 | | |
1348 | | |
1349 | | |
1350 | | |
1351 | | |
1352 | | ceda_review_table = Table('ceda_review', metadata, |
1353 | | Column('ceda_review_id', Integer, Sequence('ceda_review_id_seq'), primary_key=True), |
1354 | | Column('ceda_processing_review', Integer, ForeignKey('ceda_processing.ceda_processing_id')), |
1355 | | Column('ceda_acquisition_review', Integer, ForeignKey('ceda_acquisition.ceda_acquisition_id')), |
1356 | | Column('ceda_observationcollection_review', Integer, ForeignKey('ceda_observationcollection.ceda_observationcollection_id')), |
1357 | | Column('ceda_project_review', Integer, ForeignKey('ceda_project.ceda_project_id')), |
1358 | | Column('ceda_platform_review', Integer, ForeignKey('ceda_platform.ceda_platform_id')), |
1359 | | Column('ceda_compositeprocess_review', Integer, ForeignKey('ceda_compositeprocess.ceda_compositeprocess_id')), |
1360 | | Column('ceda_instrument_review', Integer, ForeignKey('ceda_instrument.ceda_instrument_id')), |
1361 | | Column('ceda_observation_internalReview', Integer, ForeignKey('ceda_observation.ceda_observation_id')), |
1362 | | Column('ceda_operation_review', Integer, ForeignKey('ceda_operation.ceda_operation_id')), |
1363 | | Column('reviewFrequency', CEDA_ReviewFrequencyValue.db_type() , nullable=False), |
1364 | | Column('reviewStatus', CEDA_ReviewStatusValue.db_type() , nullable=False), |
1365 | | Column('t_type', String(30), nullable=False, default='ceda_review'), |
| 1631 | extend_existing=False,) |
| 1632 | |
| 1633 | |
| 1634 | |
| 1635 | |
| 1636 | |
| 1637 | |
| 1638 | |
| 1639 | |
| 1640 | |
| 1641 | |
| 1642 | |
| 1643 | |
| 1644 | md_keywords_table = Table('md_keywords', metadata, |
| 1645 | Column('id', Integer, Sequence('md_keywords_id_seq'), primary_key=True), |
| 1646 | Column('ceda_observation_keywords', Integer, ForeignKey('ceda_observation.id')), |
| 1647 | Column('mo_project_keywords', Integer, ForeignKey('mo_project.id')), |
| 1648 | Column('md_identification_descriptivekeywords', Integer, ForeignKey('md_identification.id')), |
| 1649 | Column('type', MD_KeywordTypeCode.db_type() , nullable=True), |
| 1650 | Column('keyword', ARRAY(TEXT) , nullable=False), |
| 1651 | extend_existing=False,) |
| 1652 | |
| 1653 | |
| 1654 | |
| 1655 | |
| 1656 | |
| 1657 | |
| 1658 | |
| 1659 | |
| 1660 | |
| 1661 | |
| 1662 | |
| 1663 | |
| 1664 | cc_concatenatedoperation_table = Table('cc_concatenatedoperation', metadata, |
| 1665 | Column('id', Integer, Sequence('cc_concatenatedoperation_id_seq'), primary_key=True), |
| 1666 | Column('cc_coordinateoperation_concatoperation', Integer, ForeignKey('cc_coordinateoperation.id', use_alter=True, name='fk_cc_coordinateoperation_concatoperation')), |
| 1667 | extend_existing=False,) |
| 1668 | |
| 1669 | |
| 1670 | |
| 1671 | |
| 1672 | |
| 1673 | |
| 1674 | |
| 1675 | |
| 1676 | |
| 1677 | |
| 1678 | |
| 1679 | |
| 1680 | cv_grid_table = Table('cv_grid', metadata, |
| 1681 | Column('id', Integer, Sequence('cv_grid_id_seq'), primary_key=True), |
| 1682 | Column('cv_gridcell_framework_id', Integer, ForeignKey('cv_gridcell.id', use_alter=True, name='fk_cv_gridcell_framework')), |
| 1683 | Column('cv_gridpoint_framework_id', Integer, ForeignKey('cv_gridpoint.id', use_alter=True, name='fk_cv_gridpoint_framework')), |
| 1684 | Column('cv_referenceablegrid__cv_grid_id', Integer, ForeignKey('cv_referenceablegrid.id')), |
| 1685 | Column('axisNames', ARRAY(TEXT) , nullable=False), |
| 1686 | Column('dimension', Integer , nullable=False), |
1385 | | Column('t_type', String(30), nullable=False, default='md_scopedescription'), |
1386 | | extend_existing=False,) |
1387 | | |
1388 | | |
1389 | | |
1390 | | |
1391 | | |
1392 | | |
1393 | | |
1394 | | |
1395 | | |
1396 | | |
1397 | | |
1398 | | |
1399 | | md_extendedelementinformation_table = Table('md_extendedelementinformation', metadata, |
1400 | | Column('md_extendedelementinformation_id', Integer, Sequence('md_extendedelementinformation_id_seq'), primary_key=True), |
1401 | | Column('md_metadataextensioninformation_extendedElementInformation', Integer, ForeignKey('md_metadataextensioninformation.md_metadataextensioninformation_id')), |
1402 | | Column('domainValue', TEXT , nullable=True), |
| 1706 | extend_existing=False,) |
| 1707 | |
| 1708 | |
| 1709 | |
| 1710 | |
| 1711 | |
| 1712 | |
| 1713 | |
| 1714 | |
| 1715 | |
| 1716 | |
| 1717 | |
| 1718 | |
| 1719 | mo_responsiblepartyinfo_table = Table('mo_responsiblepartyinfo', metadata, |
| 1720 | Column('id', Integer, Sequence('mo_responsiblepartyinfo_id_seq'), primary_key=True), |
| 1721 | Column('mo_project_relatedparty', Integer, ForeignKey('mo_project.id')), |
| 1722 | Column('mo_observation_relatedparty', Integer, ForeignKey('mo_observation.id')), |
| 1723 | Column('mo_compositeprocess_relatedparty', Integer, ForeignKey('mo_compositeprocess.id')), |
| 1724 | Column('ceda_review_reviewer_id', Integer, ForeignKey('ceda_review.id')), |
| 1725 | Column('ceda_observationcollection_cedaofficer_id', Integer, ForeignKey('ceda_observationcollection.id')), |
| 1726 | Column('mo_operation_relatedpartyinfo', Integer, ForeignKey('mo_operation.id')), |
| 1727 | Column('ceda_notes_commentator_id', Integer, ForeignKey('ceda_notes.id')), |
| 1728 | Column('mo_instrument_realatedparty', Integer, ForeignKey('mo_instrument.id')), |
| 1729 | Column('mo_acquisition_realatedparty', Integer, ForeignKey('mo_acquisition.id')), |
| 1730 | Column('mo_processing_relatedparty', Integer, ForeignKey('mo_processing.id')), |
| 1731 | Column('mo_platform_relatedparty', Integer, ForeignKey('mo_platform.id')), |
| 1732 | Column('role', MO_RoleValue.db_type() , nullable=False), |
| 1733 | extend_existing=False,) |
| 1734 | |
| 1735 | |
| 1736 | |
| 1737 | |
| 1738 | |
| 1739 | |
| 1740 | |
| 1741 | |
| 1742 | |
| 1743 | |
| 1744 | |
| 1745 | |
| 1746 | cc_formula_table = Table('cc_formula', metadata, |
| 1747 | Column('id', Integer, Sequence('cc_formula_id_seq'), primary_key=True), |
| 1748 | Column('cc_operationmethod_formulareference_id', Integer, ForeignKey('cc_operationmethod.id')), |
| 1749 | Column('formula', TEXT , nullable=False), |
| 1750 | extend_existing=False,) |
| 1751 | |
| 1752 | |
| 1753 | |
| 1754 | |
| 1755 | |
| 1756 | |
| 1757 | |
| 1758 | |
| 1759 | |
| 1760 | |
| 1761 | |
| 1762 | |
| 1763 | mo_acquisition_table = Table('mo_acquisition', metadata, |
| 1764 | Column('id', Integer, Sequence('mo_acquisition_id_seq'), primary_key=True), |
| 1765 | Column('mo_compositeprocess_acquisitioncomponent', Integer, ForeignKey('mo_compositeprocess.id')), |
| 1766 | Column('ceda_acquisition__mo_acquisition_id', Integer, ForeignKey('ceda_acquisition.id')), |
| 1767 | Column('description', TEXT , nullable=True), |
| 1768 | extend_existing=False,) |
| 1769 | |
| 1770 | |
| 1771 | |
| 1772 | |
| 1773 | |
| 1774 | |
| 1775 | |
| 1776 | |
| 1777 | |
| 1778 | |
| 1779 | |
| 1780 | |
| 1781 | md_portrayalcataloguereference_table = Table('md_portrayalcataloguereference', metadata, |
| 1782 | Column('id', Integer, Sequence('md_portrayalcataloguereference_id_seq'), primary_key=True), |
| 1783 | Column('md_metadata_portrayalcatalogueinfo', Integer, ForeignKey('md_metadata.id')), |
| 1784 | extend_existing=False,) |
| 1785 | |
| 1786 | |
| 1787 | |
| 1788 | |
| 1789 | |
| 1790 | |
| 1791 | |
| 1792 | |
| 1793 | |
| 1794 | |
| 1795 | |
| 1796 | |
| 1797 | namedvalue_table = Table('namedvalue', metadata, |
| 1798 | Column('id', Integer, Sequence('namedvalue_id_seq'), primary_key=True), |
| 1799 | Column('om_observation_parameter', Integer, ForeignKey('om_observation.id')), |
| 1800 | extend_existing=False,) |
| 1801 | |
| 1802 | |
| 1803 | |
| 1804 | |
| 1805 | |
| 1806 | |
| 1807 | |
| 1808 | |
| 1809 | |
| 1810 | |
| 1811 | |
| 1812 | |
| 1813 | sc_generalderivedcrs_table = Table('sc_generalderivedcrs', metadata, |
| 1814 | Column('id', Integer, Sequence('sc_generalderivedcrs_id_seq'), primary_key=True), |
| 1815 | Column('cc_conversion_referencesystem', Integer, ForeignKey('cc_conversion.id', use_alter=True, name='fk_cc_conversion_referencesystem')), |
| 1816 | Column('sc_derivedcrs__sc_generalderivedcrs_id', Integer, ForeignKey('sc_derivedcrs.id')), |
| 1817 | extend_existing=False,) |
| 1818 | |
| 1819 | |
| 1820 | |
| 1821 | |
| 1822 | |
| 1823 | |
| 1824 | |
| 1825 | |
| 1826 | |
| 1827 | |
| 1828 | |
| 1829 | |
| 1830 | md_representativefraction_table = Table('md_representativefraction', metadata, |
| 1831 | Column('id', Integer, Sequence('md_representativefraction_id_seq'), primary_key=True), |
| 1832 | Column('li_source_scaledenominator_id', Integer, ForeignKey('li_source.id')), |
| 1833 | Column('denominator', Integer , nullable=False), |
| 1834 | extend_existing=False,) |
| 1835 | |
| 1836 | |
| 1837 | |
| 1838 | |
| 1839 | |
| 1840 | |
| 1841 | |
| 1842 | |
| 1843 | |
| 1844 | |
| 1845 | |
| 1846 | |
| 1847 | mo_computation_table = Table('mo_computation', metadata, |
| 1848 | Column('id', Integer, Sequence('mo_computation_id_seq'), primary_key=True), |
| 1849 | Column('mo_processing__mo_computation_id', Integer, ForeignKey('mo_processing.id')), |
| 1850 | Column('mo_compositeprocess_computationcomponent', Integer, ForeignKey('mo_compositeprocess.id')), |
| 1851 | extend_existing=False,) |
| 1852 | |
| 1853 | |
| 1854 | |
| 1855 | |
| 1856 | |
| 1857 | |
| 1858 | |
| 1859 | |
| 1860 | |
| 1861 | |
| 1862 | |
| 1863 | |
| 1864 | scopedname_table = Table('scopedname', metadata, |
| 1865 | Column('id', Integer, Sequence('scopedname_id_seq'), primary_key=True), |
| 1866 | Column('mo_onlineresource_servicefunction_id', Integer, ForeignKey('mo_onlineresource.id')), |
| 1867 | Column('mo_instrument_type_id', Integer, ForeignKey('mo_instrument.id')), |
| 1868 | extend_existing=False,) |
| 1869 | |
| 1870 | |
| 1871 | |
| 1872 | |
| 1873 | |
| 1874 | |
| 1875 | |
| 1876 | |
| 1877 | |
| 1878 | |
| 1879 | |
| 1880 | |
| 1881 | mo_instrumentplatformpair_table = Table('mo_instrumentplatformpair', metadata, |
| 1882 | Column('id', Integer, Sequence('mo_instrumentplatformpair_id_seq'), primary_key=True), |
| 1883 | Column('mo_acquisition_instrumentplatformpair', Integer, ForeignKey('mo_acquisition.id')), |
| 1884 | extend_existing=False,) |
| 1885 | |
| 1886 | |
| 1887 | |
| 1888 | |
| 1889 | |
| 1890 | |
| 1891 | |
| 1892 | |
| 1893 | |
| 1894 | |
| 1895 | |
| 1896 | |
| 1897 | cd_verticaldatum_table = Table('cd_verticaldatum', metadata, |
| 1898 | Column('id', Integer, Sequence('cd_verticaldatum_id_seq'), primary_key=True), |
| 1899 | Column('sc_verticalcrs_datum_id', Integer, ForeignKey('sc_verticalcrs.id', use_alter=True, name='fk_sc_verticalcrs_datum')), |
| 1900 | extend_existing=False,) |
| 1901 | |
| 1902 | |
| 1903 | |
| 1904 | |
| 1905 | |
| 1906 | |
| 1907 | |
| 1908 | |
| 1909 | |
| 1910 | |
| 1911 | |
| 1912 | |
| 1913 | tm_period_table = Table('tm_period', metadata, |
| 1914 | Column('id', Integer, Sequence('tm_period_id_seq'), primary_key=True), |
| 1915 | Column('tm_instant_endedby', Integer, ForeignKey('tm_instant.id', use_alter=True, name='fk_tm_instant_endedby')), |
| 1916 | Column('tm_edge_geometry_id', Integer, ForeignKey('tm_edge.id', use_alter=True, name='fk_tm_edge_geometry')), |
| 1917 | Column('om_observation_validtime_id', Integer, ForeignKey('om_observation.id')), |
| 1918 | Column('tm_instant_begunby', Integer, ForeignKey('tm_instant.id', use_alter=True, name='fk_tm_instant_begunby')), |
| 1919 | extend_existing=False,) |
| 1920 | |
| 1921 | |
| 1922 | |
| 1923 | |
| 1924 | |
| 1925 | |
| 1926 | |
| 1927 | |
| 1928 | |
| 1929 | |
| 1930 | |
| 1931 | |
| 1932 | cc_coordinateoperation_table = Table('cc_coordinateoperation', metadata, |
| 1933 | Column('id', Integer, Sequence('cc_coordinateoperation_id_seq'), primary_key=True), |
| 1934 | Column('cc_passthroughoperation__cc_coordinateoperation_id', Integer, ForeignKey('cc_passthroughoperation.id')), |
| 1935 | Column('cc_passthroughoperation_coordoperation_id', Integer, ForeignKey('cc_passthroughoperation.id', use_alter=True, name='fk_cc_passthroughoperation_coordoperation')), |
| 1936 | Column('cc_concatenatedoperation__cc_coordinateoperation_id', Integer, ForeignKey('cc_concatenatedoperation.id')), |
| 1937 | Column('cc_concatenatedoperation_coordoperation', Integer, ForeignKey('cc_concatenatedoperation.id', use_alter=True, name='fk_cc_concatenatedoperation_coordoperation')), |
| 1938 | Column('sc_crs_coordoperationto', Integer, ForeignKey('sc_crs.id', use_alter=True, name='fk_sc_crs_coordoperationto')), |
| 1939 | Column('cc_singleoperation__cc_coordinateoperation_id', Integer, ForeignKey('cc_singleoperation.id')), |
| 1940 | Column('sc_crs_coordoperationfrom', Integer, ForeignKey('sc_crs.id', use_alter=True, name='fk_sc_crs_coordoperationfrom')), |
| 1941 | Column('operationVersion', TEXT , nullable=True), |
| 1942 | Column('scope', ARRAY(TEXT) , nullable=False), |
| 1943 | extend_existing=False,) |
| 1944 | |
| 1945 | |
| 1946 | |
| 1947 | |
| 1948 | |
| 1949 | |
| 1950 | |
| 1951 | |
| 1952 | |
| 1953 | |
| 1954 | |
| 1955 | |
| 1956 | ceda_instrument_table = Table('ceda_instrument', metadata, |
| 1957 | Column('id', Integer, Sequence('ceda_instrument_id_seq'), primary_key=True), |
| 1958 | extend_existing=False,) |
| 1959 | |
| 1960 | |
| 1961 | |
| 1962 | |
| 1963 | |
| 1964 | |
| 1965 | |
| 1966 | |
| 1967 | |
| 1968 | |
| 1969 | |
| 1970 | |
| 1971 | sc_verticalcrs_table = Table('sc_verticalcrs', metadata, |
| 1972 | Column('id', Integer, Sequence('sc_verticalcrs_id_seq'), primary_key=True), |
| 1973 | Column('cs_verticalcs_referencesystem', Integer, ForeignKey('cs_verticalcs.id', use_alter=True, name='fk_cs_verticalcs_referencesystem')), |
| 1974 | Column('cd_verticaldatum_referencesystem', Integer, ForeignKey('cd_verticaldatum.id', use_alter=True, name='fk_cd_verticaldatum_referencesystem')), |
| 1975 | Column('ex_verticalextent_verticalcrs_id', Integer, ForeignKey('ex_verticalextent.id', use_alter=True, name='fk_ex_verticalextent_verticalcrs')), |
| 1976 | extend_existing=False,) |
| 1977 | |
| 1978 | |
| 1979 | |
| 1980 | |
| 1981 | |
| 1982 | |
| 1983 | |
| 1984 | |
| 1985 | |
| 1986 | |
| 1987 | |
| 1988 | |
| 1989 | mo_observationcollection_table = Table('mo_observationcollection', metadata, |
| 1990 | Column('id', Integer, Sequence('mo_observationcollection_id_seq'), primary_key=True), |
| 1991 | Column('ceda_observationcollection__mo_observationcollection_id', Integer, ForeignKey('ceda_observationcollection.id')), |
| 1992 | Column('mo_project_observationcollection', Integer, ForeignKey('mo_project.id')), |
| 1993 | Column('description', TEXT , nullable=True), |
| 1994 | Column('publicationState', MO_PublicationStateValue.db_type() , nullable=True), |
| 1995 | extend_existing=False,) |
| 1996 | |
| 1997 | |
| 1998 | |
| 1999 | |
| 2000 | |
| 2001 | |
| 2002 | |
| 2003 | |
| 2004 | |
| 2005 | |
| 2006 | |
| 2007 | |
| 2008 | uomlength_table = Table('uomlength', metadata, |
| 2009 | Column('id', Integer, Sequence('uomlength_id_seq'), primary_key=True), |
| 2010 | Column('scale_targetunits_id', Integer, ForeignKey('scale.id')), |
| 2011 | Column('length_uom_id', Integer, ForeignKey('length.id')), |
| 2012 | Column('scale_sourceunits_id', Integer, ForeignKey('scale.id')), |
| 2013 | extend_existing=False,) |
| 2014 | |
| 2015 | |
| 2016 | |
| 2017 | |
| 2018 | |
| 2019 | |
| 2020 | |
| 2021 | |
| 2022 | |
| 2023 | |
| 2024 | |
| 2025 | |
| 2026 | ceda_platform_table = Table('ceda_platform', metadata, |
| 2027 | Column('id', Integer, Sequence('ceda_platform_id_seq'), primary_key=True), |
| 2028 | extend_existing=False,) |
| 2029 | |
| 2030 | |
| 2031 | |
| 2032 | |
| 2033 | |
| 2034 | |
| 2035 | |
| 2036 | |
| 2037 | |
| 2038 | |
| 2039 | |
| 2040 | |
| 2041 | cl_dataset_table = Table('cl_dataset', metadata, |
| 2042 | Column('id', Integer, Sequence('cl_dataset_id_seq'), primary_key=True), |
| 2043 | Column('md_metadata_describes', Integer, ForeignKey('md_metadata.id', use_alter=True, name='fk_md_metadata_describes')), |
| 2044 | extend_existing=False,) |
| 2045 | |
| 2046 | |
| 2047 | |
| 2048 | |
| 2049 | |
| 2050 | |
| 2051 | |
| 2052 | |
| 2053 | |
| 2054 | |
| 2055 | |
| 2056 | |
| 2057 | dq_dataquality_table = Table('dq_dataquality', metadata, |
| 2058 | Column('id', Integer, Sequence('dq_dataquality_id_seq'), primary_key=True), |
| 2059 | Column('md_metadata_dataqualityinfo', Integer, ForeignKey('md_metadata.id')), |
| 2060 | extend_existing=False,) |
| 2061 | |
| 2062 | |
| 2063 | |
| 2064 | |
| 2065 | |
| 2066 | |
| 2067 | |
| 2068 | |
| 2069 | |
| 2070 | |
| 2071 | |
| 2072 | |
| 2073 | io_identifiedobject_table = Table('io_identifiedobject', metadata, |
| 2074 | Column('id', Integer, Sequence('io_identifiedobject_id_seq'), primary_key=True), |
| 2075 | Column('cc_coordinateoperation__io_identifiedobject_id', Integer, ForeignKey('cc_coordinateoperation.id')), |
| 2076 | Column('cd_datum__io_identifiedobject_id', Integer, ForeignKey('cd_datum.id')), |
| 2077 | Column('cs_coordinatesystem__io_identifiedobject_id', Integer, ForeignKey('cs_coordinatesystem.id')), |
| 2078 | Column('cc_operationmethod__io_identifiedobject_id', Integer, ForeignKey('cc_operationmethod.id')), |
| 2079 | Column('cc_generaloperationparameter__io_identifiedobject_id', Integer, ForeignKey('cc_generaloperationparameter.id')), |
| 2080 | Column('cs_coordinatesystemaxis__io_identifiedobject_id', Integer, ForeignKey('cs_coordinatesystemaxis.id')), |
| 2081 | extend_existing=False,) |
| 2082 | |
| 2083 | |
| 2084 | |
| 2085 | |
| 2086 | |
| 2087 | |
| 2088 | |
| 2089 | |
| 2090 | |
| 2091 | |
| 2092 | |
| 2093 | |
| 2094 | sc_derivedcrs_table = Table('sc_derivedcrs', metadata, |
| 2095 | Column('id', Integer, Sequence('sc_derivedcrs_id_seq'), primary_key=True), |
| 2096 | Column('sc_singlecrs_derivedcrs', Integer, ForeignKey('sc_singlecrs.id', use_alter=True, name='fk_sc_singlecrs_derivedcrs')), |
| 2097 | Column('derivedCRSType', SC_DerivedCRSType.db_type() , nullable=False), |
| 2098 | extend_existing=False,) |
| 2099 | |
| 2100 | |
| 2101 | |
| 2102 | |
| 2103 | |
| 2104 | |
| 2105 | |
| 2106 | |
| 2107 | |
| 2108 | |
| 2109 | |
| 2110 | |
| 2111 | gm_compositepoint_table = Table('gm_compositepoint', metadata, |
| 2112 | Column('id', Integer, Sequence('gm_compositepoint_id_seq'), primary_key=True), |
| 2113 | Column('gm_point_composite', Integer, ForeignKey('gm_point.id', use_alter=True, name='fk_gm_point_composite')), |
| 2114 | extend_existing=False,) |
| 2115 | |
| 2116 | |
| 2117 | |
| 2118 | |
| 2119 | |
| 2120 | |
| 2121 | |
| 2122 | |
| 2123 | |
| 2124 | |
| 2125 | |
| 2126 | |
| 2127 | cs_coordinatesystemaxis_table = Table('cs_coordinatesystemaxis', metadata, |
| 2128 | Column('id', Integer, Sequence('cs_coordinatesystemaxis_id_seq'), primary_key=True), |
| 2129 | Column('cs_coordinatesystem_axis', Integer, ForeignKey('cs_coordinatesystem.id', use_alter=True, name='fk_cs_coordinatesystem_axis')), |
| 2130 | Column('maximumValue', NUMERIC , nullable=True), |
| 2131 | Column('rangeMeaning', CS_RangeMeaning.db_type() , nullable=True), |
| 2132 | Column('axisAbbrev', TEXT , nullable=False), |
| 2133 | Column('minimumValue', NUMERIC , nullable=True), |
| 2134 | Column('axisDirection', CS_AxisDirection.db_type() , nullable=False), |
| 2135 | extend_existing=False,) |
| 2136 | |
| 2137 | |
| 2138 | |
| 2139 | |
| 2140 | |
| 2141 | |
| 2142 | |
| 2143 | |
| 2144 | |
| 2145 | |
| 2146 | |
| 2147 | |
| 2148 | gf_propertytype_table = Table('gf_propertytype', metadata, |
| 2149 | Column('id', Integer, Sequence('gf_propertytype_id_seq'), primary_key=True), |
| 2150 | Column('om_observation_observedproperty_id', Integer, ForeignKey('om_observation.id')), |
| 2151 | Column('gf_operation__gf_propertytype_id', Integer, ForeignKey('gf_operation.id')), |
| 2152 | Column('gf_featuretype_carrierofcharacteristics', Integer, ForeignKey('gf_featuretype.id', use_alter=True, name='fk_gf_featuretype_carrierofcharacteristics')), |
| 2153 | Column('gf_attributetype__gf_propertytype_id', Integer, ForeignKey('gf_attributetype.id')), |
| 2154 | Column('gf_associationrole__gf_propertytype_id', Integer, ForeignKey('gf_associationrole.id')), |
| 2155 | Column('md_metadata_propertytype', Integer, ForeignKey('md_metadata.id', use_alter=True, name='fk_md_metadata_propertytype')), |
1404 | | Column('name', TEXT , nullable=False), |
1405 | | Column('dataType', MD_DatatypeCode.db_type() , nullable=False), |
1406 | | Column('domainCode', Integer , nullable=True), |
1407 | | Column('rationale', ARRAY(TEXT) , nullable=True), |
1408 | | Column('parentEntity', ARRAY(TEXT) , nullable=False), |
1409 | | Column('condition', TEXT , nullable=True), |
1410 | | Column('obligation', MD_ObligationCode.db_type() , nullable=True), |
1411 | | Column('maximumOccurrence', TEXT , nullable=True), |
1412 | | Column('rule', TEXT , nullable=False), |
1413 | | Column('shortName', TEXT , nullable=True), |
1414 | | Column('t_type', String(30), nullable=False, default='md_extendedelementinformation'), |
1415 | | extend_existing=False,) |
1416 | | |
1417 | | |
1418 | | |
1419 | | |
1420 | | |
1421 | | |
1422 | | |
1423 | | |
1424 | | |
1425 | | |
1426 | | |
1427 | | |
1428 | | md_metadataextensioninformation_table = Table('md_metadataextensioninformation', metadata, |
1429 | | Column('md_metadataextensioninformation_id', Integer, Sequence('md_metadataextensioninformation_id_seq'), primary_key=True), |
1430 | | Column('md_metadata_metadataExtensionInfo', Integer, ForeignKey('md_metadata.md_metadata_id')), |
1431 | | Column('t_type', String(30), nullable=False, default='md_metadataextensioninformation'), |
| 2157 | extend_existing=False,) |
| 2158 | |
| 2159 | |
| 2160 | |
| 2161 | |
| 2162 | |
| 2163 | |
| 2164 | |
| 2165 | |
| 2166 | |
| 2167 | |
| 2168 | |
| 2169 | |
| 2170 | namespace_table = Table('namespace', metadata, |
| 2171 | Column('id', Integer, Sequence('namespace_id_seq'), primary_key=True), |
| 2172 | Column('schema__namespace_id', Integer, ForeignKey('schema.id')), |
| 2173 | Column('genericname_scope_id', Integer, ForeignKey('genericname.id', use_alter=True, name='fk_genericname_scope')), |
| 2174 | Column('isGlobal', BOOLEAN , nullable=False), |
| 2175 | extend_existing=False,) |
| 2176 | |
| 2177 | |
| 2178 | |
| 2179 | |
| 2180 | |
| 2181 | |
| 2182 | |
| 2183 | |
| 2184 | |
| 2185 | |
| 2186 | |
| 2187 | |
| 2188 | uomscale_table = Table('uomscale', metadata, |
| 2189 | Column('id', Integer, Sequence('uomscale_id_seq'), primary_key=True), |
| 2190 | Column('scale_uom_id', Integer, ForeignKey('scale.id')), |
| 2191 | extend_existing=False,) |
| 2192 | |
| 2193 | |
| 2194 | |
| 2195 | |
| 2196 | |
| 2197 | |
| 2198 | |
| 2199 | |
| 2200 | |
| 2201 | |
| 2202 | |
| 2203 | |
| 2204 | om_process_table = Table('om_process', metadata, |
| 2205 | Column('id', Integer, Sequence('om_process_id_seq'), primary_key=True), |
| 2206 | Column('om_observation_procedure_id', Integer, ForeignKey('om_observation.id', use_alter=True, name='fk_om_observation_procedure')), |
| 2207 | Column('mo_process__om_process_id', Integer, ForeignKey('mo_process.id')), |
| 2208 | extend_existing=False,) |
| 2209 | |
| 2210 | |
| 2211 | |
| 2212 | |
| 2213 | |
| 2214 | |
| 2215 | |
| 2216 | |
| 2217 | |
| 2218 | |
| 2219 | |
| 2220 | |
| 2221 | gm_object_table = Table('gm_object', metadata, |
| 2222 | Column('id', Integer, Sequence('gm_object_id_seq'), primary_key=True), |
| 2223 | Column('gm_complex__gm_object_id', Integer, ForeignKey('gm_complex.id')), |
| 2224 | Column('mo_location_geometrylocation_id', Integer, ForeignKey('mo_location.id')), |
| 2225 | Column('cv_domainobject_spatialelement', Integer, ForeignKey('cv_domainobject.id', use_alter=True, name='fk_cv_domainobject_spatialelement')), |
| 2226 | Column('cv_footprint_geometry_id', Integer, ForeignKey('cv_footprint.id', use_alter=True, name='fk_cv_footprint_geometry')), |
| 2227 | Column('gm_primitive__gm_object_id', Integer, ForeignKey('gm_primitive.id')), |
| 2228 | Column('sc_crs_object', Integer, ForeignKey('sc_crs.id', use_alter=True, name='fk_sc_crs_object')), |
| 2229 | extend_existing=False,) |
| 2230 | |
| 2231 | |
| 2232 | |
| 2233 | |
| 2234 | |
| 2235 | |
| 2236 | |
| 2237 | |
| 2238 | |
| 2239 | |
| 2240 | |
| 2241 | |
| 2242 | sc_singlecrs_table = Table('sc_singlecrs', metadata, |
| 2243 | Column('id', Integer, Sequence('sc_singlecrs_id_seq'), primary_key=True), |
| 2244 | Column('sc_generalderivedcrs__sc_singlecrs_id', Integer, ForeignKey('sc_generalderivedcrs.id')), |
| 2245 | Column('sc_compoundcrs_componentreferencesystem', Integer, ForeignKey('sc_compoundcrs.id', use_alter=True, name='fk_sc_compoundcrs_componentreferencesystem')), |
| 2246 | Column('sc_verticalcrs__sc_singlecrs_id', Integer, ForeignKey('sc_verticalcrs.id')), |
| 2247 | Column('sc_derivedcrs_basecrs_id', Integer, ForeignKey('sc_derivedcrs.id', use_alter=True, name='fk_sc_derivedcrs_basecrs')), |
| 2248 | Column('cd_datum_referencesystem', Integer, ForeignKey('cd_datum.id', use_alter=True, name='fk_cd_datum_referencesystem')), |
| 2249 | Column('cs_coordinatesystem_referencesystem', Integer, ForeignKey('cs_coordinatesystem.id', use_alter=True, name='fk_cs_coordinatesystem_referencesystem')), |
| 2250 | extend_existing=False,) |
| 2251 | |
| 2252 | |
| 2253 | |
| 2254 | |
| 2255 | |
| 2256 | |
| 2257 | |
| 2258 | |
| 2259 | |
| 2260 | |
| 2261 | |
| 2262 | |
| 2263 | gm_orientableprimitive_table = Table('gm_orientableprimitive', metadata, |
| 2264 | Column('id', Integer, Sequence('gm_orientableprimitive_id_seq'), primary_key=True), |
| 2265 | Column('gm_primitive_proxy_id', Integer, ForeignKey('gm_primitive.id', use_alter=True, name='fk_gm_primitive_proxy')), |
| 2266 | Column('orientation', Sign.db_type() , nullable=False), |
| 2267 | extend_existing=False,) |
| 2268 | |
| 2269 | |
| 2270 | |
| 2271 | |
| 2272 | |
| 2273 | |
| 2274 | |
| 2275 | |
| 2276 | |
| 2277 | |
| 2278 | |
| 2279 | |
| 2280 | le_algorithm_table = Table('le_algorithm', metadata, |
| 2281 | Column('id', Integer, Sequence('le_algorithm_id_seq'), primary_key=True), |
| 2282 | Column('mo_processing_algorithm', Integer, ForeignKey('mo_processing.id')), |
| 2283 | Column('description', TEXT , nullable=False), |
| 2284 | extend_existing=False,) |
| 2285 | |
| 2286 | |
| 2287 | |
| 2288 | |
| 2289 | |
| 2290 | |
| 2291 | |
| 2292 | |
| 2293 | |
| 2294 | |
| 2295 | |
| 2296 | |
| 2297 | ci_citation_table = Table('ci_citation', metadata, |
| 2298 | Column('id', Integer, Sequence('ci_citation_id_seq'), primary_key=True), |
| 2299 | Column('mo_compositeprocess_documentation', Integer, ForeignKey('mo_compositeprocess.id')), |
| 2300 | Column('mo_operation_documentation', Integer, ForeignKey('mo_operation.id')), |
| 2301 | Column('md_identifier_authority_id', Integer, ForeignKey('md_identifier.id', use_alter=True, name='fk_md_identifier_authority')), |
| 2302 | Column('mo_processing_softwarereference_id', Integer, ForeignKey('mo_processing.id')), |
| 2303 | Column('mo_instrument_documentation', Integer, ForeignKey('mo_instrument.id')), |
| 2304 | Column('mo_processing_documentation', Integer, ForeignKey('mo_processing.id')), |
| 2305 | Column('md_portrayalcataloguereference_portrayalcataloguecitation', Integer, ForeignKey('md_portrayalcataloguereference.id')), |
| 2306 | Column('dq_element_evaluationprocedure_id', Integer, ForeignKey('dq_element.id')), |
| 2307 | Column('md_identification_citation_id', Integer, ForeignKey('md_identification.id')), |
| 2308 | Column('mo_platform_documentation', Integer, ForeignKey('mo_platform.id')), |
| 2309 | Column('md_keywords_thesaurusname_id', Integer, ForeignKey('md_keywords.id')), |
| 2310 | Column('li_source_sourcecitation_id', Integer, ForeignKey('li_source.id')), |
| 2311 | Column('mo_project_dmp_id', Integer, ForeignKey('mo_project.id')), |
| 2312 | Column('le_algorithm_citation_id', Integer, ForeignKey('le_algorithm.id')), |
| 2313 | Column('mo_observation_documentation', Integer, ForeignKey('mo_observation.id')), |
| 2314 | Column('cc_formula_formulacitation_id', Integer, ForeignKey('cc_formula.id')), |
| 2315 | Column('md_aggregateinformation_aggregatedatasetname_id', Integer, ForeignKey('md_aggregateinformation.id')), |
| 2316 | Column('mo_project_documentation', Integer, ForeignKey('mo_project.id')), |
| 2317 | Column('mo_acquisition_documentation', Integer, ForeignKey('mo_acquisition.id')), |
| 2318 | Column('md_applicationschemainformation_name_id', Integer, ForeignKey('md_applicationschemainformation.id')), |
| 2319 | Column('alternateTitle', ARRAY(TEXT) , nullable=True), |
| 2320 | Column('otherCitationDetails', TEXT , nullable=True), |
| 2321 | Column('presentationForm', CI_PresentationFormCode.db_type() , nullable=True), |
| 2322 | Column('edition', TEXT , nullable=True), |
| 2323 | Column('collectiveTitle', TEXT , nullable=True), |
| 2324 | Column('title', TEXT , nullable=False), |
| 2325 | Column('ISBN', TEXT , nullable=True), |
| 2326 | Column('ISSN', TEXT , nullable=True), |
| 2327 | extend_existing=False,) |
| 2328 | |
| 2329 | |
| 2330 | |
| 2331 | |
| 2332 | |
| 2333 | |
| 2334 | |
| 2335 | |
| 2336 | |
| 2337 | |
| 2338 | |
| 2339 | |
| 2340 | md_aggregateinformation_table = Table('md_aggregateinformation', metadata, |
| 2341 | Column('id', Integer, Sequence('md_aggregateinformation_id_seq'), primary_key=True), |
| 2342 | Column('md_identification_aggregationinfo', Integer, ForeignKey('md_identification.id')), |
| 2343 | Column('associationType', DS_AssociationTypeCode.db_type() , nullable=False), |
| 2344 | Column('initiativeType', DS_InitiativeTypeCode.db_type() , nullable=True), |
| 2345 | extend_existing=False,) |
| 2346 | |
| 2347 | |
| 2348 | |
| 2349 | |
| 2350 | |
| 2351 | |
| 2352 | |
| 2353 | |
| 2354 | |
| 2355 | |
| 2356 | |
| 2357 | |
| 2358 | om_observation_table = Table('om_observation', metadata, |
| 2359 | Column('id', Integer, Sequence('om_observation_id_seq'), primary_key=True), |
| 2360 | Column('mo_observation__om_observation_id', Integer, ForeignKey('mo_observation.id')), |
| 2361 | Column('gfi_feature_propertyvalueprovider', Integer, ForeignKey('gfi_feature.id', use_alter=True, name='fk_gfi_feature_propertyvalueprovider')), |
| 2362 | Column('om_process_generatedobservation', Integer, ForeignKey('om_process.id', use_alter=True, name='fk_om_process_generatedobservation')), |
| 2363 | extend_existing=False,) |
| 2364 | |
| 2365 | |
| 2366 | |
| 2367 | |
| 2368 | |
| 2369 | |
| 2370 | |
| 2371 | |
| 2372 | |
| 2373 | |
| 2374 | |
| 2375 | |
| 2376 | tp_primitive_table = Table('tp_primitive', metadata, |
| 2377 | Column('id', Integer, Sequence('tp_primitive_id_seq'), primary_key=True), |
| 2378 | Column('tp_directedtopo__tp_primitive_id', Integer, ForeignKey('tp_directedtopo.id')), |
| 2379 | Column('tp_directedtopo_topo_id', Integer, ForeignKey('tp_directedtopo.id', use_alter=True, name='fk_tp_directedtopo_topo')), |
| 2380 | Column('tp_complex_element', Integer, ForeignKey('tp_complex.id', use_alter=True, name='fk_tp_complex_element')), |
| 2381 | Column('gm_primitive_topology', Integer, ForeignKey('gm_primitive.id', use_alter=True, name='fk_gm_primitive_topology')), |
| 2382 | extend_existing=False,) |
| 2383 | |
| 2384 | |
| 2385 | |
| 2386 | |
| 2387 | |
| 2388 | |
| 2389 | |
| 2390 | |
| 2391 | |
| 2392 | |
| 2393 | |
| 2394 | |
| 2395 | cd_datum_table = Table('cd_datum', metadata, |
| 2396 | Column('id', Integer, Sequence('cd_datum_id_seq'), primary_key=True), |
| 2397 | Column('sc_singlecrs_datum_id', Integer, ForeignKey('sc_singlecrs.id', use_alter=True, name='fk_sc_singlecrs_datum')), |
| 2398 | Column('cd_verticaldatum__cd_datum_id', Integer, ForeignKey('cd_verticaldatum.id')), |
| 2399 | Column('anchorDefinition', TEXT , nullable=True), |
| 2400 | Column('scope', ARRAY(TEXT) , nullable=False), |
| 2401 | extend_existing=False,) |
| 2402 | |
| 2403 | |
| 2404 | |
| 2405 | |
| 2406 | |
| 2407 | |
| 2408 | |
| 2409 | |
| 2410 | |
| 2411 | |
| 2412 | |
| 2413 | |
| 2414 | tp_expression_table = Table('tp_expression', metadata, |
| 2415 | Column('id', Integer, Sequence('tp_expression_id_seq'), primary_key=True), |
| 2416 | Column('tp_expressionterm_expression_id', Integer, ForeignKey('tp_expressionterm.id', use_alter=True, name='fk_tp_expressionterm_expression')), |
| 2417 | extend_existing=False,) |
| 2418 | |
| 2419 | |
| 2420 | |
| 2421 | |
| 2422 | |
| 2423 | |
| 2424 | |
| 2425 | |
| 2426 | |
| 2427 | |
| 2428 | |
| 2429 | |
| 2430 | localname_table = Table('localname', metadata, |
| 2431 | Column('id', Integer, Sequence('localname_id_seq'), primary_key=True), |
| 2432 | Column('schema_schemaname_id', Integer, ForeignKey('schema.id')), |
| 2433 | Column('typename__localname_id', Integer, ForeignKey('typename.id')), |
| 2434 | Column('gf_propertytype_membername_id', Integer, ForeignKey('gf_propertytype.id')), |
| 2435 | Column('gf_featuretype_typename_id', Integer, ForeignKey('gf_featuretype.id')), |
| 2436 | extend_existing=False,) |
| 2437 | |
| 2438 | |
| 2439 | |
| 2440 | |
| 2441 | |
| 2442 | |
| 2443 | |
| 2444 | |
| 2445 | |
| 2446 | |
| 2447 | |
| 2448 | |
| 2449 | tp_directedtopo_table = Table('tp_directedtopo', metadata, |
| 2450 | Column('id', Integer, Sequence('tp_directedtopo_id_seq'), primary_key=True), |
| 2451 | Column('tp_primitive_proxy_id', Integer, ForeignKey('tp_primitive.id', use_alter=True, name='fk_tp_primitive_proxy')), |
| 2452 | Column('tp_expressionterm_variable_id', Integer, ForeignKey('tp_expressionterm.id', use_alter=True, name='fk_tp_expressionterm_variable')), |
| 2453 | Column('orientation', Sign.db_type() , nullable=False), |
| 2454 | extend_existing=False,) |
| 2455 | |
| 2456 | |
| 2457 | |
| 2458 | |
| 2459 | |
| 2460 | |
| 2461 | |
| 2462 | |
| 2463 | |
| 2464 | |
| 2465 | |
| 2466 | |
| 2467 | mo_processing_table = Table('mo_processing', metadata, |
| 2468 | Column('id', Integer, Sequence('mo_processing_id_seq'), primary_key=True), |
| 2469 | Column('ceda_processing__mo_processing_id', Integer, ForeignKey('ceda_processing.id')), |
| 2470 | Column('description', TEXT , nullable=True), |
| 2471 | extend_existing=False,) |
| 2472 | |
| 2473 | |
| 2474 | |
| 2475 | |
| 2476 | |
| 2477 | |
| 2478 | |
| 2479 | |
| 2480 | |
| 2481 | |
| 2482 | |
| 2483 | |
| 2484 | le_source_table = Table('le_source', metadata, |
| 2485 | Column('id', Integer, Sequence('le_source_id_seq'), primary_key=True), |
| 2486 | Column('mo_inputoutput_description_id', Integer, ForeignKey('mo_inputoutput.id')), |
| 2487 | extend_existing=False,) |
| 2488 | |
| 2489 | |
| 2490 | |
| 2491 | |
| 2492 | |
| 2493 | |
| 2494 | |
| 2495 | |
| 2496 | |
| 2497 | |
| 2498 | |
| 2499 | |
| 2500 | md_identifier_table = Table('md_identifier', metadata, |
| 2501 | Column('id', Integer, Sequence('md_identifier_id_seq'), primary_key=True), |
| 2502 | Column('dq_element_measureidentification_id', Integer, ForeignKey('dq_element.id')), |
| 2503 | Column('rs_identifier__md_identifier_id', Integer, ForeignKey('rs_identifier.id')), |
| 2504 | Column('mo_platform_identifier', Integer, ForeignKey('mo_platform.id')), |
| 2505 | Column('mo_project_identifier', Integer, ForeignKey('mo_project.id')), |
| 2506 | Column('le_source_processedlevel_id', Integer, ForeignKey('le_source.id')), |
| 2507 | Column('mo_acquisition_identifier', Integer, ForeignKey('mo_acquisition.id')), |
| 2508 | Column('mo_operation_identifier', Integer, ForeignKey('mo_operation.id')), |
| 2509 | Column('ci_citation_identifier', Integer, ForeignKey('ci_citation.id', use_alter=True, name='fk_ci_citation_identifier')), |
| 2510 | Column('mo_processing_identifier', Integer, ForeignKey('mo_processing.id')), |
| 2511 | Column('ex_geographicdescription_geographicidentifier_id', Integer, ForeignKey('ex_geographicdescription.id')), |
| 2512 | Column('md_aggregateinformation_aggregatedatasetidentifier_id', Integer, ForeignKey('md_aggregateinformation.id')), |
| 2513 | Column('mo_compositeprocess_identifier', Integer, ForeignKey('mo_compositeprocess.id')), |
| 2514 | Column('mo_instrument_identifier', Integer, ForeignKey('mo_instrument.id')), |
| 2515 | Column('mo_observationcollection_identifier', Integer, ForeignKey('mo_observationcollection.id')), |
| 2516 | Column('mo_observation_identifier', Integer, ForeignKey('mo_observation.id')), |
| 2517 | Column('code', TEXT , nullable=False), |
| 2518 | extend_existing=False,) |
| 2519 | |
| 2520 | |
| 2521 | |
| 2522 | |
| 2523 | |
| 2524 | |
| 2525 | |
| 2526 | |
| 2527 | |
| 2528 | |
| 2529 | |
| 2530 | |
| 2531 | dq_positionalaccuracy_table = Table('dq_positionalaccuracy', metadata, |
| 2532 | Column('id', Integer, Sequence('dq_positionalaccuracy_id_seq'), primary_key=True), |
| 2533 | Column('cc_coordinateoperation_coordinateoperationaccuracy', Integer, ForeignKey('cc_coordinateoperation.id')), |
| 2534 | extend_existing=False,) |
| 2535 | |
| 2536 | |
| 2537 | |
| 2538 | |
| 2539 | |
| 2540 | |
| 2541 | |
| 2542 | |
| 2543 | |
| 2544 | |
| 2545 | |
| 2546 | |
| 2547 | ceda_observationcollection_table = Table('ceda_observationcollection', metadata, |
| 2548 | Column('id', Integer, Sequence('ceda_observationcollection_id_seq'), primary_key=True), |
| 2549 | extend_existing=False,) |
| 2550 | |
| 2551 | |
| 2552 | |
| 2553 | |
| 2554 | |
| 2555 | |
| 2556 | |
| 2557 | |
| 2558 | |
| 2559 | |
| 2560 | |
| 2561 | |
| 2562 | gm_composite_table = Table('gm_composite', metadata, |
| 2563 | Column('id', Integer, Sequence('gm_composite_id_seq'), primary_key=True), |
| 2564 | Column('gm_compositepoint__gm_composite_id', Integer, ForeignKey('gm_compositepoint.id')), |
| 2565 | Column('gm_primitive_composite', Integer, ForeignKey('gm_primitive.id', use_alter=True, name='fk_gm_primitive_composite')), |
| 2566 | extend_existing=False,) |
| 2567 | |
| 2568 | |
| 2569 | |
| 2570 | |
| 2571 | |
| 2572 | |
| 2573 | |
| 2574 | |
| 2575 | |
| 2576 | |
| 2577 | |
| 2578 | |
| 2579 | ceda_process_table = Table('ceda_process', metadata, |
| 2580 | Column('id', Integer, Sequence('ceda_process_id_seq'), primary_key=True), |
| 2581 | Column('ceda_processing__ceda_process_id', Integer, ForeignKey('ceda_processing.id')), |
| 2582 | Column('ceda_compositeprocess__ceda_process_id', Integer, ForeignKey('ceda_compositeprocess.id')), |
| 2583 | Column('ceda_acquisition__ceda_process_id', Integer, ForeignKey('ceda_acquisition.id')), |
| 2584 | extend_existing=False,) |
| 2585 | |
| 2586 | |
| 2587 | |
| 2588 | |
| 2589 | |
| 2590 | |
| 2591 | |
| 2592 | |
| 2593 | |
| 2594 | |
| 2595 | |
| 2596 | |
| 2597 | tm_topologicalprimitive_table = Table('tm_topologicalprimitive', metadata, |
| 2598 | Column('id', Integer, Sequence('tm_topologicalprimitive_id_seq'), primary_key=True), |
| 2599 | Column('tm_node__tm_topologicalprimitive_id', Integer, ForeignKey('tm_node.id')), |
| 2600 | Column('tm_topologicalcomplex_primitive', Integer, ForeignKey('tm_topologicalcomplex.id', use_alter=True, name='fk_tm_topologicalcomplex_primitive')), |
| 2601 | Column('tm_edge__tm_topologicalprimitive_id', Integer, ForeignKey('tm_edge.id')), |
| 2602 | extend_existing=False,) |
| 2603 | |
| 2604 | |
| 2605 | |
| 2606 | |
| 2607 | |
| 2608 | |
| 2609 | |
| 2610 | |
| 2611 | |
| 2612 | |
| 2613 | |
| 2614 | |
| 2615 | tm_position_table = Table('tm_position', metadata, |
| 2616 | Column('id', Integer, Sequence('tm_position_id_seq'), primary_key=True), |
| 2617 | Column('tm_instant_position_id', Integer, ForeignKey('tm_instant.id')), |
| 2618 | extend_existing=False,) |
| 2619 | |
| 2620 | |
| 2621 | |
| 2622 | |
| 2623 | |
| 2624 | |
| 2625 | |
| 2626 | |
| 2627 | |
| 2628 | |
| 2629 | |
| 2630 | |
| 2631 | tm_instant_table = Table('tm_instant', metadata, |
| 2632 | Column('id', Integer, Sequence('tm_instant_id_seq'), primary_key=True), |
| 2633 | Column('tm_period_end_id', Integer, ForeignKey('tm_period.id', use_alter=True, name='fk_tm_period_end')), |
| 2634 | Column('om_observation_resulttime_id', Integer, ForeignKey('om_observation.id')), |
| 2635 | Column('tm_node_geometry_id', Integer, ForeignKey('tm_node.id', use_alter=True, name='fk_tm_node_geometry')), |
| 2636 | Column('tm_period_begin_id', Integer, ForeignKey('tm_period.id', use_alter=True, name='fk_tm_period_begin')), |
| 2637 | extend_existing=False,) |
| 2638 | |
| 2639 | |
| 2640 | |
| 2641 | |
| 2642 | |
| 2643 | |
| 2644 | |
| 2645 | |
| 2646 | |
| 2647 | |
| 2648 | |
| 2649 | |
| 2650 | sc_crs_table = Table('sc_crs', metadata, |
| 2651 | Column('id', Integer, Sequence('sc_crs_id_seq'), primary_key=True), |
| 2652 | Column('cv_referenceablegrid_crs', Integer, ForeignKey('cv_referenceablegrid.id', use_alter=True, name='fk_cv_referenceablegrid_crs')), |
| 2653 | Column('cc_coordinateoperation_targetcrs_id', Integer, ForeignKey('cc_coordinateoperation.id', use_alter=True, name='fk_cc_coordinateoperation_targetcrs')), |
| 2654 | Column('cv_coverage_crs_id', Integer, ForeignKey('cv_coverage.id')), |
| 2655 | Column('cc_coordinateoperation_sourcecrs_id', Integer, ForeignKey('cc_coordinateoperation.id', use_alter=True, name='fk_cc_coordinateoperation_sourcecrs')), |
| 2656 | Column('directposition_crs_id', Integer, ForeignKey('directposition.id', use_alter=True, name='fk_directposition_crs')), |
| 2657 | Column('sc_singlecrs__sc_crs_id', Integer, ForeignKey('sc_singlecrs.id')), |
| 2658 | Column('sc_compoundcrs__sc_crs_id', Integer, ForeignKey('sc_compoundcrs.id')), |
| 2659 | Column('gm_object_crs_id', Integer, ForeignKey('gm_object.id', use_alter=True, name='fk_gm_object_crs')), |
| 2660 | Column('ex_verticalextent_verticalcrs_id', Integer, ForeignKey('ex_verticalextent.id', use_alter=True, name='fk_ex_verticalextent_verticalcrs')), |
| 2661 | Column('scope', ARRAY(TEXT) , nullable=False), |
| 2662 | extend_existing=False,) |
| 2663 | |
| 2664 | |
| 2665 | |
| 2666 | |
| 2667 | |
| 2668 | |
| 2669 | |
| 2670 | |
| 2671 | |
| 2672 | |
| 2673 | |
| 2674 | |
| 2675 | md_distributor_table = Table('md_distributor', metadata, |
| 2676 | Column('id', Integer, Sequence('md_distributor_id_seq'), primary_key=True), |
| 2677 | Column('md_format_formatdistributor', Integer, ForeignKey('md_format.id', use_alter=True, name='fk_md_format_formatdistributor')), |
| 2678 | Column('md_distribution_distributor', Integer, ForeignKey('md_distribution.id')), |
| 2679 | extend_existing=False,) |
| 2680 | |
| 2681 | |
| 2682 | |
| 2683 | |
| 2684 | |
| 2685 | |
| 2686 | |
| 2687 | |
| 2688 | |
| 2689 | |
| 2690 | |
| 2691 | |
| 2692 | cv_gridpoint_table = Table('cv_gridpoint', metadata, |
| 2693 | Column('id', Integer, Sequence('cv_gridpoint_id_seq'), primary_key=True), |
| 2694 | Column('cv_grid_intersection', Integer, ForeignKey('cv_grid.id', use_alter=True, name='fk_cv_grid_intersection')), |
| 2695 | Column('cv_gridcell_corner', Integer, ForeignKey('cv_gridcell.id', use_alter=True, name='fk_cv_gridcell_corner')), |
| 2696 | Column('gm_point_gridpoint', Integer, ForeignKey('gm_point.id', use_alter=True, name='fk_gm_point_gridpoint')), |
| 2697 | Column('cv_footprint_center', Integer, ForeignKey('cv_footprint.id', use_alter=True, name='fk_cv_footprint_center')), |
| 2698 | extend_existing=False,) |
| 2699 | |
| 2700 | |
| 2701 | |
| 2702 | |
| 2703 | |
| 2704 | |
| 2705 | |
| 2706 | |
| 2707 | |
| 2708 | |
| 2709 | |
| 2710 | |
| 2711 | cc_generalparametervalue_table = Table('cc_generalparametervalue', metadata, |
| 2712 | Column('id', Integer, Sequence('cc_generalparametervalue_id_seq'), primary_key=True), |
| 2713 | Column('cc_singleoperation_parametervalue', Integer, ForeignKey('cc_singleoperation.id', use_alter=True, name='fk_cc_singleoperation_parametervalue')), |
| 2714 | Column('cc_generaloperationparameter_value', Integer, ForeignKey('cc_generaloperationparameter.id', use_alter=True, name='fk_cc_generaloperationparameter_value')), |
| 2715 | Column('cc_parametervaluegroup__cc_generalparametervalue_id', Integer, ForeignKey('cc_parametervaluegroup.id')), |
| 2716 | Column('cc_parametervaluegroup_parametervalue', Integer, ForeignKey('cc_parametervaluegroup.id', use_alter=True, name='fk_cc_parametervaluegroup_parametervalue')), |
| 2717 | extend_existing=False,) |
| 2718 | |
| 2719 | |
| 2720 | |
| 2721 | |
| 2722 | |
| 2723 | |
| 2724 | |
| 2725 | |
| 2726 | |
| 2727 | |
| 2728 | |
| 2729 | |
| 2730 | cc_operationparametergroup_table = Table('cc_operationparametergroup', metadata, |
| 2731 | Column('id', Integer, Sequence('cc_operationparametergroup_id_seq'), primary_key=True), |
| 2732 | Column('cc_generaloperationparameter_group', Integer, ForeignKey('cc_generaloperationparameter.id', use_alter=True, name='fk_cc_generaloperationparameter_group')), |
| 2733 | Column('cc_parametervaluegroup_group_id', Integer, ForeignKey('cc_parametervaluegroup.id', use_alter=True, name='fk_cc_parametervaluegroup_group')), |
| 2734 | Column('maximumOccurs', Integer , nullable=True), |
| 2735 | extend_existing=False,) |
| 2736 | |
| 2737 | |
| 2738 | |
| 2739 | |
| 2740 | |
| 2741 | |
| 2742 | |
| 2743 | |
| 2744 | |
| 2745 | |
| 2746 | |
| 2747 | |
| 2748 | directposition_table = Table('directposition', metadata, |
| 2749 | Column('id', Integer, Sequence('directposition_id_seq'), primary_key=True), |
| 2750 | Column('sc_crs_directposition', Integer, ForeignKey('sc_crs.id', use_alter=True, name='fk_sc_crs_directposition')), |
| 2751 | Column('gm_point_position_id', Integer, ForeignKey('gm_point.id', use_alter=True, name='fk_gm_point_position')), |
| 2752 | Column('coordinate', ARRAY(NUMERIC) , nullable=False), |
| 2753 | Column('dimension', Integer , nullable=False), |
| 2754 | extend_existing=False,) |
| 2755 | |
| 2756 | |
| 2757 | |
| 2758 | |
| 2759 | |
| 2760 | |
| 2761 | |
| 2762 | |
| 2763 | |
| 2764 | |
| 2765 | |
| 2766 | |
| 2767 | ceda_acquisition_table = Table('ceda_acquisition', metadata, |
| 2768 | Column('id', Integer, Sequence('ceda_acquisition_id_seq'), primary_key=True), |
| 2769 | extend_existing=False,) |
| 2770 | |
| 2771 | |
| 2772 | |
| 2773 | |
| 2774 | |
| 2775 | |
| 2776 | |
| 2777 | |
| 2778 | |
| 2779 | |
| 2780 | |
| 2781 | |
| 2782 | schema_table = Table('schema', metadata, |
| 2783 | Column('id', Integer, Sequence('schema_id_seq'), primary_key=True), |
| 2784 | Column('type_schema', Integer, ForeignKey('type.id', use_alter=True, name='fk_type_schema')), |
| 2785 | Column('isGlobal', BOOLEAN , nullable=False), |
| 2786 | extend_existing=False,) |
| 2787 | |
| 2788 | |
| 2789 | |
| 2790 | |
| 2791 | |
| 2792 | |
| 2793 | |
| 2794 | |
| 2795 | |
| 2796 | |
| 2797 | |
| 2798 | |
| 2799 | tp_complex_table = Table('tp_complex', metadata, |
| 2800 | Column('id', Integer, Sequence('tp_complex_id_seq'), primary_key=True), |
| 2801 | Column('tp_primitive_maximalcomplex_id', Integer, ForeignKey('tp_primitive.id', use_alter=True, name='fk_tp_primitive_maximalcomplex')), |
| 2802 | Column('tp_primitive_complex', Integer, ForeignKey('tp_primitive.id', use_alter=True, name='fk_tp_primitive_complex')), |
| 2803 | Column('gm_complex_topology_id', Integer, ForeignKey('gm_complex.id', use_alter=True, name='fk_gm_complex_topology')), |
| 2804 | extend_existing=False,) |
| 2805 | |
| 2806 | |
| 2807 | |
| 2808 | |
| 2809 | |
| 2810 | |
| 2811 | |
| 2812 | |
| 2813 | |
| 2814 | |
| 2815 | |
| 2816 | |
| 2817 | mo_inputoutput_table = Table('mo_inputoutput', metadata, |
| 2818 | Column('id', Integer, Sequence('mo_inputoutput_id_seq'), primary_key=True), |
| 2819 | Column('mo_acquisition_outputdescription_id', Integer, ForeignKey('mo_acquisition.id')), |
| 2820 | Column('mo_processing_processingoutput_id', Integer, ForeignKey('mo_processing.id')), |
| 2821 | Column('mo_processing_processinginput', Integer, ForeignKey('mo_processing.id')), |
| 2822 | extend_existing=False,) |
| 2823 | |
| 2824 | |
| 2825 | |
| 2826 | |
| 2827 | |
| 2828 | |
| 2829 | |
| 2830 | |
| 2831 | |
| 2832 | |
| 2833 | |
| 2834 | |
| 2835 | time_table = Table('time', metadata, |
| 2836 | Column('id', Integer, Sequence('time_id_seq'), primary_key=True), |
| 2837 | Column('tm_position_time8601_id', Integer, ForeignKey('tm_position.id')), |
| 2838 | extend_existing=False,) |
| 2839 | |
| 2840 | |
| 2841 | |
| 2842 | |
| 2843 | |
| 2844 | |
| 2845 | |
| 2846 | |
| 2847 | |
| 2848 | |
| 2849 | |
| 2850 | |
| 2851 | genericname_table = Table('genericname', metadata, |
| 2852 | Column('id', Integer, Sequence('genericname_id_seq'), primary_key=True), |
| 2853 | Column('io_identifiedobjectbase_alias', Integer, ForeignKey('io_identifiedobjectbase.id')), |
| 2854 | Column('mo_inputoutput_name_id', Integer, ForeignKey('mo_inputoutput.id')), |
| 2855 | Column('localname__genericname_id', Integer, ForeignKey('localname.id')), |
| 2856 | Column('namedvalue_name_id', Integer, ForeignKey('namedvalue.id')), |
| 2857 | Column('scopedname__genericname_id', Integer, ForeignKey('scopedname.id')), |
| 2858 | Column('namespace_name', Integer, ForeignKey('namespace.id', use_alter=True, name='fk_namespace_name')), |
| 2859 | extend_existing=False,) |
| 2860 | |
| 2861 | |
| 2862 | |
| 2863 | |
| 2864 | |
| 2865 | |
| 2866 | |
| 2867 | |
| 2868 | |
| 2869 | |
| 2870 | |
| 2871 | |
| 2872 | mo_operation_table = Table('mo_operation', metadata, |
| 2873 | Column('id', Integer, Sequence('mo_operation_id_seq'), primary_key=True), |
| 2874 | Column('ceda_operation__mo_operation_id', Integer, ForeignKey('ceda_operation.id')), |
| 2875 | Column('mo_acquisition_operation', Integer, ForeignKey('mo_acquisition.id')), |
| 2876 | Column('description', TEXT , nullable=True), |
| 2877 | Column('status', MD_ProgressCode.db_type() , nullable=True), |
| 2878 | extend_existing=False,) |
| 2879 | |
| 2880 | |
| 2881 | |
| 2882 | |
| 2883 | |
| 2884 | |
| 2885 | |
| 2886 | |
| 2887 | |
| 2888 | |
| 2889 | |
| 2890 | |
| 2891 | cv_referenceablegrid_table = Table('cv_referenceablegrid', metadata, |
| 2892 | Column('id', Integer, Sequence('cv_referenceablegrid_id_seq'), primary_key=True), |
| 2893 | Column('sc_crs_grid', Integer, ForeignKey('sc_crs.id', use_alter=True, name='fk_sc_crs_grid')), |
| 2894 | extend_existing=False,) |
| 2895 | |
| 2896 | |
| 2897 | |
| 2898 | |
| 2899 | |
| 2900 | |
| 2901 | |
| 2902 | |
| 2903 | |
| 2904 | |
| 2905 | |
| 2906 | |
| 2907 | dq_scope_table = Table('dq_scope', metadata, |
| 2908 | Column('id', Integer, Sequence('dq_scope_id_seq'), primary_key=True), |
| 2909 | Column('dq_dataquality_scope_id', Integer, ForeignKey('dq_dataquality.id', use_alter=True, name='fk_dq_dataquality_scope')), |
| 2910 | Column('level', MD_ScopeCode.db_type() , nullable=False), |
1467 | | Column('rs_referencesystem_id', Integer, Sequence('rs_referencesystem_id_seq'), primary_key=True), |
1468 | | Column('t_type', String(30), nullable=False, default='rs_referencesystem'), |
1469 | | extend_existing=False,) |
1470 | | |
1471 | | |
1472 | | |
1473 | | |
1474 | | |
1475 | | |
1476 | | |
1477 | | |
1478 | | |
1479 | | |
1480 | | |
1481 | | |
1482 | | md_identifier_table = Table('md_identifier', metadata, |
1483 | | Column('md_identifier_id', Integer, Sequence('md_identifier_id_seq'), primary_key=True), |
1484 | | Column('mo_project_identifier', Integer, ForeignKey('mo_project.mo_project_id')), |
1485 | | Column('mo_processing_identifier', Integer, ForeignKey('mo_processing.mo_processing_id')), |
1486 | | Column('mo_platform_identifier', Integer, ForeignKey('mo_platform.mo_platform_id')), |
1487 | | Column('dq_element_measureIdentification', Integer, ForeignKey('dq_element.dq_element_id')), |
1488 | | Column('mo_acquisition_identifier', Integer, ForeignKey('mo_acquisition.mo_acquisition_id')), |
1489 | | Column('mo_observationcollection_identifier', Integer, ForeignKey('mo_observationcollection.mo_observationcollection_id')), |
1490 | | Column('mo_observation_identifier', Integer, ForeignKey('mo_observation.mo_observation_id')), |
1491 | | Column('ci_citation_identifier', Integer, ForeignKey('ci_citation.ci_citation_id', use_alter=True, name='fk_ci_citation')), |
1492 | | Column('mo_instrument_identifier', Integer, ForeignKey('mo_instrument.mo_instrument_id')), |
1493 | | Column('md_aggregateinformation_aggregateDataSetIdentifier', Integer, ForeignKey('md_aggregateinformation.md_aggregateinformation_id')), |
1494 | | Column('mo_compositeprocess_identifier', Integer, ForeignKey('mo_compositeprocess.mo_compositeprocess_id')), |
1495 | | Column('ex_geographicdescription_geographicIdentifier', Integer, ForeignKey('ex_geographicdescription.ex_geographicdescription_id')), |
1496 | | Column('mo_operation_identifier', Integer, ForeignKey('mo_operation.mo_operation_id')), |
1497 | | Column('code', TEXT , nullable=False), |
1498 | | Column('t_type', String(30), nullable=False, default='md_identifier'), |
| 3094 | Column('id', Integer, Sequence('rs_referencesystem_id_seq'), primary_key=True), |
| 3095 | Column('tm_referencesystem__rs_referencesystem_id', Integer, ForeignKey('tm_referencesystem.id')), |
| 3096 | Column('sc_crs__rs_referencesystem_id', Integer, ForeignKey('sc_crs.id')), |
| 3097 | extend_existing=False,) |
| 3098 | |
| 3099 | |
| 3100 | |
| 3101 | |
| 3102 | |
| 3103 | |
| 3104 | |
| 3105 | |
| 3106 | |
| 3107 | |
| 3108 | |
| 3109 | |
| 3110 | tm_node_table = Table('tm_node', metadata, |
| 3111 | Column('id', Integer, Sequence('tm_node_id_seq'), primary_key=True), |
| 3112 | Column('tm_edge_start_id', Integer, ForeignKey('tm_edge.id', use_alter=True, name='fk_tm_edge_start')), |
| 3113 | Column('tm_instant_topology_id', Integer, ForeignKey('tm_instant.id', use_alter=True, name='fk_tm_instant_topology')), |
| 3114 | Column('tm_edge_end_id', Integer, ForeignKey('tm_edge.id', use_alter=True, name='fk_tm_edge_end')), |
| 3115 | extend_existing=False,) |
| 3116 | |
| 3117 | |
| 3118 | |
| 3119 | |
| 3120 | |
| 3121 | |
| 3122 | |
| 3123 | |
| 3124 | |
| 3125 | |
| 3126 | |
| 3127 | |
| 3128 | tm_topologicalcomplex_table = Table('tm_topologicalcomplex', metadata, |
| 3129 | Column('id', Integer, Sequence('tm_topologicalcomplex_id_seq'), primary_key=True), |
| 3130 | Column('tm_topologicalprimitive_complex_id', Integer, ForeignKey('tm_topologicalprimitive.id', use_alter=True, name='fk_tm_topologicalprimitive_complex')), |
| 3131 | extend_existing=False,) |
| 3132 | |
| 3133 | |
| 3134 | |
| 3135 | |
| 3136 | |
| 3137 | |
| 3138 | |
| 3139 | |
| 3140 | |
| 3141 | |
| 3142 | |
| 3143 | |
| 3144 | cv_gridcell_table = Table('cv_gridcell', metadata, |
| 3145 | Column('id', Integer, Sequence('cv_gridcell_id_seq'), primary_key=True), |
| 3146 | Column('cv_gridpoint_cell', Integer, ForeignKey('cv_gridpoint.id', use_alter=True, name='fk_cv_gridpoint_cell')), |
| 3147 | Column('cv_grid_cell', Integer, ForeignKey('cv_grid.id', use_alter=True, name='fk_cv_grid_cell')), |
| 3148 | extend_existing=False,) |
| 3149 | |
| 3150 | |
| 3151 | |
| 3152 | |
| 3153 | |
| 3154 | |
| 3155 | |
| 3156 | |
| 3157 | |
| 3158 | |
| 3159 | |
| 3160 | |
| 3161 | cc_passthroughoperation_table = Table('cc_passthroughoperation', metadata, |
| 3162 | Column('id', Integer, Sequence('cc_passthroughoperation_id_seq'), primary_key=True), |
| 3163 | Column('cc_coordinateoperation_passthruoperation', Integer, ForeignKey('cc_coordinateoperation.id', use_alter=True, name='fk_cc_coordinateoperation_passthruoperation')), |
| 3164 | Column('modifiedCoordinate', ARRAY(Integer) , nullable=False), |
| 3165 | extend_existing=False,) |
| 3166 | |
| 3167 | |
| 3168 | |
| 3169 | |
| 3170 | |
| 3171 | |
| 3172 | |
| 3173 | |
| 3174 | |
| 3175 | |
| 3176 | |
| 3177 | |
| 3178 | md_format_table = Table('md_format', metadata, |
| 3179 | Column('id', Integer, Sequence('md_format_id_seq'), primary_key=True), |
| 3180 | Column('md_distributor_distributorformat', Integer, ForeignKey('md_distributor.id', use_alter=True, name='fk_md_distributor_distributorformat')), |
| 3181 | Column('md_distribution_distributionformat', Integer, ForeignKey('md_distribution.id')), |
| 3182 | Column('md_identification_resourceformat', Integer, ForeignKey('md_identification.id')), |
| 3183 | Column('version', TEXT , nullable=False), |
| 3184 | Column('specification', TEXT , nullable=True), |
| 3185 | Column('fileDecompressionTechnique', TEXT , nullable=True), |
| 3186 | Column('name', TEXT , nullable=False), |
| 3187 | Column('amendmentNumber', TEXT , nullable=True), |
| 3188 | extend_existing=False,) |
| 3189 | |
| 3190 | |
| 3191 | |
| 3192 | |
| 3193 | |
| 3194 | |
| 3195 | |
| 3196 | |
| 3197 | |
| 3198 | |
| 3199 | |
| 3200 | |
| 3201 | md_referencesystem_table = Table('md_referencesystem', metadata, |
| 3202 | Column('id', Integer, Sequence('md_referencesystem_id_seq'), primary_key=True), |
| 3203 | Column('md_metadata_referencesysteminfo', Integer, ForeignKey('md_metadata.id')), |
| 3204 | Column('li_source_sourcereferencesystem_id', Integer, ForeignKey('li_source.id')), |
| 3205 | extend_existing=False,) |
| 3206 | |
| 3207 | |
| 3208 | |
| 3209 | |
| 3210 | |
| 3211 | |
| 3212 | |
| 3213 | |
| 3214 | |
| 3215 | |
| 3216 | |
| 3217 | |
| 3218 | cc_parametervaluegroup_table = Table('cc_parametervaluegroup', metadata, |
| 3219 | Column('id', Integer, Sequence('cc_parametervaluegroup_id_seq'), primary_key=True), |
| 3220 | Column('cc_generalparametervalue_group_id', Integer, ForeignKey('cc_generalparametervalue.id', use_alter=True, name='fk_cc_generalparametervalue_group')), |
| 3221 | Column('cc_operationparametergroup_value', Integer, ForeignKey('cc_operationparametergroup.id', use_alter=True, name='fk_cc_operationparametergroup_value')), |
| 3222 | extend_existing=False,) |
| 3223 | |
| 3224 | |
| 3225 | |
| 3226 | |
| 3227 | |
| 3228 | |
| 3229 | |
| 3230 | |
| 3231 | |
| 3232 | |
| 3233 | |
| 3234 | |
| 3235 | type_table = Table('type', metadata, |
| 3236 | Column('id', Integer, Sequence('type_id_seq'), primary_key=True), |
| 3237 | Column('recordtype__type_id', Integer, ForeignKey('recordtype.id')), |
| 3238 | Column('schema_description_id', Integer, ForeignKey('schema.id', use_alter=True, name='fk_schema_description')), |
| 3239 | Column('recordtype_membertype_id', Integer, ForeignKey('recordtype.id')), |
1519 | | Column('t_type', String(30), nullable=False, default='ex_verticalextent'), |
| 3260 | extend_existing=False,) |
| 3261 | |
| 3262 | |
| 3263 | |
| 3264 | |
| 3265 | |
| 3266 | |
| 3267 | |
| 3268 | |
| 3269 | |
| 3270 | |
| 3271 | |
| 3272 | |
| 3273 | gm_primitive_table = Table('gm_primitive', metadata, |
| 3274 | Column('id', Integer, Sequence('gm_primitive_id_seq'), primary_key=True), |
| 3275 | Column('gm_point__gm_primitive_id', Integer, ForeignKey('gm_point.id')), |
| 3276 | Column('gm_complex_element', Integer, ForeignKey('gm_complex.id', use_alter=True, name='fk_gm_complex_element')), |
| 3277 | Column('gm_orientableprimitive__gm_primitive_id', Integer, ForeignKey('gm_orientableprimitive.id')), |
| 3278 | Column('gm_composite_generator', Integer, ForeignKey('gm_composite.id', use_alter=True, name='fk_gm_composite_generator')), |
| 3279 | Column('tp_primitive_geometry_id', Integer, ForeignKey('tp_primitive.id', use_alter=True, name='fk_tp_primitive_geometry')), |
| 3280 | Column('gm_orientableprimitive_primitive_id', Integer, ForeignKey('gm_orientableprimitive.id', use_alter=True, name='fk_gm_orientableprimitive_primitive')), |
| 3281 | extend_existing=False,) |
| 3282 | |
| 3283 | |
| 3284 | |
| 3285 | |
| 3286 | |
| 3287 | |
| 3288 | |
| 3289 | |
| 3290 | |
| 3291 | |
| 3292 | |
| 3293 | |
| 3294 | tm_edge_table = Table('tm_edge', metadata, |
| 3295 | Column('id', Integer, Sequence('tm_edge_id_seq'), primary_key=True), |
| 3296 | Column('tm_period_topology_id', Integer, ForeignKey('tm_period.id', use_alter=True, name='fk_tm_period_topology')), |
| 3297 | Column('tm_node_previousedge', Integer, ForeignKey('tm_node.id', use_alter=True, name='fk_tm_node_previousedge')), |
| 3298 | Column('tm_node_nextedge', Integer, ForeignKey('tm_node.id', use_alter=True, name='fk_tm_node_nextedge')), |
| 3299 | extend_existing=False,) |
| 3300 | |
| 3301 | |
| 3302 | |
| 3303 | |
| 3304 | |
| 3305 | |
| 3306 | |
| 3307 | |
| 3308 | |
| 3309 | |
| 3310 | |
| 3311 | |
| 3312 | cv_coverage_table = Table('cv_coverage', metadata, |
| 3313 | Column('id', Integer, Sequence('cv_coverage_id_seq'), primary_key=True), |
| 3314 | Column('cv_domainobject_collection_id', Integer, ForeignKey('cv_domainobject.id', use_alter=True, name='fk_cv_domainobject_collection')), |
| 3315 | Column('cv_attributevalues_collection_id', Integer, ForeignKey('cv_attributevalues.id', use_alter=True, name='fk_cv_attributevalues_collection')), |
| 3316 | Column('commonPointRule', CV_CommonPointRule.db_type() , nullable=False), |
| 3317 | extend_existing=False,) |
| 3318 | |
| 3319 | |
| 3320 | |
| 3321 | |
| 3322 | |
| 3323 | |
| 3324 | |
| 3325 | |
| 3326 | |
| 3327 | |
| 3328 | |
| 3329 | |
| 3330 | mo_process_table = Table('mo_process', metadata, |
| 3331 | Column('id', Integer, Sequence('mo_process_id_seq'), primary_key=True), |
| 3332 | Column('mo_compositeprocess__mo_process_id', Integer, ForeignKey('mo_compositeprocess.id')), |
| 3333 | Column('mo_computation__mo_process_id', Integer, ForeignKey('mo_computation.id')), |
| 3334 | Column('ceda_process__mo_process_id', Integer, ForeignKey('ceda_process.id')), |
| 3335 | Column('mo_acquisition__mo_process_id', Integer, ForeignKey('mo_acquisition.id')), |
| 3336 | extend_existing=False,) |
| 3337 | |
| 3338 | |
| 3339 | |
| 3340 | |
| 3341 | |
| 3342 | |
| 3343 | |
| 3344 | |
| 3345 | |
| 3346 | |
| 3347 | |
| 3348 | |
| 3349 | record_table = Table('record', metadata, |
| 3350 | Column('id', Integer, Sequence('record_id_seq'), primary_key=True), |
| 3351 | Column('cv_attributevalues_values_id', Integer, ForeignKey('cv_attributevalues.id')), |
| 3352 | Column('recordtype_record', Integer, ForeignKey('recordtype.id', use_alter=True, name='fk_recordtype_record')), |
| 3353 | extend_existing=False,) |
| 3354 | |
| 3355 | |
| 3356 | |
| 3357 | |
| 3358 | |
| 3359 | |
| 3360 | |
| 3361 | |
| 3362 | |
| 3363 | |
| 3364 | |
| 3365 | |
| 3366 | gm_point_table = Table('gm_point', metadata, |
| 3367 | Column('id', Integer, Sequence('gm_point_id_seq'), primary_key=True), |
| 3368 | Column('gm_compositepoint_generator_id', Integer, ForeignKey('gm_compositepoint.id', use_alter=True, name='fk_gm_compositepoint_generator')), |
| 3369 | Column('gm_compositepoint__gm_point_id', Integer, ForeignKey('gm_compositepoint.id')), |
| 3370 | Column('cv_gridpoint_groundpoint', Integer, ForeignKey('cv_gridpoint.id', use_alter=True, name='fk_cv_gridpoint_groundpoint')), |
| 3371 | extend_existing=False,) |
| 3372 | |
| 3373 | |
| 3374 | |
| 3375 | |
| 3376 | |
| 3377 | |
| 3378 | |
| 3379 | |
| 3380 | |
| 3381 | |
| 3382 | |
| 3383 | |
| 3384 | mo_platform_table = Table('mo_platform', metadata, |
| 3385 | Column('id', Integer, Sequence('mo_platform_id_seq'), primary_key=True), |
| 3386 | Column('mo_instrumentplatformpair_platform_id', Integer, ForeignKey('mo_instrumentplatformpair.id')), |
| 3387 | Column('ceda_platform__mo_platform_id', Integer, ForeignKey('ceda_platform.id')), |
| 3388 | Column('mo_operation_platform', Integer, ForeignKey('mo_operation.id')), |
| 3389 | Column('mo_acquisition_platform', Integer, ForeignKey('mo_acquisition.id')), |
| 3390 | Column('description', TEXT , nullable=True), |
| 3391 | Column('type', MO_PlatformTypeValue.db_type() , nullable=True), |
| 3392 | extend_existing=False,) |
| 3393 | |
| 3394 | |
| 3395 | |
| 3396 | |
| 3397 | |
| 3398 | |
| 3399 | |
| 3400 | |
| 3401 | |
| 3402 | |
| 3403 | |
| 3404 | |
| 3405 | cc_singleoperation_table = Table('cc_singleoperation', metadata, |
| 3406 | Column('id', Integer, Sequence('cc_singleoperation_id_seq'), primary_key=True), |
| 3407 | Column('cc_generalparametervalue_coordoperation', Integer, ForeignKey('cc_generalparametervalue.id', use_alter=True, name='fk_cc_generalparametervalue_coordoperation')), |
| 3408 | Column('cc_conversion__cc_singleoperation_id', Integer, ForeignKey('cc_conversion.id')), |
| 3409 | Column('cc_operationmethod_coordoperation', Integer, ForeignKey('cc_operationmethod.id', use_alter=True, name='fk_cc_operationmethod_coordoperation')), |
| 3410 | extend_existing=False,) |
| 3411 | |
| 3412 | |
| 3413 | |
| 3414 | |
| 3415 | |
| 3416 | |
| 3417 | |
| 3418 | |
| 3419 | |
| 3420 | |
| 3421 | |
| 3422 | |
| 3423 | mo_location_table = Table('mo_location', metadata, |
| 3424 | Column('id', Integer, Sequence('mo_location_id_seq'), primary_key=True), |
| 3425 | Column('mo_platform_location_id', Integer, ForeignKey('mo_platform.id')), |
| 3426 | Column('mo_operation_location_id', Integer, ForeignKey('mo_operation.id')), |
| 3427 | extend_existing=False,) |
| 3428 | |
| 3429 | |
| 3430 | |
| 3431 | |
| 3432 | |
| 3433 | |
| 3434 | |
| 3435 | |
| 3436 | |
| 3437 | |
| 3438 | |
| 3439 | |
| 3440 | mo_project_table = Table('mo_project', metadata, |
| 3441 | Column('id', Integer, Sequence('mo_project_id_seq'), primary_key=True), |
| 3442 | Column('mo_observation_insupportof_id', Integer, ForeignKey('mo_observation.id', use_alter=True, name='fk_mo_observation_insupportof')), |
| 3443 | Column('ceda_project__mo_project_id', Integer, ForeignKey('ceda_project.id')), |
| 3444 | Column('description', TEXT , nullable=True), |
| 3445 | Column('abstract', TEXT , nullable=True), |
| 3446 | Column('status', MD_ProgressCode.db_type() , nullable=True), |
| 3447 | Column('publicationState', MO_PublicationStateValue.db_type() , nullable=True), |
| 3448 | extend_existing=False,) |
| 3449 | |
| 3450 | |
| 3451 | |
| 3452 | |
| 3453 | |
| 3454 | |
| 3455 | |
| 3456 | |
| 3457 | |
| 3458 | |
| 3459 | |
| 3460 | |
| 3461 | rs_identifier_table = Table('rs_identifier', metadata, |
| 3462 | Column('id', Integer, Sequence('rs_identifier_id_seq'), primary_key=True), |
| 3463 | Column('md_referencesystem_referencesystemidentifier_id', Integer, ForeignKey('md_referencesystem.id')), |
| 3464 | Column('tm_referencesystem_name_id', Integer, ForeignKey('tm_referencesystem.id')), |
| 3465 | Column('io_identifiedobjectbase_identifier', Integer, ForeignKey('io_identifiedobjectbase.id')), |
| 3466 | Column('io_identifiedobject_name_id', Integer, ForeignKey('io_identifiedobject.id')), |
| 3467 | Column('rs_referencesystem_name_id', Integer, ForeignKey('rs_referencesystem.id')), |
| 3468 | Column('version', TEXT , nullable=True), |
| 3469 | Column('codeSpace', TEXT , nullable=True), |
| 3470 | extend_existing=False,) |
| 3471 | |
| 3472 | |
| 3473 | |
| 3474 | |
| 3475 | |
| 3476 | |
| 3477 | |
| 3478 | |
| 3479 | |
| 3480 | |
| 3481 | |
| 3482 | |
| 3483 | tm_temporalposition_table = Table('tm_temporalposition', metadata, |
| 3484 | Column('id', Integer, Sequence('tm_temporalposition_id_seq'), primary_key=True), |
| 3485 | Column('tm_referencesystem_position', Integer, ForeignKey('tm_referencesystem.id', use_alter=True, name='fk_tm_referencesystem_position')), |
| 3486 | Column('tm_position_anyother_id', Integer, ForeignKey('tm_position.id')), |
| 3487 | Column('indeterminatePosition', TM_IndeterminateValue.db_type() , nullable=True), |
1539 | | Column('t_type', String(30), nullable=False, default='ex_extent'), |
1540 | | extend_existing=False,) |
1541 | | |
1542 | | |
1543 | | |
1544 | | |
1545 | | |
1546 | | |
1547 | | |
1548 | | |
1549 | | |
1550 | | |
1551 | | |
1552 | | |
1553 | | ceda_observationcollection_table = Table('ceda_observationcollection', metadata, |
1554 | | Column('ceda_observationcollection_id', Integer, Sequence('ceda_observationcollection_id_seq'), primary_key=True), |
1555 | | Column('mo_observationcollection_id', Integer, ForeignKey('mo_observationcollection.mo_observationcollection_id')), Column('ceda_project_observationCollection', Integer, ForeignKey('ceda_project.ceda_project_id', use_alter=True, name='fk_ceda_project')), |
1556 | | Column('t_type', String(30), nullable=False, default='ceda_observationcollection'), |
1557 | | extend_existing=False,) |
1558 | | |
1559 | | |
1560 | | |
1561 | | |
1562 | | |
1563 | | |
1564 | | |
1565 | | |
1566 | | |
1567 | | |
1568 | | |
1569 | | |
1570 | | io_identifiedobjectbase_table = Table('io_identifiedobjectbase', metadata, |
1571 | | Column('io_identifiedobjectbase_id', Integer, Sequence('io_identifiedobjectbase_id_seq'), primary_key=True), |
1572 | | Column('remarks', TEXT , nullable=True), |
1573 | | Column('t_type', String(30), nullable=False, default='io_identifiedobjectbase'), |
1574 | | extend_existing=False,) |
1575 | | |
1576 | | |
1577 | | |
1578 | | |
1579 | | |
1580 | | |
1581 | | |
1582 | | |
1583 | | |
1584 | | |
1585 | | |
1586 | | |
1587 | | md_keywords_table = Table('md_keywords', metadata, |
1588 | | Column('md_keywords_id', Integer, Sequence('md_keywords_id_seq'), primary_key=True), |
1589 | | Column('md_identification_descriptiveKeywords', Integer, ForeignKey('md_identification.md_identification_id')), |
1590 | | Column('mo_project_keywords', Integer, ForeignKey('mo_project.mo_project_id')), |
1591 | | Column('ceda_observation_keywords', Integer, ForeignKey('ceda_observation.ceda_observation_id')), |
1592 | | Column('type', MD_KeywordTypeCode.db_type() , nullable=True), |
1593 | | Column('keyword', ARRAY(TEXT) , nullable=False), |
1594 | | Column('t_type', String(30), nullable=False, default='md_keywords'), |
1595 | | extend_existing=False,) |
1596 | | |
1597 | | |
1598 | | |
1599 | | |
1600 | | |
1601 | | |
1602 | | |
1603 | | |
1604 | | |
1605 | | |
1606 | | |
1607 | | |
1608 | | ex_geographicdescription_table = Table('ex_geographicdescription', metadata, |
1609 | | Column('ex_geographicdescription_id', Integer, Sequence('ex_geographicdescription_id_seq'), primary_key=True), |
1610 | | Column('ex_geographicextent_id', Integer, ForeignKey('ex_geographicextent.ex_geographicextent_id')), Column('mo_location_nameLocation', Integer, ForeignKey('mo_location.mo_location_id')), |
1611 | | Column('t_type', String(30), nullable=False, default='ex_geographicdescription'), |
1612 | | extend_existing=False,) |
1613 | | |
1614 | | |
1615 | | |
1616 | | |
1617 | | |
1618 | | |
1619 | | |
1620 | | |
1621 | | |
1622 | | |
1623 | | |
1624 | | |
1625 | | md_aggregateinformation_table = Table('md_aggregateinformation', metadata, |
1626 | | Column('md_aggregateinformation_id', Integer, Sequence('md_aggregateinformation_id_seq'), primary_key=True), |
1627 | | Column('md_identification_aggregationInfo', Integer, ForeignKey('md_identification.md_identification_id')), |
1628 | | Column('associationType', DS_AssociationTypeCode.db_type() , nullable=False), |
1629 | | Column('initiativeType', DS_InitiativeTypeCode.db_type() , nullable=True), |
1630 | | Column('t_type', String(30), nullable=False, default='md_aggregateinformation'), |
1631 | | extend_existing=False,) |
1632 | | |
1633 | | |
1634 | | |
1635 | | |
1636 | | |
1637 | | |
1638 | | |
1639 | | |
1640 | | |
1641 | | |
1642 | | |
1643 | | |
1644 | | dq_dataquality_table = Table('dq_dataquality', metadata, |
1645 | | Column('dq_dataquality_id', Integer, Sequence('dq_dataquality_id_seq'), primary_key=True), |
1646 | | Column('md_metadata_dataQualityInfo', Integer, ForeignKey('md_metadata.md_metadata_id')), |
1647 | | Column('t_type', String(30), nullable=False, default='dq_dataquality'), |
1648 | | extend_existing=False,) |
1649 | | |
1650 | | |
1651 | | |
1652 | | |
1653 | | |
1654 | | |
1655 | | |
1656 | | |
1657 | | |
1658 | | |
1659 | | |
1660 | | |
1661 | | mo_compositeprocess_table = Table('mo_compositeprocess', metadata, |
1662 | | Column('mo_compositeprocess_id', Integer, Sequence('mo_compositeprocess_id_seq'), primary_key=True), |
1663 | | Column('mo_process_id', Integer, ForeignKey('mo_process.mo_process_id')), Column('description', TEXT , nullable=True), |
1664 | | Column('t_type', String(30), nullable=False, default='mo_compositeprocess'), |
1665 | | extend_existing=False,) |
1666 | | |
1667 | | |
1668 | | |
1669 | | |
1670 | | |
1671 | | |
1672 | | |
1673 | | |
1674 | | |
1675 | | |
1676 | | |
1677 | | |
1678 | | mo_observation_table = Table('mo_observation', metadata, |
1679 | | Column('mo_observation_id', Integer, Sequence('mo_observation_id_seq'), primary_key=True), |
1680 | | Column('om_observation_id', Integer, ForeignKey('om_observation.om_observation_id')), Column('mo_observationcollection_member', Integer, ForeignKey('mo_observationcollection.mo_observationcollection_id', use_alter=True, name='fk_mo_observationcollection')), |
1681 | | Column('status', MD_ProgressCode.db_type() , nullable=True), |
1682 | | Column('resolution', TEXT , nullable=True), |
1683 | | Column('publicationState', MO_PublicationStateValue.db_type() , nullable=True), |
1684 | | Column('description', TEXT , nullable=True), |
1685 | | Column('resultAccumulation', MD_MaintenanceFrequencyCode.db_type() , nullable=True), |
1686 | | Column('t_type', String(30), nullable=False, default='mo_observation'), |
1687 | | extend_existing=False,) |
1688 | | |
1689 | | |
1690 | | |
1691 | | |
1692 | | |
1693 | | |
1694 | | |
1695 | | |
1696 | | |
1697 | | |
1698 | | |
1699 | | |
1700 | | dq_scope_table = Table('dq_scope', metadata, |
1701 | | Column('dq_scope_id', Integer, Sequence('dq_scope_id_seq'), primary_key=True), |
1702 | | Column('dq_dataquality_scope', Integer, ForeignKey('dq_dataquality.dq_dataquality_id')), |
1703 | | Column('level', MD_ScopeCode.db_type() , nullable=False), |
1704 | | Column('t_type', String(30), nullable=False, default='dq_scope'), |
1705 | | extend_existing=False,) |
1706 | | |
1707 | | |
1708 | | |
1709 | | |
1710 | | |
1711 | | |
1712 | | |
1713 | | |
1714 | | |
1715 | | |
1716 | | |
1717 | | |
1718 | | ceda_compositeprocess_table = Table('ceda_compositeprocess', metadata, |
1719 | | Column('ceda_compositeprocess_id', Integer, Sequence('ceda_compositeprocess_id_seq'), primary_key=True), |
1720 | | Column('mo_compositeprocess_id', Integer, ForeignKey('mo_compositeprocess.mo_compositeprocess_id')), Column('ceda_process_id', Integer, ForeignKey('ceda_process.ceda_process_id')),Column('t_type', String(30), nullable=False, default='ceda_compositeprocess'), |