The following types are used when defining attributes in Barnebys Markup protocol
Type | Description | Literals |
---|---|---|
Boolean | A Boolean represents a true or false value | true,false,1,0 |
DateTime | A DateTime represent a temporal value composed of a date (year, month, day) and an optional time component (hours, minutes) | ISO 8601 |
Float | A floating point number | 1.234 -1.234 |
Integer | An integer | 1234 -1234 |
String | A sequence of Unicode characters | All literals comosed of Unicoce characters with no escape characters |
URL | A sequence of Unicode characters that identify an Internet resource | All valid URLs that utilize the http:// or https:// protocols |
Currency | A sequence of latin characters with a length of three. | ISO 4217 |
Country | Two-letter country code. | ISO 3166 |
City | Three-letter city code from LOCODE standard . | LOCODE |
State | A subdivision name from ISO-3166-2 standard. | ISO 3166-2 |