Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

SCSB stores and manages library collection information that may be private or shared.
In order to build the database, partner libraries will need to provide data about the bib/holdings and item information as per schema belowXML is the format that is being used for the Initial Accession process. All partners are expected to provide the data in the below format. Those data that don't follow the below schema will not be processed during the ETL (Extract, Transform, Load) process and will be logged as failed records.

Schema


Code Block
languagexml
<bibRecords>
    <bibRecord>
        <bib>
            <owningInstitutionId>PUL</owningInstitutionId>
            <content>
                <collection xmlns="http://www.loc.gov/MARC21/slim">
                    <record>
                        <leader>01233cas a2200373I  4500</leader>
                        <controlfield tag="001">1</controlfield>
                        <controlfield tag="005">20130405104912.0</controlfield>
                        <controlfield tag="008">860123c19069999ii wr p      f0   a0eng d</controlfield>
                        <datafield tag="245" ind1="0" ind2="0">
                            <subfield code="a">Indian trade journal.</subfield>
                        </datafield>
                    </record>
                </collection>
            </content>
        </bib>
        <holdings>
            <holding>
                <owningInstitutionHoldingsId>1</owningInstitutionHoldingsId>
                <conthtcent>
                    <collection xmlns="http://www.loc.gov/MARC21/slim">
                         <record>
                             <datafield tag="852" ind1="0" ind2="0">
                                  <subfield code="b">Location</subfield>
                                  <subfield code="h">Call Number</subfield>
                             </datafield>
                             <datafield tag="866" ind1="0" ind2="0">
                                 <subfield code="a">Textual holdings</subfield>
                             </datafield>
                        </record>
                    </collection>
                </content>
                <items>
                    <content>
                        <collection xmlns="http://www.loc.gov/MARC21/slim">
                            <record>
                                <datafield tag="876" ind1="0" ind2="0">
                                    <subfield code="a">Local Item Id</subfield>
                                    <subfield code="h">Use Restrictions</subfield>
                                    <subfield code="j">Item status</subfield>
                                    <subfield code="p">Item Barcode</subfield>
                                    <subfield code="t">Copy Number</subfield>
                                    <subfield code="3">Volume/Part/Year</subfield>
                                </datafield>

                                <datafield tag="900" ind1="0" ind2="0">
                                    <subfield code="a">Open/Shared/Private</subfield>
                                </datafield>
                            </record>
                            <record>
                                <datafield tag="876" ind1="0" ind2="0">
                                    <subfield code="a">Local Item Id</subfield>
                                    <subfield code="h">Use Restrictions</subfield>
                                    <subfield code="j">Item status</subfield>
                                    <subfield code="p">Item Barcode</subfield>
                                    <subfield code="t">Copy Number</subfield>
                                    <subfield code="3">Volume/Part/Year</subfield>
                                </datafield>
                                 <datafield tag="900" ind1="0" ind2="0">
                                    <subfield code="a">Open/Shared/Private</subfield>
                                    <subfield code="b">Customer Code</subfield>
                                </datafield>
                            </record>
                        </collection>
                    </content>
                </items>
            </holding>
        </holdings>
    </bibRecord>
</bibRecords>

...