@tpluscode/rdf-ns-builders 3.0.1 → 3.0.2

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.
Files changed (301) hide show
  1. package/bin/index.d.ts +3 -0
  2. package/bin/index.d.ts.map +1 -0
  3. package/bin/index.js +8 -0
  4. package/build/index.d.ts +9 -0
  5. package/build/index.d.ts.map +1 -0
  6. package/build/index.js +19 -0
  7. package/build/interface.d.ts +4 -0
  8. package/build/interface.d.ts.map +1 -0
  9. package/build/interface.js +37 -0
  10. package/build/modules.d.ts +4 -0
  11. package/build/modules.d.ts.map +1 -0
  12. package/build/modules.js +20 -0
  13. package/build/prefix.d.ts +4 -0
  14. package/build/prefix.d.ts.map +1 -0
  15. package/build/prefix.js +55 -0
  16. package/build/strings.d.ts +2 -0
  17. package/build/strings.d.ts.map +1 -0
  18. package/build/strings.js +3 -0
  19. package/index.d.ts +93 -0
  20. package/index.d.ts.map +1 -0
  21. package/index.js +92 -0
  22. package/loose.d.ts +93 -0
  23. package/loose.d.ts.map +1 -0
  24. package/loose.js +92 -0
  25. package/package.json +1 -1
  26. package/vocabularies/acl.d.ts +108 -0
  27. package/vocabularies/acl.d.ts.map +1 -0
  28. package/vocabularies/acl.js +4 -0
  29. package/vocabularies/as.d.ts +220 -0
  30. package/vocabularies/as.d.ts.map +1 -0
  31. package/vocabularies/as.js +4 -0
  32. package/vocabularies/bibo.d.ts +249 -0
  33. package/vocabularies/bibo.d.ts.map +1 -0
  34. package/vocabularies/bibo.js +4 -0
  35. package/vocabularies/cc.d.ts +120 -0
  36. package/vocabularies/cc.d.ts.map +1 -0
  37. package/vocabularies/cc.js +4 -0
  38. package/vocabularies/cnt.d.ts +44 -0
  39. package/vocabularies/cnt.d.ts.map +1 -0
  40. package/vocabularies/cnt.js +4 -0
  41. package/vocabularies/constant.d.ts +665 -0
  42. package/vocabularies/constant.d.ts.map +1 -0
  43. package/vocabularies/constant.js +4 -0
  44. package/vocabularies/crm.d.ts +1434 -0
  45. package/vocabularies/crm.d.ts.map +1 -0
  46. package/vocabularies/crm.js +4 -0
  47. package/vocabularies/csvw.d.ts +189 -0
  48. package/vocabularies/csvw.d.ts.map +1 -0
  49. package/vocabularies/csvw.js +4 -0
  50. package/vocabularies/ctag.d.ts +28 -0
  51. package/vocabularies/ctag.d.ts.map +1 -0
  52. package/vocabularies/ctag.js +4 -0
  53. package/vocabularies/dash.d.ts +629 -0
  54. package/vocabularies/dash.d.ts.map +1 -0
  55. package/vocabularies/dash.js +4 -0
  56. package/vocabularies/dbo.d.ts +4611 -0
  57. package/vocabularies/dbo.d.ts.map +1 -0
  58. package/vocabularies/dbo.js +4 -0
  59. package/vocabularies/dc11.d.ts +38 -0
  60. package/vocabularies/dc11.d.ts.map +1 -0
  61. package/vocabularies/dc11.js +4 -0
  62. package/vocabularies/dcam.d.ts +16 -0
  63. package/vocabularies/dcam.d.ts.map +1 -0
  64. package/vocabularies/dcam.js +4 -0
  65. package/vocabularies/dcat.d.ts +76 -0
  66. package/vocabularies/dcat.d.ts.map +1 -0
  67. package/vocabularies/dcat.js +4 -0
  68. package/vocabularies/dcmitype.d.ts +32 -0
  69. package/vocabularies/dcmitype.d.ts.map +1 -0
  70. package/vocabularies/dcmitype.js +4 -0
  71. package/vocabularies/dcterms.d.ts +205 -0
  72. package/vocabularies/dcterms.d.ts.map +1 -0
  73. package/vocabularies/dcterms.js +4 -0
  74. package/vocabularies/discipline.d.ts +143 -0
  75. package/vocabularies/discipline.d.ts.map +1 -0
  76. package/vocabularies/discipline.js +4 -0
  77. package/vocabularies/doap.d.ts +123 -0
  78. package/vocabularies/doap.d.ts.map +1 -0
  79. package/vocabularies/doap.js +4 -0
  80. package/vocabularies/dpv.d.ts +389 -0
  81. package/vocabularies/dpv.d.ts.map +1 -0
  82. package/vocabularies/dpv.js +4 -0
  83. package/vocabularies/dqv.d.ts +48 -0
  84. package/vocabularies/dqv.d.ts.map +1 -0
  85. package/vocabularies/dqv.js +4 -0
  86. package/vocabularies/dtype.d.ts +29 -0
  87. package/vocabularies/dtype.d.ts.map +1 -0
  88. package/vocabularies/dtype.js +4 -0
  89. package/vocabularies/duv.d.ts +28 -0
  90. package/vocabularies/duv.d.ts.map +1 -0
  91. package/vocabularies/duv.js +4 -0
  92. package/vocabularies/earl.d.ts +66 -0
  93. package/vocabularies/earl.d.ts.map +1 -0
  94. package/vocabularies/earl.js +4 -0
  95. package/vocabularies/ebucore.d.ts +2529 -0
  96. package/vocabularies/ebucore.d.ts.map +1 -0
  97. package/vocabularies/ebucore.js +4 -0
  98. package/vocabularies/exif.d.ts +334 -0
  99. package/vocabularies/exif.d.ts.map +1 -0
  100. package/vocabularies/exif.js +4 -0
  101. package/vocabularies/foaf.d.ts +158 -0
  102. package/vocabularies/foaf.d.ts.map +1 -0
  103. package/vocabularies/foaf.js +4 -0
  104. package/vocabularies/frbr.d.ts +223 -0
  105. package/vocabularies/frbr.d.ts.map +1 -0
  106. package/vocabularies/frbr.js +4 -0
  107. package/vocabularies/geo.d.ts +73 -0
  108. package/vocabularies/geo.d.ts.map +1 -0
  109. package/vocabularies/geo.js +4 -0
  110. package/vocabularies/geof.d.ts +43 -0
  111. package/vocabularies/geof.d.ts.map +1 -0
  112. package/vocabularies/geof.js +4 -0
  113. package/vocabularies/geor.d.ts +32 -0
  114. package/vocabularies/geor.d.ts.map +1 -0
  115. package/vocabularies/geor.js +4 -0
  116. package/vocabularies/gml.d.ts +61 -0
  117. package/vocabularies/gml.d.ts.map +1 -0
  118. package/vocabularies/gml.js +4 -0
  119. package/vocabularies/gn.d.ts +771 -0
  120. package/vocabularies/gn.d.ts.map +1 -0
  121. package/vocabularies/gn.js +4 -0
  122. package/vocabularies/gr.d.ts +897 -0
  123. package/vocabularies/gr.d.ts.map +1 -0
  124. package/vocabularies/gr.js +4 -0
  125. package/vocabularies/grddl.d.ts +64 -0
  126. package/vocabularies/grddl.d.ts.map +1 -0
  127. package/vocabularies/grddl.js +4 -0
  128. package/vocabularies/gs1.d.ts +2958 -0
  129. package/vocabularies/gs1.d.ts.map +1 -0
  130. package/vocabularies/gs1.js +4 -0
  131. package/vocabularies/gtfs.d.ts +206 -0
  132. package/vocabularies/gtfs.d.ts.map +1 -0
  133. package/vocabularies/gtfs.js +4 -0
  134. package/vocabularies/http.d.ts +86 -0
  135. package/vocabularies/http.d.ts.map +1 -0
  136. package/vocabularies/http.js +4 -0
  137. package/vocabularies/hydra.d.ts +143 -0
  138. package/vocabularies/hydra.d.ts.map +1 -0
  139. package/vocabularies/hydra.js +4 -0
  140. package/vocabularies/ical.d.ts +247 -0
  141. package/vocabularies/ical.d.ts.map +1 -0
  142. package/vocabularies/ical.js +4 -0
  143. package/vocabularies/ldp.d.ts +66 -0
  144. package/vocabularies/ldp.d.ts.map +1 -0
  145. package/vocabularies/ldp.js +4 -0
  146. package/vocabularies/locn.d.ts +55 -0
  147. package/vocabularies/locn.d.ts.map +1 -0
  148. package/vocabularies/locn.js +4 -0
  149. package/vocabularies/lvont.d.ts +122 -0
  150. package/vocabularies/lvont.d.ts.map +1 -0
  151. package/vocabularies/lvont.js +4 -0
  152. package/vocabularies/ma.d.ts +185 -0
  153. package/vocabularies/ma.d.ts.map +1 -0
  154. package/vocabularies/ma.js +4 -0
  155. package/vocabularies/mads.d.ts +283 -0
  156. package/vocabularies/mads.d.ts.map +1 -0
  157. package/vocabularies/mads.js +4 -0
  158. package/vocabularies/oa.d.ts +149 -0
  159. package/vocabularies/oa.d.ts.map +1 -0
  160. package/vocabularies/oa.js +4 -0
  161. package/vocabularies/og.d.ts +52 -0
  162. package/vocabularies/og.d.ts.map +1 -0
  163. package/vocabularies/og.js +4 -0
  164. package/vocabularies/org.d.ts +98 -0
  165. package/vocabularies/org.d.ts.map +1 -0
  166. package/vocabularies/org.js +4 -0
  167. package/vocabularies/owl.d.ts +162 -0
  168. package/vocabularies/owl.d.ts.map +1 -0
  169. package/vocabularies/owl.js +4 -0
  170. package/vocabularies/prefix.d.ts +37 -0
  171. package/vocabularies/prefix.d.ts.map +1 -0
  172. package/vocabularies/prefix.js +4 -0
  173. package/vocabularies/prov.d.ts +286 -0
  174. package/vocabularies/prov.d.ts.map +1 -0
  175. package/vocabularies/prov.js +4 -0
  176. package/vocabularies/qb.d.ts +83 -0
  177. package/vocabularies/qb.d.ts.map +1 -0
  178. package/vocabularies/qb.js +4 -0
  179. package/vocabularies/qkdv.d.ts +228 -0
  180. package/vocabularies/qkdv.d.ts.map +1 -0
  181. package/vocabularies/qkdv.js +4 -0
  182. package/vocabularies/quantitykind.d.ts +949 -0
  183. package/vocabularies/quantitykind.d.ts.map +1 -0
  184. package/vocabularies/quantitykind.js +4 -0
  185. package/vocabularies/qudt.d.ts +1090 -0
  186. package/vocabularies/qudt.d.ts.map +1 -0
  187. package/vocabularies/qudt.js +4 -0
  188. package/vocabularies/rdau.d.ts +2934 -0
  189. package/vocabularies/rdau.d.ts.map +1 -0
  190. package/vocabularies/rdau.js +4 -0
  191. package/vocabularies/rdf.d.ts +52 -0
  192. package/vocabularies/rdf.d.ts.map +1 -0
  193. package/vocabularies/rdf.js +4 -0
  194. package/vocabularies/rdfa.d.ts +28 -0
  195. package/vocabularies/rdfa.d.ts.map +1 -0
  196. package/vocabularies/rdfa.js +4 -0
  197. package/vocabularies/rdfs.d.ts +41 -0
  198. package/vocabularies/rdfs.d.ts.map +1 -0
  199. package/vocabularies/rdfs.js +4 -0
  200. package/vocabularies/rev.d.ts +40 -0
  201. package/vocabularies/rev.d.ts.map +1 -0
  202. package/vocabularies/rev.js +4 -0
  203. package/vocabularies/rico.d.ts +2726 -0
  204. package/vocabularies/rico.d.ts.map +1 -0
  205. package/vocabularies/rico.js +4 -0
  206. package/vocabularies/rif.d.ts +8 -0
  207. package/vocabularies/rif.d.ts.map +1 -0
  208. package/vocabularies/rif.js +4 -0
  209. package/vocabularies/rr.d.ts +89 -0
  210. package/vocabularies/rr.d.ts.map +1 -0
  211. package/vocabularies/rr.js +4 -0
  212. package/vocabularies/rss.d.ts +28 -0
  213. package/vocabularies/rss.d.ts.map +1 -0
  214. package/vocabularies/rss.js +4 -0
  215. package/vocabularies/schema.d.ts +6240 -0
  216. package/vocabularies/schema.d.ts.map +1 -0
  217. package/vocabularies/schema.js +4 -0
  218. package/vocabularies/sd.d.ts +84 -0
  219. package/vocabularies/sd.d.ts.map +1 -0
  220. package/vocabularies/sd.js +4 -0
  221. package/vocabularies/sdmx.d.ts +35 -0
  222. package/vocabularies/sdmx.d.ts.map +1 -0
  223. package/vocabularies/sdmx.js +4 -0
  224. package/vocabularies/sem.d.ts +89 -0
  225. package/vocabularies/sem.d.ts.map +1 -0
  226. package/vocabularies/sem.js +4 -0
  227. package/vocabularies/sf.d.ts +138 -0
  228. package/vocabularies/sf.d.ts.map +1 -0
  229. package/vocabularies/sf.js +4 -0
  230. package/vocabularies/sh.d.ts +411 -0
  231. package/vocabularies/sh.d.ts.map +1 -0
  232. package/vocabularies/sh.js +4 -0
  233. package/vocabularies/shex.d.ts +146 -0
  234. package/vocabularies/shex.d.ts.map +1 -0
  235. package/vocabularies/shex.js +4 -0
  236. package/vocabularies/sioc.d.ts +204 -0
  237. package/vocabularies/sioc.d.ts.map +1 -0
  238. package/vocabularies/sioc.js +4 -0
  239. package/vocabularies/skos.d.ts +52 -0
  240. package/vocabularies/skos.d.ts.map +1 -0
  241. package/vocabularies/skos.js +4 -0
  242. package/vocabularies/skosxl.d.ts +18 -0
  243. package/vocabularies/skosxl.d.ts.map +1 -0
  244. package/vocabularies/skosxl.js +4 -0
  245. package/vocabularies/sosa.d.ts +80 -0
  246. package/vocabularies/sosa.d.ts.map +1 -0
  247. package/vocabularies/sosa.js +4 -0
  248. package/vocabularies/sou.d.ts +26 -0
  249. package/vocabularies/sou.d.ts.map +1 -0
  250. package/vocabularies/sou.js +4 -0
  251. package/vocabularies/ssn.d.ts +50 -0
  252. package/vocabularies/ssn.d.ts.map +1 -0
  253. package/vocabularies/ssn.js +4 -0
  254. package/vocabularies/test.d.ts +41 -0
  255. package/vocabularies/test.d.ts.map +1 -0
  256. package/vocabularies/test.js +4 -0
  257. package/vocabularies/time.d.ts +214 -0
  258. package/vocabularies/time.d.ts.map +1 -0
  259. package/vocabularies/time.js +4 -0
  260. package/vocabularies/unit.d.ts +1792 -0
  261. package/vocabularies/unit.d.ts.map +1 -0
  262. package/vocabularies/unit.js +4 -0
  263. package/vocabularies/v.d.ts +8 -0
  264. package/vocabularies/v.d.ts.map +1 -0
  265. package/vocabularies/v.js +4 -0
  266. package/vocabularies/vaem.d.ts +80 -0
  267. package/vocabularies/vaem.d.ts.map +1 -0
  268. package/vocabularies/vaem.js +4 -0
  269. package/vocabularies/vann.d.ts +22 -0
  270. package/vocabularies/vann.d.ts.map +1 -0
  271. package/vocabularies/vann.js +4 -0
  272. package/vocabularies/vcard.d.ts +273 -0
  273. package/vocabularies/vcard.d.ts.map +1 -0
  274. package/vocabularies/vcard.js +4 -0
  275. package/vocabularies/void.d.ts +65 -0
  276. package/vocabularies/void.d.ts.map +1 -0
  277. package/vocabularies/void.js +4 -0
  278. package/vocabularies/vs.d.ts +14 -0
  279. package/vocabularies/vs.d.ts.map +1 -0
  280. package/vocabularies/vs.js +4 -0
  281. package/vocabularies/wdr.d.ts +8 -0
  282. package/vocabularies/wdr.d.ts.map +1 -0
  283. package/vocabularies/wdr.js +4 -0
  284. package/vocabularies/wdrs.d.ts +50 -0
  285. package/vocabularies/wdrs.d.ts.map +1 -0
  286. package/vocabularies/wdrs.js +4 -0
  287. package/vocabularies/wgs.d.ts +47 -0
  288. package/vocabularies/wgs.d.ts.map +1 -0
  289. package/vocabularies/wgs.js +4 -0
  290. package/vocabularies/xhv.d.ts +460 -0
  291. package/vocabularies/xhv.d.ts.map +1 -0
  292. package/vocabularies/xhv.js +4 -0
  293. package/vocabularies/xkos.d.ts +57 -0
  294. package/vocabularies/xkos.d.ts.map +1 -0
  295. package/vocabularies/xkos.js +4 -0
  296. package/vocabularies/xml.d.ts +8 -0
  297. package/vocabularies/xml.d.ts.map +1 -0
  298. package/vocabularies/xml.js +4 -0
  299. package/vocabularies/xsd.d.ts +423 -0
  300. package/vocabularies/xsd.d.ts.map +1 -0
  301. package/vocabularies/xsd.js +4 -0
@@ -0,0 +1,629 @@
1
+ import { NamedNode } from "@rdfjs/types";
2
+ interface Dash {
3
+ '': NamedNode<'http://datashapes.org/dash#'>;
4
+ /** The class of possible values for dash:apiStatus. */
5
+ "APIStatus": NamedNode<'http://datashapes.org/dash#APIStatus'>;
6
+ /** An executable command triggered by an agent, backed by a Script implementation. Actions may get deactivated using sh:deactivated. */
7
+ "Action": NamedNode<'http://datashapes.org/dash#Action'>;
8
+ /** Indicates that a class is "abstract" and cannot be used in asserted rdf:type triples. Only non-abstract subclasses of abstract classes should be instantiated directly. */
9
+ "abstract": NamedNode<'http://datashapes.org/dash#abstract'>;
10
+ /** A class that is also a node shape. This class can be used as rdf:type instead of the combination of rdfs:Class and sh:NodeShape. */
11
+ "ShapeClass": NamedNode<'http://datashapes.org/dash#ShapeClass'>;
12
+ /** An executable unit implemented in one or more languages such as JavaScript. */
13
+ "Script": NamedNode<'http://datashapes.org/dash#Script'>;
14
+ /** A group of ResourceActions, used to arrange items in menus etc. Similar to sh:PropertyGroups, they may have a sh:order and should have labels (in multiple languages if applicable). */
15
+ "ActionGroup": NamedNode<'http://datashapes.org/dash#ActionGroup'>;
16
+ /**
17
+ * A test case that evaluates a dash:Action using provided input parameters. Requires exactly one value for dash:action and will operate on the test case's graph (with imports) as both data and shapes graph.
18
+ *
19
+ * Currently only supports read-only actions, allowing the comparison of actual results with the expected results.
20
+ */
21
+ "ActionTestCase": NamedNode<'http://datashapes.org/dash#ActionTestCase'>;
22
+ /** A test case to verify that a (SHACL-based) feature works as expected. */
23
+ "TestCase": NamedNode<'http://datashapes.org/dash#TestCase'>;
24
+ /** A reusable instance of dash:AllObjectsTarget. */
25
+ "AllObjects": NamedNode<'http://datashapes.org/dash#AllObjects'>;
26
+ /** A target containing all objects in the data graph as focus nodes. */
27
+ "AllObjectsTarget": NamedNode<'http://datashapes.org/dash#AllObjectsTarget'>;
28
+ /** A reusable instance of dash:AllSubjectsTarget. */
29
+ "AllSubjects": NamedNode<'http://datashapes.org/dash#AllSubjects'>;
30
+ /** A target containing all subjects in the data graph as focus nodes. */
31
+ "AllSubjectsTarget": NamedNode<'http://datashapes.org/dash#AllSubjectsTarget'>;
32
+ /** An auto-complete field to enter the label of instances of a class. This is the fallback editor for any URI resource if no other editors are more suitable. */
33
+ "AutoCompleteEditor": NamedNode<'http://datashapes.org/dash#AutoCompleteEditor'>;
34
+ /** An editor for individual value nodes. */
35
+ "SingleEditor": NamedNode<'http://datashapes.org/dash#SingleEditor'>;
36
+ /** A Viewer for blank nodes, rendering as the label of the blank node. */
37
+ "BlankNodeViewer": NamedNode<'http://datashapes.org/dash#BlankNodeViewer'>;
38
+ /** A viewer for a single value. */
39
+ "SingleViewer": NamedNode<'http://datashapes.org/dash#SingleViewer'>;
40
+ /**
41
+ * An editor for boolean literals, rendering as a select box with values true and false.
42
+ *
43
+ * Also displays the current value (such as "1"^^xsd:boolean), but only allows to switch to true or false.
44
+ */
45
+ "BooleanSelectEditor": NamedNode<'http://datashapes.org/dash#BooleanSelectEditor'>;
46
+ /**
47
+ * Class of ADS scripts that are executed after edits to the data graph were made, but within the same edit.
48
+ *
49
+ * These scripts may access the current changes from the graphs with names dataset.addedGraphURI and dataset.deletedGraphURI to learn about which resource values have been added or deleted. For example query them using graph.withDataGraph(dataset.addedGraphURI, ...) or via SPARQL's GRAPH keyword.
50
+ *
51
+ * Change scripts may then perform further changes which would again become visible to other change scripts. They MUST NOT have other side effects though, because they may get executed in Preview mode, or the change may cause constraint violations and then be rejected. For side effects, after the change has been applied, use commit scripts (dash:CommitScript).
52
+ *
53
+ * Change scripts are executed by their relative sh:order, with a default value of 0. Use lower values to execute before other scripts.
54
+ */
55
+ "ChangeScript": NamedNode<'http://datashapes.org/dash#ChangeScript'>;
56
+ "ClosedByTypesConstraintComponent-closedByTypes": NamedNode<'http://datashapes.org/dash#ClosedByTypesConstraintComponent-closedByTypes'>;
57
+ /** Can be used to specify the node shape that may be applied to reified statements produced by a property shape. The property shape must have a URI resource as its sh:path. The values of this property must be node shapes. User interfaces can use this information to determine which properties to present to users when reified statements are explored or edited. Use dash:None to indicate that no reification should be permitted. */
58
+ "reifiableBy": NamedNode<'http://datashapes.org/dash#reifiableBy'>;
59
+ /** Can be used to attach sh:severity and sh:messages to individual constraints using reification. */
60
+ "ConstraintReificationShape": NamedNode<'http://datashapes.org/dash#ConstraintReificationShape'>;
61
+ "closedByTypes": NamedNode<'http://datashapes.org/dash#closedByTypes'>;
62
+ /** A constraint component that can be used to declare that focus nodes are "closed" based on their rdf:types, meaning that focus nodes may only have values for the properties that are explicitly enumerated via sh:property/sh:path in property constraints at their rdf:types and the superclasses of those. This assumes that the type classes are also shapes. */
63
+ "ClosedByTypesConstraintComponent": NamedNode<'http://datashapes.org/dash#ClosedByTypesConstraintComponent'>;
64
+ "CoExistsWithConstraintComponent-coExistsWith": NamedNode<'http://datashapes.org/dash#CoExistsWithConstraintComponent-coExistsWith'>;
65
+ /** Can be used to link a property shape with an editor, to state a preferred editing widget in user interfaces. */
66
+ "editor": NamedNode<'http://datashapes.org/dash#editor'>;
67
+ /** An editor for properties that are either defined as instances of rdf:Property or used as IRI values of sh:path. The component uses auto-complete to find these properties by their rdfs:labels or sh:names. */
68
+ "PropertyAutoCompleteEditor": NamedNode<'http://datashapes.org/dash#PropertyAutoCompleteEditor'>;
69
+ /** Can be used to link a property shape with a viewer, to state a preferred viewing widget in user interfaces. */
70
+ "viewer": NamedNode<'http://datashapes.org/dash#viewer'>;
71
+ /** A viewer for properties that renders a hyperlink using the display label or sh:name, allowing users to either navigate to the rdf:Property resource or the property shape definition. Should be used in conjunction with PropertyAutoCompleteEditor. */
72
+ "PropertyLabelViewer": NamedNode<'http://datashapes.org/dash#PropertyLabelViewer'>;
73
+ /** Specifies a property that must have a value whenever the property path has a value, and must have no value whenever the property path has no value. */
74
+ "coExistsWith": NamedNode<'http://datashapes.org/dash#coExistsWith'>;
75
+ /** A constraint component that can be used to express a constraint on property shapes so that if the property path has any value then the given property must also have a value, and vice versa. */
76
+ "CoExistsWithConstraintComponent": NamedNode<'http://datashapes.org/dash#CoExistsWithConstraintComponent'>;
77
+ /**
78
+ * Can be set to true for those constraint components where the validation does not require to visit any other triples than the shape definitions and the direct property values of the focus node mentioned in the property constraints. Examples of this include sh:minCount and sh:hasValue.
79
+ *
80
+ * Constraint components that are marked as such can be optimized by engines, e.g. they can be evaluated client-side at form submission time, without having to make a round-trip to a server, assuming the client has downloaded a complete snapshot of the resource.
81
+ *
82
+ * Any component marked with dash:staticConstraint is also a dash:localConstraint.
83
+ */
84
+ "localConstraint": NamedNode<'http://datashapes.org/dash#localConstraint'>;
85
+ /**
86
+ * Class of ADS scripts that are executed after edits to the data graph were made and have been committed.
87
+ *
88
+ * These scripts may access the changes that have just happened from the graphs with names dataset.addedGraphURI and dataset.deletedGraphURI to learn about which resource values have been added or deleted. For example query them using graph.withDataGraph(dataset.addedGraphURI, ...) or via SPARQL's GRAPH keyword.
89
+ *
90
+ * Commit scripts may then perform side effects such as updating other graphs or sending out notifications to external systems. For edits that should be made within a finishing change, use change scripts (dash:ChangeScript).
91
+ *
92
+ * Commit scripts are executed by their relative sh:order, with a default value of 0. Use lower values to execute before other scripts.
93
+ */
94
+ "CommitScript": NamedNode<'http://datashapes.org/dash#CommitScript'>;
95
+ "ConstraintReificationShape-message": NamedNode<'http://datashapes.org/dash#ConstraintReificationShape-message'>;
96
+ "singleLine": NamedNode<'http://datashapes.org/dash#singleLine'>;
97
+ /** An rdf:List that can be used in property constraints as value for sh:or to indicate that all values of a property must be either xsd:string or rdf:langString. */
98
+ "StringOrLangString": NamedNode<'http://datashapes.org/dash#StringOrLangString'>;
99
+ "ConstraintReificationShape-severity": NamedNode<'http://datashapes.org/dash#ConstraintReificationShape-severity'>;
100
+ /**
101
+ * A script that is executed when a new instance of the class associated via dash:constructor is created, e.g. from a New button. Such scripts typically declare one or more parameters that are collected from the user when the script starts. The values of these parameters can be used as named variables in the script for arbitrary purposes such as setting the URI or initializing some property values of the new instance.
102
+ *
103
+ * The variable focusNode will hold the named node of the selected type, for example when a constructor is associated with a superclass but the user has pressed New for a subclass.
104
+ *
105
+ * The last expression of the script will be used as result of the constructor, so that the surrounding tool knows which resource shall be navigated to next.
106
+ */
107
+ "Constructor": NamedNode<'http://datashapes.org/dash#Constructor'>;
108
+ /** An rdf:List that can be used in property constraints as value for sh:or to indicate that all values of a property must be either xsd:date or xsd:dateTime. */
109
+ "DateOrDateTime": NamedNode<'http://datashapes.org/dash#DateOrDateTime'>;
110
+ /** An editor for xsd:date literals, offering a calendar-like date picker. */
111
+ "DatePickerEditor": NamedNode<'http://datashapes.org/dash#DatePickerEditor'>;
112
+ /** An editor for xsd:dateTime literals, offering a calendar-like date picker and a time selector. */
113
+ "DateTimePickerEditor": NamedNode<'http://datashapes.org/dash#DateTimePickerEditor'>;
114
+ /** Depiction properties provide images representing the focus nodes. Typical examples may be a photo of an animal or the map of a country. */
115
+ "DepictionRole": NamedNode<'http://datashapes.org/dash#DepictionRole'>;
116
+ /** The class of roles that a property (shape) may take for its focus nodes. */
117
+ "PropertyRole": NamedNode<'http://datashapes.org/dash#PropertyRole'>;
118
+ /** Features that have been marked deprecated will remain in the API but should no longer be used by new code and may get deleted in the foreseeable future (e.g., with the next major release). */
119
+ "Deprecated": NamedNode<'http://datashapes.org/dash#Deprecated'>;
120
+ /** Description properties should produce text literals that may be used as an introduction/summary of what a focus node does. */
121
+ "DescriptionRole": NamedNode<'http://datashapes.org/dash#DescriptionRole'>;
122
+ /** An editor for non-literal values, typically displaying a nested form where the values of the linked resource can be edited directly on the "parent" form. Implementations that do not support this (yet) could fall back to an auto-complete widget. */
123
+ "DetailsEditor": NamedNode<'http://datashapes.org/dash#DetailsEditor'>;
124
+ /** A Viewer for resources that shows the details of the value using its default view shape as a nested form-like display. */
125
+ "DetailsViewer": NamedNode<'http://datashapes.org/dash#DetailsViewer'>;
126
+ /** The class of widgets for editing value nodes. */
127
+ "Editor": NamedNode<'http://datashapes.org/dash#Editor'>;
128
+ /** Base class of user interface components that can be used to display or edit value nodes. */
129
+ "Widget": NamedNode<'http://datashapes.org/dash#Widget'>;
130
+ /** A drop-down editor for enumerated values (typically based on sh:in lists). */
131
+ "EnumSelectEditor": NamedNode<'http://datashapes.org/dash#EnumSelectEditor'>;
132
+ /** Features that are marked experimental can be used by early adopters but there is no guarantee that they will reach stable state. */
133
+ "Experimental": NamedNode<'http://datashapes.org/dash#Experimental'>;
134
+ /** An action typically showing up in an Explore section of a selected resource. Cannot make changes to the data. */
135
+ "ExploreAction": NamedNode<'http://datashapes.org/dash#ExploreAction'>;
136
+ /** An Action that can be executed for a selected resource. Such Actions show up in context menus once they have been assigned a sh:group. */
137
+ "ResourceAction": NamedNode<'http://datashapes.org/dash#ResourceAction'>;
138
+ /** A result representing a validation failure such as an unsupported recursion. */
139
+ "FailureResult": NamedNode<'http://datashapes.org/dash#FailureResult'>;
140
+ /** Represents a failure of a test case. */
141
+ "FailureTestCaseResult": NamedNode<'http://datashapes.org/dash#FailureTestCaseResult'>;
142
+ /** Base class for results produced by running test cases. */
143
+ "TestCaseResult": NamedNode<'http://datashapes.org/dash#TestCaseResult'>;
144
+ /** A test case that verifies that a given SPARQL expression produces a given, expected result. */
145
+ "FunctionTestCase": NamedNode<'http://datashapes.org/dash#FunctionTestCase'>;
146
+ /** A service that does not apply to a specific resource (as ResourceService does) but operates on the whole graph. The focusNode variable will be the URI of the current base graph (e.g. <urn:x-evn-master:geo> as a NamedNode. */
147
+ "GraphService": NamedNode<'http://datashapes.org/dash#GraphService'>;
148
+ /** A script that gets exposed as a web service, e.g. /tbl/service/ex/MyService */
149
+ "Service": NamedNode<'http://datashapes.org/dash#Service'>;
150
+ /** A test case that can be used to verify that an RDF file could be loaded (from a file) and that the resulting RDF graph is equivalent to a given TTL file. */
151
+ "GraphStoreTestCase": NamedNode<'http://datashapes.org/dash#GraphStoreTestCase'>;
152
+ /** A suggestion consisting of added and/or deleted triples, represented as rdf:Statements via dash:addedTriple and dash:deletedTriple. */
153
+ "GraphUpdate": NamedNode<'http://datashapes.org/dash#GraphUpdate'>;
154
+ /** Base class of suggestions that modify a graph to "fix" the source of a validation result. */
155
+ "Suggestion": NamedNode<'http://datashapes.org/dash#Suggestion'>;
156
+ /** A test case that performs SHACL constraint validation on the whole graph and compares the results with the expected validation results stored with the test case. By default this excludes meta-validation (i.e. the validation of the shape definitions themselves). If that's desired, set dash:validateShapes to true. */
157
+ "GraphValidationTestCase": NamedNode<'http://datashapes.org/dash#GraphValidationTestCase'>;
158
+ /** Abstract superclass for test cases concerning SHACL constraint validation. Future versions may add new kinds of validatin test cases, e.g. to validate a single resource only. */
159
+ "ValidationTestCase": NamedNode<'http://datashapes.org/dash#ValidationTestCase'>;
160
+ /** An rdf:List that can be used in property constraints as value for sh:or to indicate that all values of a property must be either rdf:HTML, xsd:string or rdf:langString (in that order of preference). */
161
+ "HTMLOrStringOrLangString": NamedNode<'http://datashapes.org/dash#HTMLOrStringOrLangString'>;
162
+ /** A Viewer for HTML encoded text from rdf:HTML literals, rendering as parsed HTML DOM elements. Also displays the language if the HTML has a lang attribute on its root DOM element. */
163
+ "HTMLViewer": NamedNode<'http://datashapes.org/dash#HTMLViewer'>;
164
+ "HasValueInConstraintComponent-hasValueIn": NamedNode<'http://datashapes.org/dash#HasValueInConstraintComponent-hasValueIn'>;
165
+ /**
166
+ * Defines constraints on what it means for a node to be a well-formed RDF list.
167
+ *
168
+ * The focus node must either be rdf:nil or not recursive. Furthermore, this shape uses dash:ListNodeShape as a "helper" to walk through all members of the whole list (including itself).
169
+ */
170
+ "ListShape": NamedNode<'http://datashapes.org/dash#ListShape'>;
171
+ /** Specifies a constraint that at least one of the value nodes must be a member of the given list. */
172
+ "hasValueIn": NamedNode<'http://datashapes.org/dash#hasValueIn'>;
173
+ /** A constraint component that can be used to express a constraint on property shapes so that one of the values of the property path must be a member of a given list of nodes. */
174
+ "HasValueInConstraintComponent": NamedNode<'http://datashapes.org/dash#HasValueInConstraintComponent'>;
175
+ /** A target type for all subjects where a given predicate has a certain object value. */
176
+ "HasValueTarget": NamedNode<'http://datashapes.org/dash#HasValueTarget'>;
177
+ "HasValueWithClassConstraintComponent-hasValueWithClass": NamedNode<'http://datashapes.org/dash#HasValueWithClassConstraintComponent-hasValueWithClass'>;
178
+ /** Specifies a constraint that at least one of the value nodes must be an instance of a given class. */
179
+ "hasValueWithClass": NamedNode<'http://datashapes.org/dash#hasValueWithClass'>;
180
+ /** A constraint component that can be used to express a constraint on property shapes so that one of the values of the property path must be an instance of a given class. */
181
+ "HasValueWithClassConstraintComponent": NamedNode<'http://datashapes.org/dash#HasValueWithClassConstraintComponent'>;
182
+ /**
183
+ * A Viewer for literals, rendering as a hyperlink to a URL.
184
+ *
185
+ * For literals it assumes the lexical form is the URL.
186
+ *
187
+ * This is often used as default viewer for xsd:anyURI literals. Unsupported for blank nodes.
188
+ */
189
+ "HyperlinkViewer": NamedNode<'http://datashapes.org/dash#HyperlinkViewer'>;
190
+ /** ID properties are short strings or other literals that identify the focus node among siblings. Examples may include social security numbers. */
191
+ "IDRole": NamedNode<'http://datashapes.org/dash#IDRole'>;
192
+ /**
193
+ * Icon properties produce images that are typically small and almost square-shaped, and that may be displayed in the upper left corner of a focus node's display. Values should be xsd:string or xsd:anyURI literals or IRI nodes pointing at URLs. Those URLs should ideally be vector graphics such as .svg files.
194
+ *
195
+ * Instances of the same class often have the same icon, and this icon may be computed using a sh:values rule or as sh:defaultValue.
196
+ *
197
+ * If the value is a relative URL then those should be resolved against the server that delivered the surrounding page.
198
+ */
199
+ "IconRole": NamedNode<'http://datashapes.org/dash#IconRole'>;
200
+ /** A Viewer for URI values that are recognized as images by a browser, rendering as an image. */
201
+ "ImageViewer": NamedNode<'http://datashapes.org/dash#ImageViewer'>;
202
+ /**
203
+ * The code associated with instances of this class will get injected into the generated APIs, as global code snippets. Typically used to declare libraries of utility functions or constants that are (compared to shape scripts) not necessarily associated with specific classes or shapes.
204
+ *
205
+ * Note that the JavaScript code stored in dash:js cannot use the export keyword because the code must also work in external scripts (such as on Node.js). Instead, you need to enumerate the exported symbols via dash:exports.
206
+ */
207
+ "IncludedScript": NamedNode<'http://datashapes.org/dash#IncludedScript'>;
208
+ "IndexedConstraintComponent-indexed": NamedNode<'http://datashapes.org/dash#IndexedConstraintComponent-indexed'>;
209
+ "indexed": NamedNode<'http://datashapes.org/dash#indexed'>;
210
+ /** A constraint component that can be used to mark property shapes to be indexed, meaning that each of its value nodes must carry a dash:index from 0 to N. */
211
+ "IndexedConstraintComponent": NamedNode<'http://datashapes.org/dash#IndexedConstraintComponent'>;
212
+ /** A test case to verify whether an inferencing engine is producing identical results to those stored as expected results. */
213
+ "InferencingTestCase": NamedNode<'http://datashapes.org/dash#InferencingTestCase'>;
214
+ /** A multi-viewer that renders all values horizontally, in a more compact form that just a single value per row. */
215
+ "InlineViewer": NamedNode<'http://datashapes.org/dash#InlineViewer'>;
216
+ /** A viewer for multiple/all values at once. */
217
+ "MultiViewer": NamedNode<'http://datashapes.org/dash#MultiViewer'>;
218
+ /** A drop-down editor for all instances of the target class (based on sh:class of the property). */
219
+ "InstancesSelectEditor": NamedNode<'http://datashapes.org/dash#InstancesSelectEditor'>;
220
+ /**
221
+ * A tabular viewer for rdf:JSON literals with a lexical form in the following format:
222
+ *
223
+ * {
224
+ * vars: [ 'col1', 'col2' ], // These are the column keys
225
+ * headerLabels: [ 'Column 1', 'Column 2' ], // Optional, for the column headers
226
+ * bindings: [ // These become the rows
227
+ * {
228
+ * col1: {
229
+ * lex: 'Value2',
230
+ * datatype: '...#string',
231
+ * },
232
+ * col2: {
233
+ * uri: 'http://.../Instance',
234
+ * label: 'Example Instance',
235
+ * },
236
+ * },
237
+ * ...
238
+ * ],
239
+ * }
240
+ *
241
+ * The resulting table will use the headerLabels (if they exist) as column headers, otherwise derive the headers from the variable names. The vars must match the fields in the bindings. The table will contain one row for each binding.
242
+ *
243
+ * Using Active Data Shapes, you can construct such literals dynamically using a sh:values rule, e.g.
244
+ *
245
+ * ex:MyClass-myProperty
246
+ * a sh:PropertyShape ;
247
+ * sh:path ex:myProperty ;
248
+ * sh:values [
249
+ * dash:js """
250
+ * DataViewers.createTableViewerJSON(focusNode.select(`
251
+ * SELECT ?col1 ?col2
252
+ * WHERE {
253
+ * $this ex:prop1 ?col1 .
254
+ * $this ex:prop2 ?col2 .
255
+ * }
256
+ * `))"""
257
+ * ] .
258
+ *
259
+ * You may also produce the JSON literal programmatically in JavaScript, or assert the triples by other means.
260
+ */
261
+ "JSONTableViewer": NamedNode<'http://datashapes.org/dash#JSONTableViewer'>;
262
+ /** The Key info role may be assigned to properties that are likely of special interest to a reader, so that they should appear whenever a summary of a focus node is shown. */
263
+ "KeyInfoRole": NamedNode<'http://datashapes.org/dash#KeyInfoRole'>;
264
+ /** Properties with this role produce strings that may serve as display label for the focus nodes. Labels should be either plain string literals or strings with a language tag. The values should also be single-line. */
265
+ "LabelRole": NamedNode<'http://datashapes.org/dash#LabelRole'>;
266
+ /** A Viewer for URI resources, rendering as a hyperlink to that URI based on the display label of the resource. Also includes other ways of interacting with the URI such as opening a nested summary display. */
267
+ "LabelViewer": NamedNode<'http://datashapes.org/dash#LabelViewer'>;
268
+ /** A Viewer for literals with a language tag, rendering as the text plus a language indicator. */
269
+ "LangStringViewer": NamedNode<'http://datashapes.org/dash#LangStringViewer'>;
270
+ /** Defines constraints on what it means for a node to be a node within a well-formed RDF list. Note that this does not check whether the rdf:rest items are also well-formed lists as this would lead to unsupported recursion. */
271
+ "ListNodeShape": NamedNode<'http://datashapes.org/dash#ListNodeShape'>;
272
+ /** A simple viewer for literals, rendering the lexical form of the value. */
273
+ "LiteralViewer": NamedNode<'http://datashapes.org/dash#LiteralViewer'>;
274
+ /** An action typically showing up in a Modify section of a selected resource. May make changes to the data. */
275
+ "ModifyAction": NamedNode<'http://datashapes.org/dash#ModifyAction'>;
276
+ /** An editor for multiple/all value nodes at once. */
277
+ "MultiEditor": NamedNode<'http://datashapes.org/dash#MultiEditor'>;
278
+ /**
279
+ * A multi-function is a function that can return zero or more result objects consisting of one or more result variables. While normal (SPARQL/SHACL) functions can only return a single result node, multi-functions may not only return multiple nodes but even multiple individual variables per solution.
280
+ *
281
+ * A common way of defining multi-functions is by wrapping a SPARQL SELECT query, using dash:SPARQLMultiFunction. However, some MultiFunctions (in TopBraid) may also be implemented natively.
282
+ */
283
+ "MultiFunction": NamedNode<'http://datashapes.org/dash#MultiFunction'>;
284
+ /** The class of widgets for viewing value nodes. */
285
+ "Viewer": NamedNode<'http://datashapes.org/dash#Viewer'>;
286
+ /** An "editor" that simply informs the user that the values cannot be edited here, but for example through source code editing. */
287
+ "NoSuitableEditor": NamedNode<'http://datashapes.org/dash#NoSuitableEditor'>;
288
+ /** A viewer for SHACL Node Expressions. */
289
+ "NodeExpressionViewer": NamedNode<'http://datashapes.org/dash#NodeExpressionViewer'>;
290
+ "NonRecursiveConstraintComponent-nonRecursive": NamedNode<'http://datashapes.org/dash#NonRecursiveConstraintComponent-nonRecursive'>;
291
+ /** Used to state that a property or path must not point back to itself. */
292
+ "NonRecursiveConstraintComponent": NamedNode<'http://datashapes.org/dash#NonRecursiveConstraintComponent'>;
293
+ /** A Shape that is no node can conform to. */
294
+ "None": NamedNode<'http://datashapes.org/dash#None'>;
295
+ "ParameterConstraintComponent-parameter": NamedNode<'http://datashapes.org/dash#ParameterConstraintComponent-parameter'>;
296
+ /** A constraint component that can be used to verify that all value nodes conform to the given Parameter. */
297
+ "ParameterConstraintComponent": NamedNode<'http://datashapes.org/dash#ParameterConstraintComponent'>;
298
+ "PrimaryKeyConstraintComponent-uriStart": NamedNode<'http://datashapes.org/dash#PrimaryKeyConstraintComponent-uriStart'>;
299
+ /** Enforces a constraint that the given property (sh:path) serves as primary key for all resources in the target of the shape. If a property has been declared to be the primary key then each resource must have exactly one value for that property. Furthermore, the URIs of those resources must start with a given string (dash:uriStart), followed by the URL-encoded primary key value. For example if dash:uriStart is "http://example.org/country-" and the primary key for an instance is "de" then the URI must be "http://example.org/country-de". Finally, as a result of the URI policy, there can not be any other resource with the same value under the same primary key policy. */
300
+ "PrimaryKeyConstraintComponent": NamedNode<'http://datashapes.org/dash#PrimaryKeyConstraintComponent'>;
301
+ /** A test case running a given SPARQL SELECT query and comparing its results with those stored as JSON Result Set in the expected result property. */
302
+ "QueryTestCase": NamedNode<'http://datashapes.org/dash#QueryTestCase'>;
303
+ "ReifiableByConstraintComponent-reifiableBy": NamedNode<'http://datashapes.org/dash#ReifiableByConstraintComponent-reifiableBy'>;
304
+ "ReifiableByConstraintComponent": NamedNode<'http://datashapes.org/dash#ReifiableByConstraintComponent'>;
305
+ /** A Service that can (and must) be applied to a given resource as focus node. Use dash:resourceService to link a class to the services that apply to its instances. */
306
+ "ResourceService": NamedNode<'http://datashapes.org/dash#ResourceService'>;
307
+ /** A rich text editor to enter the lexical value of a literal and a drop down to select language. The selected language is stored in the HTML lang attribute of the root node in the HTML DOM tree. */
308
+ "RichTextEditor": NamedNode<'http://datashapes.org/dash#RichTextEditor'>;
309
+ "RootClassConstraintComponent-rootClass": NamedNode<'http://datashapes.org/dash#RootClassConstraintComponent-rootClass'>;
310
+ "rootClass": NamedNode<'http://datashapes.org/dash#rootClass'>;
311
+ /** A constraint component defining the parameter dash:rootClass, which restricts the values to be either the root class itself or one of its subclasses. This is typically used in conjunction with properties that have rdfs:Class as their type. */
312
+ "RootClassConstraintComponent": NamedNode<'http://datashapes.org/dash#RootClassConstraintComponent'>;
313
+ "hasRootClass": NamedNode<'http://datashapes.org/dash#hasRootClass'>;
314
+ /** Encapsulates one or more SPARQL CONSTRUCT queries that can be parameterized. Parameters will become pre-bound variables in the queries. */
315
+ "SPARQLConstructTemplate": NamedNode<'http://datashapes.org/dash#SPARQLConstructTemplate'>;
316
+ /** A multi-function based on a SPARQL SELECT query. The query gets executed with the arguments pre-bound to the variables declared as parameters. The results of the multi-function are all result bindings from the SPARQL result set. */
317
+ "SPARQLMultiFunction": NamedNode<'http://datashapes.org/dash#SPARQLMultiFunction'>;
318
+ /** Encapsulates a SPARQL SELECT query that can be parameterized. Parameters will become pre-bound variables in the query. */
319
+ "SPARQLSelectTemplate": NamedNode<'http://datashapes.org/dash#SPARQLSelectTemplate'>;
320
+ /**
321
+ * A SuggestionGenerator based on a SPARQL UPDATE query (sh:update), producing an instance of dash:GraphUpdate. The INSERTs become dash:addedTriple and the DELETEs become dash:deletedTriple. The WHERE clause operates on the data graph with the pre-bound variables $focusNode, $predicate and $value, as well as the other pre-bound variables for the parameters of the constraint.
322
+ *
323
+ * In many cases, there may be multiple possible suggestions to fix a problem. For example, with sh:maxLength there are many ways to slice a string. In those cases, the system will first iterate through the result variables from a SELECT query (sh:select) and apply these results as pre-bound variables into the UPDATE query.
324
+ */
325
+ "SPARQLUpdateSuggestionGenerator": NamedNode<'http://datashapes.org/dash#SPARQLUpdateSuggestionGenerator'>;
326
+ /** Base class of objects that can generate suggestions (added or deleted triples) for a validation result of a given constraint component. */
327
+ "SuggestionGenerator": NamedNode<'http://datashapes.org/dash#SuggestionGenerator'>;
328
+ "ScriptAPIGenerationRules": NamedNode<'http://datashapes.org/dash#ScriptAPIGenerationRules'>;
329
+ "ScriptAPIShape-generateClass": NamedNode<'http://datashapes.org/dash#ScriptAPIShape-generateClass'>;
330
+ "ScriptAPIShape-generatePrefixClasses": NamedNode<'http://datashapes.org/dash#ScriptAPIShape-generatePrefixClasses'>;
331
+ "ScriptAPIShape-generatePrefixConstants": NamedNode<'http://datashapes.org/dash#ScriptAPIShape-generatePrefixConstants'>;
332
+ /** Defines the properties that instruct the ADS Script API generator about what prefixes, constants and classes to generate. */
333
+ "ScriptAPIShape": NamedNode<'http://datashapes.org/dash#ScriptAPIShape'>;
334
+ /**
335
+ * The class of constraints that are based on Scripts. Depending on whether dash:onAllValues is set to true, these scripts can access the following pre-assigned variables:
336
+ *
337
+ * - focusNode: the focus node of the constraint (a NamedNode)
338
+ * - if dash:onAllValues is not true: value: the current value node (e.g. a JavaScript string for xsd:string literals, a number for numeric literals or true or false for xsd:boolean literals. All other literals become LiteralNodes, and non-literals become instances of NamedNode)
339
+ * - if dash:onAllValues is true: values: an array of current value nodes, as above.
340
+ *
341
+ * If the expression returns an array then each array member will be mapped to one validation result, following the mapping rules below.
342
+ *
343
+ * For string results, a validation result will use the string as sh:resultMessage.
344
+ * For boolean results, a validation result will be produced if the result is false (true means no violation).
345
+ *
346
+ * For object results, a validation result will be produced using the value of the field "message" of the object as result message. If the field "value" has a value then this will become the sh:value in the violation.
347
+ *
348
+ * Unless another sh:message has been directly returned, the sh:message of the dash:ScriptConstraint will be used, similar to sh:message at SPARQL Constraints. These sh:messages can access the values {$focusNode}, {$value} etc as template variables.
349
+ */
350
+ "ScriptConstraint": NamedNode<'http://datashapes.org/dash#ScriptConstraint'>;
351
+ "ScriptConstraintComponent-scriptConstraint": NamedNode<'http://datashapes.org/dash#ScriptConstraintComponent-scriptConstraint'>;
352
+ "ScriptConstraintComponent": NamedNode<'http://datashapes.org/dash#ScriptConstraintComponent'>;
353
+ /**
354
+ * Script functions can be used from SPARQL queries and will be injected into the generated prefix object (in JavaScript, for ADS scripts). The dash:js will be inserted into a generated JavaScript function and therefore needs to use the return keyword to produce results. These JS snippets can access the parameter values based on the local name of the sh:Parameter's path. For example ex:value can be accessed using value.
355
+ *
356
+ * SPARQL use note: Since these functions may be used from any data graph and any shapes graph, they must not rely on any API apart from what's available in the shapes graph that holds the rdf:type triple of the function itself. In other words, at execution time from SPARQL, the ADS shapes graph will be the home graph of the function's declaration.
357
+ */
358
+ "ScriptFunction": NamedNode<'http://datashapes.org/dash#ScriptFunction'>;
359
+ /**
360
+ * A Suggestion Generator that is backed by an Active Data Shapes script. The script needs to return a JSON object or an array of JSON objects if it shall generate multiple suggestions. It may also return null to indicate that nothing was suggested. Note that the whole script is evaluated as a (JavaScript) expression, and those will use the last value as result. So simply putting an object at the end of your script should do. Alternatively, define the bulk of the operation as a function and simply call that function in the script.
361
+ *
362
+ * Each response object can have the following fields:
363
+ *
364
+ * {
365
+ * message: "The human readable message", // Defaults to the rdfs:label(s) of the suggestion generator
366
+ * add: [ // An array of triples to add, each triple as an array with three nodes
367
+ * [ subject, predicate, object ],
368
+ * [ ... ]
369
+ * ],
370
+ * delete: [
371
+ * ... like add, for the triples to delete
372
+ * ]
373
+ * }
374
+ *
375
+ * Suggestions with neither added nor deleted triples will be discarded.
376
+ *
377
+ * At execution time, the script operates on the data graph as the active graph, with the following pre-bound variables:
378
+ * - focusNode: the NamedNode that is the sh:focusNode of the validation result
379
+ * - predicate: the NamedNode representing the predicate of the validation result, assuming sh:resultPath is a URI
380
+ * - value: the value node from the validation result's sh:value, cast into the most suitable JS object
381
+ * - the other pre-bound variables for the parameters of the constraint, e.g. in a sh:maxCount constraint it would be maxCount
382
+ *
383
+ * The script will be executed in read-only mode, i.e. it cannot modify the graph.
384
+ *
385
+ * Example with dash:js:
386
+ *
387
+ * ({
388
+ * message: `Copy labels into ${graph.localName(predicate)}`,
389
+ * add: focusNode.values(rdfs.label).map(label =>
390
+ * [ focusNode, predicate, label ]
391
+ * )
392
+ * })
393
+ */
394
+ "ScriptSuggestionGenerator": NamedNode<'http://datashapes.org/dash#ScriptSuggestionGenerator'>;
395
+ /**
396
+ * A test case that evaluates a script. Requires exactly one value for dash:js and will operate on the test case's graph (with imports) as both data and shapes graph.
397
+ *
398
+ * Supports read-only scripts only at this stage.
399
+ */
400
+ "ScriptTestCase": NamedNode<'http://datashapes.org/dash#ScriptTestCase'>;
401
+ /**
402
+ * A SHACL validator based on an Active Data Shapes script.
403
+ *
404
+ * See the comment at dash:ScriptConstraint for the basic evaluation approach. Note that in addition to focusNode and value/values, the script can access pre-bound variables for each declared argument of the constraint component.
405
+ */
406
+ "ScriptValidator": NamedNode<'http://datashapes.org/dash#ScriptValidator'>;
407
+ /** Properties marked as hidden do not appear in user interfaces, yet remain part of the shape for other purposes such as validation and scripting or GraphQL schema generation. */
408
+ "hidden": NamedNode<'http://datashapes.org/dash#hidden'>;
409
+ /** A shape script contains extra code that gets injected into the API for the associated node shape. In particular you can use this to define additional functions that operate on the current focus node (the this variable in JavaScript). */
410
+ "ShapeScript": NamedNode<'http://datashapes.org/dash#ShapeScript'>;
411
+ "SingleLineConstraintComponent-singleLine": NamedNode<'http://datashapes.org/dash#SingleLineConstraintComponent-singleLine'>;
412
+ /**
413
+ * A constraint component that can be used to declare that all values that are literals must have a lexical form that contains no line breaks ('\n' or '\r').
414
+ *
415
+ * User interfaces may use the dash:singleLine flag to prefer a text field over a (multi-line) text area.
416
+ */
417
+ "SingleLineConstraintComponent": NamedNode<'http://datashapes.org/dash#SingleLineConstraintComponent'>;
418
+ /** Features that have been marked stable are deemed of good quality and can be used until marked deprecated. */
419
+ "Stable": NamedNode<'http://datashapes.org/dash#Stable'>;
420
+ "StemConstraintComponent-stem": NamedNode<'http://datashapes.org/dash#StemConstraintComponent-stem'>;
421
+ /** Specifies a string value that the IRI of the value nodes must start with. */
422
+ "stem": NamedNode<'http://datashapes.org/dash#stem'>;
423
+ /** A constraint component that can be used to verify that every value node is an IRI and the IRI starts with a given string value. */
424
+ "StemConstraintComponent": NamedNode<'http://datashapes.org/dash#StemConstraintComponent'>;
425
+ /**
426
+ * Can be set to true for those constraint components where the validation does not require to visit any other triples than the parameters. Examples of this include sh:datatype or sh:nodeKind, where no further triples need to be queried to determine the result.
427
+ *
428
+ * Constraint components that are marked as such can be optimized by engines, e.g. they can be evaluated client-side at form submission time, without having to make a round-trip to a server.
429
+ */
430
+ "staticConstraint": NamedNode<'http://datashapes.org/dash#staticConstraint'>;
431
+ /** Checks whether a given node is an IRI starting with a given stem. */
432
+ "hasStem": NamedNode<'http://datashapes.org/dash#hasStem'>;
433
+ /** An rdf:List that can be used in property constraints as value for sh:or to indicate that all values of a property must be either xsd:string, rdf:langString or rdf:HTML (in that order of preference). */
434
+ "StringOrLangStringOrHTML": NamedNode<'http://datashapes.org/dash#StringOrLangStringOrHTML'>;
435
+ /** An editor for properties that declare a dash:rootClass. The editor allows selecting either the class itself or one of its subclasses. */
436
+ "SubClassEditor": NamedNode<'http://datashapes.org/dash#SubClassEditor'>;
437
+ "SubSetOfConstraintComponent-subSetOf": NamedNode<'http://datashapes.org/dash#SubSetOfConstraintComponent-subSetOf'>;
438
+ "subSetOf": NamedNode<'http://datashapes.org/dash#subSetOf'>;
439
+ /** A constraint component that can be used to state that the set of value nodes must be a subset of the value of a given property. */
440
+ "SubSetOfConstraintComponent": NamedNode<'http://datashapes.org/dash#SubSetOfConstraintComponent'>;
441
+ /** A result representing a successfully validated constraint. */
442
+ "SuccessResult": NamedNode<'http://datashapes.org/dash#SuccessResult'>;
443
+ /** Represents a successful run of a test case. */
444
+ "SuccessTestCaseResult": NamedNode<'http://datashapes.org/dash#SuccessTestCaseResult'>;
445
+ /** Class of results that have been produced as suggestions, not through SHACL validation. How the actual results are produced is up to implementers. Each instance of this class should have values for sh:focusNode, sh:resultMessage, sh:resultSeverity (suggested default: sh:Info), and dash:suggestion to point at one or more suggestions. */
446
+ "SuggestionResult": NamedNode<'http://datashapes.org/dash#SuggestionResult'>;
447
+ "SymmetricConstraintComponent-symmetric": NamedNode<'http://datashapes.org/dash#SymmetricConstraintComponent-symmetric'>;
448
+ /** True to declare that the associated property path is symmetric. */
449
+ "symmetric": NamedNode<'http://datashapes.org/dash#symmetric'>;
450
+ /** A contraint component for property shapes to validate that a property is symmetric. For symmetric properties, if A relates to B then B must relate to A. */
451
+ "SymmetricConstraintComponent": NamedNode<'http://datashapes.org/dash#SymmetricConstraintComponent'>;
452
+ /** Abstract base class for test environments, holding information on how to set up a test case. */
453
+ "TestEnvironment": NamedNode<'http://datashapes.org/dash#TestEnvironment'>;
454
+ /** A multi-line text area to enter the value of a literal. */
455
+ "TextAreaEditor": NamedNode<'http://datashapes.org/dash#TextAreaEditor'>;
456
+ /** A multi-line text area to enter the value of a literal and a drop down to select a language. */
457
+ "TextAreaWithLangEditor": NamedNode<'http://datashapes.org/dash#TextAreaWithLangEditor'>;
458
+ /**
459
+ * A simple input field to enter the value of a literal, without the ability to change language or datatype.
460
+ *
461
+ * This is the fallback editor for any literal if no other editors are more suitable.
462
+ */
463
+ "TextFieldEditor": NamedNode<'http://datashapes.org/dash#TextFieldEditor'>;
464
+ /** A single-line input field to enter the value of a literal and a drop down to select language, which is mandatory unless xsd:string is among the permissible datatypes. */
465
+ "TextFieldWithLangEditor": NamedNode<'http://datashapes.org/dash#TextFieldWithLangEditor'>;
466
+ /** An input field to enter the URI of a resource, e.g. rdfs:seeAlso links or images. */
467
+ "URIEditor": NamedNode<'http://datashapes.org/dash#URIEditor'>;
468
+ /** A Viewer for URI resources, rendering as a hyperlink to that URI. Also includes other ways of interacting with the URI such as opening a nested summary display. */
469
+ "URIViewer": NamedNode<'http://datashapes.org/dash#URIViewer'>;
470
+ "UniqueValueForClassConstraintComponent-uniqueValueForClass": NamedNode<'http://datashapes.org/dash#UniqueValueForClassConstraintComponent-uniqueValueForClass'>;
471
+ "uniqueValueForClass": NamedNode<'http://datashapes.org/dash#uniqueValueForClass'>;
472
+ /** A constraint component that can be used to state that the values of a property must be unique for all instances of a given class (and its subclasses). */
473
+ "UniqueValueForClassConstraintComponent": NamedNode<'http://datashapes.org/dash#UniqueValueForClassConstraintComponent'>;
474
+ /** A Viewer for HTML content from untrusted sources. This viewer will sanitize the HTML before rendering. Any a, button, checkbox, form, hidden, input, img, script, select, style and textarea tags and class and style attributes will be removed. */
475
+ "UntrustedHTMLViewer": NamedNode<'http://datashapes.org/dash#UntrustedHTMLViewer'>;
476
+ /** A viewer that renders all values of a given property as a table, with one value per row, and the columns defined by the shape that is the sh:node or sh:class of the property. */
477
+ "ValueTableViewer": NamedNode<'http://datashapes.org/dash#ValueTableViewer'>;
478
+ /** Links an Action with the ActionGroup that it should be arranged in. */
479
+ "actionGroup": NamedNode<'http://datashapes.org/dash#actionGroup'>;
480
+ /** The (CSS) class of an Action for display purposes alongside the label. */
481
+ "actionIconClass": NamedNode<'http://datashapes.org/dash#actionIconClass'>;
482
+ /** May link a dash:GraphUpdate with one or more triples (represented as instances of rdf:Statement) that should be added to fix the source of the result. */
483
+ "addedTriple": NamedNode<'http://datashapes.org/dash#addedTriple'>;
484
+ /** Represents all users/roles, for example as a possible value of the default view for role property. */
485
+ "all": NamedNode<'http://datashapes.org/dash#all'>;
486
+ /** Defines how and whether the associated feature is part of an external API. APIs may be implemented as (REST) web services, via GraphQL or ADS Script APIs. */
487
+ "apiStatus": NamedNode<'http://datashapes.org/dash#apiStatus'>;
488
+ /** Can be used to state that a shape is applicable to instances of a given class. This is a softer statement than "target class": a target means that all instances of the class must conform to the shape. Being applicable to simply means that the shape may apply to (some) instances of the class. This information can be used by algorithms or humans. */
489
+ "applicableToClass": NamedNode<'http://datashapes.org/dash#applicableToClass'>;
490
+ /** If set to true then the results of the SHACL function can be cached in between invocations with the same arguments. In other words, they are stateless and do not depend on triples in any graph, or the current time stamp etc. */
491
+ "cachable": NamedNode<'http://datashapes.org/dash#cachable'>;
492
+ /** Can be used to indicate that a property/path represented by a property constraint represents a composite relationship. In a composite relationship, the life cycle of a "child" object (value of the property/path) depends on the "parent" object (focus node). If the parent gets deleted, then the child objects should be deleted, too. Tools may use dash:composite (if set to true) to implement cascading delete operations. */
493
+ "composite": NamedNode<'http://datashapes.org/dash#composite'>;
494
+ /** Used to mark certain parameterizables as context-free, meaning that the outcome of a process does not depend on the currently active query graph. */
495
+ "contextFree": NamedNode<'http://datashapes.org/dash#contextFree'>;
496
+ /** Can be used to annotate a graph (usually the owl:Ontology) with the default language that tools should suggest for new literal values. For example, predominantly English graphs should have "en" as default language. */
497
+ "defaultLang": NamedNode<'http://datashapes.org/dash#defaultLang'>;
498
+ /** Links a node shape with the roles for which it shall be used as default view. User interfaces can use these values to select how to present a given RDF resource. The values of this property are URIs representing a group of users or agents. There is a dedicated URI dash:all representing all users. */
499
+ "defaultViewForRole": NamedNode<'http://datashapes.org/dash#defaultViewForRole'>;
500
+ /** May link a dash:GraphUpdate result with one or more triples (represented as instances of rdf:Statement) that should be deleted to fix the source of the result. */
501
+ "deletedTriple": NamedNode<'http://datashapes.org/dash#deletedTriple'>;
502
+ /** Can be used in dash:js node expressions to enumerate the predicates that the computation of the values may depend on. This can be used by clients to determine whether an edit requires re-computation of values on a form or elsewhere. For example, if the dash:js is something like "focusNode.firstName + focusNode.lastName" then the dependency predicates should be ex:firstName and ex:lastName. */
503
+ "dependencyPredicate": NamedNode<'http://datashapes.org/dash#dependencyPredicate'>;
504
+ /**
505
+ * Can be used to link a SHACL property shape with the URL of a SPARQL endpoint that may contain further RDF triples for the value nodes delivered by the property. This can be used to inform a processor that it should switch to values from an external graph when the user wants to retrieve more information about a value.
506
+ *
507
+ * This property should be regarded as an "annotation", i.e. it does not have any impact on validation or other built-in SHACL features. However, selected tools may want to use this information. One implementation strategy would be to periodically fetch the values specified by the sh:node or sh:class shape associated with the property, using the property shapes in that shape, and add the resulting triples into the main query graph.
508
+ *
509
+ * An example value is "https://query.wikidata.org/sparql".
510
+ */
511
+ "detailsEndpoint": NamedNode<'http://datashapes.org/dash#detailsEndpoint'>;
512
+ /**
513
+ * Can be used to link a SHACL property shape with a SHACL node expression that produces the URIs of one or more graphs that contain further RDF triples for the value nodes delivered by the property. This can be used to inform a processor that it should switch to another data graph when the user wants to retrieve more information about a value.
514
+ *
515
+ * The node expressions are evaluated with the focus node as input. (It is unclear whether there are also cases where the result may be different for each specific value, in which case the node expression would need a second input argument).
516
+ *
517
+ * This property should be regarded as an "annotation", i.e. it does not have any impact on validation or other built-in SHACL features. However, selected tools may want to use this information.
518
+ */
519
+ "detailsGraph": NamedNode<'http://datashapes.org/dash#detailsGraph'>;
520
+ /** The expected result(s) of a test case. The value range of this property is different for each kind of test cases. */
521
+ "expectedResult": NamedNode<'http://datashapes.org/dash#expectedResult'>;
522
+ /** A flag to indicate that the expected result represents a JSON string. If set to true, then tests would compare JSON structures (regardless of whitespaces) instead of actual syntax. */
523
+ "expectedResultIsJSON": NamedNode<'http://datashapes.org/dash#expectedResultIsJSON'>;
524
+ /** A flag to indicate that the expected result represents an RDF graph encoded as a Turtle file. If set to true, then tests would compare graphs instead of actual syntax. */
525
+ "expectedResultIsTTL": NamedNode<'http://datashapes.org/dash#expectedResultIsTTL'>;
526
+ /** Can be used to mark that certain validation results have already been fixed. */
527
+ "fixed": NamedNode<'http://datashapes.org/dash#fixed'>;
528
+ "hasClass": NamedNode<'http://datashapes.org/dash#hasClass'>;
529
+ /** Checks whether a given node (?value) has a value less than (<) the provided ?maxExclusive. Returns false if this cannot be determined, e.g. because values do not have comparable types. */
530
+ "hasMaxExclusive": NamedNode<'http://datashapes.org/dash#hasMaxExclusive'>;
531
+ /** Checks whether a given node (?value) has a value less than or equal to (<=) the provided ?maxInclusive. Returns false if this cannot be determined, e.g. because values do not have comparable types. */
532
+ "hasMaxInclusive": NamedNode<'http://datashapes.org/dash#hasMaxInclusive'>;
533
+ /** Checks whether a given string (?value) has a length within a given maximum string length. */
534
+ "hasMaxLength": NamedNode<'http://datashapes.org/dash#hasMaxLength'>;
535
+ /** Checks whether a given node (?value) has value greater than (>) the provided ?minExclusive. Returns false if this cannot be determined, e.g. because values do not have comparable types. */
536
+ "hasMinExclusive": NamedNode<'http://datashapes.org/dash#hasMinExclusive'>;
537
+ /** Checks whether a given node (?value) has value greater than or equal to (>=) the provided ?minInclusive. Returns false if this cannot be determined, e.g. because values do not have comparable types. */
538
+ "hasMinInclusive": NamedNode<'http://datashapes.org/dash#hasMinInclusive'>;
539
+ /** Checks whether a given string (?value) has a length within a given minimum string length. */
540
+ "hasMinLength": NamedNode<'http://datashapes.org/dash#hasMinLength'>;
541
+ /** Checks whether a given node (?value) has a given sh:NodeKind (?nodeKind). For example, sh:hasNodeKind(42, sh:Literal) = true. */
542
+ "hasNodeKind": NamedNode<'http://datashapes.org/dash#hasNodeKind'>;
543
+ /** Checks whether the string representation of a given node (?value) matches a given regular expression (?pattern). Returns false if the value is a blank node. */
544
+ "hasPattern": NamedNode<'http://datashapes.org/dash#hasPattern'>;
545
+ /** The height. */
546
+ "height": NamedNode<'http://datashapes.org/dash#height'>;
547
+ "index": NamedNode<'http://datashapes.org/dash#index'>;
548
+ /** Checks whether a given shape or constraint has been marked as "deactivated" using sh:deactivated. */
549
+ "isDeactivated": NamedNode<'http://datashapes.org/dash#isDeactivated'>;
550
+ "isIn": NamedNode<'http://datashapes.org/dash#isIn'>;
551
+ "isLanguageIn": NamedNode<'http://datashapes.org/dash#isLanguageIn'>;
552
+ /** Checks if a given sh:NodeKind is one that includes BlankNodes. */
553
+ "isNodeKindBlankNode": NamedNode<'http://datashapes.org/dash#isNodeKindBlankNode'>;
554
+ /** Checks if a given sh:NodeKind is one that includes IRIs. */
555
+ "isNodeKindIRI": NamedNode<'http://datashapes.org/dash#isNodeKindIRI'>;
556
+ /** Checks if a given sh:NodeKind is one that includes Literals. */
557
+ "isNodeKindLiteral": NamedNode<'http://datashapes.org/dash#isNodeKindLiteral'>;
558
+ "isSubClassOf-subclass": NamedNode<'http://datashapes.org/dash#isSubClassOf-subclass'>;
559
+ "isSubClassOf-superclass": NamedNode<'http://datashapes.org/dash#isSubClassOf-superclass'>;
560
+ /** Returns true if a given class (first argument) is a subclass of a given other class (second argument), or identical to that class. This is equivalent to an rdfs:subClassOf* check. */
561
+ "isSubClassOf": NamedNode<'http://datashapes.org/dash#isSubClassOf'>;
562
+ /** The JavaScript source code of a Script. */
563
+ "js": NamedNode<'http://datashapes.org/dash#js'>;
564
+ /**
565
+ * For file-typed properties, this can be used to specify the expected/allowed mime types of its values. This can be used, for example, to limit file input boxes or file selectors. If multiple values are allowed then they need to be separated by commas.
566
+ *
567
+ * Example values are listed at https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/MIME_types/Common_types
568
+ */
569
+ "mimeTypes": NamedNode<'http://datashapes.org/dash#mimeTypes'>;
570
+ /** If set to true at a property shape then any sh:values and sh:defaultValue rules of this property will be ignored when 'all inferences' are computed. This is useful for property values that shall only be computed for individual focus nodes (e.g. when a user visits a resource) but not for large inference runs. */
571
+ "neverMaterialize": NamedNode<'http://datashapes.org/dash#neverMaterialize'>;
572
+ /** If set to true for a ScriptConstraint or ScriptValidator, then the associated script will receive all value nodes at once, as a value of the variable values. By default (or false), the script is called for each value node individually. */
573
+ "onAllValues": NamedNode<'http://datashapes.org/dash#onAllValues'>;
574
+ /** Links the constraint component with instances of dash:SuggestionGenerator that may be used to produce suggestions for a given validation result that was produced by a property constraint. */
575
+ "propertySuggestionGenerator": NamedNode<'http://datashapes.org/dash#propertySuggestionGenerator'>;
576
+ /** Used as a hint for user interfaces that values of the associated property should not be editable. The values of this may be the boolean literals true or false or, more generally, a SHACL node expression that must evaluate to true or false. */
577
+ "readOnly": NamedNode<'http://datashapes.org/dash#readOnly'>;
578
+ /** Links a class with the Resource Actions that can be applied to instances of that class. */
579
+ "resourceAction": NamedNode<'http://datashapes.org/dash#resourceAction'>;
580
+ /** States that a subject resource has a given shape. This property can, for example, be used to capture results of SHACL validation on static data. */
581
+ "shape": NamedNode<'http://datashapes.org/dash#shape'>;
582
+ "shapeScript": NamedNode<'http://datashapes.org/dash#shapeScript'>;
583
+ /** Can be used to link a result with one or more suggestions on how to address or improve the underlying issue. */
584
+ "suggestion": NamedNode<'http://datashapes.org/dash#suggestion'>;
585
+ /** An optional confidence between 0% and 100%. Suggestions with 100% confidence are strongly recommended. Can be used to sort recommended updates. */
586
+ "suggestionConfidence": NamedNode<'http://datashapes.org/dash#suggestionConfidence'>;
587
+ /** Links a sh:SPARQLConstraint or sh:JSConstraint with instances of dash:SuggestionGenerator that may be used to produce suggestions for a given validation result that was produced by the constraint. */
588
+ "suggestionGenerator": NamedNode<'http://datashapes.org/dash#suggestionGenerator'>;
589
+ /** Can be used to link a suggestion with the group identifier to which it belongs. By default this is a link to the dash:SuggestionGenerator, but in principle this could be any value. */
590
+ "suggestionGroup": NamedNode<'http://datashapes.org/dash#suggestionGroup'>;
591
+ /** Returns a literal with datatype xsd:string that has the input value as its string. If the input value is an (URI) resource then its URI will be used. */
592
+ "toString": NamedNode<'http://datashapes.org/dash#toString'>;
593
+ /**
594
+ * Inserts a given value into a given URI template, producing a new xsd:anyURI literal.
595
+ *
596
+ * In the future this should support RFC 6570 but for now it is limited to simple {...} patterns.
597
+ */
598
+ "uriTemplate": NamedNode<'http://datashapes.org/dash#uriTemplate'>;
599
+ /** True to also validate the shapes itself (i.e. parameter declarations). */
600
+ "validateShapes": NamedNode<'http://datashapes.org/dash#validateShapes'>;
601
+ /** Computes the number of objects for a given subject/predicate combination. */
602
+ "valueCount": NamedNode<'http://datashapes.org/dash#valueCount'>;
603
+ /** The width. */
604
+ "width": NamedNode<'http://datashapes.org/dash#width'>;
605
+ /** The x position. */
606
+ "x": NamedNode<'http://datashapes.org/dash#x'>;
607
+ /** The y position. */
608
+ "y": NamedNode<'http://datashapes.org/dash#y'>;
609
+ "object": NamedNode<'http://datashapes.org/dash#object'>;
610
+ "predicate": NamedNode<'http://datashapes.org/dash#predicate'>;
611
+ "nonRecursive": NamedNode<'http://datashapes.org/dash#nonRecursive'>;
612
+ "uriStart": NamedNode<'http://datashapes.org/dash#uriStart'>;
613
+ "generateClass": NamedNode<'http://datashapes.org/dash#generateClass'>;
614
+ "generatePrefixClasses": NamedNode<'http://datashapes.org/dash#generatePrefixClasses'>;
615
+ "generatePrefixConstants": NamedNode<'http://datashapes.org/dash#generatePrefixConstants'>;
616
+ "scriptConstraint": NamedNode<'http://datashapes.org/dash#scriptConstraint'>;
617
+ "constraintOrShape": NamedNode<'http://datashapes.org/dash#constraintOrShape'>;
618
+ "nodeKind": NamedNode<'http://datashapes.org/dash#nodeKind'>;
619
+ "subclass": NamedNode<'http://datashapes.org/dash#subclass'>;
620
+ "superclass": NamedNode<'http://datashapes.org/dash#superclass'>;
621
+ "arg": NamedNode<'http://datashapes.org/dash#arg'>;
622
+ "template": NamedNode<'http://datashapes.org/dash#template'>;
623
+ "value": NamedNode<'http://datashapes.org/dash#value'>;
624
+ "subject": NamedNode<'http://datashapes.org/dash#subject'>;
625
+ }
626
+ export declare const strict: Record<keyof Dash, NamedNode<string>> & ((property?: TemplateStringsArray | keyof Dash | undefined) => NamedNode<string>) & Dash;
627
+ export declare const loose: Record<any, NamedNode<string>> & ((property?: any) => NamedNode<string>) & Dash;
628
+ export {};
629
+ //# sourceMappingURL=dash.d.ts.map