XSD

object XSD

XML Schema Datatypes (XSD) vocabulary constants. http://www.w3.org/2001/XMLSchema#

Used to specify literal datatypes in RDF/Turtle documents on Solid pods (e.g. "2024-01-01"^^xsd:date). LANG_STRING is an exception: it lives in the RDF namespace but is grouped here for convenience.

Properties

Link copied to clipboard
const val ANY_URI: String
Link copied to clipboard
Link copied to clipboard
const val BOOLEAN: String
Link copied to clipboard
const val BYTE: String
Link copied to clipboard
const val DATE: String
Link copied to clipboard
const val DATE_TIME: String
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
const val DECIMAL: String
Link copied to clipboard
const val DOUBLE: String
Link copied to clipboard
const val DURATION: String
Link copied to clipboard
const val FLOAT: String
Link copied to clipboard
const val G_DAY: String
Link copied to clipboard
const val G_MONTH: String
Link copied to clipboard
const val G_YEAR: String
Link copied to clipboard
const val HEX_BINARY: String
Link copied to clipboard
const val INT: String
Link copied to clipboard
const val INTEGER: String
Link copied to clipboard
const val LANG_STRING: String

Language-tagged string — uses the RDF namespace, not XSD, but grouped here for convenience.

Link copied to clipboard
const val LANGUAGE: String
Link copied to clipboard
const val LONG: String
Link copied to clipboard
const val NAMESPACE: String
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
const val SHORT: String
Link copied to clipboard
const val STRING: String
Link copied to clipboard
const val TIME: String
Link copied to clipboard
const val TOKEN: String
Link copied to clipboard
const val UNSIGNED_INT: String
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard

Returns the XSD datatype matching an ISO-8601 lexical value: DATE_TIME when it carries a time component (T separator), DATE for a date-only value.