-
-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathexample.json
57 lines (55 loc) · 845 Bytes
/
example.json
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
56
57
{
"rules": [
{
"ruleName": "Cities should use their Official Name property as label",
"when": [
{
"statement": "P1",
"equalTo": "Q1"
}
],
"buildLabel": {
"en": {
"P2": "$"
}
}
},
{
"ruleName": "Persons should have a label composed of their first and last name and have their nicknames as aliases",
"when": [
{
"statement": "P1",
"equalTo": "Q2"
}
],
"buildLabel": {
"*": {
"P5": "$ ",
"P6": "$"
}
},
"buildAliases": {
"en": {
"P7.P8": "The Great ",
"P7": "$",
"P7.P9": " $"
},
"de": {
"P7.P8": "Der große ",
"P7": "$",
"P7.P9": " $"
}
}
},
{
"ruleName": "P42 should always be the label, doh",
"when": [
],
"buildLabel": {
"en": {
"P42": "$"
}
}
}
]
}