Commit 9d22da7d authored by mrodzis's avatar mrodzis 🌎
Browse files

Merge branch 'develop' into update-descriptions

parents 1c9c351f ace778f3
<?xml-model href="http://www.tei-c.org/release/xml/tei/custom/schema/relaxng/tei_all.rng" type="application/xml" schematypens="http://relaxng.org/ns/structure/1.0"?>
<?xml-model href="http://www.tei-c.org/release/xml/tei/custom/schema/relaxng/tei_all.rng" type="application/xml"
schematypens="http://purl.oclc.org/dsdl/schematron"?>
<!-- This is an accompanying document (no 1) to LIDO publication version 1.1, recommending terminology for data values -->
<TEI xmlns="http://www.tei-c.org/ns/1.0">
<teiHeader>
<fileDesc>
<titleStmt>
<title>LIDO Terminology Recommendations</title>
<author>LIDO Terminolgy Working Group</author>
</titleStmt>
<publicationStmt>
<publisher>German LIDO Working Group</publisher>
<date type="creationDate">2020-09-30</date>
<date type="publicationDate">2020-10-30</date>
<availability>
<p>Copyright 2020, German LIDO Working Group</p>
<licence target="https://creativecommons.org/licenses/by/4.0/">Creative Commons Attribution 4.0 International (CC BY 4.0)</licence>
</availability>
</publicationStmt>
<sourceDesc>
<p>Born digital.</p>
</sourceDesc>
</fileDesc>
</teiHeader>
<text>
<body xml:id="terminology-recommendations">
<div xml:id="intro">
<head>LIDO Terminology Recommendation</head>
<!-- place the introductory text here. text can also be added after the listing below (e.g. a conclusion or some other
kind of outro). surround any new text block in tei:div elements. -->
<p>Here goes the text.</p>
</div>
<div xml:id="actor_type">
<p>Data values for the type attribute of the LIDO <ref target="http://schema.lido-schema.org/#actor">Actor</ref> element.
Recommended: LIDO Terminology. Please select a concept from the LIDO Concept Scheme
<ref target="http://terminology.lido-schema.org/actor_type">Actor type</ref>.
</p>
</div>
<div xml:id="attributionQualifierActor">
<p>Data values for the <ref target="http://schema.lido-schema.org/#attributionQualifierActor">Attribution Qualifier Actor</ref> element.
Recommended: Linked open vocabulary. Please select, for instance, one or more concepts from the
<ref target="http://vocab.getty.edu/hier/aat/300404264">attribution qualifiers</ref>
hierarchy of the Art and Architecture Thesaurus.
</p>
</div>
<div xml:id="category">
<p>Data values for the <ref target="http://schema.lido-schema.org/#category">Category</ref> element.
Recommended: LIDO Terminology. Please select a concept from the LIDO Concept Scheme
<ref target="http://terminology.lido-schema.org/category">attribution qualifiers</ref>.
</p>
</div>
<div xml:id="classification_type">
<p>Data values for the type attribute of the LIDO <ref target="http://schema.lido-schema.org/#classification">Classification</ref> element.
Recommended: LIDO Terminology. Please select one or more concepts from the LIDO Concept Scheme
<ref target="http://terminology.lido-schema.org/classification_type">Classification type</ref>.
</p>
</div>
<div xml:id="culture">
<p>Data values for the <ref target="http://schema.lido-schema.org/#culture">Cultural Context</ref> element.
Recommended: Linked open vocabulary. Please select, for instance, one or more concepts from the
<ref target="http://vocab.getty.edu/hier/aat/300015646">Styles and Periods</ref>
hierarchy of the Art and Architecture Thesaurus.
</p>
</div>
<div xml:id="earliestDate_type">
<p>Data values for the type attribute of the LIDO <ref target="http://schema.lido-schema.org/#earliestDate">Earliest Date</ref> element.
Recommended: LIDO Terminology. Please select a concept from the LIDO Concept Scheme
<ref target="http://terminology.lido-schema.org/earliestDate_type"/>.
</p>
</div>
<div xml:id="eventPlace_type">
<p>Data values for the type attribute of the LIDO <ref target="http://schema.lido-schema.org/#eventPlace">Event Place</ref> element.
Recommended: LIDO Terminology. Please select a concept from the LIDO Concept Scheme
<ref target="http://terminology.lido-schema.org/eventPlace_type">Event Place type</ref>.
</p>
</div>
<div xml:id="eventType">
<p>Data values for the <ref target="http://schema.lido-schema.org/#eventType">Event Type</ref> element.
Recommended: LIDO Terminology. Please select a concept from the LIDO Concept Scheme
<ref target="http://terminology.lido-schema.org/eventType"/>.
</p>
</div>
<div xml:id="extentMaterialsTech">
<p>Data values for the LIDO <ref target="http://schema.lido-schema.org/#">Extent Materials/Techniques</ref> element.
Recommended: Linked open vocabulary. Please select, for instance, one or more concepts from the
<ref target="http://vocab.getty.edu/hier/aat/300264092">Objects Facet</ref>
hierarchy of the Art and Architecture Thesaurus.
</p>
</div>
<div xml:id="formatMeasurements">
<p>Data values for the LIDO <ref target="http://schema.lido-schema.org/#">Format Measurements</ref> element.
Recommended: Linked open vocabulary. Please select, for instance, one or more concepts from the
<ref target="http://vocab.getty.edu/hier/aat/300266038">format</ref>
hierarchy of the Art and Architecture Thesaurus.
</p>
</div>
<div xml:id="genderActor">
<p>Data values for the LIDO <ref target="http://schema.lido-schema.org/#">Gender Actor</ref> element.
Recommended: LIDO Terminology. Please select a concept from the LIDO Concept Scheme
<ref target="http://terminology.lido-schema.org/lido00772">Gender Actor</ref>.
</p>
</div>
<div xml:id="genderActor_type">
<p>Data values for the type attribute of the LIDO <ref target="http://schema.lido-schema.org/#">Gender Actor</ref> element.
Recommended: LIDO Terminology. Please select a concept from the LIDO Concept Scheme
<ref target="http://terminology.lido-schema.org/lido00909">Gender Actor type</ref>.
</p>
</div>
<div xml:id="identifier_type">
<p>Data values for the LIDO <ref target="http://schema.lido-schema.org/#">Gender Actor</ref> element.
Recommended: LIDO Terminology. Please select a concept from the LIDO Concept Scheme
<ref target="http://terminology.lido-schema.org/identifier_type">Identifier type</ref>.
It is strongly recommended to index at least one term ...
</p>
</div>
<div xml:id="latestDate_type">
<p>Data values for the type attribute of the LIDO <ref target="http://schema.lido-schema.org/#latestDate">Latest Date</ref> element.
Recommended: LIDO Terminology. Please select a concept from the LIDO Concept Scheme
<ref target="http://terminology.lido-schema.org/latestDate_type"/>.
</p>
</div>
<div xml:id="measurementType">
<p>Data values for the LIDO <ref target="http://schema.lido-schema.org/#">Measurement Type</ref> element.
Recommended: Linked open vocabulary. Please select, for instance, one or more concepts from the
<ref target="vocab.getty.edu/hier/aat/300226820">size/dimensions by general type</ref>
hierarchy of the Art and Architecture Thesaurus.
</p>
</div>
<div xml:id="measurementUnit">
<p>Recommended index terms for <ref target="http://schema.lido-schema.org/#">Measurement Unit</ref> element.
Recommended: Linked open vocabulary. Please select, for instance, one or more concepts from the
<ref target="http://vocab.getty.edu/hier/aat/300379096">size/dimensions by unit</ref>
hierarchy of the Art and Architecture Thesaurus.
</p>
</div>
<div xml:id="objectWorkType_type">
<p>Data values for the type attribute of the LIDO <ref target="http://schema.lido-schema.org/#">Object/Work Type</ref> element.
Recommended: LIDO Terminology. Please select a concept from the LIDO Concept Scheme
<ref target="http://terminology.lido-schema.org/objectWorkType_type">Object/Work Type type</ref>.
</p>
</div>
<div xml:id="periodName">
<p>Recommended index terms for <ref target="http://schema.lido-schema.org/#">Period</ref> element.
Recommended: Linked open vocabulary. Please select, for instance, one or more concepts from the
<ref target="http://vocab.getty.edu/hier/aat/300015646">Styles and Periods</ref>
hierarchy of the Art and Architecture Thesaurus.
</p>
</div>
<div xml:id="periodName_type">
<p>Data values for the LIDO type attribute for the <ref target="http://schema.lido-schema.org/#">Period Name</ref> element.
Recommended: LIDO Terminology. Please select a concept from the LIDO Concept Scheme
<ref target="http://terminology.lido-schema.org/periodName_type">Period type</ref>.
</p>
</div>
<div xml:id="pref">
<p>Data values for the LIDO <ref target="http://schema.lido-schema.org/#">pref</ref> attribute.
Recommended: LIDO Terminology. Please select a concept from the LIDO Concept Scheme
<ref target="http://terminology.lido-schema.org/pref">pref</ref>.
</p>
</div>
<div xml:id="qualifierMeasurements">
<p>Data values for the LIDO <ref target="http://schema.lido-schema.org/#">Qualifier Measurements</ref> element.
Recommended: LIDO Terminology. Please select a concept from the LIDO Concept Scheme
<ref target="http://terminology.lido-schema.org/lido00864">Qualifier measurements</ref>.
</p>
<!-- Eventuell auch eine Empfehlung auf AAT-Terme geben? -->
</div>
<div xml:id="recordInfoSet_type">
<p>Data values for the LIDO type attribute for the <ref target="http://schema.lido-schema.org/#">Record Metadata Information Set</ref> element.
Recommended: LIDO Terminology. Please select a concept from the LIDO Concept Scheme
<ref target="http://terminology.lido-schema.org/recordInfoSet_type">Record Metadata Information Set type</ref>.
</p>
</div>
<div xml:id="recordMetadataDate_type">
<p>Data values for the type attribute of the LIDO <ref target="http://schema.lido-schema.org/#">Record Metadata Date</ref> element.
Recommended: LIDO Terminology. Please select a concept from the LIDO Concept Scheme
<ref target="http://terminology.lido-schema.org/recordMetadataDate_type">Record Metadata Date type</ref>.
</p>
</div>
<div xml:id="recordType">
<p>Data values for the <ref target="http://schema.lido-schema.org/#recordType">Record Type</ref> element.
Recommended: LIDO Terminology. Please select a concept from the LIDO Concept Scheme
<ref target="http://terminology.lido-schema.org/recordType">Record Type</ref>.
</p>
</div>
<div xml:id="relatedWorkRelType">
<p>Data values for the <ref target="http://schema.lido-schema.org/#relatedWorkRelType">Related Work Relationship Type</ref> element.
Recommended: LIDO Terminology. Please select a concept from the LIDO Concept Scheme
<ref target="http://terminology.lido-schema.org/relatedWorkRelType">Related Work Relationship Type</ref>.
</p>
</div>
<div xml:id="repositorySet_type">
<p>Data values for the type attribute of the LIDO <ref target="http://schema.lido-schema.org/#repositorySet">Custody/Repository Location Set</ref> element.
Recommended: LIDO Terminology. Please select a concept from the LIDO Concept Scheme
<ref target="http://terminology.lido-schema.org/repositorySet_type">Custody/Repository Location Set type</ref>.
</p>
</div>
<div xml:id="resourceRepresentation_type">
<p>Data values for the type attribute of the LIDO <ref target="http://schema.lido-schema.org/#resourceRepresentation">Resource Representation</ref> element.
Recommended: LIDO Terminology. Please select a concept from the LIDO Concept Scheme
<ref target="http://terminology.lido-schema.org/resourceRepresentation_type">Resource Representation type</ref>.
</p>
</div>
<div xml:id="roleActor">
<p>Data values for the LIDO <ref target="http://schema.lido-schema.org/#roleActor">Role Actor</ref> element.
Recommended: Linked open vocabulary. Please select, for instance, one or more concepts from the
following hierarchies of the Art and Architecture Thesaurus, respectively:
<ref target="http://vocab.getty.edu/hier/aat/300024980">people by occupation</ref>;
<ref target="http://vocab.getty.edu/hier/aat/300025825">people by activity</ref>;
<ref target="http://vocab.getty.edu/hier/aat/300025896">people by degree of qualification</ref>.
</p>
</div>
<div xml:id="scaleMeasurements">
<p>Data values for the LIDO <ref target="http://schema.lido-schema.org/#">Scale Measurements</ref> element.
Recommended: Linked open vocabulary. Please select, for instance, one or more concepts from the
<ref target="http://vocab.getty.edu/hier/aat/300056307">scale (relative size)</ref>
hierarchy of the Art and Architecture Thesaurus.
</p>
</div>
<div xml:id="shapeMeasurements">
<p>Data values for the LIDO <ref target="http://schema.lido-schema.org/#">Shape Measurements</ref> element.
Recommended: Linked open vocabulary. Please select, for instance, one or more concepts from the
<ref target="http://vocab.getty.edu/hier/aat/300056273">shape (form attribute)</ref>
hierarchy of the Art and Architecture Thesaurus.
</p>
</div>
<div xml:id="subject_type">
<p>Data values for the LIDO type attribute of the <ref target="http://schema.lido-schema.org/#">Subject</ref> element.
Recommended: LIDO Terminology. Please select a concept from the LIDO Concept Scheme
<ref target="http://terminology.lido-schema.org/subject_type">Subject type</ref>.
</p>
</div>
<div xml:id="termMaterialsTech">
<p>Data values for the LIDO <ref target="http://schema.lido-schema.org/#termMaterialsTech">Concept Materials/Techniques</ref> element.
Recommended: Linked open vocabulary. Please select, for instance, one or more concepts from the
following hierarchies of the Art and Architecture Thesaurus, respectively:
<ref target="http://vocab.getty.edu/hier/aat/300010357">Materials (hierarchy name)</ref>;
<ref target="http://vocab.getty.edu/hier/aat/300053001">Processes and Techniques (hierarchy name)</ref>.
</p>
</div>
<div xml:id="termMaterialsTech_type">
<p>Data values for the LIDO type attribute of the <ref target="http://schema.lido-schema.org/#">Term Materials/Techniques</ref> element.
Recommended: LIDO Terminology. Please select a concept from the LIDO Concept Scheme
<ref target="http://terminology.lido-schema.org/termMaterialsTech_type">Term Materials/Techniques type</ref>.
</p>
</div>
<div xml:id="titleSet">
<p>Data values for the LIDO <ref target="http://schema.lido-schema.org/#titleSet"/> element.
Recommended: Linked open vocabulary. Please select, for instance, one or more concepts from the
<ref target="http://vocab.getty.edu/hier/aat/300417193">titles (general, names)</ref>
hierarchy of the Art and Architecture Thesaurus.
</p>
</div>
<div xml:id="vitalDatesActor_type">
<p>Data values for the LIDO type attribute of the <ref target="http://schema.lido-schema.org/#">Vital Dates Actor</ref> element.
Recommended: LIDO Terminology. Please select a concept from the LIDO Concept Scheme
<ref target="http://terminology.lido-schema.org/lido00784">Vital Dates Actor type</ref>.
</p>
</div>
<div xml:id="vitalPlaceActor_type">
<p>Data values for the LIDO type attribute of the <ref target="http://schema.lido-schema.org/#">Vital Place Actor</ref> element.
Recommended: LIDO Terminology. Please select a concept from the LIDO Concept Scheme
<ref target="http://terminology.lido-schema.org/lido00779">Vital Place Actor type</ref>.
</p>
</div>
<!-- this is a marker for the serialization and must not be filled with content.
it triggers the element specific listings of
* further information
* data values
* equivalent elements in other schemas
if applicable. -->
<div xml:id="listing"/>
</body>
</text>
</TEI>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<?xml-model href="http://www.tei-c.org/release/xml/tei/custom/schema/relaxng/tei_all.rng" type="application/xml" schematypens="http://relaxng.org/ns/structure/1.0"?>
<?xml-model href="http://www.tei-c.org/release/xml/tei/custom/schema/relaxng/tei_all.rng" type="application/xml"
schematypens="http://relaxng.org/ns/structure/1.0"?>
<?xml-model href="http://www.tei-c.org/release/xml/tei/custom/schema/relaxng/tei_all.rng" type="application/xml"
schematypens="http://purl.oclc.org/dsdl/schematron"?>
<TEI xmlns="http://www.tei-c.org/ns/1.0">
<TEI xmlns="http://www.tei-c.org/ns/1.0"
xmlns:xi="http://www.w3.org/2001/XInclude">
<teiHeader>
<fileDesc>
<titleStmt>
......@@ -33,13 +35,9 @@
<p>Here goes the text.</p>
</div>
<!-- this is a marker for the serialization and must not be filled with content.
it triggers the element specific listings of
* further information
* data values
* equivalent elements in other schemas
if applicable. -->
<div xml:id="listing"/>
<!-- This file imports the other accompanying documents via XInclude.
The serialization of this is handled during the serialization of the complete documentation. -->
<xi:include href="accompanying-document-terminology-recommendations" xpointer="terminology_recommendations"/>
</body>
</text>
</TEI>
<?xml-model href="http://www.tei-c.org/release/xml/tei/custom/schema/relaxng/tei_all.rng" type="application/xml" schematypens="http://relaxng.org/ns/structure/1.0"?>
<?xml-model href="http://www.tei-c.org/release/xml/tei/custom/schema/relaxng/tei_all.rng" type="application/xml"
schematypens="http://purl.oclc.org/dsdl/schematron"?>
<!-- This is an accompanying document (no 1) to LIDO publication version 1.1, recommending terminology for data values -->
<TEI xmlns="http://www.tei-c.org/ns/1.0">
<teiHeader>
<fileDesc>
<titleStmt>
<title>LIDO Terminology Recommendations</title>
<author>LIDO Terminolgy Working Group</author>
</titleStmt>
<publicationStmt>
<publisher>German LIDO Working Group</publisher>
<date type="creationDate">2020-09-30</date>
<date type="publicationDate">2020-10-30</date>
<availability>
<p>Copyright 2020, German LIDO Working Group</p>
<licence target="https://creativecommons.org/licenses/by/4.0/">Creative Commons
Attribution 4.0 International (CC BY 4.0)</licence>
</availability>
</publicationStmt>
<sourceDesc>
<p>Born digital.</p>
</sourceDesc>
</fileDesc>
</teiHeader>
<text>
<body>
<head>Metadata Standards Crosswalk</head>
<!-- ### COMPLEX TYPES ### -->
<div>
<head>complexTypes</head>
<div>
<ab type="element-name">actorComplexType</ab>
<ab type="equivalents">
<list>
<label>CDWA Lite</label>
<item>indexingCreatorSet</item>
<label>museumdat</label>
<item>[none]</item>
<label>Spectrum</label>
<item>Object production organisation; Object production person; Field
collector; Content - organisation; Content - person; Associated event
person; Associated organisation; Owner; [analysed]</item>
<label>CIDOC CRM</label>
<item>[none]</item>
</list>
</ab>
</div>
</div>
<!-- ### ELEMENTS ### -->
<div>
<head>elements</head>
<div>
<ab type="element-name">actorID</ab>
<ab type="equivalents">
<list>
<label>CDWA Lite</label>
<item>nameCreator [attributes &apos;termsource&apos; and
&apos;termsourceID&apos;] [creator generalized into actor]</item>
<label>museumdat</label>
<item>nameActor [attributes &apos;termsource&apos; and
&apos;termsourceID&apos;]</item>
<label>Spectrum</label>
<item>Organisation&apos;s reference number; Person&apos;s
reference number</item>
<label>CIDOC CRM</label>
<item>[none]</item>
</list>
</ab>
</div>
<div>
<ab type="element-name">nameActorSet</ab>
<ab type="equivalents">
<list>
<label>CDWA Lite</label>
<item>nameCreatorSet</item>
<label>museumdat</label>
<item>nameActorSet</item>
<label>Spectrum</label>
<item>Organisation&apos;s additions to name [attribute: type =
‘Additions-to-name’]; Person&apos;s additions to name
[attribute: type = ‘Additions-to-name’]; Person&apos;s forenames
[attribute: type = ‘Forenames’]; Person&apos;s surname
[attribute: type = ‘Surname’]; Person&apos;s title [attribute:
type = ‘Title’]. (NOTE - data is mapped into the sub-element:
appellationValue).</item>
</list>
</ab>
</div>
</div>
<!-- ### ATTRIBUTES ### -->
<div>
<head>attributes</head>
<!-- leeres Konstrukt für Copy/Pase -->
<div>
<ab type="element-name"></ab>
</div>
</div>
</body>
</text>
</TEI>
<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:lido="http://www.lido-schema.org"
xmlns:lido-qa="http://www.lido-schema.org/quality-assurance"
xmlns:sch="http://purl.oclc.org/dsdl/schematron"
xmlns:skos="http://www.w3.org/2004/02/skos/core#" xmlns:tei="http://www.tei-c.org/ns/1.0"
xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xml="http://www.w3.org/XML/1998/namespace"
targetNamespace="http://www.lido-schema.org/quality-assurance" elementFormDefault="qualified"
attributeFormDefault="qualified">
<!--
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
xx This is an additional schema for LIDO v1.1. It is to be understood as complementary tool for
xx assuring the quality of LIDO records. This means it is not obligatory to use this schema when
xx validating your files; some rules, however, will warn you about changes in the upcoming LIDO v2.0
xx which are not backwards compatible.
xx
xx This document implements the Schematron error roles as follows::
xx * "info": highlights elements which will be deprecated in the next LIDO version
xx * "warn": points out data values or elements that are correct according to the LIDO schema but
xx could/should be improved
xx
xx Prepared for CIDOC Working Group Data Harvesting and Interchange, CDWA Lite/museumdat Working Group,
xx Collections Trust and Deutscher Museumsbund - Fachgruppe Dokumentation by:
xx Michelle Weidling – Niedersaechsische Staats- und Universitaetsbiblithek Goettingen
xx
xx Copyright (c) 2020 ICOM-CIDOC for the Data Harvesting and Interchange Working Group.
xx These are licensed under the Creative Commens Attribution 4.0 International (CC BY 4.0) license.
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
-->
<xs:annotation>
<xs:appinfo>
<sch:ns uri="http://www.lido-schema.org" prefix="lido"/>
<sch:ns uri="http://www.w3.org/2002/07/owl#" prefix="owl"/>
<sch:ns uri="http://www.w3.org/2004/02/skos/core#" prefix="skos"/>
<sch:title>Abstract Schematron rules for quality assurance</sch:title>
<sch:pattern>
<sch:title>Deprecation Warning: Controlled vocabulary instead of free text</sch:title>
<sch:p>In upcoming versions of LIDO some element won't allow for free text anymore but will require terms
taken from a (local) controlled vocabulary. This should improve the interoperability of the data and recall rates
in aggregating web services.</sch:p>
<sch:rule abstract="true" id="MixedContentInfo">
<sch:report
test="text()[matches(., '[\w]')]" role="info">
In upcoming versions of LIDO <sch:name/> will only allow for skos:Concept, lido:conceptID and lido:term as child elements.
The use of free text will be deprecated.
</sch:report>
</sch:rule>
</sch:pattern>
<sch:pattern>
<sch:title>@pref: Discern preferred and alternative elements</sch:title>
<sch:p>If there is more than one element holding a @pref, alternatives as well as the preferred element should be indicated.
This isn't stated clearly in the LIDO v1.0 schema documentation but should be kept in mind when indexing objects; otherwise the preferred
variant might be unclear to a data user. Also, omitting this attribute contradicts international best practices for retrieval quality.</sch:p>
<sch:rule abstract="true" id="pref">
<sch:let name="current" value="current()"/>
<sch:let name="currentName" value="$current/name()"/>
<sch:let name="parent" value="$current/.."/>
<sch:let name="lang" value="$current/@xml:lang/string()"/>
<sch:let name="siblings" value="$parent/child::*[name(.) = $currentName and (@xml:lang/string() = $lang or not(@xml:lang or $current/@xml:lang))]"/>
<sch:report test="
count($siblings) gt 1 and
not($siblings/@lido:pref = 'preferred') and
not($siblings/@lido:pref = 'alternative' and $siblings/@lido:pref = 'alternate')"
role="warn">
When providing more than one <sch:name/> the preferred and alternative variant(s) should be cleary marked as such via @pref.
</sch:report>
</sch:rule>
</sch:pattern>
<sch:pattern>
<sch:title>@pref: "alternative" instead of "alternate"</sch:title>
<sch:p>LIDO v1.0 falsely suggests the value 'alternate' for the pref attribute. It is established to use 'alternative' in this context.</sch:p>
<sch:rule abstract="true" id="alternate">
<sch:report test="@lido:pref = 'alternate'" role="warn">
It is established to use 'alternative' instead of 'alternate' in this context. Consider changing the attribute's value or using the corresponding
LIDO terminology, http://terminology.lido-schema.org/pref and http://terminology.lido-schema.org/alternative, instead.
</sch:report>
</sch:rule>
</sch:pattern>
<sch:pattern>
<sch:title>xs:dateTime Dates</sch:title>
<sch:p>Check if a given string complies to the ISO 8601 date convention. This pattern is used for
the cases where an element allows for xs:string in LIDO v1.0 while providing a date.</sch:p>
<sch:rule abstract="true" id="DateTime">
<sch:assert role="warn" test="matches(., '-?[0-9]{4}-(0[1-9]|1[12])-([0][1-9]|[12][0-9]|3[01])T([01][0-9]|2[0-3])(:[0-5][0-9]){2}(Z|(\+|\-)(0[0-9]|1[12])(:[0-5][0-9])?)')">
The date provided in <sch:name/> should comply to the format [-]CCYY-MM-DDThh:mm:ss[Z|(+|-)hh:mm].
</sch:assert>
</sch:rule>
</sch:pattern>
<sch:pattern>
<sch:title>@lido:type for objectMeasurementsSetComplexType</sch:title>
<sch:p>Although the lido:type has been introduced for lido:objectMeasurementsSetComplexType, it should only be used for
lido:eventObjectMeasurementsSet in context of the EODEM application profile.</sch:p>
<sch:rule context="lido:objectMeasurementsSet">
<sch:assert role="warn" test="not(@lido:type)">
The only element of the complex type lido:objectMeasurementsSetComplexType holding @lido:type should be lido:eventObjectMeasurementsSet.
</sch:assert>
</sch:rule>
</sch:pattern>
</xs:appinfo>
</xs:annotation>
</xs:schema>
This diff is collapsed.
......@@ -8,7 +8,7 @@ Experimental Draft version of proposed elements/attributes to address issues wit
### General
The schema is developed at https://gitlab.gwdg.de/lido/development. The most recent draft version can be found at https://gitlab.gwdg.de/lido/development/-/blob/develop/1.1/lido-v1.1-draft.xsd.
The schema is developed at <https://gitlab.gwdg.de/lido/development>. The most recent draft version can be found at <https://gitlab.gwdg.de/lido/development/-/blob/develop/1.1/lido-v1.1-draft.xsd>.
For the development of LIDO v1.1 the following criteria for taking into account suggestions for changes and extensions have been defined:
......@@ -19,69 +19,74 @@ For the development of LIDO v1.1 the following criteria for taking into account
### General changes
* The schema and the docs are provided in a single XSD document from which different outputs (HTML, PDF, parsed-down XSD [TBD]) are serialized.
* The schema docs are provided in a structured way as TEI elements as follows:
- the element description
- the element's label
- elements from other schemas to which the respective LIDO element is equivalent
- a note where a user can find more context about the element (this often refers to CDWA FULL, as LIDO elements are largely based on LIDO's predecessor CDWA Lite)
- recommended data values for controlled terms
- cross-links between LIDO elements
- though provided in the docs, the following aspect will not be serialized in the PDF and HTML: 'How to record', 'Notes' (both outdated and largely merged into the element description), CIDOC CRM equivalents (not compiled yet)
* We introduced Schematron as a second quality assurance mechanism. This is e.g. used to ensure that dates comply to the xs:dateTime requirements.
* Added the TEI header into the schema. *This solution is tentative, and the header is yet to be updated.*
* Each LIDO element/complexType/attribute is now referenceable by an ID. This ID is (in most cases) identical to its name and comes in handy for developing application profiles.
* The schema and the docs are provided in a single XSD document from which different outputs (HTML, PDF, parsed-down XSD [TBD]) are serialized.
* The schema docs are provided in a structured way as TEI elements as follows:
* the element description
* the element's label
* elements from other schemas to which the respective LIDO element is equivalent
* a note where a user can find more context about the element (this often refers to CDWA FULL, as LIDO elements are largely based on LIDO's predecessor CDWA Lite)
* recommended data values for controlled terms
* cross-links between LIDO elements