Add XSDs for validating exports and an (almost) complete EODEM export

This commit is contained in:
Joshua Ramon Enslin 2023-01-08 22:58:17 +01:00
parent f6d2b6b870
commit d9fe60d541
Signed by: jrenslin
GPG Key ID: 46016F84501B70AE
6 changed files with 10899 additions and 1 deletions

2275
src/eodem-0.08.xsl Normal file

File diff suppressed because it is too large Load Diff

View File

@ -4,7 +4,7 @@
xmlns:gml="http://www.opengis.net/gml">
<xsl:output method="xml" omit-xml-declaration="no" encoding="UTF-8" indent="yes"/>
<xsl:template match="/">
<lido:lidoWrap xmlns:lido="http://www.lido-schema.org" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.lido-schema.org http://www.lido-schema.org/schema/v1.0/lido-v1.0.xsd" xmlns:gml="http://www.opengis.net/gml" xmlns:schemaLocation="http://schemas.opengis.net/gml/3.1.1/base/feature.xsd">
<lido:lidoWrap xmlns:lido="http://www.lido-schema.org" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.lido-schema.org http://www.lido-schema.org/schema/v1.0/lido-v1.0.xsd" xmlns:gml="http://www.opengis.net/gml" xmlns:schemaLocation="http://schemas.opengis.net/gml/3.1.1/base/feature.xsd">
<xsl:apply-templates select="/root"/>
</lido:lidoWrap>
</xsl:template>

1855
src/schemas/ead.xsd Normal file

File diff suppressed because it is too large Load Diff

4806
src/schemas/eodem-0.08.xsd Normal file

File diff suppressed because it is too large Load Diff

1829
src/schemas/lido-v1.0.xsd Normal file

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,133 @@
{
"show_sammlungen": true,
"show_serien": true,
"show_ereignisse": true,
"show_tags": true,
"show_literatur": true,
"show_markings": true,
"show_transcripts": true,
"show_links": true,
"show_images": true,
"show_hidden_images": false,
"show_objekt_inventarnr": true,
"show_objektart": true,
"show_objekt_name": true,
"show_objekt_beschreibung": true,
"show_objekt_material_technik": true,
"show_objekt_masse": true,
"show_ort2_name": false,
"show_ort2_art": false,
"show_titel2_name": false,
"show_titel2_art": false,
"show_detaileddescription2": true,
"show_beschriftung2": true,
"show_form": true,
"show_sex": true,
"show_color": true,
"show_acknowledgements": true,
"show_salutation": true,
"show_incipit": true,
"show_explicit": true,
"show_valediction": true,
"show_mass2_laenge_wert": true,
"show_mass2_laenge_einheit": true,
"show_mass2_breite_wert": true,
"show_mass2_breite_einheit": true,
"show_mass2_hoehe_wert": true,
"show_mass2_hoehe_einheit": true,
"show_mass2_gewicht_wert": true,
"show_mass2_gewicht_einheit": true,
"show_mass2_durchmesser_wert": true,
"show_mass2_durchmesser_einheit": true,
"show_wandungsstaerke_wert": true,
"show_wandungsstaerke_einheit": true,
"show_stueckzahl": true,
"show_mass2_seitenzahl": true,
"show_mass2_stempelstellung": true,
"show_vergleichsobjekte2": true,
"show_material2": true,
"show_technik2": true,
"show_reception_history": true,
"show_object_references": true,
"show_content_language": true,
"show_objekt_status": false,
"show_eingangsnummer": false,
"show_invnr2": false,
"show_sachgruppe": false,
"show_systematik": false,
"show_konvolut": false,
"show_teilvon": false,
"show_zeitpunkt_zugang": false,
"show_zugang_art": false,
"show_ankaufsumme": false,
"show_geld_art": false,
"show_vorbesitzer": false,
"show_objektgeschichte": false,
"show_zustand": true,
"show_restaurierung": false,
"show_finding_spot_longitude": false,
"show_finding_spot_latitude": false,
"show_period_copyright": false,
"show_period_freeze": false,
"show_period_autopublish": false,
"show_period_scheduled_end_to_deposit": false,
"show_period_comment": false,
"show_erwerbender": false,
"show_erwerbungsort": false,
"show_ersterfasser": false,
"show_ersterfasst_zeitpunkt": false,
"show_wert_zeitpunkt": false,
"show_wert_bestimmer": false,
"show_wert_zahl": true,
"show_wert_art": true,
"show_wert_reference": false,
"show_wert2_zeitpunkt": false,
"show_wert2_bestimmer": false,
"show_wert2_zahl": false,
"show_wert2_art": false,
"show_deaccession_approved_by": false,
"show_deaccession_approved_date": false,
"show_disposal_reason": false,
"show_disposal_method": false,
"show_disposal_recipient_new_id": false,
"show_deaccession_date": false,
"show_disposal_date": false,
"show_disposal_note": false,
"show_disposal_cost_value": false,
"show_disposal_cost_currency": false,
"show_disposal_price_value": false,
"show_disposal_price_currency": false,
"show_disposal_conditions": false,
"show_disposal_authorized_by": false,
"show_disposal_authorized_date": false,
"show_standort_aktuell": false,
"show_standort_eigentlich": false,
"show_ausstellung": false,
"show_verliehen_an": false,
"show_leihvorgang_ansprechpartner": false,
"show_leihvorgang_zeitraum": false,
"show_leihvorgang_versicherungswert": false,
"show_leihvorgang_anmerkungen": false,
"show_min_temperature": true,
"show_max_temperature": true,
"show_min_humidity": true,
"show_max_humidity": true,
"show_max_lux": true,
"show_urheberrechte": true,
"show_nutzungsrechte": true,
"show_rechte_anmerkungen": true,
"show_metadata_rights_holder": true,
"show_metadata_rights_status": true,
"show_notizen_text2": false,
"show_notizen_text1": false,
"show_bilder_lokal": false,
"show_dokumente_lokal": false,
"show_id_of_negative": false,
"show_handling_recommendations": true,
"show_shipping_note": true,
"show_hazards_note": true,
"show_condition_checking_requirements": true,
"show_installation_note": true,
"show_display_recommendations": true,
"show_security_requirements": true
}