Documentation for UPX-0.9.5

Complex Type: hLevelType

[Table of contents]

Super-types: None
Sub-types: None
Name hLevelType
Used by (from the same schema document) Complex Type hwDataType , Complex Type hLevelType
Abstract no
XML Instance Representation
<...
id=" xsd:ID [0..1]

'Identifier for block'

"

href=" xsd:anyURI [0..1]

'Reference to hLevel defined elsewhere. [NOTE: In order for parsers/validators to extract information regarding, e.g., writer, dataset definitions, or annotation scheme, the referenced hLevel context should be considered.]'

"

writerRef=" xsd:string [0..1]

'Reference to writer of ink in block (overridden by writer references at lower levels)'

"

level=" xsd:string [1]">
<label
id=" xsd:ID [1]

'Unique ID for label'

"

labelSrcRef=" xsd:anyURI [1]

'Reference to label source defined previously'

"

labelType=" xsd:string [1]

'Category of label, e.g. segm, truth, quality, stype. Must be one of the categories of labels generated by this label source.'

"

timestamp=" xsd:dateTime [0..1]

'Timestamp of annotation event. Useful for generating history of annotation. The format is UTC'

"
> [1..*]

'Labels describing the ink in this block. Each label is of a specific type (e.g. segm, truth, quality, etc) and from a specific label source defined earlier. Labels are in general overridden by labels at lower levels (sub-blocks). A label of type \"segm\" refers to the block structure (itself the result of segmentation/annotation). [OPEN: Alternative ways of representing alternative block structures from different label sources]'


<alternate
rank=" xsd:positiveInteger [0..1]

'specifies the rank of the annotation'

"

score=" xsd:float [0..1]

'Refers to machine annotation. A measure of the confidence of the annotator on the annotation.'

"
> [1..*]

'Alternative label values with rank and score. Alternates can be generated from a recognizer (in semi-automated labeling) or can be specified manually'


xsd:string
</alternate>
</label>
<uiInfo> uiInfoType </uiInfo> [0..1]

'Description of the writing area or field used to capture ink. All measurements are in writing area\'s resolution [OPEN: Completely OPEN !]'

<imgInfo> imgInfoType </imgInfo> [0..1]

'Background image information.'

<hwTraces> hwTracesType </hwTraces> [1..*]

'Leaf-level references to digital ink traces (list of InkML tracerefs)'

<hLevel> hLevelType </hLevel> [0..*]
</...>
Diagram
h-1285017207 h-1600135711 h1065668710 h591835004
Schema Component Representation
<xsd:complexType name="hLevelType">
<xsd:sequence>
<xsd:element name="label" maxOccurs="unbounded">
<xsd:complexType>
<xsd:complexContent>
<xsd:extension base=" labelType "/>
</xsd:complexContent>
</xsd:complexType>
</xsd:element>
<xsd:element name="uiInfo" type=" uiInfoType " minOccurs="0"/>
<xsd:element name="imgInfo" type=" imgInfoType " minOccurs="0"/>
<xsd:element name="hwTraces" type=" hwTracesType " minOccurs="1" maxOccurs="unbounded"/>
<xsd:element name="hLevel" type=" hLevelType " minOccurs="0" maxOccurs="unbounded"/>
</xsd:sequence>
<xsd:attribute name="id" type=" xsd:ID "/>
<xsd:attribute name="href" type=" xsd:anyURI "/>
<xsd:attribute name="writerRef" type=" xsd:string " use="optional"/>
<xsd:attribute name="level" type=" xsd:string " use="required"/>
</xsd:complexType>