1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
|
{
"description": "Test in-text annotation with combined constraint validation `_PVUC` and `_PVAL` (`smwgDVFeatures`)",
"setup": [
{
"namespace": "SMW_NS_PROPERTY",
"page": "Has uniqueness url",
"contents": "[[Has type::URL]] [[Has uniqueness constraint::true]]"
},
{
"namespace": "SMW_NS_PROPERTY",
"page": "Has text",
"contents": "[[Has type::Text]] [[Allows value::open]]"
},
{
"page": "Example/P0421/1",
"contents": "[[Has uniqueness url::http://example.org/P0421]] [[Has text::open]]"
},
{
"page": "Example/P0421/2",
"contents": "[[Has uniqueness url::http://example.org/P0421]] [[Has text::closed]]"
}
],
"tests": [
{
"type": "parser",
"about": "#0 Fails on both constraints due to Example/P0421/1",
"subject": "Example/P0421/2",
"assert-store": {
"semantic-data": {
"strictPropertyValueMatch": false,
"propertyCount": 3,
"propertyKeys": [
"_SKEY",
"_MDAT",
"_ERRC"
],
"propertyValues": []
}
}
}
],
"settings": {
"smwgDVFeatures": [
"SMW_DV_PVUC"
],
"smwgPageSpecialProperties": [
"_MDAT"
]
},
"meta": {
"version": "2",
"is-incomplete": false,
"debug": false
}
}
|