Complex Type pc:GraphemeBaseType

Namespace http://schema.primaresearch.org/PAGE/gts/pagecontent/2019-07-15
Annotations
Base type for graphemes, grapheme groups and non-printing characters.
Diagram
Attribute pc:GraphemeBaseType / @idAttribute pc:GraphemeBaseType / @indexAttribute pc:GraphemeBaseType / @ligatureAttribute pc:GraphemeBaseType / @charTypeAttribute pc:GraphemeBaseType / @customAttribute pc:GraphemeBaseType / @commentsElement pc:GraphemeBaseType / pc:TextEquiv
Properties
abstract: true
Used by
Model Element pc:GraphemeBaseType / pc:TextEquiv
Children Element pc:GraphemeBaseType / pc:TextEquiv
Attributes
QName Type Use
Attribute pc:GraphemeBaseType / @charType restriction of string optional
Type of character represented by the
grapheme, group, or non-printing character element.
Attribute pc:GraphemeBaseType / @comments string optional
For generic use
Attribute pc:GraphemeBaseType / @custom string optional
For generic use
Attribute pc:GraphemeBaseType / @id ID required
Attribute pc:GraphemeBaseType / @index restriction of int required
Order index of grapheme, group, or non-printing character
within the parent container (graphemes or glyph or grapheme group).
Attribute pc:GraphemeBaseType / @ligature boolean optional
Source
<complexType name="GraphemeBaseType" abstract="true">
  <annotation>
    <documentation>Base type for graphemes, grapheme groups and non-printing characters.</documentation>
  </annotation>
  <sequence>
    <element name="TextEquiv" type="pc:TextEquivType" minOccurs="0" maxOccurs="unbounded"/>
  </sequence>
  <attribute name="id" type="ID" use="required"/>
  <attribute name="index" use="required">
    <annotation>
      <documentation>Order index of grapheme, group, or non-printing character within the parent container (graphemes or glyph or grapheme group).</documentation>
    </annotation>
    <simpleType>
      <restriction base="int">
        <minInclusive value="0"/>
      </restriction>
    </simpleType>
  </attribute>
  <attribute name="ligature" type="boolean"/>
  <attribute name="charType">
    <annotation>
      <documentation>Type of character represented by the grapheme, group, or non-printing character element.</documentation>
    </annotation>
    <simpleType>
      <restriction base="string">
        <enumeration value="base"/>
        <enumeration value="combining"/>
      </restriction>
    </simpleType>
  </attribute>
  <attribute name="custom" type="string">
    <annotation>
      <documentation>For generic use</documentation>
    </annotation>
  </attribute>
  <attribute name="comments" type="string">
    <annotation>
      <documentation>For generic use</documentation>
    </annotation>
  </attribute>
</complexType>

Attribute pc:GraphemeBaseType / @id

Namespace No namespace
Type ID
Properties
use: required
Used by
Source
<attribute name="id" type="ID" use="required"/>

Attribute pc:GraphemeBaseType / @index

Namespace No namespace
Annotations
Order index of grapheme, group, or non-printing character
within the parent container (graphemes or glyph or grapheme group).
Type restriction of int
Properties
use: required
Facets
minInclusive 0
Used by
Source
<attribute name="index" use="required">
  <annotation>
    <documentation>Order index of grapheme, group, or non-printing character within the parent container (graphemes or glyph or grapheme group).</documentation>
  </annotation>
  <simpleType>
    <restriction base="int">
      <minInclusive value="0"/>
    </restriction>
  </simpleType>
</attribute>

Attribute pc:GraphemeBaseType / @ligature

Namespace No namespace
Type boolean
Properties
content: simple
Used by
Source
<attribute name="ligature" type="boolean"/>

Attribute pc:GraphemeBaseType / @charType

Namespace No namespace
Annotations
Type of character represented by the
grapheme, group, or non-printing character element.
Type restriction of string
Properties
content: simple
Facets
enumeration base
enumeration combining
Used by
Source
<attribute name="charType">
  <annotation>
    <documentation>Type of character represented by the grapheme, group, or non-printing character element.</documentation>
  </annotation>
  <simpleType>
    <restriction base="string">
      <enumeration value="base"/>
      <enumeration value="combining"/>
    </restriction>
  </simpleType>
</attribute>

Attribute pc:GraphemeBaseType / @custom

Namespace No namespace
Annotations
For generic use
Type string
Properties
content: simple
Used by
Source
<attribute name="custom" type="string">
  <annotation>
    <documentation>For generic use</documentation>
  </annotation>
</attribute>

Attribute pc:GraphemeBaseType / @comments

Namespace No namespace
Annotations
For generic use
Type string
Properties
content: simple
Used by
Source
<attribute name="comments" type="string">
  <annotation>
    <documentation>For generic use</documentation>
  </annotation>
</attribute>

Element pc:GraphemeBaseType / pc:TextEquiv

Namespace http://schema.primaresearch.org/PAGE/gts/pagecontent/2019-07-15
Diagram
Attribute pc:TextEquivType / @indexAttribute pc:TextEquivType / @confAttribute pc:TextEquivType / @dataTypeAttribute pc:TextEquivType / @dataTypeDetailsAttribute pc:TextEquivType / @commentsElement pc:TextEquivType / pc:PlainTextElement pc:TextEquivType / pc:UnicodeComplex Type pc:TextEquivType
Type Complex Type pc:TextEquivType
Properties
content: complex
minOccurs: 0
maxOccurs: unbounded
Model Element pc:TextEquivType / pc:PlainText , Element pc:TextEquivType / pc:Unicode
Children Element pc:TextEquivType / pc:PlainText, Element pc:TextEquivType / pc:Unicode
Instance
<pc:TextEquiv comments="" conf="" dataType="" dataTypeDetails="" index="" xmlns:pc="http://schema.primaresearch.org/PAGE/gts/pagecontent/2019-07-15">
  <pc:PlainText>{0,1}</pc:PlainText>
  <pc:Unicode>{1,1}</pc:Unicode>
</pc:TextEquiv>
Attributes
QName Type Use
Attribute pc:TextEquivType / @comments string optional
Attribute pc:TextEquivType / @conf Simple Type pc:ConfSimpleType optional
OCR confidence value (between 0 and 1)
Attribute pc:TextEquivType / @dataType Simple Type pc:TextDataTypeSimpleType optional
Type of text content (is it free text or a number, for instance).
This is only a descriptive attribute, the text type
is not checked during XML validation.
Attribute pc:TextEquivType / @dataTypeDetails string optional
Refinement for dataType attribute. Can be a regular expression, for instance.
Attribute pc:TextEquivType / @index restriction of integer optional
Used for sort order in case multiple TextEquivs are defined.
The text content with the lowest index should be interpreted
as the main text content.
Source
<element name="TextEquiv" type="pc:TextEquivType" minOccurs="0" maxOccurs="unbounded"/>