shex-test
Version:
Shape Expressions library tests.
24 lines (23 loc) • 527 B
JSON
{
"@context": "http://www.w3.org/ns/shex.jsonld",
"type": "Schema",
"shapes": [
{ "type": "ShapeDecl",
"id": "http://a.example/vc1",
"shapeExpr": {
"type": "NodeConstraint",
"nodeKind": "literal",
"minlength": 5
} },
{ "type": "ShapeDecl",
"id": "http://a.example/S1",
"shapeExpr": {
"type": "Shape",
"expression": {
"type": "TripleConstraint",
"predicate": "http://a.example/p1",
"valueExpr": "http://a.example/vc1"
}
} }
]
}