Skip to content

Commit b39db11

Browse files
committed
chore: Add missing maxCount and uniqueItems keys
1 parent a109fd4 commit b39db11

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

src/Namespace.d.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -170,6 +170,7 @@ interface Shapes {
170170
xmlWrapped: string;
171171
readOnly: string;
172172
deprecated: string;
173+
uniqueItems: string;
173174
}
174175

175176
interface Data {
@@ -287,6 +288,7 @@ interface Shacl {
287288
raw: string;
288289
datatype: string;
289290
minCount: string;
291+
maxCount: string;
290292
xone: string;
291293
not: string;
292294
or: string;

src/Namespace.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -186,6 +186,7 @@ ns.aml.vocabularies.shapes.xmlAttribute = `${shapesKey}xmlAttribute`;
186186
ns.aml.vocabularies.shapes.xmlWrapped = `${shapesKey}xmlWrapped`;
187187
ns.aml.vocabularies.shapes.readOnly = `${shapesKey}readOnly`;
188188
ns.aml.vocabularies.shapes.deprecated = `${shapesKey}deprecated`;
189+
ns.aml.vocabularies.shapes.uniqueItems = `${shapesKey}uniqueItems`;
189190
ns.aml.vocabularies.data = {};
190191
ns.aml.vocabularies.data.key = `${ns.aml.vocabularies.key}data#`;
191192
const dataKey = ns.aml.vocabularies.data.key;
@@ -281,6 +282,7 @@ ns.w3.shacl.name = `${n2shaclName}name`;
281282
ns.w3.shacl.raw = `${n2shaclName}raw`;
282283
ns.w3.shacl.datatype = `${n2shaclName}datatype`;
283284
ns.w3.shacl.minCount = `${n2shaclName}minCount`;
285+
ns.w3.shacl.maxCount = `${n2shaclName}maxCount`;
284286
ns.w3.shacl.xone = `${n2shaclName}xone`;
285287
ns.w3.shacl.not = `${n2shaclName}not`;
286288
ns.w3.shacl.or = `${n2shaclName}or`;

0 commit comments

Comments
 (0)