Literal constraining facets
ShEx supports the use of XML Schema constraining facets, which include constraints on numeric values and constraints on strings. While tapshex could be further extended to support this entire set of facets, it already supports a subset:
MinInclusive/MaxInclusive, which are used to define a range within which a numeric value must fall.MinLength/MaxLength, which are used to define a minimum and maximum length of a string value.
The string contraining facet pattern is already supported by dctap by using a regular expression with valueConstraint and the keyword “pattern” with valueConstraintType.