Project

General

Profile

« Previous | Next » 

Revision 6179

schemas/vegbien.sql: Renamed reference -> source to make this table more broadly applicable, and because this now stores the datasource metadata

View differences:

test.xml.ref
81 81
                                <specimenreplicate>
82 82
                                    <catalognumber_dwc>$CatalogNumber</catalognumber_dwc>
83 83
                                    <collectioncode_dwc>$CollectionCode</collectioncode_dwc>
84
                                    <institution_id><referencename><name>$InstitutionCode</name></referencename></institution_id>
84
                                    <institution_id><sourcename><name>$InstitutionCode</name></sourcename></institution_id>
85 85
                                    <sourceaccessioncode>$UniqueNYInternalRecordNumber</sourceaccessioncode>
86 86
                                </specimenreplicate>
87 87
                            </plantobservation>
......
96 96
                                        <taxonlabel>
97 97
                                            <matched_label_id>
98 98
                                                <taxonlabel>
99
                                                    <reference_id><reference><shortname>TNRS</shortname></reference></reference_id>
99
                                                    <source_id><source><shortname>TNRS</shortname></source></source_id>
100 100
                                                    <taxonomicname>
101 101
                                                        <_join_words>
102 102
                                                            <1><_taxon_family_require_std><family>$Family</family></_taxon_family_require_std></1>
......
333 333
                            <county>$County</county>
334 334
                            <matched_place_id>
335 335
                                <place>
336
                                    <reference_id><reference><shortname>geoscrub</shortname></reference></reference_id>
336
                                    <source_id><source><shortname>geoscrub</shortname></source></source_id>
337 337
                                    <coordinates_id>
338 338
                                        <coordinates>
339
                                            <reference_id><reference><shortname>geoscrub</shortname></reference></reference_id>
339
                                            <source_id><source><shortname>geoscrub</shortname></source></source_id>
340 340
                                            <latitude_deg>
341 341
                                                <_nullIf>
342 342
                                                    <null>0</null>

Also available in: Unified diff