<?xml version="1.0" encoding="UTF-8"?>
<!-- © TEI Consortium. Dual-licensed under CC-by and BSD2 licenses; see the file COPYING.txt for details. -->
<?xml-model href="https://jenkins.tei-c.org/job/TEIP5-dev/lastSuccessfulBuild/artifact/P5/release/xml/tei/odd/p5.nvdl" type="application/xml" schematypens="http://purl.oclc.org/dsdl/nvdl/ns/structure/1.0"?>
<elementSpec xmlns="http://www.tei-c.org/ns/1.0" xmlns:sch="http://purl.oclc.org/dsdl/schematron" module="tagdocs" xml:id="gi-dataSpec" ident="dataSpec">
  <gloss versionDate="2007-07-04" xml:lang="en">datatype specification</gloss>
  <gloss versionDate="2024-09-02" xml:lang="ja">データ型の指定</gloss>
  <desc versionDate="2005-01-14" xml:lang="en">documents a datatype.</desc>
  <desc versionDate="2024-09-02" xml:lang="ja">データ型を記述する。</desc>
  <classes>
    <memberOf key="att.global"/>
    <memberOf key="att.identified"/>
    <memberOf key="model.oddDecl"/>
  </classes>
  <content>
    <sequence>
      <alternate minOccurs="0" maxOccurs="unbounded">
        <classRef key="model.identSynonyms"/>
        <classRef key="model.descLike"/>
      </alternate> 
      <alternate minOccurs="0" maxOccurs="1">
        <elementRef key="content"/> 
        <elementRef key="valList"/> 
      </alternate>
      <elementRef key="constraintSpec" minOccurs="0" maxOccurs="unbounded"/>
      <elementRef key="exemplum" minOccurs="0" maxOccurs="unbounded"/>
      <elementRef key="remarks" minOccurs="0" maxOccurs="unbounded"/>
      <elementRef key="listRef" minOccurs="0" maxOccurs="unbounded"/>
    </sequence>
  </content>
  <constraintSpec scheme="schematron" ident="no_elements_in_data_content" xml:lang="en">
    <constraint>
      <sch:rule role="warn" context="tei:dataSpec/tei:content">
        <sch:report test=".//tei:anyElement | .//tei:classRef | .//tei:elementRef">
          A datatype specification should not refer to an element or a class.
        </sch:report>
      </sch:rule>
    </constraint>
  </constraintSpec>
  <exemplum xml:lang="und">
    <egXML xmlns="http://www.tei-c.org/ns/Examples" xml:id="gi-dataSpec-egXML-kh">
      <dataSpec ident="teidata.pointer">
        <desc versionDate="2013-01-19" xml:lang="en">defines the range of
        attribute values used to provide a single URI, absolute or relative,
        pointing to some other resource, either within the current document
        or elsewhere.</desc>
        <content>
          <dataRef name="anyURI"/>
        </content>
      </dataSpec>
    </egXML>
  </exemplum>
  <listRef>
    <ptr target="#TDcrystals"/>
    <ptr target="#TDENT"/>
  </listRef>
</elementSpec>
