@lblod/lib-decision-shapes 0.0.23 → 0.0.24

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -6,47 +6,55 @@ export const decisionShape = `
6
6
  <https://data.vlaanderen.be/shacl/besluit-publicatie#BesluitShape>
7
7
  a sh:NodeShape ;
8
8
  sh:targetClass <http://data.vlaanderen.be/ns/besluit#Besluit> ;
9
- sh:property [
10
- sh:name "beschrijving" ;
9
+ sh:property <https://data.vlaanderen.be/shacl/besluit-publicatie#besluit-description-validation>;
10
+ sh:property <https://data.vlaanderen.be/shacl/besluit-publicatie#besluit-article-container-validation>;
11
+ sh:property <https://data.vlaanderen.be/shacl/besluit-publicatie#besluit-short-title-validation>;
12
+ sh:property <https://data.vlaanderen.be/shacl/besluit-publicatie#besluit-title-validation>;
13
+ sh:property <https://data.vlaanderen.be/shacl/besluit-publicatie#besluit-language-validation>;
14
+ sh:property <https://data.vlaanderen.be/shacl/besluit-publicatie#besluit-article-validation>;
15
+ sh:property <https://data.vlaanderen.be/shacl/besluit-publicatie#besluit-citation-validation>;
16
+ sh:property <https://data.vlaanderen.be/shacl/besluit-publicatie#besluit-motivering-validation>;
17
+ sh:property <https://data.vlaanderen.be/shacl/besluit-publicatie#besluit-publication-date-validation>;
18
+ sh:property <https://data.vlaanderen.be/shacl/besluit-publicatie#besluit-date-no-longer-in-force-validation>;
19
+ sh:property <https://data.vlaanderen.be/shacl/besluit-publicatie#besluit-first-date-entry-in-force-validation>;
20
+ sh:closed false .
21
+
22
+ <https://data.vlaanderen.be/shacl/besluit-publicatie#besluit-description-validation> sh:name "beschrijving" ;
11
23
  sh:description "Een beknopte beschrijving van het besluit." ;
12
24
  sh:path <http://data.europa.eu/eli/ontology#description> ;
13
25
  sh:datatype <http://www.w3.org/2001/XMLSchema#string> ;
14
26
  sh:minCount 0 ;
15
27
  sh:maxCount 1 ;
16
28
  sh:resultMessage "Het besluit mag maximaal één beschrijving hebben.";
17
- ext:successMessage "Het besluit heeft een beschrijving."
18
- ] ;
19
- sh:property [
20
- sh:name "inhoud" ;
29
+ ext:successMessage "Het besluit heeft een beschrijving.".
30
+
31
+ <https://data.vlaanderen.be/shacl/besluit-publicatie#besluit-article-container-validation> sh:name "inhoud" ;
21
32
  sh:description "De beschrijving van de beoogde rechtsgevolgen, het zogenaamde beschikkend gedeelte." ;
22
33
  sh:path <http://www.w3.org/ns/prov#value> ;
23
34
  sh:datatype <http://www.w3.org/2001/XMLSchema#string> ;
24
35
  sh:minCount 1 ;
25
36
  sh:maxCount 1 ;
26
37
  sh:resultMessage "Het besluit moet een artikelcontainer hebben.";
27
- ext:successMessage "Het besluit heeft een artikelcontainer."
28
- ] ;
29
- sh:property [
30
- sh:name "citeeropschrift" ;
38
+ ext:successMessage "Het besluit heeft een artikelcontainer.".
39
+
40
+ <https://data.vlaanderen.be/shacl/besluit-publicatie#besluit-short-title-validation> sh:name "citeeropschrift" ;
31
41
  sh:description "De beknopte titel of officiële korte naam van een decreet, wet, besluit... Deze wordt officieel vastgelegd. Deze benaming wordt in de praktijk gebruikt om naar de rechtsgrond te verwijzen." ;
32
42
  sh:path <http://data.europa.eu/eli/ontology#title_short> ;
33
43
  sh:datatype <http://www.w3.org/2001/XMLSchema#string> ;
34
44
  sh:minCount 0 ;
35
45
  sh:maxCount 1 ;
36
46
  sh:resultMessage "Het besluit mag niet meer dan één officiële titel hebben.";
37
- ext:successMessage "Het besluit heeft een officiële titel."
38
- ] ;
39
- sh:property [
40
- sh:name "titel" ;
47
+ ext:successMessage "Het besluit heeft een officiële titel.".
48
+
49
+ <https://data.vlaanderen.be/shacl/besluit-publicatie#besluit-title-validation> sh:name "titel" ;
41
50
  sh:description "Titel van de legale verschijningsvorm." ;
42
51
  sh:path <http://data.europa.eu/eli/ontology#title> ;
43
52
  sh:datatype <http://www.w3.org/2001/XMLSchema#string> ;
44
53
  sh:minCount 1 ;
45
54
  sh:resultMessage "Het besluit moet minstens één titel hebben.";
46
- ext:successMessage "De beslissing heeft een titel."
47
- ] ;
48
- sh:property [
49
- sh:name "taal" ;
55
+ ext:successMessage "De beslissing heeft een titel.".
56
+
57
+ <https://data.vlaanderen.be/shacl/besluit-publicatie#besluit-language-validation> sh:name "taal" ;
50
58
  sh:description "De taal van de verschijningsvorm." ;
51
59
  sh:path <http://data.europa.eu/eli/ontology#language> ;
52
60
  sh:class <http://www.w3.org/2004/02/skos/core#Concept> ;
@@ -54,61 +62,52 @@ export const decisionShape = `
54
62
  sh:maxCount 1 ;
55
63
  qb:codeList <http://publications.europa.eu/mdr/authority/language/index.html> ;
56
64
  sh:resultMessage "Het besluit moet een geldige taal hebben.";
57
- ext:successMessage "Het besluit heeft een geldig taalgebruik."
58
- ] ;
59
- sh:property [
60
- sh:name "heeftDeel" ;
65
+ ext:successMessage "Het besluit heeft een geldig taalgebruik.".
66
+
67
+ <https://data.vlaanderen.be/shacl/besluit-publicatie#besluit-article-validation> sh:name "heeftDeel" ;
61
68
  sh:description "Duidt een artikel aan van dit besluit." ;
62
69
  sh:path <http://data.europa.eu/eli/ontology#has_part> ;
63
70
  sh:class <http://data.vlaanderen.be/ns/besluit#Artikel> ;
64
71
  sh:minCount 0 ;
65
72
  sh:resultMessage "Het artikel moet het juiste type hebben.";
66
- ext:successMessage "Het artikel is correct getypt."
67
- ] ;
68
- sh:property [
69
- sh:name "citeert" ;
73
+ ext:successMessage "Het artikel is correct getypt.".
74
+
75
+ <https://data.vlaanderen.be/shacl/besluit-publicatie#besluit-citation-validation> sh:name "citeert" ;
70
76
  sh:description "Een citatie in de wettelijke tekst. Dit omvat zowel woordelijke citaten als citaten in verwijzingen." ;
71
77
  sh:path <http://data.europa.eu/eli/ontology#cites> ;
72
78
  sh:class <http://data.europa.eu/eli/ontology#LegalExpression> ;
73
79
  sh:minCount 0 ;
74
80
  sh:resultMessage "De citatie moet het juiste type hebben.";
75
- ext:successMessage "De citatie is correct getypt."
76
- ] ;
77
- sh:property [
78
- sh:name "motivering" ;
81
+ ext:successMessage "De citatie is correct getypt.".
82
+
83
+ <https://data.vlaanderen.be/shacl/besluit-publicatie#besluit-motivering-validation> sh:name "motivering" ;
79
84
  sh:description "Beschrijving van de juridische en feitelijke motivering achter de beslissing die wordt uitgedrukt in het besluit." ;
80
85
  sh:path <http://data.vlaanderen.be/ns/besluit#motivering> ;
81
86
  sh:datatype <http://www.w3.org/1999/02/22-rdf-syntax-ns#langString> ;
82
87
  sh:minCount 1 ;
83
88
  sh:maxCount 1 ;
84
89
  sh:resultMessage "Het besluit moet één motivering hebben.";
85
- ext:successMessage "Het besluit heeft een motivering."
86
- ] ;
87
- sh:property [
88
- sh:name "publicatiedatum" ;
90
+ ext:successMessage "Het besluit heeft een motivering.".
91
+
92
+ <https://data.vlaanderen.be/shacl/besluit-publicatie#besluit-publication-date-validation> sh:name "publicatiedatum" ;
89
93
  sh:description "De officiële publicatiedatum van het besluit." ;
90
94
  sh:path <http://data.europa.eu/eli/ontology#date_publication> ;
91
95
  sh:datatype <http://www.w3.org/2001/XMLSchema#date> ;
92
96
  sh:minCount 0 ;
93
97
  sh:maxCount 1 ;
94
98
  sh:resultMessage "Het besluit mag niet meer dan één publicatiedatum hebben.";
95
- ext:successMessage "Het besluit heeft niet meer dan één publicatiedatum."
96
- ] ;
97
- sh:property [
98
- sh:name "buitenwerkingtreding" ;
99
+ ext:successMessage "Het besluit heeft niet meer dan één publicatiedatum.".
100
+
101
+ <https://data.vlaanderen.be/shacl/besluit-publicatie#besluit-date-no-longer-in-force-validation> sh:name "buitenwerkingtreding" ;
99
102
  sh:description "De laatste dag waarop de regelgeving nog van kracht is." ;
100
103
  sh:path <http://data.europa.eu/eli/ontology#date_no_longer_in_force> ;
101
104
  sh:datatype <http://www.w3.org/2001/XMLSchema#date> ;
102
105
  sh:minCount 0 ;
103
- sh:maxCount 1
104
- ] ;
105
- sh:property [
106
- sh:name "inwerkingtreding" ;
106
+ sh:maxCount 1.
107
+
108
+ <https://data.vlaanderen.be/shacl/besluit-publicatie#besluit-first-date-entry-in-force-validation> sh:name "inwerkingtreding" ;
107
109
  sh:description "De datum waarop de regelgeving van kracht wordt." ;
108
110
  sh:path <http://data.europa.eu/eli/ontology#first_date_entry_in_force> ;
109
111
  sh:datatype <http://www.w3.org/2001/XMLSchema#date> ;
110
112
  sh:minCount 0 ;
111
- sh:maxCount 1
112
- ] ;
113
- sh:closed false .
114
- `;
113
+ sh:maxCount 1.`;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lblod/lib-decision-shapes",
3
- "version": "0.0.23",
3
+ "version": "0.0.24",
4
4
  "description": "NPM library to retrieve shapes of decisions and examples",
5
5
  "main": "dist/index.js",
6
6
  "browser": "dist/index-browser.js",
@@ -6,47 +6,55 @@ export const decisionShape = `
6
6
  <https://data.vlaanderen.be/shacl/besluit-publicatie#BesluitShape>
7
7
  a sh:NodeShape ;
8
8
  sh:targetClass <http://data.vlaanderen.be/ns/besluit#Besluit> ;
9
- sh:property [
10
- sh:name "beschrijving" ;
9
+ sh:property <https://data.vlaanderen.be/shacl/besluit-publicatie#besluit-description-validation>;
10
+ sh:property <https://data.vlaanderen.be/shacl/besluit-publicatie#besluit-article-container-validation>;
11
+ sh:property <https://data.vlaanderen.be/shacl/besluit-publicatie#besluit-short-title-validation>;
12
+ sh:property <https://data.vlaanderen.be/shacl/besluit-publicatie#besluit-title-validation>;
13
+ sh:property <https://data.vlaanderen.be/shacl/besluit-publicatie#besluit-language-validation>;
14
+ sh:property <https://data.vlaanderen.be/shacl/besluit-publicatie#besluit-article-validation>;
15
+ sh:property <https://data.vlaanderen.be/shacl/besluit-publicatie#besluit-citation-validation>;
16
+ sh:property <https://data.vlaanderen.be/shacl/besluit-publicatie#besluit-motivering-validation>;
17
+ sh:property <https://data.vlaanderen.be/shacl/besluit-publicatie#besluit-publication-date-validation>;
18
+ sh:property <https://data.vlaanderen.be/shacl/besluit-publicatie#besluit-date-no-longer-in-force-validation>;
19
+ sh:property <https://data.vlaanderen.be/shacl/besluit-publicatie#besluit-first-date-entry-in-force-validation>;
20
+ sh:closed false .
21
+
22
+ <https://data.vlaanderen.be/shacl/besluit-publicatie#besluit-description-validation> sh:name "beschrijving" ;
11
23
  sh:description "Een beknopte beschrijving van het besluit." ;
12
24
  sh:path <http://data.europa.eu/eli/ontology#description> ;
13
25
  sh:datatype <http://www.w3.org/2001/XMLSchema#string> ;
14
26
  sh:minCount 0 ;
15
27
  sh:maxCount 1 ;
16
28
  sh:resultMessage "Het besluit mag maximaal één beschrijving hebben.";
17
- ext:successMessage "Het besluit heeft een beschrijving."
18
- ] ;
19
- sh:property [
20
- sh:name "inhoud" ;
29
+ ext:successMessage "Het besluit heeft een beschrijving.".
30
+
31
+ <https://data.vlaanderen.be/shacl/besluit-publicatie#besluit-article-container-validation> sh:name "inhoud" ;
21
32
  sh:description "De beschrijving van de beoogde rechtsgevolgen, het zogenaamde beschikkend gedeelte." ;
22
33
  sh:path <http://www.w3.org/ns/prov#value> ;
23
34
  sh:datatype <http://www.w3.org/2001/XMLSchema#string> ;
24
35
  sh:minCount 1 ;
25
36
  sh:maxCount 1 ;
26
37
  sh:resultMessage "Het besluit moet een artikelcontainer hebben.";
27
- ext:successMessage "Het besluit heeft een artikelcontainer."
28
- ] ;
29
- sh:property [
30
- sh:name "citeeropschrift" ;
38
+ ext:successMessage "Het besluit heeft een artikelcontainer.".
39
+
40
+ <https://data.vlaanderen.be/shacl/besluit-publicatie#besluit-short-title-validation> sh:name "citeeropschrift" ;
31
41
  sh:description "De beknopte titel of officiële korte naam van een decreet, wet, besluit... Deze wordt officieel vastgelegd. Deze benaming wordt in de praktijk gebruikt om naar de rechtsgrond te verwijzen." ;
32
42
  sh:path <http://data.europa.eu/eli/ontology#title_short> ;
33
43
  sh:datatype <http://www.w3.org/2001/XMLSchema#string> ;
34
44
  sh:minCount 0 ;
35
45
  sh:maxCount 1 ;
36
46
  sh:resultMessage "Het besluit mag niet meer dan één officiële titel hebben.";
37
- ext:successMessage "Het besluit heeft een officiële titel."
38
- ] ;
39
- sh:property [
40
- sh:name "titel" ;
47
+ ext:successMessage "Het besluit heeft een officiële titel.".
48
+
49
+ <https://data.vlaanderen.be/shacl/besluit-publicatie#besluit-title-validation> sh:name "titel" ;
41
50
  sh:description "Titel van de legale verschijningsvorm." ;
42
51
  sh:path <http://data.europa.eu/eli/ontology#title> ;
43
52
  sh:datatype <http://www.w3.org/2001/XMLSchema#string> ;
44
53
  sh:minCount 1 ;
45
54
  sh:resultMessage "Het besluit moet minstens één titel hebben.";
46
- ext:successMessage "De beslissing heeft een titel."
47
- ] ;
48
- sh:property [
49
- sh:name "taal" ;
55
+ ext:successMessage "De beslissing heeft een titel.".
56
+
57
+ <https://data.vlaanderen.be/shacl/besluit-publicatie#besluit-language-validation> sh:name "taal" ;
50
58
  sh:description "De taal van de verschijningsvorm." ;
51
59
  sh:path <http://data.europa.eu/eli/ontology#language> ;
52
60
  sh:class <http://www.w3.org/2004/02/skos/core#Concept> ;
@@ -54,61 +62,52 @@ export const decisionShape = `
54
62
  sh:maxCount 1 ;
55
63
  qb:codeList <http://publications.europa.eu/mdr/authority/language/index.html> ;
56
64
  sh:resultMessage "Het besluit moet een geldige taal hebben.";
57
- ext:successMessage "Het besluit heeft een geldig taalgebruik."
58
- ] ;
59
- sh:property [
60
- sh:name "heeftDeel" ;
65
+ ext:successMessage "Het besluit heeft een geldig taalgebruik.".
66
+
67
+ <https://data.vlaanderen.be/shacl/besluit-publicatie#besluit-article-validation> sh:name "heeftDeel" ;
61
68
  sh:description "Duidt een artikel aan van dit besluit." ;
62
69
  sh:path <http://data.europa.eu/eli/ontology#has_part> ;
63
70
  sh:class <http://data.vlaanderen.be/ns/besluit#Artikel> ;
64
71
  sh:minCount 0 ;
65
72
  sh:resultMessage "Het artikel moet het juiste type hebben.";
66
- ext:successMessage "Het artikel is correct getypt."
67
- ] ;
68
- sh:property [
69
- sh:name "citeert" ;
73
+ ext:successMessage "Het artikel is correct getypt.".
74
+
75
+ <https://data.vlaanderen.be/shacl/besluit-publicatie#besluit-citation-validation> sh:name "citeert" ;
70
76
  sh:description "Een citatie in de wettelijke tekst. Dit omvat zowel woordelijke citaten als citaten in verwijzingen." ;
71
77
  sh:path <http://data.europa.eu/eli/ontology#cites> ;
72
78
  sh:class <http://data.europa.eu/eli/ontology#LegalExpression> ;
73
79
  sh:minCount 0 ;
74
80
  sh:resultMessage "De citatie moet het juiste type hebben.";
75
- ext:successMessage "De citatie is correct getypt."
76
- ] ;
77
- sh:property [
78
- sh:name "motivering" ;
81
+ ext:successMessage "De citatie is correct getypt.".
82
+
83
+ <https://data.vlaanderen.be/shacl/besluit-publicatie#besluit-motivering-validation> sh:name "motivering" ;
79
84
  sh:description "Beschrijving van de juridische en feitelijke motivering achter de beslissing die wordt uitgedrukt in het besluit." ;
80
85
  sh:path <http://data.vlaanderen.be/ns/besluit#motivering> ;
81
86
  sh:datatype <http://www.w3.org/1999/02/22-rdf-syntax-ns#langString> ;
82
87
  sh:minCount 1 ;
83
88
  sh:maxCount 1 ;
84
89
  sh:resultMessage "Het besluit moet één motivering hebben.";
85
- ext:successMessage "Het besluit heeft een motivering."
86
- ] ;
87
- sh:property [
88
- sh:name "publicatiedatum" ;
90
+ ext:successMessage "Het besluit heeft een motivering.".
91
+
92
+ <https://data.vlaanderen.be/shacl/besluit-publicatie#besluit-publication-date-validation> sh:name "publicatiedatum" ;
89
93
  sh:description "De officiële publicatiedatum van het besluit." ;
90
94
  sh:path <http://data.europa.eu/eli/ontology#date_publication> ;
91
95
  sh:datatype <http://www.w3.org/2001/XMLSchema#date> ;
92
96
  sh:minCount 0 ;
93
97
  sh:maxCount 1 ;
94
98
  sh:resultMessage "Het besluit mag niet meer dan één publicatiedatum hebben.";
95
- ext:successMessage "Het besluit heeft niet meer dan één publicatiedatum."
96
- ] ;
97
- sh:property [
98
- sh:name "buitenwerkingtreding" ;
99
+ ext:successMessage "Het besluit heeft niet meer dan één publicatiedatum.".
100
+
101
+ <https://data.vlaanderen.be/shacl/besluit-publicatie#besluit-date-no-longer-in-force-validation> sh:name "buitenwerkingtreding" ;
99
102
  sh:description "De laatste dag waarop de regelgeving nog van kracht is." ;
100
103
  sh:path <http://data.europa.eu/eli/ontology#date_no_longer_in_force> ;
101
104
  sh:datatype <http://www.w3.org/2001/XMLSchema#date> ;
102
105
  sh:minCount 0 ;
103
- sh:maxCount 1
104
- ] ;
105
- sh:property [
106
- sh:name "inwerkingtreding" ;
106
+ sh:maxCount 1.
107
+
108
+ <https://data.vlaanderen.be/shacl/besluit-publicatie#besluit-first-date-entry-in-force-validation> sh:name "inwerkingtreding" ;
107
109
  sh:description "De datum waarop de regelgeving van kracht wordt." ;
108
110
  sh:path <http://data.europa.eu/eli/ontology#first_date_entry_in_force> ;
109
111
  sh:datatype <http://www.w3.org/2001/XMLSchema#date> ;
110
112
  sh:minCount 0 ;
111
- sh:maxCount 1
112
- ] ;
113
- sh:closed false .
114
- `;
113
+ sh:maxCount 1.`;