@lblod/lib-decision-shapes 0.0.23 → 0.0.25
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.
- package/dist/index.js +78 -51
- package/dist/index.js.map +1 -1
- package/dist/shapes/shapes/decision.ts +78 -51
- package/package.json +1 -1
- package/src/shapes/decision.ts +78 -51
package/dist/index.js
CHANGED
|
@@ -1512,47 +1512,76 @@ var decisionShape = `
|
|
|
1512
1512
|
<https://data.vlaanderen.be/shacl/besluit-publicatie#BesluitShape>
|
|
1513
1513
|
a sh:NodeShape ;
|
|
1514
1514
|
sh:targetClass <http://data.vlaanderen.be/ns/besluit#Besluit> ;
|
|
1515
|
-
sh:property
|
|
1516
|
-
|
|
1515
|
+
sh:property <https://data.vlaanderen.be/shacl/besluit-publicatie#besluit-description-validation>;
|
|
1516
|
+
sh:property <https://data.vlaanderen.be/shacl/besluit-publicatie#besluit-article-container-validation>;
|
|
1517
|
+
sh:property <https://data.vlaanderen.be/shacl/besluit-publicatie#besluit-short-title-validation>;
|
|
1518
|
+
sh:property <https://data.vlaanderen.be/shacl/besluit-publicatie#besluit-title-validation>;
|
|
1519
|
+
sh:property <https://data.vlaanderen.be/shacl/besluit-publicatie#besluit-language-validation>;
|
|
1520
|
+
sh:property <https://data.vlaanderen.be/shacl/besluit-publicatie#besluit-article-validation>;
|
|
1521
|
+
sh:property <https://data.vlaanderen.be/shacl/besluit-publicatie#besluit-citation-validation>;
|
|
1522
|
+
sh:property <https://data.vlaanderen.be/shacl/besluit-publicatie#besluit-motivering-validation>;
|
|
1523
|
+
sh:property <https://data.vlaanderen.be/shacl/besluit-publicatie#besluit-publication-date-validation>;
|
|
1524
|
+
sh:property <https://data.vlaanderen.be/shacl/besluit-publicatie#besluit-date-no-longer-in-force-validation>;
|
|
1525
|
+
sh:property <https://data.vlaanderen.be/shacl/besluit-publicatie#besluit-first-date-entry-in-force-validation>;
|
|
1526
|
+
sh:closed false .
|
|
1527
|
+
|
|
1528
|
+
<https://data.vlaanderen.be/shacl/besluit-publicatie#besluit-description-validation> sh:name "beschrijving" ;
|
|
1517
1529
|
sh:description "Een beknopte beschrijving van het besluit." ;
|
|
1518
1530
|
sh:path <http://data.europa.eu/eli/ontology#description> ;
|
|
1519
|
-
|
|
1520
|
-
|
|
1531
|
+
sh:or (
|
|
1532
|
+
[
|
|
1533
|
+
sh:datatype <http://www.w3.org/2001/XMLSchema#string>;
|
|
1534
|
+
]
|
|
1535
|
+
[
|
|
1536
|
+
sh:datatype <http://www.w3.org/1999/02/22-rdf-syntax-ns#langString>;
|
|
1537
|
+
]
|
|
1538
|
+
);
|
|
1539
|
+
sh:minCount 1 ;
|
|
1521
1540
|
sh:maxCount 1 ;
|
|
1522
1541
|
sh:resultMessage "Het besluit mag maximaal \xE9\xE9n beschrijving hebben.";
|
|
1523
|
-
ext:successMessage "Het besluit heeft een beschrijving."
|
|
1524
|
-
|
|
1525
|
-
|
|
1526
|
-
sh:name "inhoud" ;
|
|
1542
|
+
ext:successMessage "Het besluit heeft een beschrijving.".
|
|
1543
|
+
|
|
1544
|
+
<https://data.vlaanderen.be/shacl/besluit-publicatie#besluit-article-container-validation> sh:name "inhoud" ;
|
|
1527
1545
|
sh:description "De beschrijving van de beoogde rechtsgevolgen, het zogenaamde beschikkend gedeelte." ;
|
|
1528
1546
|
sh:path <http://www.w3.org/ns/prov#value> ;
|
|
1529
|
-
|
|
1547
|
+
sh:or (
|
|
1548
|
+
[
|
|
1549
|
+
sh:datatype <http://www.w3.org/2001/XMLSchema#string>;
|
|
1550
|
+
]
|
|
1551
|
+
[
|
|
1552
|
+
sh:datatype <http://www.w3.org/1999/02/22-rdf-syntax-ns#langString>;
|
|
1553
|
+
]
|
|
1554
|
+
);
|
|
1530
1555
|
sh:minCount 1 ;
|
|
1531
1556
|
sh:maxCount 1 ;
|
|
1532
1557
|
sh:resultMessage "Het besluit moet een artikelcontainer hebben.";
|
|
1533
|
-
ext:successMessage "Het besluit heeft een artikelcontainer."
|
|
1534
|
-
|
|
1535
|
-
|
|
1536
|
-
sh:name "citeeropschrift" ;
|
|
1558
|
+
ext:successMessage "Het besluit heeft een artikelcontainer.".
|
|
1559
|
+
|
|
1560
|
+
<https://data.vlaanderen.be/shacl/besluit-publicatie#besluit-short-title-validation> sh:name "citeeropschrift" ;
|
|
1537
1561
|
sh:description "De beknopte titel of offici\xEBle korte naam van een decreet, wet, besluit... Deze wordt officieel vastgelegd. Deze benaming wordt in de praktijk gebruikt om naar de rechtsgrond te verwijzen." ;
|
|
1538
1562
|
sh:path <http://data.europa.eu/eli/ontology#title_short> ;
|
|
1539
1563
|
sh:datatype <http://www.w3.org/2001/XMLSchema#string> ;
|
|
1540
1564
|
sh:minCount 0 ;
|
|
1541
1565
|
sh:maxCount 1 ;
|
|
1542
1566
|
sh:resultMessage "Het besluit mag niet meer dan \xE9\xE9n offici\xEBle titel hebben.";
|
|
1543
|
-
ext:successMessage "Het besluit heeft een offici\xEBle titel."
|
|
1544
|
-
|
|
1545
|
-
|
|
1546
|
-
sh:name "titel" ;
|
|
1567
|
+
ext:successMessage "Het besluit heeft een offici\xEBle titel.".
|
|
1568
|
+
|
|
1569
|
+
<https://data.vlaanderen.be/shacl/besluit-publicatie#besluit-title-validation> sh:name "titel" ;
|
|
1547
1570
|
sh:description "Titel van de legale verschijningsvorm." ;
|
|
1548
1571
|
sh:path <http://data.europa.eu/eli/ontology#title> ;
|
|
1549
|
-
sh:
|
|
1572
|
+
sh:or (
|
|
1573
|
+
[
|
|
1574
|
+
sh:datatype <http://www.w3.org/2001/XMLSchema#string>;
|
|
1575
|
+
]
|
|
1576
|
+
[
|
|
1577
|
+
sh:datatype <http://www.w3.org/1999/02/22-rdf-syntax-ns#langString>;
|
|
1578
|
+
]
|
|
1579
|
+
);
|
|
1550
1580
|
sh:minCount 1 ;
|
|
1551
1581
|
sh:resultMessage "Het besluit moet minstens \xE9\xE9n titel hebben.";
|
|
1552
|
-
ext:successMessage "De beslissing heeft een titel."
|
|
1553
|
-
|
|
1554
|
-
|
|
1555
|
-
sh:name "taal" ;
|
|
1582
|
+
ext:successMessage "De beslissing heeft een titel.".
|
|
1583
|
+
|
|
1584
|
+
<https://data.vlaanderen.be/shacl/besluit-publicatie#besluit-language-validation> sh:name "taal" ;
|
|
1556
1585
|
sh:description "De taal van de verschijningsvorm." ;
|
|
1557
1586
|
sh:path <http://data.europa.eu/eli/ontology#language> ;
|
|
1558
1587
|
sh:class <http://www.w3.org/2004/02/skos/core#Concept> ;
|
|
@@ -1560,64 +1589,62 @@ var decisionShape = `
|
|
|
1560
1589
|
sh:maxCount 1 ;
|
|
1561
1590
|
qb:codeList <http://publications.europa.eu/mdr/authority/language/index.html> ;
|
|
1562
1591
|
sh:resultMessage "Het besluit moet een geldige taal hebben.";
|
|
1563
|
-
ext:successMessage "Het besluit heeft een geldig taalgebruik."
|
|
1564
|
-
|
|
1565
|
-
|
|
1566
|
-
sh:name "heeftDeel" ;
|
|
1592
|
+
ext:successMessage "Het besluit heeft een geldig taalgebruik.".
|
|
1593
|
+
|
|
1594
|
+
<https://data.vlaanderen.be/shacl/besluit-publicatie#besluit-article-validation> sh:name "heeftDeel" ;
|
|
1567
1595
|
sh:description "Duidt een artikel aan van dit besluit." ;
|
|
1568
1596
|
sh:path <http://data.europa.eu/eli/ontology#has_part> ;
|
|
1569
1597
|
sh:class <http://data.vlaanderen.be/ns/besluit#Artikel> ;
|
|
1570
1598
|
sh:minCount 0 ;
|
|
1571
1599
|
sh:resultMessage "Het artikel moet het juiste type hebben.";
|
|
1572
|
-
ext:successMessage "Het artikel is correct getypt."
|
|
1573
|
-
|
|
1574
|
-
|
|
1575
|
-
sh:name "citeert" ;
|
|
1600
|
+
ext:successMessage "Het artikel is correct getypt.".
|
|
1601
|
+
|
|
1602
|
+
<https://data.vlaanderen.be/shacl/besluit-publicatie#besluit-citation-validation> sh:name "citeert" ;
|
|
1576
1603
|
sh:description "Een citatie in de wettelijke tekst. Dit omvat zowel woordelijke citaten als citaten in verwijzingen." ;
|
|
1577
1604
|
sh:path <http://data.europa.eu/eli/ontology#cites> ;
|
|
1578
1605
|
sh:class <http://data.europa.eu/eli/ontology#LegalExpression> ;
|
|
1579
1606
|
sh:minCount 0 ;
|
|
1580
1607
|
sh:resultMessage "De citatie moet het juiste type hebben.";
|
|
1581
|
-
ext:successMessage "De citatie is correct getypt."
|
|
1582
|
-
|
|
1583
|
-
|
|
1584
|
-
sh:name "motivering" ;
|
|
1608
|
+
ext:successMessage "De citatie is correct getypt.".
|
|
1609
|
+
|
|
1610
|
+
<https://data.vlaanderen.be/shacl/besluit-publicatie#besluit-motivering-validation> sh:name "motivering" ;
|
|
1585
1611
|
sh:description "Beschrijving van de juridische en feitelijke motivering achter de beslissing die wordt uitgedrukt in het besluit." ;
|
|
1586
1612
|
sh:path <http://data.vlaanderen.be/ns/besluit#motivering> ;
|
|
1587
|
-
sh:
|
|
1613
|
+
sh:or (
|
|
1614
|
+
[
|
|
1615
|
+
sh:datatype <http://www.w3.org/2001/XMLSchema#string>;
|
|
1616
|
+
]
|
|
1617
|
+
[
|
|
1618
|
+
sh:datatype <http://www.w3.org/1999/02/22-rdf-syntax-ns#langString>;
|
|
1619
|
+
]
|
|
1620
|
+
);
|
|
1588
1621
|
sh:minCount 1 ;
|
|
1589
1622
|
sh:maxCount 1 ;
|
|
1590
1623
|
sh:resultMessage "Het besluit moet \xE9\xE9n motivering hebben.";
|
|
1591
|
-
ext:successMessage "Het besluit heeft een motivering."
|
|
1592
|
-
|
|
1593
|
-
|
|
1594
|
-
sh:name "publicatiedatum" ;
|
|
1624
|
+
ext:successMessage "Het besluit heeft een motivering.".
|
|
1625
|
+
|
|
1626
|
+
<https://data.vlaanderen.be/shacl/besluit-publicatie#besluit-publication-date-validation> sh:name "publicatiedatum" ;
|
|
1595
1627
|
sh:description "De offici\xEBle publicatiedatum van het besluit." ;
|
|
1596
1628
|
sh:path <http://data.europa.eu/eli/ontology#date_publication> ;
|
|
1597
1629
|
sh:datatype <http://www.w3.org/2001/XMLSchema#date> ;
|
|
1598
1630
|
sh:minCount 0 ;
|
|
1599
1631
|
sh:maxCount 1 ;
|
|
1600
1632
|
sh:resultMessage "Het besluit mag niet meer dan \xE9\xE9n publicatiedatum hebben.";
|
|
1601
|
-
ext:successMessage "Het besluit heeft niet meer dan \xE9\xE9n publicatiedatum."
|
|
1602
|
-
|
|
1603
|
-
|
|
1604
|
-
sh:name "buitenwerkingtreding" ;
|
|
1633
|
+
ext:successMessage "Het besluit heeft niet meer dan \xE9\xE9n publicatiedatum.".
|
|
1634
|
+
|
|
1635
|
+
<https://data.vlaanderen.be/shacl/besluit-publicatie#besluit-date-no-longer-in-force-validation> sh:name "buitenwerkingtreding" ;
|
|
1605
1636
|
sh:description "De laatste dag waarop de regelgeving nog van kracht is." ;
|
|
1606
1637
|
sh:path <http://data.europa.eu/eli/ontology#date_no_longer_in_force> ;
|
|
1607
1638
|
sh:datatype <http://www.w3.org/2001/XMLSchema#date> ;
|
|
1608
1639
|
sh:minCount 0 ;
|
|
1609
|
-
sh:maxCount 1
|
|
1610
|
-
|
|
1611
|
-
|
|
1612
|
-
sh:name "inwerkingtreding" ;
|
|
1640
|
+
sh:maxCount 1.
|
|
1641
|
+
|
|
1642
|
+
<https://data.vlaanderen.be/shacl/besluit-publicatie#besluit-first-date-entry-in-force-validation> sh:name "inwerkingtreding" ;
|
|
1613
1643
|
sh:description "De datum waarop de regelgeving van kracht wordt." ;
|
|
1614
1644
|
sh:path <http://data.europa.eu/eli/ontology#first_date_entry_in_force> ;
|
|
1615
1645
|
sh:datatype <http://www.w3.org/2001/XMLSchema#date> ;
|
|
1616
1646
|
sh:minCount 0 ;
|
|
1617
|
-
sh:maxCount 1
|
|
1618
|
-
] ;
|
|
1619
|
-
sh:closed false .
|
|
1620
|
-
`;
|
|
1647
|
+
sh:maxCount 1.`;
|
|
1621
1648
|
|
|
1622
1649
|
// src/shapes/citerra.ts
|
|
1623
1650
|
var citerraShape = `@prefix dbo: <http://dbpedia.org/ontology/> .
|