Shape definition for textual values.
Constraints for the string shape factory.
Length bounds for textual shape factories.
Value constraints for textual shape factories.
Creates a string shape.
Creates a shape for single-line plain text values.
Creates a shape for Markdown text values.
Creates a shape for email address values.
Creates a shape for telephone number values.
Creates a shape for Internationalized Resource Identifier values.
Creates a shape for hierarchical URL values.
Creates a shape for language tag values.
Creates a shape for ISO 8601 year values (YYYY).
Creates a shape for ISO 8601 calendar date values (YYYY-MM-DD).
Creates a shape for ISO 8601 time of day values (hh:mm:ss).
Creates a shape for ISO 8601 date and time values (YYYY-MM-DDThh:mm:ss).
Creates a shape for UTC timestamp values with millisecond precision (YYYY-MM-DDThh:mm:ss.sssZ).
Creates a shape for ISO 8601 duration values (PnYnMnDTnHnMnS).
Textual shape and factories.
Defines shapes and factories for validating textual values, mapping the JSON string type to XSD 1.0 string datatypes.
¹ XSD 1.0 datatypes are referenced by RDF 1.1 and JSON-LD 1.1 as normative
² XSD 1.1 Part 2 § D.3.4 permits optional timezone indicators for
gYearas a deviation from ISO 8601³ Requires exactly 3 fractional second digits (millisecond precision) and UTC timezone (
Zonly); typed asxsd:dateTimerather than the more specificxsd:dateTimeStampfor compatibility with SPARQL temporal functions, which are defined overxsd:dateTimeCompatibility
Defining String Shapes
Specialised String Factories
Predefined factories for common string formats:
Using in Resource Shapes
See