Atlas · datatypes · Plate 07 of 16
datatypes
DataTypes
Diagram view views/DataTypes.lml composing
10 LML includes
and 2 associations.
Model definitions
LocalizedString¶
classmodels/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).
| Attribute | Type | Cardinality | Definition |
|---|---|---|---|
+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 |
Uri¶
data typemodels/datatypes/Uri.lml
URI, as defined in IETF RFC 3986.
FormattedString¶
classmodels/datatypes/FormattedString.lml
String with presentation markup.
| Attribute | Type | Cardinality | Definition |
|---|---|---|---|
+format |
StringFormat | 1 | Convention used for markup of presentation. Defaults to "plain". |
Iso8601DateTime¶
data typemodels/datatypes/Iso8601DateTime.lml
Date and time representation, as defined in ISO 8601-1.
Iso15924Code¶
data typemodels/datatypes/Iso15924Code.lml
Script identifier, as defined in ISO 15924.
Iso639Code¶
data typemodels/datatypes/Iso639Code.lml
Language identifier, as defined in ISO 639.
Iso3166Code¶
data typemodels/datatypes/Iso3166Code.lml
Country and country subdivisions identifier, as defined in ISO 3166.
StringFormat¶
enummodels/datatypes/StringFormat.lml
definitionplaindefinitiondocbookdefinitionteidefinitionasciidocdefinitionmarkdowndefinitionstandarddocdefinitionmetanormadefinition
Attribute¶
classmodels/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.
| Attribute | Type | Cardinality | Definition |
|---|---|---|---|
+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). |