Atlas · datatypes · Plate 07 of 16

datatypes

DataTypes

Diagram view views/DataTypes.lml composing 10 LML includes and 2 associations.

Includes10
Associations2
Types9
Full UML diagram for DataTypes

Model definitions

LocalizedString

class models/datatypes/LocalizedString.lml

String specifying the language, script, and country of its text. A language-script(-country) combination identifies a spelling system as registered under ISO 24229 (written-language conversion systems).

AttributeTypeCardinalityDefinition
+language Iso639Code 0..* The language of the string.
+script Iso15924Code 0..* The script of the string.
+country Iso3166Code 0..* The country/locale variant of the string.
+content String 1 The value of the string

StringFormat

enum models/datatypes/StringFormat.lml
definition
plain
definition
docbook
definition
tei
definition
asciidoc
definition
markdown
definition
standarddoc
definition
metanorma
definition

Attribute

class models/datatypes/Attribute.lml

Generic key-value attribute from an open register, attachable to any construct (document, section, block, inline element, media). Markup languages bind their own attribute types as register entries; basicdoc does not enumerate them. Well-known keys used across the ecosystem: id, class, lang, script, unnumbered, subsequence, format.

AttributeTypeCardinalityDefinition
+key String 1 Key of the attribute in the register.
+value String 0..* Value(s) of the attribute.
+scheme String 0..1 Optional scheme qualifying how the value is to be interpreted (e.g. a MIME type, a vocabulary, a markup-language namespace).