@shaclmate/compiler 4.0.41 → 4.0.43

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 (320) hide show
  1. package/dist/ShapesGraphToAstTransformer.d.ts +1 -0
  2. package/dist/ShapesGraphToAstTransformer.js +11 -43
  3. package/dist/_ShapesGraphToAstTransformer/transformPropertyShapeToAstStructTypeField.d.ts +17 -0
  4. package/dist/_ShapesGraphToAstTransformer/{transformPropertyShapeToAstObjectTypeProperty.js → transformPropertyShapeToAstStructTypeField.js} +71 -48
  5. package/dist/_ShapesGraphToAstTransformer/transformShapeToAstListType.d.ts +1 -1
  6. package/dist/_ShapesGraphToAstTransformer/transformShapeToAstListType.js +29 -20
  7. package/dist/_ShapesGraphToAstTransformer/{transformShapeToAstObjectType.d.ts → transformShapeToAstStructType.d.ts} +2 -2
  8. package/dist/_ShapesGraphToAstTransformer/{transformShapeToAstObjectType.js → transformShapeToAstStructType.js} +35 -29
  9. package/dist/_ShapesGraphToAstTransformer/transformShapeToAstTermType.js +2 -1
  10. package/dist/_ShapesGraphToAstTransformer/transformShapeToAstType.d.ts +1 -1
  11. package/dist/_ShapesGraphToAstTransformer/transformShapeToAstType.js +9 -4
  12. package/dist/ast/AbstractCompoundType.d.ts +2 -2
  13. package/dist/ast/AbstractCompoundType.js +4 -4
  14. package/dist/ast/AbstractContainerType.d.ts +2 -2
  15. package/dist/ast/AbstractContainerType.js +4 -4
  16. package/dist/ast/{AbstractLazyObjectType.d.ts → AbstractLazyType.d.ts} +10 -10
  17. package/dist/ast/{AbstractLazyObjectType.js → AbstractLazyType.js} +3 -3
  18. package/dist/ast/AbstractType.d.ts +1 -1
  19. package/dist/ast/AbstractType.js +3 -0
  20. package/dist/ast/Ast.d.ts +2 -4
  21. package/dist/ast/DefaultValueType.js +2 -1
  22. package/dist/ast/IntersectionType.d.ts +2 -2
  23. package/dist/ast/IntersectionType.js +3 -3
  24. package/dist/ast/LazyOptionType.d.ts +6 -0
  25. package/dist/ast/LazyOptionType.js +5 -0
  26. package/dist/ast/LazySetType.d.ts +6 -0
  27. package/dist/ast/LazySetType.js +5 -0
  28. package/dist/ast/LazyType.d.ts +5 -0
  29. package/dist/ast/LazyType.js +5 -0
  30. package/dist/ast/ListType.d.ts +2 -2
  31. package/dist/ast/ListType.js +4 -4
  32. package/dist/ast/OptionType.js +2 -1
  33. package/dist/ast/SetType.js +2 -1
  34. package/dist/ast/StructCompoundType.d.ts +12 -0
  35. package/dist/ast/{ObjectCompoundType.js → StructCompoundType.js} +18 -18
  36. package/dist/ast/StructIntersectionType.d.ts +4 -0
  37. package/dist/ast/StructIntersectionType.js +2 -0
  38. package/dist/ast/{ObjectType.d.ts → StructType.d.ts} +28 -27
  39. package/dist/ast/{ObjectType.js → StructType.js} +81 -78
  40. package/dist/ast/StructUnionType.d.ts +4 -0
  41. package/dist/ast/StructUnionType.js +2 -0
  42. package/dist/ast/Type.d.ts +5 -5
  43. package/dist/ast/Type.js +4 -4
  44. package/dist/ast/UnionType.d.ts +2 -2
  45. package/dist/ast/UnionType.js +3 -3
  46. package/dist/ast/index.d.ts +7 -7
  47. package/dist/ast/index.js +7 -7
  48. package/dist/generators/AstJsonGenerator.js +2 -2
  49. package/dist/generators/transformAstToLabeledPropertyGraph.js +8 -8
  50. package/dist/generators/ts/AbstractContainerType.d.ts +1 -1
  51. package/dist/generators/ts/AbstractContainerType.js +6 -6
  52. package/dist/generators/ts/AbstractDateType.d.ts +1 -7
  53. package/dist/generators/ts/AbstractDateType.js +1 -11
  54. package/dist/generators/ts/{AbstractLazyObjectType.d.ts → AbstractLazyType.d.ts} +7 -7
  55. package/dist/generators/ts/{AbstractLazyObjectType.js → AbstractLazyType.js} +19 -17
  56. package/dist/generators/ts/AbstractLiteralType.d.ts +2 -5
  57. package/dist/generators/ts/AbstractLiteralType.js +0 -21
  58. package/dist/generators/ts/AbstractNumericType.d.ts +1 -7
  59. package/dist/generators/ts/AbstractNumericType.js +15 -25
  60. package/dist/generators/ts/AbstractObjectSetType.d.ts +1 -1
  61. package/dist/generators/ts/AbstractObjectSetType.js +2 -2
  62. package/dist/generators/ts/AbstractPrimitiveType.d.ts +1 -1
  63. package/dist/generators/ts/AbstractPrimitiveType.js +1 -1
  64. package/dist/generators/ts/AbstractTermType.d.ts +6 -21
  65. package/dist/generators/ts/AbstractTermType.js +26 -55
  66. package/dist/generators/ts/AbstractType.d.ts +40 -47
  67. package/dist/generators/ts/AbstractType.js +17 -6
  68. package/dist/generators/ts/BigDecimalType.d.ts +3 -3
  69. package/dist/generators/ts/BigDecimalType.js +3 -8
  70. package/dist/generators/ts/BigIntType.d.ts +2 -2
  71. package/dist/generators/ts/BigIntType.js +7 -4
  72. package/dist/generators/ts/BlankNodeType.d.ts +2 -7
  73. package/dist/generators/ts/BlankNodeType.js +2 -7
  74. package/dist/generators/ts/BooleanType.d.ts +3 -3
  75. package/dist/generators/ts/BooleanType.js +12 -14
  76. package/dist/generators/ts/DateTimeType.d.ts +2 -2
  77. package/dist/generators/ts/DateTimeType.js +14 -4
  78. package/dist/generators/ts/DateType.d.ts +2 -2
  79. package/dist/generators/ts/DateType.js +14 -4
  80. package/dist/generators/ts/DefaultValueType.d.ts +8 -8
  81. package/dist/generators/ts/DefaultValueType.js +10 -12
  82. package/dist/generators/ts/FloatType.d.ts +2 -2
  83. package/dist/generators/ts/FloatType.js +7 -4
  84. package/dist/generators/ts/IdentifierType.d.ts +2 -2
  85. package/dist/generators/ts/IdentifierType.js +2 -7
  86. package/dist/generators/ts/IntType.d.ts +2 -2
  87. package/dist/generators/ts/IntType.js +7 -4
  88. package/dist/generators/ts/IriType.d.ts +2 -2
  89. package/dist/generators/ts/IriType.js +12 -14
  90. package/dist/generators/ts/{LazyObjectOptionType.d.ts → LazyOptionType.d.ts} +12 -11
  91. package/dist/generators/ts/{LazyObjectOptionType.js → LazyOptionType.js} +23 -14
  92. package/dist/generators/ts/LazySetType.d.ts +20 -0
  93. package/dist/generators/ts/{LazyObjectSetType.js → LazySetType.js} +22 -13
  94. package/dist/generators/ts/LazyType.d.ts +19 -0
  95. package/dist/generators/ts/{LazyObjectType.js → LazyType.js} +22 -13
  96. package/dist/generators/ts/ListType.d.ts +1 -1
  97. package/dist/generators/ts/ListType.js +9 -19
  98. package/dist/generators/ts/LiteralType.d.ts +3 -2
  99. package/dist/generators/ts/LiteralType.js +6 -2
  100. package/dist/generators/ts/ObjectType.d.ts +16 -3
  101. package/dist/generators/ts/ObjectType.js +301 -91
  102. package/dist/generators/ts/ObjectUnionType.js +40 -40
  103. package/dist/generators/ts/OptionType.d.ts +2 -2
  104. package/dist/generators/ts/OptionType.js +7 -5
  105. package/dist/generators/ts/SetType.d.ts +3 -3
  106. package/dist/generators/ts/SetType.js +8 -10
  107. package/dist/generators/ts/Snippets.d.ts +26 -8
  108. package/dist/generators/ts/Snippets.js +161 -35
  109. package/dist/generators/ts/StringType.d.ts +4 -3
  110. package/dist/generators/ts/StringType.js +18 -11
  111. package/dist/generators/ts/TermType.d.ts +7 -5
  112. package/dist/generators/ts/TermType.js +28 -9
  113. package/dist/generators/ts/TsGenerator.js +11 -6
  114. package/dist/generators/ts/Type.d.ts +4 -4
  115. package/dist/generators/ts/TypeFactory.d.ts +5 -5
  116. package/dist/generators/ts/TypeFactory.js +79 -58
  117. package/dist/generators/ts/UnionType.d.ts +23 -18
  118. package/dist/generators/ts/UnionType.js +227 -221
  119. package/dist/generators/ts/ZodGenerator.js +15 -7
  120. package/dist/generators/ts/_ObjectType/AbstractProperty.d.ts +24 -15
  121. package/dist/generators/ts/_ObjectType/AbstractProperty.js +1 -24
  122. package/dist/generators/ts/_ObjectType/DiscriminantProperty.d.ts +8 -6
  123. package/dist/generators/ts/_ObjectType/DiscriminantProperty.js +11 -24
  124. package/dist/generators/ts/_ObjectType/IdentifierProperty.d.ts +8 -2
  125. package/dist/generators/ts/_ObjectType/IdentifierProperty.js +44 -16
  126. package/dist/generators/ts/_ObjectType/ObjectType_createFunctionExpression.d.ts +4 -0
  127. package/dist/generators/ts/_ObjectType/ObjectType_createFunctionExpression.js +28 -0
  128. package/dist/generators/ts/_ObjectType/ObjectType_equalsFunctionExpression.d.ts +4 -0
  129. package/dist/generators/ts/_ObjectType/{ObjectType_equalsFunctionDeclaration.js → ObjectType_equalsFunctionExpression.js} +6 -10
  130. package/dist/generators/ts/_ObjectType/ObjectType_filterFunctionExpression.d.ts +4 -0
  131. package/dist/generators/ts/_ObjectType/ObjectType_filterFunctionExpression.js +12 -0
  132. package/dist/generators/ts/_ObjectType/ObjectType_filterTypeExpression.d.ts +4 -0
  133. package/dist/generators/ts/_ObjectType/{ObjectType_filterTypeDeclaration.js → ObjectType_filterTypeExpression.js} +6 -8
  134. package/dist/generators/ts/_ObjectType/{ObjectType_focusSparqlConstructTriplesFunctionDeclaration.d.ts → ObjectType_focusSparqlConstructTriplesFunctionExpression.d.ts} +2 -3
  135. package/dist/generators/ts/_ObjectType/{ObjectType_focusSparqlConstructTriplesFunctionDeclaration.js → ObjectType_focusSparqlConstructTriplesFunctionExpression.js} +5 -9
  136. package/dist/generators/ts/_ObjectType/{ObjectType_focusSparqlWherePatternsFunctionDeclaration.d.ts → ObjectType_focusSparqlWherePatternsFunctionExpression.d.ts} +2 -3
  137. package/dist/generators/ts/_ObjectType/{ObjectType_focusSparqlWherePatternsFunctionDeclaration.js → ObjectType_focusSparqlWherePatternsFunctionExpression.js} +5 -9
  138. package/dist/generators/ts/_ObjectType/ObjectType_fromJsonFunctionExpression.d.ts +4 -0
  139. package/dist/generators/ts/_ObjectType/ObjectType_fromJsonFunctionExpression.js +12 -0
  140. package/dist/generators/ts/_ObjectType/ObjectType_fromRdfResourceFunctionExpression.d.ts +4 -0
  141. package/dist/generators/ts/_ObjectType/{ObjectType_fromRdfResourceFunctionDeclaration.js → ObjectType_fromRdfResourceFunctionExpression.js} +8 -16
  142. package/dist/generators/ts/_ObjectType/ObjectType_graphqlTypeExpression.d.ts +4 -0
  143. package/dist/generators/ts/_ObjectType/{ObjectType_graphqlTypeVariableStatement.js → ObjectType_graphqlTypeExpression.js} +6 -13
  144. package/dist/generators/ts/_ObjectType/ObjectType_hashFunctionExpression.d.ts +4 -0
  145. package/dist/generators/ts/_ObjectType/ObjectType_hashFunctionExpression.js +30 -0
  146. package/dist/generators/ts/_ObjectType/ObjectType_identifierTypeDeclarations.d.ts +4 -0
  147. package/dist/generators/ts/_ObjectType/{identifierTypeDeclarations.js → ObjectType_identifierTypeDeclarations.js} +2 -5
  148. package/dist/generators/ts/_ObjectType/ObjectType_isTypeFunctionDeclaration.js +3 -3
  149. package/dist/generators/ts/_ObjectType/ObjectType_jsonParseFunctionDeclaration.d.ts +1 -2
  150. package/dist/generators/ts/_ObjectType/ObjectType_jsonParseFunctionDeclaration.js +2 -6
  151. package/dist/generators/ts/_ObjectType/ObjectType_jsonSchemaExpression.d.ts +4 -0
  152. package/dist/generators/ts/_ObjectType/{ObjectType_jsonSchemaFunctionDeclaration.js → ObjectType_jsonSchemaExpression.js} +3 -10
  153. package/dist/generators/ts/_ObjectType/ObjectType_jsonTypeExpression.d.ts +4 -0
  154. package/dist/generators/ts/_ObjectType/ObjectType_jsonTypeExpression.js +5 -0
  155. package/dist/generators/ts/_ObjectType/ObjectType_jsonUiSchemaFunctionExpression.d.ts +4 -0
  156. package/dist/generators/ts/_ObjectType/ObjectType_jsonUiSchemaFunctionExpression.js +17 -0
  157. package/dist/generators/ts/_ObjectType/ObjectType_objectSetMethodNames.d.ts +1 -1
  158. package/dist/generators/ts/_ObjectType/ObjectType_objectSetMethodNames.js +2 -2
  159. package/dist/generators/ts/_ObjectType/ObjectType_schemaExpression.d.ts +4 -0
  160. package/dist/generators/ts/_ObjectType/ObjectType_schemaExpression.js +18 -0
  161. package/dist/generators/ts/_ObjectType/ObjectType_schemaTypeExpression.d.ts +4 -0
  162. package/dist/generators/ts/_ObjectType/ObjectType_schemaTypeExpression.js +18 -0
  163. package/dist/generators/ts/_ObjectType/ObjectType_sparqlConstructQueryFunctionDeclaration.d.ts +2 -3
  164. package/dist/generators/ts/_ObjectType/ObjectType_sparqlConstructQueryFunctionDeclaration.js +5 -9
  165. package/dist/generators/ts/_ObjectType/ObjectType_sparqlConstructQueryStringFunctionDeclaration.d.ts +2 -3
  166. package/dist/generators/ts/_ObjectType/ObjectType_sparqlConstructQueryStringFunctionDeclaration.js +4 -8
  167. package/dist/generators/ts/_ObjectType/ObjectType_toJsonFunctionExpression.d.ts +4 -0
  168. package/dist/generators/ts/_ObjectType/ObjectType_toJsonFunctionExpression.js +14 -0
  169. package/dist/generators/ts/_ObjectType/ObjectType_toRdfResourceFunctionExpression.d.ts +4 -0
  170. package/dist/generators/ts/_ObjectType/{ObjectType_toRdfResourceFunctionDeclaration.js → ObjectType_toRdfResourceFunctionExpression.js} +6 -12
  171. package/dist/generators/ts/_ObjectType/ObjectType_toStringFunctionExpression.d.ts +4 -0
  172. package/dist/generators/ts/_ObjectType/ObjectType_toStringFunctionExpression.js +7 -0
  173. package/dist/generators/ts/_ObjectType/ObjectType_toStringRecordFunctionExpression.d.ts +4 -0
  174. package/dist/generators/ts/_ObjectType/ObjectType_toStringRecordFunctionExpression.js +5 -0
  175. package/dist/generators/ts/_ObjectType/{ObjectType_valueSparqlConstructTriplesFunctionDeclaration.d.ts → ObjectType_valueSparqlConstructTriplesFunctionExpression.d.ts} +2 -3
  176. package/dist/generators/ts/_ObjectType/ObjectType_valueSparqlConstructTriplesFunctionExpression.js +8 -0
  177. package/dist/generators/ts/_ObjectType/{ObjectType_valueSparqlWherePatternsFunctionDeclaration.d.ts → ObjectType_valueSparqlWherePatternsFunctionExpression.d.ts} +2 -3
  178. package/dist/generators/ts/_ObjectType/ObjectType_valueSparqlWherePatternsFunctionExpression.js +10 -0
  179. package/dist/generators/ts/_ObjectType/ShaclProperty.d.ts +9 -2
  180. package/dist/generators/ts/_ObjectType/ShaclProperty.js +65 -33
  181. package/dist/generators/ts/_snippets/snippets_BooleanSchema.js +4 -3
  182. package/dist/generators/ts/_snippets/snippets_DateSchema.js +4 -3
  183. package/dist/generators/ts/_snippets/snippets_DefaultValueSchema.js +3 -3
  184. package/dist/generators/ts/_snippets/snippets_FromRdfResourceValuesFunction.js +6 -5
  185. package/dist/generators/ts/_snippets/snippets_IdentifierSchema.js +2 -1
  186. package/dist/generators/ts/_snippets/snippets_IriSchema.js +1 -0
  187. package/dist/generators/ts/_snippets/snippets_Lazy.d.ts +3 -0
  188. package/dist/generators/ts/_snippets/snippets_Lazy.js +22 -0
  189. package/dist/generators/ts/_snippets/snippets_LazyOption.d.ts +3 -0
  190. package/dist/generators/ts/_snippets/snippets_LazyOption.js +25 -0
  191. package/dist/generators/ts/_snippets/snippets_LazySet.d.ts +3 -0
  192. package/dist/generators/ts/_snippets/snippets_LazySet.js +40 -0
  193. package/dist/generators/ts/_snippets/snippets_LiteralFilter.js +1 -3
  194. package/dist/generators/ts/_snippets/snippets_LiteralSchema.js +1 -0
  195. package/dist/generators/ts/_snippets/snippets_NumericSchema.js +2 -1
  196. package/dist/generators/ts/_snippets/snippets_PropertyPath.js +6 -8
  197. package/dist/generators/ts/_snippets/snippets_RdfVocabularies.js +32 -32
  198. package/dist/generators/ts/_snippets/snippets_ShaclPropertySchema.js +1 -1
  199. package/dist/generators/ts/_snippets/snippets_StringSchema.js +5 -3
  200. package/dist/generators/ts/_snippets/snippets_TermFilter.js +3 -3
  201. package/dist/generators/ts/_snippets/snippets_TermSchema.js +4 -2
  202. package/dist/generators/ts/_snippets/snippets_bigDecimalFromRdfResourceValues.d.ts +3 -0
  203. package/dist/generators/ts/_snippets/snippets_bigDecimalFromRdfResourceValues.js +6 -0
  204. package/dist/generators/ts/_snippets/snippets_bigIntFromRdfResourceValues.d.ts +3 -0
  205. package/dist/generators/ts/_snippets/snippets_bigIntFromRdfResourceValues.js +6 -0
  206. package/dist/generators/ts/_snippets/snippets_blankNodeFromRdfResourceValues.d.ts +3 -0
  207. package/dist/generators/ts/_snippets/snippets_blankNodeFromRdfResourceValues.js +6 -0
  208. package/dist/generators/ts/_snippets/snippets_booleanFromRdfResourceValues.d.ts +3 -0
  209. package/dist/generators/ts/_snippets/snippets_booleanFromRdfResourceValues.js +6 -0
  210. package/dist/generators/ts/_snippets/snippets_convertToLazy.d.ts +3 -0
  211. package/dist/generators/ts/_snippets/snippets_convertToLazy.js +15 -0
  212. package/dist/generators/ts/_snippets/snippets_convertToLazyOption.d.ts +3 -0
  213. package/dist/generators/ts/_snippets/snippets_convertToLazyOption.js +33 -0
  214. package/dist/generators/ts/_snippets/snippets_convertToLazySet.d.ts +3 -0
  215. package/dist/generators/ts/_snippets/snippets_convertToLazySet.js +27 -0
  216. package/dist/generators/ts/_snippets/snippets_dateFromRdfResourceValues.d.ts +3 -0
  217. package/dist/generators/ts/_snippets/snippets_dateFromRdfResourceValues.js +6 -0
  218. package/dist/generators/ts/_snippets/snippets_dateTimeFromRdfResourceValues.d.ts +3 -0
  219. package/dist/generators/ts/_snippets/snippets_dateTimeFromRdfResourceValues.js +6 -0
  220. package/dist/generators/ts/_snippets/snippets_defaultValueFromRdfResourceValues.d.ts +3 -0
  221. package/dist/generators/ts/_snippets/snippets_defaultValueFromRdfResourceValues.js +10 -0
  222. package/dist/generators/ts/_snippets/snippets_defaultValueSparqlWherePatterns.js +1 -1
  223. package/dist/generators/ts/_snippets/snippets_filterNumeric.js +1 -1
  224. package/dist/generators/ts/_snippets/snippets_filterTerm.js +1 -2
  225. package/dist/generators/ts/_snippets/snippets_floatFromRdfResourceValues.d.ts +3 -0
  226. package/dist/generators/ts/_snippets/snippets_floatFromRdfResourceValues.js +6 -0
  227. package/dist/generators/ts/_snippets/snippets_identifierFromRdfResourceValues.d.ts +3 -0
  228. package/dist/generators/ts/_snippets/snippets_identifierFromRdfResourceValues.js +6 -0
  229. package/dist/generators/ts/_snippets/snippets_intFromRdfResourceValues.d.ts +3 -0
  230. package/dist/generators/ts/_snippets/snippets_intFromRdfResourceValues.js +6 -0
  231. package/dist/generators/ts/_snippets/snippets_iriFromRdfResourceValues.d.ts +3 -0
  232. package/dist/generators/ts/_snippets/snippets_iriFromRdfResourceValues.js +6 -0
  233. package/dist/generators/ts/_snippets/snippets_listFromRdfResourceValues.d.ts +3 -0
  234. package/dist/generators/ts/_snippets/snippets_listFromRdfResourceValues.js +15 -0
  235. package/dist/generators/ts/_snippets/snippets_literalFromRdfResourceValues.d.ts +3 -0
  236. package/dist/generators/ts/_snippets/snippets_literalFromRdfResourceValues.js +6 -0
  237. package/dist/generators/ts/_snippets/snippets_maybeFromRdfResourceValues.d.ts +3 -0
  238. package/dist/generators/ts/_snippets/snippets_maybeFromRdfResourceValues.js +11 -0
  239. package/dist/generators/ts/_snippets/snippets_mutableListFromRdfResourceValues.d.ts +3 -0
  240. package/dist/generators/ts/_snippets/snippets_mutableListFromRdfResourceValues.js +8 -0
  241. package/dist/generators/ts/_snippets/snippets_mutableSetFromRdfResourceValues.d.ts +3 -0
  242. package/dist/generators/ts/_snippets/snippets_mutableSetFromRdfResourceValues.js +8 -0
  243. package/dist/generators/ts/_snippets/snippets_numericSparqlWherePatterns.js +1 -1
  244. package/dist/generators/ts/_snippets/snippets_setFromRdfResourceValues.d.ts +3 -0
  245. package/dist/generators/ts/_snippets/snippets_setFromRdfResourceValues.js +9 -0
  246. package/dist/generators/ts/_snippets/snippets_shaclPropertyFromRdf.js +13 -7
  247. package/dist/generators/ts/_snippets/snippets_stringFromRdfResourceValues.d.ts +3 -0
  248. package/dist/generators/ts/_snippets/snippets_stringFromRdfResourceValues.js +6 -0
  249. package/dist/generators/ts/_snippets/snippets_termFilterSparqlPatterns.js +1 -1
  250. package/dist/generators/ts/_snippets/snippets_termFromRdfResourceValues.d.ts +3 -0
  251. package/dist/generators/ts/_snippets/snippets_termFromRdfResourceValues.js +17 -0
  252. package/dist/generators/ts/_snippets/snippets_termLikeFromRdfResourceValues.d.ts +3 -0
  253. package/dist/generators/ts/_snippets/snippets_termLikeFromRdfResourceValues.js +60 -0
  254. package/dist/generators/ts/_snippets/snippets_termSparqlWherePatterns.js +2 -2
  255. package/dist/input/generated.d.ts +511 -386
  256. package/dist/input/generated.js +1780 -2293
  257. package/package.json +2 -2
  258. package/dist/_ShapesGraphToAstTransformer/transformPropertyShapeToAstObjectTypeProperty.d.ts +0 -9
  259. package/dist/ast/LazyObjectOptionType.d.ts +0 -6
  260. package/dist/ast/LazyObjectOptionType.js +0 -5
  261. package/dist/ast/LazyObjectSetType.d.ts +0 -6
  262. package/dist/ast/LazyObjectSetType.js +0 -5
  263. package/dist/ast/LazyObjectType.d.ts +0 -5
  264. package/dist/ast/LazyObjectType.js +0 -5
  265. package/dist/ast/ObjectCompoundType.d.ts +0 -12
  266. package/dist/ast/ObjectIntersectionType.d.ts +0 -4
  267. package/dist/ast/ObjectIntersectionType.js +0 -2
  268. package/dist/ast/ObjectUnionType.d.ts +0 -4
  269. package/dist/ast/ObjectUnionType.js +0 -2
  270. package/dist/generators/ts/LazyObjectSetType.d.ts +0 -20
  271. package/dist/generators/ts/LazyObjectType.d.ts +0 -19
  272. package/dist/generators/ts/_ObjectType/ObjectType_createFunctionDeclaration.d.ts +0 -5
  273. package/dist/generators/ts/_ObjectType/ObjectType_createFunctionDeclaration.js +0 -44
  274. package/dist/generators/ts/_ObjectType/ObjectType_equalsFunctionDeclaration.d.ts +0 -5
  275. package/dist/generators/ts/_ObjectType/ObjectType_filterFunctionDeclaration.d.ts +0 -5
  276. package/dist/generators/ts/_ObjectType/ObjectType_filterFunctionDeclaration.js +0 -21
  277. package/dist/generators/ts/_ObjectType/ObjectType_filterTypeDeclaration.d.ts +0 -5
  278. package/dist/generators/ts/_ObjectType/ObjectType_fromJsonFunctionDeclaration.d.ts +0 -5
  279. package/dist/generators/ts/_ObjectType/ObjectType_fromJsonFunctionDeclaration.js +0 -18
  280. package/dist/generators/ts/_ObjectType/ObjectType_fromRdfResourceFunctionDeclaration.d.ts +0 -5
  281. package/dist/generators/ts/_ObjectType/ObjectType_fromRdfResourceValuesFunctionDeclaration.d.ts +0 -5
  282. package/dist/generators/ts/_ObjectType/ObjectType_fromRdfResourceValuesFunctionDeclaration.js +0 -15
  283. package/dist/generators/ts/_ObjectType/ObjectType_fromRdfTypeVariableStatement.d.ts +0 -5
  284. package/dist/generators/ts/_ObjectType/ObjectType_fromRdfTypeVariableStatement.js +0 -10
  285. package/dist/generators/ts/_ObjectType/ObjectType_graphqlTypeVariableStatement.d.ts +0 -5
  286. package/dist/generators/ts/_ObjectType/ObjectType_hashFunctionDeclarations.d.ts +0 -4
  287. package/dist/generators/ts/_ObjectType/ObjectType_hashFunctionDeclarations.js +0 -41
  288. package/dist/generators/ts/_ObjectType/ObjectType_interfaceDeclaration.d.ts +0 -4
  289. package/dist/generators/ts/_ObjectType/ObjectType_interfaceDeclaration.js +0 -12
  290. package/dist/generators/ts/_ObjectType/ObjectType_jsonSchemaFunctionDeclaration.d.ts +0 -5
  291. package/dist/generators/ts/_ObjectType/ObjectType_jsonTypeAliasDeclaration.d.ts +0 -5
  292. package/dist/generators/ts/_ObjectType/ObjectType_jsonTypeAliasDeclaration.js +0 -9
  293. package/dist/generators/ts/_ObjectType/ObjectType_jsonUiSchemaFunctionDeclaration.d.ts +0 -5
  294. package/dist/generators/ts/_ObjectType/ObjectType_jsonUiSchemaFunctionDeclaration.js +0 -15
  295. package/dist/generators/ts/_ObjectType/ObjectType_schemaVariableStatement.d.ts +0 -5
  296. package/dist/generators/ts/_ObjectType/ObjectType_schemaVariableStatement.js +0 -12
  297. package/dist/generators/ts/_ObjectType/ObjectType_toJsonFunctionDeclaration.d.ts +0 -5
  298. package/dist/generators/ts/_ObjectType/ObjectType_toJsonFunctionDeclaration.js +0 -20
  299. package/dist/generators/ts/_ObjectType/ObjectType_toRdfResourceFunctionDeclaration.d.ts +0 -5
  300. package/dist/generators/ts/_ObjectType/ObjectType_toStringFunctionDeclarations.d.ts +0 -4
  301. package/dist/generators/ts/_ObjectType/ObjectType_toStringFunctionDeclarations.js +0 -29
  302. package/dist/generators/ts/_ObjectType/ObjectType_valueSparqlConstructTriplesFunctionDeclaration.js +0 -11
  303. package/dist/generators/ts/_ObjectType/ObjectType_valueSparqlWherePatternsFunctionDeclaration.js +0 -13
  304. package/dist/generators/ts/_ObjectType/identifierTypeDeclarations.d.ts +0 -4
  305. package/dist/generators/ts/_snippets/snippets_LazyObject.d.ts +0 -3
  306. package/dist/generators/ts/_snippets/snippets_LazyObject.js +0 -22
  307. package/dist/generators/ts/_snippets/snippets_LazyObjectOption.d.ts +0 -3
  308. package/dist/generators/ts/_snippets/snippets_LazyObjectOption.js +0 -25
  309. package/dist/generators/ts/_snippets/snippets_LazyObjectSet.d.ts +0 -3
  310. package/dist/generators/ts/_snippets/snippets_LazyObjectSet.js +0 -40
  311. package/dist/generators/ts/_snippets/snippets_convertToLazyObject.d.ts +0 -3
  312. package/dist/generators/ts/_snippets/snippets_convertToLazyObject.js +0 -15
  313. package/dist/generators/ts/_snippets/snippets_convertToLazyObjectOption.d.ts +0 -3
  314. package/dist/generators/ts/_snippets/snippets_convertToLazyObjectOption.js +0 -31
  315. package/dist/generators/ts/_snippets/snippets_convertToLazyObjectSet.d.ts +0 -3
  316. package/dist/generators/ts/_snippets/snippets_convertToLazyObjectSet.js +0 -25
  317. package/dist/generators/ts/_snippets/snippets_fromRdfLanguageIn.d.ts +0 -3
  318. package/dist/generators/ts/_snippets/snippets_fromRdfLanguageIn.js +0 -15
  319. package/dist/generators/ts/_snippets/snippets_fromRdfPreferredLanguages.d.ts +0 -3
  320. package/dist/generators/ts/_snippets/snippets_fromRdfPreferredLanguages.js +0 -23
@@ -60,23 +60,25 @@ export type $FromRdfResourceFunction<T> = (resource: Resource, options?: {
60
60
  ignoreRdfType?: boolean;
61
61
  preferredLanguages?: readonly string[];
62
62
  }) => Either<Error, T>;
63
- export type $FromRdfResourceValuesFunction<T> = (resourceValues: Either<Error, Resource.Values>, options: {
63
+ export type $FromRdfResourceValuesFunction<ValueT, ValueSchemaT> = (resourceValues: Resource.Values, options: {
64
64
  context?: unknown;
65
65
  graph?: Exclude<Quad_Graph, Variable>;
66
+ focusResource: Resource;
66
67
  ignoreRdfType?: boolean;
67
68
  preferredLanguages?: readonly string[];
68
69
  propertyPath: $PropertyPath;
69
- resource: Resource;
70
- }) => Either<Error, Resource.Values<T>>;
70
+ schema: ValueSchemaT;
71
+ }) => Either<Error, Resource.Values<ValueT>>;
71
72
  export type $PropertyPath = RdfxResourcePropertyPath;
72
73
  export declare namespace $PropertyPath {
73
74
  const fromRdfResource: $FromRdfResourceFunction<$PropertyPath>;
74
- const fromRdfResourceValues: $FromRdfResourceValuesFunction<$PropertyPath>;
75
+ const fromRdfResourceValues: $FromRdfResourceValuesFunction<$PropertyPath, object>;
75
76
  const schema: Readonly<object>;
77
+ type Schema = typeof schema;
76
78
  const toRdfResource: $ToRdfResourceFunction<$PropertyPath>;
77
79
  const $toString: typeof RdfxResourcePropertyPath.toString;
78
80
  }
79
- export interface $ShaclPropertySchema<TypeSchemaT = object> {
81
+ export interface $ShaclPropertySchema<TypeSchemaT> {
80
82
  readonly kind: "Shacl";
81
83
  readonly path: $PropertyPath;
82
84
  readonly type: TypeSchemaT;
@@ -93,181 +95,160 @@ export type $ToRdfResourceValuesFunction<ValueT, ReturnT extends BlankNode | Lit
93
95
  resource: Resource;
94
96
  resourceSet: ResourceSet;
95
97
  }) => ReturnT[];
96
- export interface PropertyShape {
97
- readonly $identifier: () => PropertyShape.Identifier;
98
- readonly $type: "PropertyShape";
98
+ export type NodeShape = {
99
+ readonly $identifier: () => NodeShape.Identifier;
100
+ readonly $type: "NodeShape";
99
101
  readonly and: Maybe<readonly (BlankNode | NamedNode)[]>;
100
102
  readonly classes: readonly NamedNode[];
103
+ readonly closed: Maybe<boolean>;
101
104
  readonly comment: Maybe<string>;
102
105
  readonly datatype: Maybe<NamedNode>;
103
106
  readonly deactivated: Maybe<boolean>;
104
- readonly defaultValue: Maybe<NamedNode | Literal>;
105
- readonly description: Maybe<string>;
106
- readonly disjoint: readonly NamedNode[];
107
- /**
108
- * Whether to include this property in a toString()-type display, defaults to false
109
- */
110
- readonly display: boolean;
111
- readonly equals: readonly NamedNode[];
107
+ readonly discriminantValue: Maybe<string>;
108
+ readonly extern: Maybe<boolean>;
112
109
  readonly flags: Maybe<string>;
113
- readonly groups: readonly (BlankNode | NamedNode)[];
110
+ readonly fromRdfType: Maybe<NamedNode>;
114
111
  readonly hasValues: readonly (NamedNode | Literal)[];
112
+ /**
113
+ * Whether to ignore this shape in code generation, defaults to false
114
+ */
115
+ readonly ignore: boolean;
116
+ readonly ignoredProperties: Maybe<readonly NamedNode[]>;
115
117
  readonly in_: Maybe<readonly (NamedNode | Literal)[]>;
116
118
  readonly isDefinedBy: Maybe<BlankNode | NamedNode>;
117
119
  readonly label: Maybe<string>;
118
120
  readonly languageIn: Maybe<readonly string[]>;
119
- readonly lessThan: readonly NamedNode[];
120
- readonly lessThanOrEquals: readonly NamedNode[];
121
- readonly maxCount: Maybe<bigint>;
122
121
  readonly maxExclusive: Maybe<Literal>;
123
122
  readonly maxInclusive: Maybe<Literal>;
124
123
  readonly maxLength: Maybe<bigint>;
125
124
  readonly message: Maybe<string>;
126
- readonly minCount: Maybe<bigint>;
127
125
  readonly minExclusive: Maybe<Literal>;
128
126
  readonly minInclusive: Maybe<Literal>;
129
127
  readonly minLength: Maybe<bigint>;
130
128
  readonly mutable: Maybe<boolean>;
131
- readonly name: Maybe<string>;
132
129
  readonly node: Maybe<BlankNode | NamedNode>;
133
130
  readonly nodeKind: Maybe<NamedNode<"http://www.w3.org/ns/shacl#BlankNode" | "http://www.w3.org/ns/shacl#BlankNodeOrIRI" | "http://www.w3.org/ns/shacl#BlankNodeOrLiteral" | "http://www.w3.org/ns/shacl#IRI" | "http://www.w3.org/ns/shacl#IRIOrLiteral" | "http://www.w3.org/ns/shacl#Literal">>;
134
131
  readonly not: readonly (BlankNode | NamedNode)[];
135
132
  readonly or: Maybe<readonly (BlankNode | NamedNode)[]>;
136
- readonly order: Maybe<number>;
137
- readonly path: $PropertyPath;
138
133
  readonly pattern: Maybe<string>;
139
- readonly qualifiedMaxCount: Maybe<bigint>;
140
- readonly qualifiedMinCount: Maybe<bigint>;
141
- readonly qualifiedValueShape: Maybe<BlankNode | NamedNode>;
142
- readonly qualifiedValueShapesDisjoint: Maybe<boolean>;
143
- readonly resolve: Maybe<BlankNode | NamedNode>;
134
+ readonly properties: readonly (BlankNode | NamedNode)[];
135
+ readonly rdfType: Maybe<NamedNode>;
144
136
  readonly severity: Maybe<NamedNode<"http://www.w3.org/ns/shacl#Info" | "http://www.w3.org/ns/shacl#Warning" | "http://www.w3.org/ns/shacl#Violation">>;
145
137
  readonly shaclmateName: Maybe<string>;
138
+ readonly subClassOf: readonly NamedNode[];
146
139
  readonly targetClasses: readonly NamedNode[];
147
140
  readonly targetNodes: readonly (NamedNode | Literal)[];
148
141
  readonly targetObjectsOf: readonly NamedNode[];
149
142
  readonly targetSubjectsOf: readonly NamedNode[];
150
- readonly uniqueLang: Maybe<boolean>;
143
+ readonly toRdfTypes: readonly NamedNode[];
144
+ readonly tsImports: readonly string[];
145
+ readonly types: readonly NamedNode[];
151
146
  readonly xone: Maybe<readonly (BlankNode | NamedNode)[]>;
152
- }
153
- export declare namespace PropertyShape {
154
- function create(parameters: {
155
- readonly $identifier?: (() => PropertyShape.Identifier) | BlankNode | NamedNode | string;
147
+ };
148
+ export declare namespace NodeShape {
149
+ const create: (parameters?: {
150
+ readonly $identifier?: (() => NodeShape.Identifier) | BlankNode | NamedNode | string;
156
151
  readonly and?: readonly (BlankNode | NamedNode | string | undefined)[] | Maybe<readonly (BlankNode | NamedNode)[]>;
157
152
  readonly classes?: string | NamedNode | readonly (string | NamedNode)[];
153
+ readonly closed?: boolean | Maybe<boolean>;
158
154
  readonly comment?: string | Maybe<string>;
159
155
  readonly datatype?: string | NamedNode | Maybe<NamedNode>;
160
156
  readonly deactivated?: boolean | Maybe<boolean>;
161
- readonly defaultValue?: (NamedNode | Literal) | Maybe<NamedNode | Literal>;
162
- readonly description?: string | Maybe<string>;
163
- readonly disjoint?: string | NamedNode | readonly (string | NamedNode)[];
164
- readonly display?: boolean;
165
- readonly equals?: string | NamedNode | readonly (string | NamedNode)[];
157
+ readonly discriminantValue?: string | Maybe<string>;
158
+ readonly extern?: boolean | Maybe<boolean>;
166
159
  readonly flags?: string | Maybe<string>;
167
- readonly groups?: BlankNode | NamedNode | string | readonly (BlankNode | NamedNode | string | undefined)[];
160
+ readonly fromRdfType?: string | NamedNode | Maybe<NamedNode>;
168
161
  readonly hasValues?: (NamedNode | Literal) | readonly (NamedNode | Literal)[];
162
+ readonly ignore?: boolean;
163
+ readonly ignoredProperties?: readonly (string | NamedNode)[] | Maybe<readonly NamedNode[]>;
169
164
  readonly in_?: readonly (NamedNode | Literal)[] | Maybe<readonly (NamedNode | Literal)[]>;
170
165
  readonly isDefinedBy?: BlankNode | NamedNode | string | Maybe<BlankNode | NamedNode>;
171
166
  readonly label?: string | Maybe<string>;
172
167
  readonly languageIn?: readonly string[] | Maybe<readonly string[]>;
173
- readonly lessThan?: string | NamedNode | readonly (string | NamedNode)[];
174
- readonly lessThanOrEquals?: string | NamedNode | readonly (string | NamedNode)[];
175
- readonly maxCount?: bigint | Maybe<bigint>;
176
168
  readonly maxExclusive?: bigint | boolean | number | string | Date | Literal | Maybe<Literal>;
177
169
  readonly maxInclusive?: bigint | boolean | number | string | Date | Literal | Maybe<Literal>;
178
170
  readonly maxLength?: bigint | Maybe<bigint>;
179
171
  readonly message?: string | Maybe<string>;
180
- readonly minCount?: bigint | Maybe<bigint>;
181
172
  readonly minExclusive?: bigint | boolean | number | string | Date | Literal | Maybe<Literal>;
182
173
  readonly minInclusive?: bigint | boolean | number | string | Date | Literal | Maybe<Literal>;
183
174
  readonly minLength?: bigint | Maybe<bigint>;
184
175
  readonly mutable?: boolean | Maybe<boolean>;
185
- readonly name?: string | Maybe<string>;
186
176
  readonly node?: BlankNode | NamedNode | string | Maybe<BlankNode | NamedNode>;
187
177
  readonly nodeKind?: ("http://www.w3.org/ns/shacl#BlankNode" | "http://www.w3.org/ns/shacl#BlankNodeOrIRI" | "http://www.w3.org/ns/shacl#BlankNodeOrLiteral" | "http://www.w3.org/ns/shacl#IRI" | "http://www.w3.org/ns/shacl#IRIOrLiteral" | "http://www.w3.org/ns/shacl#Literal") | NamedNode<"http://www.w3.org/ns/shacl#BlankNode" | "http://www.w3.org/ns/shacl#BlankNodeOrIRI" | "http://www.w3.org/ns/shacl#BlankNodeOrLiteral" | "http://www.w3.org/ns/shacl#IRI" | "http://www.w3.org/ns/shacl#IRIOrLiteral" | "http://www.w3.org/ns/shacl#Literal"> | Maybe<NamedNode<"http://www.w3.org/ns/shacl#BlankNode" | "http://www.w3.org/ns/shacl#BlankNodeOrIRI" | "http://www.w3.org/ns/shacl#BlankNodeOrLiteral" | "http://www.w3.org/ns/shacl#IRI" | "http://www.w3.org/ns/shacl#IRIOrLiteral" | "http://www.w3.org/ns/shacl#Literal">>;
188
178
  readonly not?: BlankNode | NamedNode | string | readonly (BlankNode | NamedNode | string | undefined)[];
189
179
  readonly or?: readonly (BlankNode | NamedNode | string | undefined)[] | Maybe<readonly (BlankNode | NamedNode)[]>;
190
- readonly order?: number | Maybe<number>;
191
- readonly path: $PropertyPath;
192
180
  readonly pattern?: string | Maybe<string>;
193
- readonly qualifiedMaxCount?: bigint | Maybe<bigint>;
194
- readonly qualifiedMinCount?: bigint | Maybe<bigint>;
195
- readonly qualifiedValueShape?: BlankNode | NamedNode | string | Maybe<BlankNode | NamedNode>;
196
- readonly qualifiedValueShapesDisjoint?: boolean | Maybe<boolean>;
197
- readonly resolve?: BlankNode | NamedNode | string | Maybe<BlankNode | NamedNode>;
181
+ readonly properties?: BlankNode | NamedNode | string | readonly (BlankNode | NamedNode | string | undefined)[];
182
+ readonly rdfType?: string | NamedNode | Maybe<NamedNode>;
198
183
  readonly severity?: ("http://www.w3.org/ns/shacl#Info" | "http://www.w3.org/ns/shacl#Warning" | "http://www.w3.org/ns/shacl#Violation") | NamedNode<"http://www.w3.org/ns/shacl#Info" | "http://www.w3.org/ns/shacl#Warning" | "http://www.w3.org/ns/shacl#Violation"> | Maybe<NamedNode<"http://www.w3.org/ns/shacl#Info" | "http://www.w3.org/ns/shacl#Warning" | "http://www.w3.org/ns/shacl#Violation">>;
199
184
  readonly shaclmateName?: string | Maybe<string>;
185
+ readonly subClassOf?: string | NamedNode | readonly (string | NamedNode)[];
200
186
  readonly targetClasses?: string | NamedNode | readonly (string | NamedNode)[];
201
187
  readonly targetNodes?: (NamedNode | Literal) | readonly (NamedNode | Literal)[];
202
188
  readonly targetObjectsOf?: string | NamedNode | readonly (string | NamedNode)[];
203
189
  readonly targetSubjectsOf?: string | NamedNode | readonly (string | NamedNode)[];
204
- readonly uniqueLang?: boolean | Maybe<boolean>;
190
+ readonly toRdfTypes?: string | NamedNode | readonly (string | NamedNode)[];
191
+ readonly tsImports?: string | readonly string[];
192
+ readonly types?: string | NamedNode | readonly (string | NamedNode)[];
205
193
  readonly xone?: readonly (BlankNode | NamedNode | string | undefined)[] | Maybe<readonly (BlankNode | NamedNode)[]>;
206
- }): Either<Error, PropertyShape>;
207
- function createUnsafe(parameters: {
208
- readonly $identifier?: (() => PropertyShape.Identifier) | BlankNode | NamedNode | string;
194
+ }) => Either<Error, NodeShape>;
195
+ function createUnsafe(parameters?: {
196
+ readonly $identifier?: (() => NodeShape.Identifier) | BlankNode | NamedNode | string;
209
197
  readonly and?: readonly (BlankNode | NamedNode | string | undefined)[] | Maybe<readonly (BlankNode | NamedNode)[]>;
210
198
  readonly classes?: string | NamedNode | readonly (string | NamedNode)[];
199
+ readonly closed?: boolean | Maybe<boolean>;
211
200
  readonly comment?: string | Maybe<string>;
212
201
  readonly datatype?: string | NamedNode | Maybe<NamedNode>;
213
202
  readonly deactivated?: boolean | Maybe<boolean>;
214
- readonly defaultValue?: (NamedNode | Literal) | Maybe<NamedNode | Literal>;
215
- readonly description?: string | Maybe<string>;
216
- readonly disjoint?: string | NamedNode | readonly (string | NamedNode)[];
217
- readonly display?: boolean;
218
- readonly equals?: string | NamedNode | readonly (string | NamedNode)[];
203
+ readonly discriminantValue?: string | Maybe<string>;
204
+ readonly extern?: boolean | Maybe<boolean>;
219
205
  readonly flags?: string | Maybe<string>;
220
- readonly groups?: BlankNode | NamedNode | string | readonly (BlankNode | NamedNode | string | undefined)[];
206
+ readonly fromRdfType?: string | NamedNode | Maybe<NamedNode>;
221
207
  readonly hasValues?: (NamedNode | Literal) | readonly (NamedNode | Literal)[];
208
+ readonly ignore?: boolean;
209
+ readonly ignoredProperties?: readonly (string | NamedNode)[] | Maybe<readonly NamedNode[]>;
222
210
  readonly in_?: readonly (NamedNode | Literal)[] | Maybe<readonly (NamedNode | Literal)[]>;
223
211
  readonly isDefinedBy?: BlankNode | NamedNode | string | Maybe<BlankNode | NamedNode>;
224
212
  readonly label?: string | Maybe<string>;
225
213
  readonly languageIn?: readonly string[] | Maybe<readonly string[]>;
226
- readonly lessThan?: string | NamedNode | readonly (string | NamedNode)[];
227
- readonly lessThanOrEquals?: string | NamedNode | readonly (string | NamedNode)[];
228
- readonly maxCount?: bigint | Maybe<bigint>;
229
214
  readonly maxExclusive?: bigint | boolean | number | string | Date | Literal | Maybe<Literal>;
230
215
  readonly maxInclusive?: bigint | boolean | number | string | Date | Literal | Maybe<Literal>;
231
216
  readonly maxLength?: bigint | Maybe<bigint>;
232
217
  readonly message?: string | Maybe<string>;
233
- readonly minCount?: bigint | Maybe<bigint>;
234
218
  readonly minExclusive?: bigint | boolean | number | string | Date | Literal | Maybe<Literal>;
235
219
  readonly minInclusive?: bigint | boolean | number | string | Date | Literal | Maybe<Literal>;
236
220
  readonly minLength?: bigint | Maybe<bigint>;
237
221
  readonly mutable?: boolean | Maybe<boolean>;
238
- readonly name?: string | Maybe<string>;
239
222
  readonly node?: BlankNode | NamedNode | string | Maybe<BlankNode | NamedNode>;
240
223
  readonly nodeKind?: ("http://www.w3.org/ns/shacl#BlankNode" | "http://www.w3.org/ns/shacl#BlankNodeOrIRI" | "http://www.w3.org/ns/shacl#BlankNodeOrLiteral" | "http://www.w3.org/ns/shacl#IRI" | "http://www.w3.org/ns/shacl#IRIOrLiteral" | "http://www.w3.org/ns/shacl#Literal") | NamedNode<"http://www.w3.org/ns/shacl#BlankNode" | "http://www.w3.org/ns/shacl#BlankNodeOrIRI" | "http://www.w3.org/ns/shacl#BlankNodeOrLiteral" | "http://www.w3.org/ns/shacl#IRI" | "http://www.w3.org/ns/shacl#IRIOrLiteral" | "http://www.w3.org/ns/shacl#Literal"> | Maybe<NamedNode<"http://www.w3.org/ns/shacl#BlankNode" | "http://www.w3.org/ns/shacl#BlankNodeOrIRI" | "http://www.w3.org/ns/shacl#BlankNodeOrLiteral" | "http://www.w3.org/ns/shacl#IRI" | "http://www.w3.org/ns/shacl#IRIOrLiteral" | "http://www.w3.org/ns/shacl#Literal">>;
241
224
  readonly not?: BlankNode | NamedNode | string | readonly (BlankNode | NamedNode | string | undefined)[];
242
225
  readonly or?: readonly (BlankNode | NamedNode | string | undefined)[] | Maybe<readonly (BlankNode | NamedNode)[]>;
243
- readonly order?: number | Maybe<number>;
244
- readonly path: $PropertyPath;
245
226
  readonly pattern?: string | Maybe<string>;
246
- readonly qualifiedMaxCount?: bigint | Maybe<bigint>;
247
- readonly qualifiedMinCount?: bigint | Maybe<bigint>;
248
- readonly qualifiedValueShape?: BlankNode | NamedNode | string | Maybe<BlankNode | NamedNode>;
249
- readonly qualifiedValueShapesDisjoint?: boolean | Maybe<boolean>;
250
- readonly resolve?: BlankNode | NamedNode | string | Maybe<BlankNode | NamedNode>;
227
+ readonly properties?: BlankNode | NamedNode | string | readonly (BlankNode | NamedNode | string | undefined)[];
228
+ readonly rdfType?: string | NamedNode | Maybe<NamedNode>;
251
229
  readonly severity?: ("http://www.w3.org/ns/shacl#Info" | "http://www.w3.org/ns/shacl#Warning" | "http://www.w3.org/ns/shacl#Violation") | NamedNode<"http://www.w3.org/ns/shacl#Info" | "http://www.w3.org/ns/shacl#Warning" | "http://www.w3.org/ns/shacl#Violation"> | Maybe<NamedNode<"http://www.w3.org/ns/shacl#Info" | "http://www.w3.org/ns/shacl#Warning" | "http://www.w3.org/ns/shacl#Violation">>;
252
230
  readonly shaclmateName?: string | Maybe<string>;
231
+ readonly subClassOf?: string | NamedNode | readonly (string | NamedNode)[];
253
232
  readonly targetClasses?: string | NamedNode | readonly (string | NamedNode)[];
254
233
  readonly targetNodes?: (NamedNode | Literal) | readonly (NamedNode | Literal)[];
255
234
  readonly targetObjectsOf?: string | NamedNode | readonly (string | NamedNode)[];
256
235
  readonly targetSubjectsOf?: string | NamedNode | readonly (string | NamedNode)[];
257
- readonly uniqueLang?: boolean | Maybe<boolean>;
236
+ readonly toRdfTypes?: string | NamedNode | readonly (string | NamedNode)[];
237
+ readonly tsImports?: string | readonly string[];
238
+ readonly types?: string | NamedNode | readonly (string | NamedNode)[];
258
239
  readonly xone?: readonly (BlankNode | NamedNode | string | undefined)[] | Maybe<readonly (BlankNode | NamedNode)[]>;
259
- }): PropertyShape;
240
+ }): NodeShape;
241
+ const _fromRdfResource: $_FromRdfResourceFunction<NodeShape>;
242
+ const fromRdfResource: $FromRdfResourceFunction<NodeShape>;
243
+ const fromRdfResourceValues: $FromRdfResourceValuesFunction<NodeShape, NodeShape.Schema>;
260
244
  type Identifier = BlankNode | NamedNode;
261
245
  namespace Identifier {
262
246
  const parse: (value: string) => Either<Error, import("@rdfx/string/dist/Identifier.js").Identifier>;
263
247
  const stringify: typeof NTriplesTerm.stringify;
264
248
  }
265
- const _fromRdfResource: $_FromRdfResourceFunction<PropertyShape>;
266
- const fromRdfResource: $FromRdfResourceFunction<PropertyShape>;
267
- const fromRdfResourceValues: $FromRdfResourceValuesFunction<PropertyShape>;
268
- const fromRdfType: NamedNode<string>;
269
- function isPropertyShape(object: $Object): object is PropertyShape;
249
+ function isNodeShape(object: $Object): object is NodeShape;
270
250
  const schema: {
251
+ readonly fromRdfType: import("@rdfx/data-factory/dist/NamedNode.js").NamedNode<"http://www.w3.org/ns/shacl#NodeShape">;
271
252
  readonly properties: {
272
253
  readonly $identifier: {
273
254
  readonly kind: "Identifier";
@@ -298,6 +279,16 @@ export declare namespace PropertyShape {
298
279
  };
299
280
  };
300
281
  };
282
+ readonly closed: {
283
+ readonly kind: "Shacl";
284
+ readonly path: import("@rdfx/data-factory/dist/NamedNode.js").NamedNode<"http://www.w3.org/ns/shacl#closed">;
285
+ readonly type: {
286
+ readonly kind: "Option";
287
+ readonly itemType: {
288
+ readonly kind: "Boolean";
289
+ };
290
+ };
291
+ };
301
292
  readonly comment: {
302
293
  readonly kind: "Shacl";
303
294
  readonly path: import("@rdfx/data-factory/dist/NamedNode.js").NamedNode<"http://www.w3.org/2000/01/rdf-schema#comment">;
@@ -328,19 +319,9 @@ export declare namespace PropertyShape {
328
319
  };
329
320
  };
330
321
  };
331
- readonly defaultValue: {
332
- readonly kind: "Shacl";
333
- readonly path: import("@rdfx/data-factory/dist/NamedNode.js").NamedNode<"http://www.w3.org/ns/shacl#defaultValue">;
334
- readonly type: {
335
- readonly kind: "Option";
336
- readonly itemType: {
337
- readonly kind: "Term";
338
- };
339
- };
340
- };
341
- readonly description: {
322
+ readonly discriminantValue: {
342
323
  readonly kind: "Shacl";
343
- readonly path: import("@rdfx/data-factory/dist/NamedNode.js").NamedNode<"http://www.w3.org/ns/shacl#description">;
324
+ readonly path: import("@rdfx/data-factory/dist/NamedNode.js").NamedNode<"http://purl.org/shaclmate/ontology#discriminantValue">;
344
325
  readonly type: {
345
326
  readonly kind: "Option";
346
327
  readonly itemType: {
@@ -348,64 +329,68 @@ export declare namespace PropertyShape {
348
329
  };
349
330
  };
350
331
  };
351
- readonly disjoint: {
332
+ readonly extern: {
352
333
  readonly kind: "Shacl";
353
- readonly path: import("@rdfx/data-factory/dist/NamedNode.js").NamedNode<"http://www.w3.org/ns/shacl#disjoint">;
334
+ readonly path: import("@rdfx/data-factory/dist/NamedNode.js").NamedNode<"http://purl.org/shaclmate/ontology#extern">;
354
335
  readonly type: {
355
- readonly kind: "Set";
336
+ readonly kind: "Option";
356
337
  readonly itemType: {
357
- readonly kind: "Iri";
338
+ readonly kind: "Boolean";
358
339
  };
359
340
  };
360
341
  };
361
- readonly display: {
342
+ readonly flags: {
362
343
  readonly kind: "Shacl";
363
- readonly path: import("@rdfx/data-factory/dist/NamedNode.js").NamedNode<"http://purl.org/shaclmate/ontology#display">;
344
+ readonly path: import("@rdfx/data-factory/dist/NamedNode.js").NamedNode<"http://www.w3.org/ns/shacl#flags">;
364
345
  readonly type: {
365
- readonly kind: "DefaultValue";
346
+ readonly kind: "Option";
366
347
  readonly itemType: {
367
- readonly kind: "Boolean";
348
+ readonly kind: "String";
368
349
  };
369
- readonly defaultValue: false;
370
350
  };
371
351
  };
372
- readonly equals: {
352
+ readonly fromRdfType: {
373
353
  readonly kind: "Shacl";
374
- readonly path: import("@rdfx/data-factory/dist/NamedNode.js").NamedNode<"http://www.w3.org/ns/shacl#equals">;
354
+ readonly path: import("@rdfx/data-factory/dist/NamedNode.js").NamedNode<"http://purl.org/shaclmate/ontology#fromRdfType">;
375
355
  readonly type: {
376
- readonly kind: "Set";
356
+ readonly kind: "Option";
377
357
  readonly itemType: {
378
358
  readonly kind: "Iri";
379
359
  };
380
360
  };
381
361
  };
382
- readonly flags: {
362
+ readonly hasValues: {
383
363
  readonly kind: "Shacl";
384
- readonly path: import("@rdfx/data-factory/dist/NamedNode.js").NamedNode<"http://www.w3.org/ns/shacl#flags">;
364
+ readonly path: import("@rdfx/data-factory/dist/NamedNode.js").NamedNode<"http://www.w3.org/ns/shacl#hasValue">;
385
365
  readonly type: {
386
- readonly kind: "Option";
366
+ readonly kind: "Set";
387
367
  readonly itemType: {
388
- readonly kind: "String";
368
+ readonly kind: "Term";
369
+ readonly types: readonly ["NamedNode", "Literal"];
389
370
  };
390
371
  };
391
372
  };
392
- readonly groups: {
373
+ readonly ignore: {
393
374
  readonly kind: "Shacl";
394
- readonly path: import("@rdfx/data-factory/dist/NamedNode.js").NamedNode<"http://www.w3.org/ns/shacl#group">;
375
+ readonly path: import("@rdfx/data-factory/dist/NamedNode.js").NamedNode<"http://purl.org/shaclmate/ontology#ignore">;
395
376
  readonly type: {
396
- readonly kind: "Set";
377
+ readonly kind: "DefaultValue";
397
378
  readonly itemType: {
398
- readonly kind: "Identifier";
379
+ readonly kind: "Boolean";
399
380
  };
381
+ readonly defaultValue: import("@rdfx/data-factory/dist/Literal.js").Literal;
400
382
  };
401
383
  };
402
- readonly hasValues: {
384
+ readonly ignoredProperties: {
403
385
  readonly kind: "Shacl";
404
- readonly path: import("@rdfx/data-factory/dist/NamedNode.js").NamedNode<"http://www.w3.org/ns/shacl#hasValue">;
386
+ readonly path: import("@rdfx/data-factory/dist/NamedNode.js").NamedNode<"http://www.w3.org/ns/shacl#ignoredProperties">;
405
387
  readonly type: {
406
- readonly kind: "Set";
388
+ readonly kind: "Option";
407
389
  readonly itemType: {
408
- readonly kind: "Term";
390
+ readonly kind: "List";
391
+ readonly itemType: {
392
+ readonly kind: "Iri";
393
+ };
409
394
  };
410
395
  };
411
396
  };
@@ -418,6 +403,7 @@ export declare namespace PropertyShape {
418
403
  readonly kind: "List";
419
404
  readonly itemType: {
420
405
  readonly kind: "Term";
406
+ readonly types: readonly ["NamedNode", "Literal"];
421
407
  };
422
408
  };
423
409
  };
@@ -455,36 +441,6 @@ export declare namespace PropertyShape {
455
441
  };
456
442
  };
457
443
  };
458
- readonly lessThan: {
459
- readonly kind: "Shacl";
460
- readonly path: import("@rdfx/data-factory/dist/NamedNode.js").NamedNode<"http://www.w3.org/ns/shacl#lessThan">;
461
- readonly type: {
462
- readonly kind: "Set";
463
- readonly itemType: {
464
- readonly kind: "Iri";
465
- };
466
- };
467
- };
468
- readonly lessThanOrEquals: {
469
- readonly kind: "Shacl";
470
- readonly path: import("@rdfx/data-factory/dist/NamedNode.js").NamedNode<"http://www.w3.org/ns/shacl#lessThanOrEquals">;
471
- readonly type: {
472
- readonly kind: "Set";
473
- readonly itemType: {
474
- readonly kind: "Iri";
475
- };
476
- };
477
- };
478
- readonly maxCount: {
479
- readonly kind: "Shacl";
480
- readonly path: import("@rdfx/data-factory/dist/NamedNode.js").NamedNode<"http://www.w3.org/ns/shacl#maxCount">;
481
- readonly type: {
482
- readonly kind: "Option";
483
- readonly itemType: {
484
- readonly kind: "BigInt";
485
- };
486
- };
487
- };
488
444
  readonly maxExclusive: {
489
445
  readonly kind: "Shacl";
490
446
  readonly path: import("@rdfx/data-factory/dist/NamedNode.js").NamedNode<"http://www.w3.org/ns/shacl#maxExclusive">;
@@ -525,16 +481,6 @@ export declare namespace PropertyShape {
525
481
  };
526
482
  };
527
483
  };
528
- readonly minCount: {
529
- readonly kind: "Shacl";
530
- readonly path: import("@rdfx/data-factory/dist/NamedNode.js").NamedNode<"http://www.w3.org/ns/shacl#minCount">;
531
- readonly type: {
532
- readonly kind: "Option";
533
- readonly itemType: {
534
- readonly kind: "BigInt";
535
- };
536
- };
537
- };
538
484
  readonly minExclusive: {
539
485
  readonly kind: "Shacl";
540
486
  readonly path: import("@rdfx/data-factory/dist/NamedNode.js").NamedNode<"http://www.w3.org/ns/shacl#minExclusive">;
@@ -575,16 +521,6 @@ export declare namespace PropertyShape {
575
521
  };
576
522
  };
577
523
  };
578
- readonly name: {
579
- readonly kind: "Shacl";
580
- readonly path: import("@rdfx/data-factory/dist/NamedNode.js").NamedNode<"http://www.w3.org/ns/shacl#name">;
581
- readonly type: {
582
- readonly kind: "Option";
583
- readonly itemType: {
584
- readonly kind: "String";
585
- };
586
- };
587
- };
588
524
  readonly node: {
589
525
  readonly kind: "Shacl";
590
526
  readonly path: import("@rdfx/data-factory/dist/NamedNode.js").NamedNode<"http://www.w3.org/ns/shacl#node">;
@@ -629,21 +565,6 @@ export declare namespace PropertyShape {
629
565
  };
630
566
  };
631
567
  };
632
- readonly order: {
633
- readonly kind: "Shacl";
634
- readonly path: import("@rdfx/data-factory/dist/NamedNode.js").NamedNode<"http://www.w3.org/ns/shacl#order">;
635
- readonly type: {
636
- readonly kind: "Option";
637
- readonly itemType: {
638
- readonly kind: "Float";
639
- };
640
- };
641
- };
642
- readonly path: {
643
- readonly kind: "Shacl";
644
- readonly path: import("@rdfx/data-factory/dist/NamedNode.js").NamedNode<"http://www.w3.org/ns/shacl#path">;
645
- readonly type: object;
646
- };
647
568
  readonly pattern: {
648
569
  readonly kind: "Shacl";
649
570
  readonly path: import("@rdfx/data-factory/dist/NamedNode.js").NamedNode<"http://www.w3.org/ns/shacl#pattern">;
@@ -654,80 +575,81 @@ export declare namespace PropertyShape {
654
575
  };
655
576
  };
656
577
  };
657
- readonly qualifiedMaxCount: {
578
+ readonly properties: {
658
579
  readonly kind: "Shacl";
659
- readonly path: import("@rdfx/data-factory/dist/NamedNode.js").NamedNode<"http://www.w3.org/ns/shacl#qualifiedMaxCount">;
580
+ readonly path: import("@rdfx/data-factory/dist/NamedNode.js").NamedNode<"http://www.w3.org/ns/shacl#property">;
660
581
  readonly type: {
661
- readonly kind: "Option";
582
+ readonly kind: "Set";
662
583
  readonly itemType: {
663
- readonly kind: "BigInt";
584
+ readonly kind: "Identifier";
664
585
  };
665
586
  };
666
587
  };
667
- readonly qualifiedMinCount: {
588
+ readonly rdfType: {
668
589
  readonly kind: "Shacl";
669
- readonly path: import("@rdfx/data-factory/dist/NamedNode.js").NamedNode<"http://www.w3.org/ns/shacl#qualifiedMinCount">;
590
+ readonly path: import("@rdfx/data-factory/dist/NamedNode.js").NamedNode<"http://purl.org/shaclmate/ontology#rdfType">;
670
591
  readonly type: {
671
592
  readonly kind: "Option";
672
593
  readonly itemType: {
673
- readonly kind: "BigInt";
594
+ readonly kind: "Iri";
674
595
  };
675
596
  };
676
597
  };
677
- readonly qualifiedValueShape: {
598
+ readonly severity: {
678
599
  readonly kind: "Shacl";
679
- readonly path: import("@rdfx/data-factory/dist/NamedNode.js").NamedNode<"http://www.w3.org/ns/shacl#qualifiedValueShape">;
600
+ readonly path: import("@rdfx/data-factory/dist/NamedNode.js").NamedNode<"http://www.w3.org/ns/shacl#severity">;
680
601
  readonly type: {
681
602
  readonly kind: "Option";
682
603
  readonly itemType: {
683
- readonly kind: "Identifier";
604
+ readonly kind: "Iri";
605
+ readonly in: readonly [import("@rdfx/data-factory/dist/NamedNode.js").NamedNode<"http://www.w3.org/ns/shacl#Info">, import("@rdfx/data-factory/dist/NamedNode.js").NamedNode<"http://www.w3.org/ns/shacl#Warning">, import("@rdfx/data-factory/dist/NamedNode.js").NamedNode<"http://www.w3.org/ns/shacl#Violation">];
684
606
  };
685
607
  };
686
608
  };
687
- readonly qualifiedValueShapesDisjoint: {
609
+ readonly shaclmateName: {
688
610
  readonly kind: "Shacl";
689
- readonly path: import("@rdfx/data-factory/dist/NamedNode.js").NamedNode<"http://www.w3.org/ns/shacl#qualifiedValueShapesDisjoint">;
611
+ readonly path: import("@rdfx/data-factory/dist/NamedNode.js").NamedNode<"http://purl.org/shaclmate/ontology#name">;
690
612
  readonly type: {
691
613
  readonly kind: "Option";
692
614
  readonly itemType: {
693
- readonly kind: "Boolean";
615
+ readonly kind: "String";
694
616
  };
695
617
  };
696
618
  };
697
- readonly resolve: {
619
+ readonly subClassOf: {
698
620
  readonly kind: "Shacl";
699
- readonly path: import("@rdfx/data-factory/dist/NamedNode.js").NamedNode<"http://purl.org/shaclmate/ontology#resolve">;
621
+ readonly path: import("@rdfx/data-factory/dist/NamedNode.js").NamedNode<"http://www.w3.org/2000/01/rdf-schema#subClassOf">;
700
622
  readonly type: {
701
- readonly kind: "Option";
623
+ readonly kind: "Set";
702
624
  readonly itemType: {
703
- readonly kind: "Identifier";
625
+ readonly kind: "Iri";
704
626
  };
705
627
  };
706
628
  };
707
- readonly severity: {
629
+ readonly targetClasses: {
708
630
  readonly kind: "Shacl";
709
- readonly path: import("@rdfx/data-factory/dist/NamedNode.js").NamedNode<"http://www.w3.org/ns/shacl#severity">;
631
+ readonly path: import("@rdfx/data-factory/dist/NamedNode.js").NamedNode<"http://www.w3.org/ns/shacl#targetClass">;
710
632
  readonly type: {
711
- readonly kind: "Option";
633
+ readonly kind: "Set";
712
634
  readonly itemType: {
713
635
  readonly kind: "Iri";
714
- readonly in: readonly [import("@rdfx/data-factory/dist/NamedNode.js").NamedNode<"http://www.w3.org/ns/shacl#Info">, import("@rdfx/data-factory/dist/NamedNode.js").NamedNode<"http://www.w3.org/ns/shacl#Warning">, import("@rdfx/data-factory/dist/NamedNode.js").NamedNode<"http://www.w3.org/ns/shacl#Violation">];
715
636
  };
716
637
  };
717
638
  };
718
- readonly shaclmateName: {
639
+ readonly targetNodes: {
719
640
  readonly kind: "Shacl";
720
- readonly path: import("@rdfx/data-factory/dist/NamedNode.js").NamedNode<"http://purl.org/shaclmate/ontology#name">;
641
+ readonly path: import("@rdfx/data-factory/dist/NamedNode.js").NamedNode<"http://www.w3.org/ns/shacl#targetNode">;
721
642
  readonly type: {
722
- readonly kind: "Option";
643
+ readonly kind: "Set";
723
644
  readonly itemType: {
724
- readonly kind: "String";
645
+ readonly kind: "Term";
646
+ readonly types: readonly ["NamedNode", "Literal"];
725
647
  };
726
648
  };
727
649
  };
728
- readonly targetClasses: {
650
+ readonly targetObjectsOf: {
729
651
  readonly kind: "Shacl";
730
- readonly path: import("@rdfx/data-factory/dist/NamedNode.js").NamedNode<"http://www.w3.org/ns/shacl#targetClass">;
652
+ readonly path: import("@rdfx/data-factory/dist/NamedNode.js").NamedNode<"http://www.w3.org/ns/shacl#targetObjectsOf">;
731
653
  readonly type: {
732
654
  readonly kind: "Set";
733
655
  readonly itemType: {
@@ -735,19 +657,19 @@ export declare namespace PropertyShape {
735
657
  };
736
658
  };
737
659
  };
738
- readonly targetNodes: {
660
+ readonly targetSubjectsOf: {
739
661
  readonly kind: "Shacl";
740
- readonly path: import("@rdfx/data-factory/dist/NamedNode.js").NamedNode<"http://www.w3.org/ns/shacl#targetNode">;
662
+ readonly path: import("@rdfx/data-factory/dist/NamedNode.js").NamedNode<"http://www.w3.org/ns/shacl#targetSubjectsOf">;
741
663
  readonly type: {
742
664
  readonly kind: "Set";
743
665
  readonly itemType: {
744
- readonly kind: "Term";
666
+ readonly kind: "Iri";
745
667
  };
746
668
  };
747
669
  };
748
- readonly targetObjectsOf: {
670
+ readonly toRdfTypes: {
749
671
  readonly kind: "Shacl";
750
- readonly path: import("@rdfx/data-factory/dist/NamedNode.js").NamedNode<"http://www.w3.org/ns/shacl#targetObjectsOf">;
672
+ readonly path: import("@rdfx/data-factory/dist/NamedNode.js").NamedNode<"http://purl.org/shaclmate/ontology#toRdfType">;
751
673
  readonly type: {
752
674
  readonly kind: "Set";
753
675
  readonly itemType: {
@@ -755,23 +677,23 @@ export declare namespace PropertyShape {
755
677
  };
756
678
  };
757
679
  };
758
- readonly targetSubjectsOf: {
680
+ readonly tsImports: {
759
681
  readonly kind: "Shacl";
760
- readonly path: import("@rdfx/data-factory/dist/NamedNode.js").NamedNode<"http://www.w3.org/ns/shacl#targetSubjectsOf">;
682
+ readonly path: import("@rdfx/data-factory/dist/NamedNode.js").NamedNode<"http://purl.org/shaclmate/ontology#tsImport">;
761
683
  readonly type: {
762
684
  readonly kind: "Set";
763
685
  readonly itemType: {
764
- readonly kind: "Iri";
686
+ readonly kind: "String";
765
687
  };
766
688
  };
767
689
  };
768
- readonly uniqueLang: {
690
+ readonly types: {
769
691
  readonly kind: "Shacl";
770
- readonly path: import("@rdfx/data-factory/dist/NamedNode.js").NamedNode<"http://www.w3.org/ns/shacl#uniqueLang">;
692
+ readonly path: import("@rdfx/data-factory/dist/NamedNode.js").NamedNode<"http://www.w3.org/1999/02/22-rdf-syntax-ns#type">;
771
693
  readonly type: {
772
- readonly kind: "Option";
694
+ readonly kind: "Set";
773
695
  readonly itemType: {
774
- readonly kind: "Boolean";
696
+ readonly kind: "Iri";
775
697
  };
776
698
  };
777
699
  };
@@ -790,39 +712,40 @@ export declare namespace PropertyShape {
790
712
  };
791
713
  };
792
714
  };
793
- const _toRdfResource: $_ToRdfResourceFunction<PropertyShape.Identifier, PropertyShape>;
794
- const toRdfResource: $ToRdfResourceFunction<PropertyShape, Identifier>;
795
- function _propertiesToStrings(_propertyShape: PropertyShape): Record<string, string>;
796
- function $toString(_propertyShape: PropertyShape): string;
715
+ type Schema = typeof schema;
716
+ const _toRdfResource: $_ToRdfResourceFunction<NodeShape.Identifier, NodeShape>;
717
+ const toRdfResource: $ToRdfResourceFunction<NodeShape, Identifier>;
718
+ const $toString: (_nodeShape: NodeShape) => string;
719
+ const toStringRecord: (_nodeShape: NodeShape) => Record<string, string>;
797
720
  }
798
- export interface PropertyGroup {
799
- readonly $identifier: () => PropertyGroup.Identifier;
800
- readonly $type: "PropertyGroup";
721
+ export type Ontology = {
722
+ readonly $identifier: () => Ontology.Identifier;
723
+ readonly $type: "Ontology";
801
724
  readonly comment: Maybe<string>;
802
725
  readonly label: Maybe<string>;
803
- }
804
- export declare namespace PropertyGroup {
805
- function create(parameters?: {
806
- readonly $identifier?: (() => PropertyGroup.Identifier) | BlankNode | NamedNode | string;
726
+ };
727
+ export declare namespace Ontology {
728
+ const create: (parameters?: {
729
+ readonly $identifier?: (() => Ontology.Identifier) | BlankNode | NamedNode | string;
807
730
  readonly comment?: string | Maybe<string>;
808
731
  readonly label?: string | Maybe<string>;
809
- }): Either<Error, PropertyGroup>;
732
+ }) => Either<Error, Ontology>;
810
733
  function createUnsafe(parameters?: {
811
- readonly $identifier?: (() => PropertyGroup.Identifier) | BlankNode | NamedNode | string;
734
+ readonly $identifier?: (() => Ontology.Identifier) | BlankNode | NamedNode | string;
812
735
  readonly comment?: string | Maybe<string>;
813
736
  readonly label?: string | Maybe<string>;
814
- }): PropertyGroup;
737
+ }): Ontology;
738
+ const _fromRdfResource: $_FromRdfResourceFunction<Ontology>;
739
+ const fromRdfResource: $FromRdfResourceFunction<Ontology>;
740
+ const fromRdfResourceValues: $FromRdfResourceValuesFunction<Ontology, Ontology.Schema>;
815
741
  type Identifier = BlankNode | NamedNode;
816
742
  namespace Identifier {
817
743
  const parse: (value: string) => Either<Error, import("@rdfx/string/dist/Identifier.js").Identifier>;
818
744
  const stringify: typeof NTriplesTerm.stringify;
819
745
  }
820
- const _fromRdfResource: $_FromRdfResourceFunction<PropertyGroup>;
821
- const fromRdfResource: $FromRdfResourceFunction<PropertyGroup>;
822
- const fromRdfResourceValues: $FromRdfResourceValuesFunction<PropertyGroup>;
823
- const fromRdfType: NamedNode<string>;
824
- function isPropertyGroup(object: $Object): object is PropertyGroup;
746
+ function isOntology(object: $Object): object is Ontology;
825
747
  const schema: {
748
+ readonly fromRdfType: import("@rdfx/data-factory/dist/NamedNode.js").NamedNode<"http://www.w3.org/2002/07/owl#Ontology">;
826
749
  readonly properties: {
827
750
  readonly $identifier: {
828
751
  readonly kind: "Identifier";
@@ -852,39 +775,40 @@ export declare namespace PropertyGroup {
852
775
  };
853
776
  };
854
777
  };
855
- const _toRdfResource: $_ToRdfResourceFunction<PropertyGroup.Identifier, PropertyGroup>;
856
- const toRdfResource: $ToRdfResourceFunction<PropertyGroup, Identifier>;
857
- function _propertiesToStrings(_propertyGroup: PropertyGroup): Record<string, string>;
858
- function $toString(_propertyGroup: PropertyGroup): string;
778
+ type Schema = typeof schema;
779
+ const _toRdfResource: $_ToRdfResourceFunction<Ontology.Identifier, Ontology>;
780
+ const toRdfResource: $ToRdfResourceFunction<Ontology, Identifier>;
781
+ const $toString: (_ontology: Ontology) => string;
782
+ const toStringRecord: (_ontology: Ontology) => Record<string, string>;
859
783
  }
860
- export interface Ontology {
861
- readonly $identifier: () => Ontology.Identifier;
862
- readonly $type: "Ontology";
784
+ export type PropertyGroup = {
785
+ readonly $identifier: () => PropertyGroup.Identifier;
786
+ readonly $type: "PropertyGroup";
863
787
  readonly comment: Maybe<string>;
864
788
  readonly label: Maybe<string>;
865
- }
866
- export declare namespace Ontology {
867
- function create(parameters?: {
868
- readonly $identifier?: (() => Ontology.Identifier) | BlankNode | NamedNode | string;
789
+ };
790
+ export declare namespace PropertyGroup {
791
+ const create: (parameters?: {
792
+ readonly $identifier?: (() => PropertyGroup.Identifier) | BlankNode | NamedNode | string;
869
793
  readonly comment?: string | Maybe<string>;
870
794
  readonly label?: string | Maybe<string>;
871
- }): Either<Error, Ontology>;
795
+ }) => Either<Error, PropertyGroup>;
872
796
  function createUnsafe(parameters?: {
873
- readonly $identifier?: (() => Ontology.Identifier) | BlankNode | NamedNode | string;
797
+ readonly $identifier?: (() => PropertyGroup.Identifier) | BlankNode | NamedNode | string;
874
798
  readonly comment?: string | Maybe<string>;
875
799
  readonly label?: string | Maybe<string>;
876
- }): Ontology;
800
+ }): PropertyGroup;
801
+ const _fromRdfResource: $_FromRdfResourceFunction<PropertyGroup>;
802
+ const fromRdfResource: $FromRdfResourceFunction<PropertyGroup>;
803
+ const fromRdfResourceValues: $FromRdfResourceValuesFunction<PropertyGroup, PropertyGroup.Schema>;
877
804
  type Identifier = BlankNode | NamedNode;
878
805
  namespace Identifier {
879
806
  const parse: (value: string) => Either<Error, import("@rdfx/string/dist/Identifier.js").Identifier>;
880
807
  const stringify: typeof NTriplesTerm.stringify;
881
808
  }
882
- const _fromRdfResource: $_FromRdfResourceFunction<Ontology>;
883
- const fromRdfResource: $FromRdfResourceFunction<Ontology>;
884
- const fromRdfResourceValues: $FromRdfResourceValuesFunction<Ontology>;
885
- const fromRdfType: NamedNode<string>;
886
- function isOntology(object: $Object): object is Ontology;
809
+ function isPropertyGroup(object: $Object): object is PropertyGroup;
887
810
  const schema: {
811
+ readonly fromRdfType: import("@rdfx/data-factory/dist/NamedNode.js").NamedNode<"http://www.w3.org/ns/shacl#PropertyGroup">;
888
812
  readonly properties: {
889
813
  readonly $identifier: {
890
814
  readonly kind: "Identifier";
@@ -914,159 +838,193 @@ export declare namespace Ontology {
914
838
  };
915
839
  };
916
840
  };
917
- const _toRdfResource: $_ToRdfResourceFunction<Ontology.Identifier, Ontology>;
918
- const toRdfResource: $ToRdfResourceFunction<Ontology, Identifier>;
919
- function _propertiesToStrings(_ontology: Ontology): Record<string, string>;
920
- function $toString(_ontology: Ontology): string;
841
+ type Schema = typeof schema;
842
+ const _toRdfResource: $_ToRdfResourceFunction<PropertyGroup.Identifier, PropertyGroup>;
843
+ const toRdfResource: $ToRdfResourceFunction<PropertyGroup, Identifier>;
844
+ const $toString: (_propertyGroup: PropertyGroup) => string;
845
+ const toStringRecord: (_propertyGroup: PropertyGroup) => Record<string, string>;
921
846
  }
922
- export interface NodeShape {
923
- readonly $identifier: () => NodeShape.Identifier;
924
- readonly $type: "NodeShape";
847
+ export type PropertyShape = {
848
+ readonly $identifier: () => PropertyShape.Identifier;
849
+ readonly $type: "PropertyShape";
925
850
  readonly and: Maybe<readonly (BlankNode | NamedNode)[]>;
926
851
  readonly classes: readonly NamedNode[];
927
- readonly closed: Maybe<boolean>;
928
852
  readonly comment: Maybe<string>;
929
853
  readonly datatype: Maybe<NamedNode>;
930
854
  readonly deactivated: Maybe<boolean>;
931
- readonly discriminantValue: Maybe<string>;
932
- readonly extern: Maybe<boolean>;
855
+ readonly defaultValue: Maybe<NamedNode | Literal>;
856
+ readonly description: Maybe<string>;
857
+ readonly disjoint: readonly NamedNode[];
858
+ /**
859
+ * Whether to include this property in a toString()-type display, defaults to false
860
+ */
861
+ readonly display: boolean;
862
+ readonly equals: readonly NamedNode[];
933
863
  readonly flags: Maybe<string>;
934
- readonly fromRdfType: Maybe<NamedNode>;
864
+ readonly groups: readonly (BlankNode | NamedNode)[];
935
865
  readonly hasValues: readonly (NamedNode | Literal)[];
936
- readonly ignoredProperties: Maybe<readonly NamedNode[]>;
866
+ /**
867
+ * Whether to ignore this shape in code generation, defaults to false
868
+ */
869
+ readonly ignore: boolean;
937
870
  readonly in_: Maybe<readonly (NamedNode | Literal)[]>;
938
871
  readonly isDefinedBy: Maybe<BlankNode | NamedNode>;
939
872
  readonly label: Maybe<string>;
940
873
  readonly languageIn: Maybe<readonly string[]>;
874
+ readonly lessThan: readonly NamedNode[];
875
+ readonly lessThanOrEquals: readonly NamedNode[];
876
+ readonly maxCount: Maybe<bigint>;
941
877
  readonly maxExclusive: Maybe<Literal>;
942
878
  readonly maxInclusive: Maybe<Literal>;
943
879
  readonly maxLength: Maybe<bigint>;
944
880
  readonly message: Maybe<string>;
881
+ readonly minCount: Maybe<bigint>;
945
882
  readonly minExclusive: Maybe<Literal>;
946
883
  readonly minInclusive: Maybe<Literal>;
947
884
  readonly minLength: Maybe<bigint>;
948
885
  readonly mutable: Maybe<boolean>;
886
+ readonly name: Maybe<string>;
949
887
  readonly node: Maybe<BlankNode | NamedNode>;
950
888
  readonly nodeKind: Maybe<NamedNode<"http://www.w3.org/ns/shacl#BlankNode" | "http://www.w3.org/ns/shacl#BlankNodeOrIRI" | "http://www.w3.org/ns/shacl#BlankNodeOrLiteral" | "http://www.w3.org/ns/shacl#IRI" | "http://www.w3.org/ns/shacl#IRIOrLiteral" | "http://www.w3.org/ns/shacl#Literal">>;
951
889
  readonly not: readonly (BlankNode | NamedNode)[];
952
890
  readonly or: Maybe<readonly (BlankNode | NamedNode)[]>;
891
+ readonly order: Maybe<number>;
892
+ readonly path: $PropertyPath;
953
893
  readonly pattern: Maybe<string>;
954
- readonly properties: readonly (BlankNode | NamedNode)[];
955
- readonly rdfType: Maybe<NamedNode>;
894
+ readonly qualifiedMaxCount: Maybe<bigint>;
895
+ readonly qualifiedMinCount: Maybe<bigint>;
896
+ readonly qualifiedValueShape: Maybe<BlankNode | NamedNode>;
897
+ readonly qualifiedValueShapesDisjoint: Maybe<boolean>;
898
+ readonly resolve: Maybe<BlankNode | NamedNode>;
956
899
  readonly severity: Maybe<NamedNode<"http://www.w3.org/ns/shacl#Info" | "http://www.w3.org/ns/shacl#Warning" | "http://www.w3.org/ns/shacl#Violation">>;
957
900
  readonly shaclmateName: Maybe<string>;
958
- readonly subClassOf: readonly NamedNode[];
959
901
  readonly targetClasses: readonly NamedNode[];
960
902
  readonly targetNodes: readonly (NamedNode | Literal)[];
961
903
  readonly targetObjectsOf: readonly NamedNode[];
962
904
  readonly targetSubjectsOf: readonly NamedNode[];
963
- readonly toRdfTypes: readonly NamedNode[];
964
- readonly tsImports: readonly string[];
965
- readonly types: readonly NamedNode[];
905
+ readonly uniqueLang: Maybe<boolean>;
966
906
  readonly xone: Maybe<readonly (BlankNode | NamedNode)[]>;
967
- }
968
- export declare namespace NodeShape {
969
- function create(parameters?: {
970
- readonly $identifier?: (() => NodeShape.Identifier) | BlankNode | NamedNode | string;
907
+ };
908
+ export declare namespace PropertyShape {
909
+ const create: (parameters: {
910
+ readonly $identifier?: (() => PropertyShape.Identifier) | BlankNode | NamedNode | string;
971
911
  readonly and?: readonly (BlankNode | NamedNode | string | undefined)[] | Maybe<readonly (BlankNode | NamedNode)[]>;
972
912
  readonly classes?: string | NamedNode | readonly (string | NamedNode)[];
973
- readonly closed?: boolean | Maybe<boolean>;
974
913
  readonly comment?: string | Maybe<string>;
975
914
  readonly datatype?: string | NamedNode | Maybe<NamedNode>;
976
915
  readonly deactivated?: boolean | Maybe<boolean>;
977
- readonly discriminantValue?: string | Maybe<string>;
978
- readonly extern?: boolean | Maybe<boolean>;
916
+ readonly defaultValue?: (NamedNode | Literal) | Maybe<NamedNode | Literal>;
917
+ readonly description?: string | Maybe<string>;
918
+ readonly disjoint?: string | NamedNode | readonly (string | NamedNode)[];
919
+ readonly display?: boolean;
920
+ readonly equals?: string | NamedNode | readonly (string | NamedNode)[];
979
921
  readonly flags?: string | Maybe<string>;
980
- readonly fromRdfType?: string | NamedNode | Maybe<NamedNode>;
922
+ readonly groups?: BlankNode | NamedNode | string | readonly (BlankNode | NamedNode | string | undefined)[];
981
923
  readonly hasValues?: (NamedNode | Literal) | readonly (NamedNode | Literal)[];
982
- readonly ignoredProperties?: readonly (string | NamedNode)[] | Maybe<readonly NamedNode[]>;
924
+ readonly ignore?: boolean;
983
925
  readonly in_?: readonly (NamedNode | Literal)[] | Maybe<readonly (NamedNode | Literal)[]>;
984
926
  readonly isDefinedBy?: BlankNode | NamedNode | string | Maybe<BlankNode | NamedNode>;
985
927
  readonly label?: string | Maybe<string>;
986
928
  readonly languageIn?: readonly string[] | Maybe<readonly string[]>;
929
+ readonly lessThan?: string | NamedNode | readonly (string | NamedNode)[];
930
+ readonly lessThanOrEquals?: string | NamedNode | readonly (string | NamedNode)[];
931
+ readonly maxCount?: bigint | Maybe<bigint>;
987
932
  readonly maxExclusive?: bigint | boolean | number | string | Date | Literal | Maybe<Literal>;
988
933
  readonly maxInclusive?: bigint | boolean | number | string | Date | Literal | Maybe<Literal>;
989
934
  readonly maxLength?: bigint | Maybe<bigint>;
990
935
  readonly message?: string | Maybe<string>;
936
+ readonly minCount?: bigint | Maybe<bigint>;
991
937
  readonly minExclusive?: bigint | boolean | number | string | Date | Literal | Maybe<Literal>;
992
938
  readonly minInclusive?: bigint | boolean | number | string | Date | Literal | Maybe<Literal>;
993
939
  readonly minLength?: bigint | Maybe<bigint>;
994
940
  readonly mutable?: boolean | Maybe<boolean>;
941
+ readonly name?: string | Maybe<string>;
995
942
  readonly node?: BlankNode | NamedNode | string | Maybe<BlankNode | NamedNode>;
996
943
  readonly nodeKind?: ("http://www.w3.org/ns/shacl#BlankNode" | "http://www.w3.org/ns/shacl#BlankNodeOrIRI" | "http://www.w3.org/ns/shacl#BlankNodeOrLiteral" | "http://www.w3.org/ns/shacl#IRI" | "http://www.w3.org/ns/shacl#IRIOrLiteral" | "http://www.w3.org/ns/shacl#Literal") | NamedNode<"http://www.w3.org/ns/shacl#BlankNode" | "http://www.w3.org/ns/shacl#BlankNodeOrIRI" | "http://www.w3.org/ns/shacl#BlankNodeOrLiteral" | "http://www.w3.org/ns/shacl#IRI" | "http://www.w3.org/ns/shacl#IRIOrLiteral" | "http://www.w3.org/ns/shacl#Literal"> | Maybe<NamedNode<"http://www.w3.org/ns/shacl#BlankNode" | "http://www.w3.org/ns/shacl#BlankNodeOrIRI" | "http://www.w3.org/ns/shacl#BlankNodeOrLiteral" | "http://www.w3.org/ns/shacl#IRI" | "http://www.w3.org/ns/shacl#IRIOrLiteral" | "http://www.w3.org/ns/shacl#Literal">>;
997
944
  readonly not?: BlankNode | NamedNode | string | readonly (BlankNode | NamedNode | string | undefined)[];
998
945
  readonly or?: readonly (BlankNode | NamedNode | string | undefined)[] | Maybe<readonly (BlankNode | NamedNode)[]>;
946
+ readonly order?: number | Maybe<number>;
947
+ readonly path: $PropertyPath;
999
948
  readonly pattern?: string | Maybe<string>;
1000
- readonly properties?: BlankNode | NamedNode | string | readonly (BlankNode | NamedNode | string | undefined)[];
1001
- readonly rdfType?: string | NamedNode | Maybe<NamedNode>;
949
+ readonly qualifiedMaxCount?: bigint | Maybe<bigint>;
950
+ readonly qualifiedMinCount?: bigint | Maybe<bigint>;
951
+ readonly qualifiedValueShape?: BlankNode | NamedNode | string | Maybe<BlankNode | NamedNode>;
952
+ readonly qualifiedValueShapesDisjoint?: boolean | Maybe<boolean>;
953
+ readonly resolve?: BlankNode | NamedNode | string | Maybe<BlankNode | NamedNode>;
1002
954
  readonly severity?: ("http://www.w3.org/ns/shacl#Info" | "http://www.w3.org/ns/shacl#Warning" | "http://www.w3.org/ns/shacl#Violation") | NamedNode<"http://www.w3.org/ns/shacl#Info" | "http://www.w3.org/ns/shacl#Warning" | "http://www.w3.org/ns/shacl#Violation"> | Maybe<NamedNode<"http://www.w3.org/ns/shacl#Info" | "http://www.w3.org/ns/shacl#Warning" | "http://www.w3.org/ns/shacl#Violation">>;
1003
955
  readonly shaclmateName?: string | Maybe<string>;
1004
- readonly subClassOf?: string | NamedNode | readonly (string | NamedNode)[];
1005
956
  readonly targetClasses?: string | NamedNode | readonly (string | NamedNode)[];
1006
957
  readonly targetNodes?: (NamedNode | Literal) | readonly (NamedNode | Literal)[];
1007
958
  readonly targetObjectsOf?: string | NamedNode | readonly (string | NamedNode)[];
1008
959
  readonly targetSubjectsOf?: string | NamedNode | readonly (string | NamedNode)[];
1009
- readonly toRdfTypes?: string | NamedNode | readonly (string | NamedNode)[];
1010
- readonly tsImports?: string | readonly string[];
1011
- readonly types?: string | NamedNode | readonly (string | NamedNode)[];
960
+ readonly uniqueLang?: boolean | Maybe<boolean>;
1012
961
  readonly xone?: readonly (BlankNode | NamedNode | string | undefined)[] | Maybe<readonly (BlankNode | NamedNode)[]>;
1013
- }): Either<Error, NodeShape>;
1014
- function createUnsafe(parameters?: {
1015
- readonly $identifier?: (() => NodeShape.Identifier) | BlankNode | NamedNode | string;
962
+ }) => Either<Error, PropertyShape>;
963
+ function createUnsafe(parameters: {
964
+ readonly $identifier?: (() => PropertyShape.Identifier) | BlankNode | NamedNode | string;
1016
965
  readonly and?: readonly (BlankNode | NamedNode | string | undefined)[] | Maybe<readonly (BlankNode | NamedNode)[]>;
1017
966
  readonly classes?: string | NamedNode | readonly (string | NamedNode)[];
1018
- readonly closed?: boolean | Maybe<boolean>;
1019
967
  readonly comment?: string | Maybe<string>;
1020
968
  readonly datatype?: string | NamedNode | Maybe<NamedNode>;
1021
969
  readonly deactivated?: boolean | Maybe<boolean>;
1022
- readonly discriminantValue?: string | Maybe<string>;
1023
- readonly extern?: boolean | Maybe<boolean>;
970
+ readonly defaultValue?: (NamedNode | Literal) | Maybe<NamedNode | Literal>;
971
+ readonly description?: string | Maybe<string>;
972
+ readonly disjoint?: string | NamedNode | readonly (string | NamedNode)[];
973
+ readonly display?: boolean;
974
+ readonly equals?: string | NamedNode | readonly (string | NamedNode)[];
1024
975
  readonly flags?: string | Maybe<string>;
1025
- readonly fromRdfType?: string | NamedNode | Maybe<NamedNode>;
976
+ readonly groups?: BlankNode | NamedNode | string | readonly (BlankNode | NamedNode | string | undefined)[];
1026
977
  readonly hasValues?: (NamedNode | Literal) | readonly (NamedNode | Literal)[];
1027
- readonly ignoredProperties?: readonly (string | NamedNode)[] | Maybe<readonly NamedNode[]>;
978
+ readonly ignore?: boolean;
1028
979
  readonly in_?: readonly (NamedNode | Literal)[] | Maybe<readonly (NamedNode | Literal)[]>;
1029
980
  readonly isDefinedBy?: BlankNode | NamedNode | string | Maybe<BlankNode | NamedNode>;
1030
981
  readonly label?: string | Maybe<string>;
1031
982
  readonly languageIn?: readonly string[] | Maybe<readonly string[]>;
983
+ readonly lessThan?: string | NamedNode | readonly (string | NamedNode)[];
984
+ readonly lessThanOrEquals?: string | NamedNode | readonly (string | NamedNode)[];
985
+ readonly maxCount?: bigint | Maybe<bigint>;
1032
986
  readonly maxExclusive?: bigint | boolean | number | string | Date | Literal | Maybe<Literal>;
1033
987
  readonly maxInclusive?: bigint | boolean | number | string | Date | Literal | Maybe<Literal>;
1034
988
  readonly maxLength?: bigint | Maybe<bigint>;
1035
989
  readonly message?: string | Maybe<string>;
990
+ readonly minCount?: bigint | Maybe<bigint>;
1036
991
  readonly minExclusive?: bigint | boolean | number | string | Date | Literal | Maybe<Literal>;
1037
992
  readonly minInclusive?: bigint | boolean | number | string | Date | Literal | Maybe<Literal>;
1038
993
  readonly minLength?: bigint | Maybe<bigint>;
1039
994
  readonly mutable?: boolean | Maybe<boolean>;
995
+ readonly name?: string | Maybe<string>;
1040
996
  readonly node?: BlankNode | NamedNode | string | Maybe<BlankNode | NamedNode>;
1041
997
  readonly nodeKind?: ("http://www.w3.org/ns/shacl#BlankNode" | "http://www.w3.org/ns/shacl#BlankNodeOrIRI" | "http://www.w3.org/ns/shacl#BlankNodeOrLiteral" | "http://www.w3.org/ns/shacl#IRI" | "http://www.w3.org/ns/shacl#IRIOrLiteral" | "http://www.w3.org/ns/shacl#Literal") | NamedNode<"http://www.w3.org/ns/shacl#BlankNode" | "http://www.w3.org/ns/shacl#BlankNodeOrIRI" | "http://www.w3.org/ns/shacl#BlankNodeOrLiteral" | "http://www.w3.org/ns/shacl#IRI" | "http://www.w3.org/ns/shacl#IRIOrLiteral" | "http://www.w3.org/ns/shacl#Literal"> | Maybe<NamedNode<"http://www.w3.org/ns/shacl#BlankNode" | "http://www.w3.org/ns/shacl#BlankNodeOrIRI" | "http://www.w3.org/ns/shacl#BlankNodeOrLiteral" | "http://www.w3.org/ns/shacl#IRI" | "http://www.w3.org/ns/shacl#IRIOrLiteral" | "http://www.w3.org/ns/shacl#Literal">>;
1042
998
  readonly not?: BlankNode | NamedNode | string | readonly (BlankNode | NamedNode | string | undefined)[];
1043
999
  readonly or?: readonly (BlankNode | NamedNode | string | undefined)[] | Maybe<readonly (BlankNode | NamedNode)[]>;
1000
+ readonly order?: number | Maybe<number>;
1001
+ readonly path: $PropertyPath;
1044
1002
  readonly pattern?: string | Maybe<string>;
1045
- readonly properties?: BlankNode | NamedNode | string | readonly (BlankNode | NamedNode | string | undefined)[];
1046
- readonly rdfType?: string | NamedNode | Maybe<NamedNode>;
1003
+ readonly qualifiedMaxCount?: bigint | Maybe<bigint>;
1004
+ readonly qualifiedMinCount?: bigint | Maybe<bigint>;
1005
+ readonly qualifiedValueShape?: BlankNode | NamedNode | string | Maybe<BlankNode | NamedNode>;
1006
+ readonly qualifiedValueShapesDisjoint?: boolean | Maybe<boolean>;
1007
+ readonly resolve?: BlankNode | NamedNode | string | Maybe<BlankNode | NamedNode>;
1047
1008
  readonly severity?: ("http://www.w3.org/ns/shacl#Info" | "http://www.w3.org/ns/shacl#Warning" | "http://www.w3.org/ns/shacl#Violation") | NamedNode<"http://www.w3.org/ns/shacl#Info" | "http://www.w3.org/ns/shacl#Warning" | "http://www.w3.org/ns/shacl#Violation"> | Maybe<NamedNode<"http://www.w3.org/ns/shacl#Info" | "http://www.w3.org/ns/shacl#Warning" | "http://www.w3.org/ns/shacl#Violation">>;
1048
1009
  readonly shaclmateName?: string | Maybe<string>;
1049
- readonly subClassOf?: string | NamedNode | readonly (string | NamedNode)[];
1050
1010
  readonly targetClasses?: string | NamedNode | readonly (string | NamedNode)[];
1051
1011
  readonly targetNodes?: (NamedNode | Literal) | readonly (NamedNode | Literal)[];
1052
1012
  readonly targetObjectsOf?: string | NamedNode | readonly (string | NamedNode)[];
1053
1013
  readonly targetSubjectsOf?: string | NamedNode | readonly (string | NamedNode)[];
1054
- readonly toRdfTypes?: string | NamedNode | readonly (string | NamedNode)[];
1055
- readonly tsImports?: string | readonly string[];
1056
- readonly types?: string | NamedNode | readonly (string | NamedNode)[];
1014
+ readonly uniqueLang?: boolean | Maybe<boolean>;
1057
1015
  readonly xone?: readonly (BlankNode | NamedNode | string | undefined)[] | Maybe<readonly (BlankNode | NamedNode)[]>;
1058
- }): NodeShape;
1016
+ }): PropertyShape;
1017
+ const _fromRdfResource: $_FromRdfResourceFunction<PropertyShape>;
1018
+ const fromRdfResource: $FromRdfResourceFunction<PropertyShape>;
1019
+ const fromRdfResourceValues: $FromRdfResourceValuesFunction<PropertyShape, PropertyShape.Schema>;
1059
1020
  type Identifier = BlankNode | NamedNode;
1060
1021
  namespace Identifier {
1061
1022
  const parse: (value: string) => Either<Error, import("@rdfx/string/dist/Identifier.js").Identifier>;
1062
1023
  const stringify: typeof NTriplesTerm.stringify;
1063
- }
1064
- const _fromRdfResource: $_FromRdfResourceFunction<NodeShape>;
1065
- const fromRdfResource: $FromRdfResourceFunction<NodeShape>;
1066
- const fromRdfResourceValues: $FromRdfResourceValuesFunction<NodeShape>;
1067
- const fromRdfType: NamedNode<string>;
1068
- function isNodeShape(object: $Object): object is NodeShape;
1024
+ }
1025
+ function isPropertyShape(object: $Object): object is PropertyShape;
1069
1026
  const schema: {
1027
+ readonly fromRdfType: import("@rdfx/data-factory/dist/NamedNode.js").NamedNode<"http://www.w3.org/ns/shacl#PropertyShape">;
1070
1028
  readonly properties: {
1071
1029
  readonly $identifier: {
1072
1030
  readonly kind: "Identifier";
@@ -1097,16 +1055,6 @@ export declare namespace NodeShape {
1097
1055
  };
1098
1056
  };
1099
1057
  };
1100
- readonly closed: {
1101
- readonly kind: "Shacl";
1102
- readonly path: import("@rdfx/data-factory/dist/NamedNode.js").NamedNode<"http://www.w3.org/ns/shacl#closed">;
1103
- readonly type: {
1104
- readonly kind: "Option";
1105
- readonly itemType: {
1106
- readonly kind: "Boolean";
1107
- };
1108
- };
1109
- };
1110
1058
  readonly comment: {
1111
1059
  readonly kind: "Shacl";
1112
1060
  readonly path: import("@rdfx/data-factory/dist/NamedNode.js").NamedNode<"http://www.w3.org/2000/01/rdf-schema#comment">;
@@ -1137,24 +1085,56 @@ export declare namespace NodeShape {
1137
1085
  };
1138
1086
  };
1139
1087
  };
1140
- readonly discriminantValue: {
1088
+ readonly defaultValue: {
1141
1089
  readonly kind: "Shacl";
1142
- readonly path: import("@rdfx/data-factory/dist/NamedNode.js").NamedNode<"http://purl.org/shaclmate/ontology#discriminantValue">;
1090
+ readonly path: import("@rdfx/data-factory/dist/NamedNode.js").NamedNode<"http://www.w3.org/ns/shacl#defaultValue">;
1143
1091
  readonly type: {
1144
1092
  readonly kind: "Option";
1145
1093
  readonly itemType: {
1146
- readonly kind: "String";
1094
+ readonly kind: "Term";
1095
+ readonly types: readonly ["NamedNode", "Literal"];
1147
1096
  };
1148
1097
  };
1149
1098
  };
1150
- readonly extern: {
1099
+ readonly description: {
1151
1100
  readonly kind: "Shacl";
1152
- readonly path: import("@rdfx/data-factory/dist/NamedNode.js").NamedNode<"http://purl.org/shaclmate/ontology#extern">;
1101
+ readonly path: import("@rdfx/data-factory/dist/NamedNode.js").NamedNode<"http://www.w3.org/ns/shacl#description">;
1153
1102
  readonly type: {
1154
1103
  readonly kind: "Option";
1104
+ readonly itemType: {
1105
+ readonly kind: "String";
1106
+ };
1107
+ };
1108
+ };
1109
+ readonly disjoint: {
1110
+ readonly kind: "Shacl";
1111
+ readonly path: import("@rdfx/data-factory/dist/NamedNode.js").NamedNode<"http://www.w3.org/ns/shacl#disjoint">;
1112
+ readonly type: {
1113
+ readonly kind: "Set";
1114
+ readonly itemType: {
1115
+ readonly kind: "Iri";
1116
+ };
1117
+ };
1118
+ };
1119
+ readonly display: {
1120
+ readonly kind: "Shacl";
1121
+ readonly path: import("@rdfx/data-factory/dist/NamedNode.js").NamedNode<"http://purl.org/shaclmate/ontology#display">;
1122
+ readonly type: {
1123
+ readonly kind: "DefaultValue";
1155
1124
  readonly itemType: {
1156
1125
  readonly kind: "Boolean";
1157
1126
  };
1127
+ readonly defaultValue: import("@rdfx/data-factory/dist/Literal.js").Literal;
1128
+ };
1129
+ };
1130
+ readonly equals: {
1131
+ readonly kind: "Shacl";
1132
+ readonly path: import("@rdfx/data-factory/dist/NamedNode.js").NamedNode<"http://www.w3.org/ns/shacl#equals">;
1133
+ readonly type: {
1134
+ readonly kind: "Set";
1135
+ readonly itemType: {
1136
+ readonly kind: "Iri";
1137
+ };
1158
1138
  };
1159
1139
  };
1160
1140
  readonly flags: {
@@ -1167,13 +1147,13 @@ export declare namespace NodeShape {
1167
1147
  };
1168
1148
  };
1169
1149
  };
1170
- readonly fromRdfType: {
1150
+ readonly groups: {
1171
1151
  readonly kind: "Shacl";
1172
- readonly path: import("@rdfx/data-factory/dist/NamedNode.js").NamedNode<"http://purl.org/shaclmate/ontology#fromRdfType">;
1152
+ readonly path: import("@rdfx/data-factory/dist/NamedNode.js").NamedNode<"http://www.w3.org/ns/shacl#group">;
1173
1153
  readonly type: {
1174
- readonly kind: "Option";
1154
+ readonly kind: "Set";
1175
1155
  readonly itemType: {
1176
- readonly kind: "Iri";
1156
+ readonly kind: "Identifier";
1177
1157
  };
1178
1158
  };
1179
1159
  };
@@ -1184,20 +1164,19 @@ export declare namespace NodeShape {
1184
1164
  readonly kind: "Set";
1185
1165
  readonly itemType: {
1186
1166
  readonly kind: "Term";
1167
+ readonly types: readonly ["NamedNode", "Literal"];
1187
1168
  };
1188
1169
  };
1189
1170
  };
1190
- readonly ignoredProperties: {
1171
+ readonly ignore: {
1191
1172
  readonly kind: "Shacl";
1192
- readonly path: import("@rdfx/data-factory/dist/NamedNode.js").NamedNode<"http://www.w3.org/ns/shacl#ignoredProperties">;
1173
+ readonly path: import("@rdfx/data-factory/dist/NamedNode.js").NamedNode<"http://purl.org/shaclmate/ontology#ignore">;
1193
1174
  readonly type: {
1194
- readonly kind: "Option";
1175
+ readonly kind: "DefaultValue";
1195
1176
  readonly itemType: {
1196
- readonly kind: "List";
1197
- readonly itemType: {
1198
- readonly kind: "Iri";
1199
- };
1177
+ readonly kind: "Boolean";
1200
1178
  };
1179
+ readonly defaultValue: import("@rdfx/data-factory/dist/Literal.js").Literal;
1201
1180
  };
1202
1181
  };
1203
1182
  readonly in_: {
@@ -1209,6 +1188,7 @@ export declare namespace NodeShape {
1209
1188
  readonly kind: "List";
1210
1189
  readonly itemType: {
1211
1190
  readonly kind: "Term";
1191
+ readonly types: readonly ["NamedNode", "Literal"];
1212
1192
  };
1213
1193
  };
1214
1194
  };
@@ -1246,6 +1226,36 @@ export declare namespace NodeShape {
1246
1226
  };
1247
1227
  };
1248
1228
  };
1229
+ readonly lessThan: {
1230
+ readonly kind: "Shacl";
1231
+ readonly path: import("@rdfx/data-factory/dist/NamedNode.js").NamedNode<"http://www.w3.org/ns/shacl#lessThan">;
1232
+ readonly type: {
1233
+ readonly kind: "Set";
1234
+ readonly itemType: {
1235
+ readonly kind: "Iri";
1236
+ };
1237
+ };
1238
+ };
1239
+ readonly lessThanOrEquals: {
1240
+ readonly kind: "Shacl";
1241
+ readonly path: import("@rdfx/data-factory/dist/NamedNode.js").NamedNode<"http://www.w3.org/ns/shacl#lessThanOrEquals">;
1242
+ readonly type: {
1243
+ readonly kind: "Set";
1244
+ readonly itemType: {
1245
+ readonly kind: "Iri";
1246
+ };
1247
+ };
1248
+ };
1249
+ readonly maxCount: {
1250
+ readonly kind: "Shacl";
1251
+ readonly path: import("@rdfx/data-factory/dist/NamedNode.js").NamedNode<"http://www.w3.org/ns/shacl#maxCount">;
1252
+ readonly type: {
1253
+ readonly kind: "Option";
1254
+ readonly itemType: {
1255
+ readonly kind: "BigInt";
1256
+ };
1257
+ };
1258
+ };
1249
1259
  readonly maxExclusive: {
1250
1260
  readonly kind: "Shacl";
1251
1261
  readonly path: import("@rdfx/data-factory/dist/NamedNode.js").NamedNode<"http://www.w3.org/ns/shacl#maxExclusive">;
@@ -1286,6 +1296,16 @@ export declare namespace NodeShape {
1286
1296
  };
1287
1297
  };
1288
1298
  };
1299
+ readonly minCount: {
1300
+ readonly kind: "Shacl";
1301
+ readonly path: import("@rdfx/data-factory/dist/NamedNode.js").NamedNode<"http://www.w3.org/ns/shacl#minCount">;
1302
+ readonly type: {
1303
+ readonly kind: "Option";
1304
+ readonly itemType: {
1305
+ readonly kind: "BigInt";
1306
+ };
1307
+ };
1308
+ };
1289
1309
  readonly minExclusive: {
1290
1310
  readonly kind: "Shacl";
1291
1311
  readonly path: import("@rdfx/data-factory/dist/NamedNode.js").NamedNode<"http://www.w3.org/ns/shacl#minExclusive">;
@@ -1326,6 +1346,16 @@ export declare namespace NodeShape {
1326
1346
  };
1327
1347
  };
1328
1348
  };
1349
+ readonly name: {
1350
+ readonly kind: "Shacl";
1351
+ readonly path: import("@rdfx/data-factory/dist/NamedNode.js").NamedNode<"http://www.w3.org/ns/shacl#name">;
1352
+ readonly type: {
1353
+ readonly kind: "Option";
1354
+ readonly itemType: {
1355
+ readonly kind: "String";
1356
+ };
1357
+ };
1358
+ };
1329
1359
  readonly node: {
1330
1360
  readonly kind: "Shacl";
1331
1361
  readonly path: import("@rdfx/data-factory/dist/NamedNode.js").NamedNode<"http://www.w3.org/ns/shacl#node">;
@@ -1370,6 +1400,21 @@ export declare namespace NodeShape {
1370
1400
  };
1371
1401
  };
1372
1402
  };
1403
+ readonly order: {
1404
+ readonly kind: "Shacl";
1405
+ readonly path: import("@rdfx/data-factory/dist/NamedNode.js").NamedNode<"http://www.w3.org/ns/shacl#order">;
1406
+ readonly type: {
1407
+ readonly kind: "Option";
1408
+ readonly itemType: {
1409
+ readonly kind: "Float";
1410
+ };
1411
+ };
1412
+ };
1413
+ readonly path: {
1414
+ readonly kind: "Shacl";
1415
+ readonly path: import("@rdfx/data-factory/dist/NamedNode.js").NamedNode<"http://www.w3.org/ns/shacl#path">;
1416
+ readonly type: object;
1417
+ };
1373
1418
  readonly pattern: {
1374
1419
  readonly kind: "Shacl";
1375
1420
  readonly path: import("@rdfx/data-factory/dist/NamedNode.js").NamedNode<"http://www.w3.org/ns/shacl#pattern">;
@@ -1380,80 +1425,80 @@ export declare namespace NodeShape {
1380
1425
  };
1381
1426
  };
1382
1427
  };
1383
- readonly properties: {
1428
+ readonly qualifiedMaxCount: {
1384
1429
  readonly kind: "Shacl";
1385
- readonly path: import("@rdfx/data-factory/dist/NamedNode.js").NamedNode<"http://www.w3.org/ns/shacl#property">;
1430
+ readonly path: import("@rdfx/data-factory/dist/NamedNode.js").NamedNode<"http://www.w3.org/ns/shacl#qualifiedMaxCount">;
1386
1431
  readonly type: {
1387
- readonly kind: "Set";
1432
+ readonly kind: "Option";
1388
1433
  readonly itemType: {
1389
- readonly kind: "Identifier";
1434
+ readonly kind: "BigInt";
1390
1435
  };
1391
1436
  };
1392
1437
  };
1393
- readonly rdfType: {
1438
+ readonly qualifiedMinCount: {
1394
1439
  readonly kind: "Shacl";
1395
- readonly path: import("@rdfx/data-factory/dist/NamedNode.js").NamedNode<"http://purl.org/shaclmate/ontology#rdfType">;
1440
+ readonly path: import("@rdfx/data-factory/dist/NamedNode.js").NamedNode<"http://www.w3.org/ns/shacl#qualifiedMinCount">;
1396
1441
  readonly type: {
1397
1442
  readonly kind: "Option";
1398
1443
  readonly itemType: {
1399
- readonly kind: "Iri";
1444
+ readonly kind: "BigInt";
1400
1445
  };
1401
1446
  };
1402
1447
  };
1403
- readonly severity: {
1448
+ readonly qualifiedValueShape: {
1404
1449
  readonly kind: "Shacl";
1405
- readonly path: import("@rdfx/data-factory/dist/NamedNode.js").NamedNode<"http://www.w3.org/ns/shacl#severity">;
1450
+ readonly path: import("@rdfx/data-factory/dist/NamedNode.js").NamedNode<"http://www.w3.org/ns/shacl#qualifiedValueShape">;
1406
1451
  readonly type: {
1407
1452
  readonly kind: "Option";
1408
1453
  readonly itemType: {
1409
- readonly kind: "Iri";
1410
- readonly in: readonly [import("@rdfx/data-factory/dist/NamedNode.js").NamedNode<"http://www.w3.org/ns/shacl#Info">, import("@rdfx/data-factory/dist/NamedNode.js").NamedNode<"http://www.w3.org/ns/shacl#Warning">, import("@rdfx/data-factory/dist/NamedNode.js").NamedNode<"http://www.w3.org/ns/shacl#Violation">];
1454
+ readonly kind: "Identifier";
1411
1455
  };
1412
1456
  };
1413
1457
  };
1414
- readonly shaclmateName: {
1458
+ readonly qualifiedValueShapesDisjoint: {
1415
1459
  readonly kind: "Shacl";
1416
- readonly path: import("@rdfx/data-factory/dist/NamedNode.js").NamedNode<"http://purl.org/shaclmate/ontology#name">;
1460
+ readonly path: import("@rdfx/data-factory/dist/NamedNode.js").NamedNode<"http://www.w3.org/ns/shacl#qualifiedValueShapesDisjoint">;
1417
1461
  readonly type: {
1418
1462
  readonly kind: "Option";
1419
1463
  readonly itemType: {
1420
- readonly kind: "String";
1464
+ readonly kind: "Boolean";
1421
1465
  };
1422
1466
  };
1423
1467
  };
1424
- readonly subClassOf: {
1468
+ readonly resolve: {
1425
1469
  readonly kind: "Shacl";
1426
- readonly path: import("@rdfx/data-factory/dist/NamedNode.js").NamedNode<"http://www.w3.org/2000/01/rdf-schema#subClassOf">;
1470
+ readonly path: import("@rdfx/data-factory/dist/NamedNode.js").NamedNode<"http://purl.org/shaclmate/ontology#resolve">;
1427
1471
  readonly type: {
1428
- readonly kind: "Set";
1472
+ readonly kind: "Option";
1429
1473
  readonly itemType: {
1430
- readonly kind: "Iri";
1474
+ readonly kind: "Identifier";
1431
1475
  };
1432
1476
  };
1433
1477
  };
1434
- readonly targetClasses: {
1478
+ readonly severity: {
1435
1479
  readonly kind: "Shacl";
1436
- readonly path: import("@rdfx/data-factory/dist/NamedNode.js").NamedNode<"http://www.w3.org/ns/shacl#targetClass">;
1480
+ readonly path: import("@rdfx/data-factory/dist/NamedNode.js").NamedNode<"http://www.w3.org/ns/shacl#severity">;
1437
1481
  readonly type: {
1438
- readonly kind: "Set";
1482
+ readonly kind: "Option";
1439
1483
  readonly itemType: {
1440
1484
  readonly kind: "Iri";
1485
+ readonly in: readonly [import("@rdfx/data-factory/dist/NamedNode.js").NamedNode<"http://www.w3.org/ns/shacl#Info">, import("@rdfx/data-factory/dist/NamedNode.js").NamedNode<"http://www.w3.org/ns/shacl#Warning">, import("@rdfx/data-factory/dist/NamedNode.js").NamedNode<"http://www.w3.org/ns/shacl#Violation">];
1441
1486
  };
1442
1487
  };
1443
1488
  };
1444
- readonly targetNodes: {
1489
+ readonly shaclmateName: {
1445
1490
  readonly kind: "Shacl";
1446
- readonly path: import("@rdfx/data-factory/dist/NamedNode.js").NamedNode<"http://www.w3.org/ns/shacl#targetNode">;
1491
+ readonly path: import("@rdfx/data-factory/dist/NamedNode.js").NamedNode<"http://purl.org/shaclmate/ontology#name">;
1447
1492
  readonly type: {
1448
- readonly kind: "Set";
1493
+ readonly kind: "Option";
1449
1494
  readonly itemType: {
1450
- readonly kind: "Term";
1495
+ readonly kind: "String";
1451
1496
  };
1452
1497
  };
1453
1498
  };
1454
- readonly targetObjectsOf: {
1499
+ readonly targetClasses: {
1455
1500
  readonly kind: "Shacl";
1456
- readonly path: import("@rdfx/data-factory/dist/NamedNode.js").NamedNode<"http://www.w3.org/ns/shacl#targetObjectsOf">;
1501
+ readonly path: import("@rdfx/data-factory/dist/NamedNode.js").NamedNode<"http://www.w3.org/ns/shacl#targetClass">;
1457
1502
  readonly type: {
1458
1503
  readonly kind: "Set";
1459
1504
  readonly itemType: {
@@ -1461,19 +1506,20 @@ export declare namespace NodeShape {
1461
1506
  };
1462
1507
  };
1463
1508
  };
1464
- readonly targetSubjectsOf: {
1509
+ readonly targetNodes: {
1465
1510
  readonly kind: "Shacl";
1466
- readonly path: import("@rdfx/data-factory/dist/NamedNode.js").NamedNode<"http://www.w3.org/ns/shacl#targetSubjectsOf">;
1511
+ readonly path: import("@rdfx/data-factory/dist/NamedNode.js").NamedNode<"http://www.w3.org/ns/shacl#targetNode">;
1467
1512
  readonly type: {
1468
1513
  readonly kind: "Set";
1469
1514
  readonly itemType: {
1470
- readonly kind: "Iri";
1515
+ readonly kind: "Term";
1516
+ readonly types: readonly ["NamedNode", "Literal"];
1471
1517
  };
1472
1518
  };
1473
1519
  };
1474
- readonly toRdfTypes: {
1520
+ readonly targetObjectsOf: {
1475
1521
  readonly kind: "Shacl";
1476
- readonly path: import("@rdfx/data-factory/dist/NamedNode.js").NamedNode<"http://purl.org/shaclmate/ontology#toRdfType">;
1522
+ readonly path: import("@rdfx/data-factory/dist/NamedNode.js").NamedNode<"http://www.w3.org/ns/shacl#targetObjectsOf">;
1477
1523
  readonly type: {
1478
1524
  readonly kind: "Set";
1479
1525
  readonly itemType: {
@@ -1481,23 +1527,23 @@ export declare namespace NodeShape {
1481
1527
  };
1482
1528
  };
1483
1529
  };
1484
- readonly tsImports: {
1530
+ readonly targetSubjectsOf: {
1485
1531
  readonly kind: "Shacl";
1486
- readonly path: import("@rdfx/data-factory/dist/NamedNode.js").NamedNode<"http://purl.org/shaclmate/ontology#tsImport">;
1532
+ readonly path: import("@rdfx/data-factory/dist/NamedNode.js").NamedNode<"http://www.w3.org/ns/shacl#targetSubjectsOf">;
1487
1533
  readonly type: {
1488
1534
  readonly kind: "Set";
1489
1535
  readonly itemType: {
1490
- readonly kind: "String";
1536
+ readonly kind: "Iri";
1491
1537
  };
1492
1538
  };
1493
1539
  };
1494
- readonly types: {
1540
+ readonly uniqueLang: {
1495
1541
  readonly kind: "Shacl";
1496
- readonly path: import("@rdfx/data-factory/dist/NamedNode.js").NamedNode<"http://www.w3.org/1999/02/22-rdf-syntax-ns#type">;
1542
+ readonly path: import("@rdfx/data-factory/dist/NamedNode.js").NamedNode<"http://www.w3.org/ns/shacl#uniqueLang">;
1497
1543
  readonly type: {
1498
- readonly kind: "Set";
1544
+ readonly kind: "Option";
1499
1545
  readonly itemType: {
1500
- readonly kind: "Iri";
1546
+ readonly kind: "Boolean";
1501
1547
  };
1502
1548
  };
1503
1549
  };
@@ -1516,16 +1562,17 @@ export declare namespace NodeShape {
1516
1562
  };
1517
1563
  };
1518
1564
  };
1519
- const _toRdfResource: $_ToRdfResourceFunction<NodeShape.Identifier, NodeShape>;
1520
- const toRdfResource: $ToRdfResourceFunction<NodeShape, Identifier>;
1521
- function _propertiesToStrings(_nodeShape: NodeShape): Record<string, string>;
1522
- function $toString(_nodeShape: NodeShape): string;
1565
+ type Schema = typeof schema;
1566
+ const _toRdfResource: $_ToRdfResourceFunction<PropertyShape.Identifier, PropertyShape>;
1567
+ const toRdfResource: $ToRdfResourceFunction<PropertyShape, Identifier>;
1568
+ const $toString: (_propertyShape: PropertyShape) => string;
1569
+ const toStringRecord: (_propertyShape: PropertyShape) => Record<string, string>;
1523
1570
  }
1524
1571
  export type Shape = NodeShape | PropertyShape;
1525
1572
  export declare namespace Shape {
1526
1573
  const $toString: (value: Shape) => string;
1527
1574
  const fromRdfResource: $FromRdfResourceFunction<Shape>;
1528
- const fromRdfResourceValues: $FromRdfResourceValuesFunction<Shape>;
1575
+ const fromRdfResourceValues: $FromRdfResourceValuesFunction<Shape, typeof Shape.schema>;
1529
1576
  type Identifier = BlankNode | NamedNode;
1530
1577
  namespace Identifier {
1531
1578
  const parse: (value: string) => Either<Error, import("@rdfx/string/dist/Identifier.js").Identifier>;
@@ -1538,6 +1585,7 @@ export declare namespace Shape {
1538
1585
  readonly NodeShape: {
1539
1586
  readonly discriminantValues: readonly ["NodeShape"];
1540
1587
  readonly type: {
1588
+ readonly fromRdfType: import("@rdfx/data-factory/dist/NamedNode.js").NamedNode<"http://www.w3.org/ns/shacl#NodeShape">;
1541
1589
  readonly properties: {
1542
1590
  readonly $identifier: {
1543
1591
  readonly kind: "Identifier";
@@ -1655,7 +1703,19 @@ export declare namespace Shape {
1655
1703
  readonly kind: "Set";
1656
1704
  readonly itemType: {
1657
1705
  readonly kind: "Term";
1706
+ readonly types: readonly ["NamedNode", "Literal"];
1707
+ };
1708
+ };
1709
+ };
1710
+ readonly ignore: {
1711
+ readonly kind: "Shacl";
1712
+ readonly path: import("@rdfx/data-factory/dist/NamedNode.js").NamedNode<"http://purl.org/shaclmate/ontology#ignore">;
1713
+ readonly type: {
1714
+ readonly kind: "DefaultValue";
1715
+ readonly itemType: {
1716
+ readonly kind: "Boolean";
1658
1717
  };
1718
+ readonly defaultValue: import("@rdfx/data-factory/dist/Literal.js").Literal;
1659
1719
  };
1660
1720
  };
1661
1721
  readonly ignoredProperties: {
@@ -1680,6 +1740,7 @@ export declare namespace Shape {
1680
1740
  readonly kind: "List";
1681
1741
  readonly itemType: {
1682
1742
  readonly kind: "Term";
1743
+ readonly types: readonly ["NamedNode", "Literal"];
1683
1744
  };
1684
1745
  };
1685
1746
  };
@@ -1919,6 +1980,7 @@ export declare namespace Shape {
1919
1980
  readonly kind: "Set";
1920
1981
  readonly itemType: {
1921
1982
  readonly kind: "Term";
1983
+ readonly types: readonly ["NamedNode", "Literal"];
1922
1984
  };
1923
1985
  };
1924
1986
  };
@@ -1991,6 +2053,7 @@ export declare namespace Shape {
1991
2053
  readonly PropertyShape: {
1992
2054
  readonly discriminantValues: readonly ["PropertyShape"];
1993
2055
  readonly type: {
2056
+ readonly fromRdfType: import("@rdfx/data-factory/dist/NamedNode.js").NamedNode<"http://www.w3.org/ns/shacl#PropertyShape">;
1994
2057
  readonly properties: {
1995
2058
  readonly $identifier: {
1996
2059
  readonly kind: "Identifier";
@@ -2058,6 +2121,7 @@ export declare namespace Shape {
2058
2121
  readonly kind: "Option";
2059
2122
  readonly itemType: {
2060
2123
  readonly kind: "Term";
2124
+ readonly types: readonly ["NamedNode", "Literal"];
2061
2125
  };
2062
2126
  };
2063
2127
  };
@@ -2089,7 +2153,7 @@ export declare namespace Shape {
2089
2153
  readonly itemType: {
2090
2154
  readonly kind: "Boolean";
2091
2155
  };
2092
- readonly defaultValue: false;
2156
+ readonly defaultValue: import("@rdfx/data-factory/dist/Literal.js").Literal;
2093
2157
  };
2094
2158
  };
2095
2159
  readonly equals: {
@@ -2129,9 +2193,21 @@ export declare namespace Shape {
2129
2193
  readonly kind: "Set";
2130
2194
  readonly itemType: {
2131
2195
  readonly kind: "Term";
2196
+ readonly types: readonly ["NamedNode", "Literal"];
2132
2197
  };
2133
2198
  };
2134
2199
  };
2200
+ readonly ignore: {
2201
+ readonly kind: "Shacl";
2202
+ readonly path: import("@rdfx/data-factory/dist/NamedNode.js").NamedNode<"http://purl.org/shaclmate/ontology#ignore">;
2203
+ readonly type: {
2204
+ readonly kind: "DefaultValue";
2205
+ readonly itemType: {
2206
+ readonly kind: "Boolean";
2207
+ };
2208
+ readonly defaultValue: import("@rdfx/data-factory/dist/Literal.js").Literal;
2209
+ };
2210
+ };
2135
2211
  readonly in_: {
2136
2212
  readonly kind: "Shacl";
2137
2213
  readonly path: import("@rdfx/data-factory/dist/NamedNode.js").NamedNode<"http://www.w3.org/ns/shacl#in">;
@@ -2141,6 +2217,7 @@ export declare namespace Shape {
2141
2217
  readonly kind: "List";
2142
2218
  readonly itemType: {
2143
2219
  readonly kind: "Term";
2220
+ readonly types: readonly ["NamedNode", "Literal"];
2144
2221
  };
2145
2222
  };
2146
2223
  };
@@ -2465,6 +2542,7 @@ export declare namespace Shape {
2465
2542
  readonly kind: "Set";
2466
2543
  readonly itemType: {
2467
2544
  readonly kind: "Term";
2545
+ readonly types: readonly ["NamedNode", "Literal"];
2468
2546
  };
2469
2547
  };
2470
2548
  };
@@ -2586,7 +2664,19 @@ export declare namespace Shape {
2586
2664
  readonly kind: "Set";
2587
2665
  readonly itemType: {
2588
2666
  readonly kind: "Term";
2667
+ readonly types: readonly ["NamedNode", "Literal"];
2668
+ };
2669
+ };
2670
+ };
2671
+ readonly ignore: {
2672
+ readonly kind: "Shacl";
2673
+ readonly path: import("@rdfx/data-factory/dist/NamedNode.js").NamedNode<"http://purl.org/shaclmate/ontology#ignore">;
2674
+ readonly type: {
2675
+ readonly kind: "DefaultValue";
2676
+ readonly itemType: {
2677
+ readonly kind: "Boolean";
2589
2678
  };
2679
+ readonly defaultValue: import("@rdfx/data-factory/dist/Literal.js").Literal;
2590
2680
  };
2591
2681
  };
2592
2682
  readonly in_: {
@@ -2598,6 +2688,7 @@ export declare namespace Shape {
2598
2688
  readonly kind: "List";
2599
2689
  readonly itemType: {
2600
2690
  readonly kind: "Term";
2691
+ readonly types: readonly ["NamedNode", "Literal"];
2601
2692
  };
2602
2693
  };
2603
2694
  };
@@ -2807,6 +2898,7 @@ export declare namespace Shape {
2807
2898
  readonly kind: "Set";
2808
2899
  readonly itemType: {
2809
2900
  readonly kind: "Term";
2901
+ readonly types: readonly ["NamedNode", "Literal"];
2810
2902
  };
2811
2903
  };
2812
2904
  };
@@ -2858,7 +2950,7 @@ export type $Object = NodeShape | Ontology | PropertyGroup | PropertyShape;
2858
2950
  export declare namespace $Object {
2859
2951
  const $toString: (value: $Object) => string;
2860
2952
  const fromRdfResource: $FromRdfResourceFunction<$Object>;
2861
- const fromRdfResourceValues: $FromRdfResourceValuesFunction<$Object>;
2953
+ const fromRdfResourceValues: $FromRdfResourceValuesFunction<$Object, typeof $Object.schema>;
2862
2954
  type Identifier = BlankNode | NamedNode;
2863
2955
  namespace Identifier {
2864
2956
  const parse: (value: string) => Either<Error, import("@rdfx/string/dist/Identifier.js").Identifier>;
@@ -2870,6 +2962,7 @@ export declare namespace $Object {
2870
2962
  readonly NodeShape: {
2871
2963
  readonly discriminantValues: readonly ["NodeShape"];
2872
2964
  readonly type: {
2965
+ readonly fromRdfType: import("@rdfx/data-factory/dist/NamedNode.js").NamedNode<"http://www.w3.org/ns/shacl#NodeShape">;
2873
2966
  readonly properties: {
2874
2967
  readonly $identifier: {
2875
2968
  readonly kind: "Identifier";
@@ -2987,9 +3080,21 @@ export declare namespace $Object {
2987
3080
  readonly kind: "Set";
2988
3081
  readonly itemType: {
2989
3082
  readonly kind: "Term";
3083
+ readonly types: readonly ["NamedNode", "Literal"];
2990
3084
  };
2991
3085
  };
2992
3086
  };
3087
+ readonly ignore: {
3088
+ readonly kind: "Shacl";
3089
+ readonly path: import("@rdfx/data-factory/dist/NamedNode.js").NamedNode<"http://purl.org/shaclmate/ontology#ignore">;
3090
+ readonly type: {
3091
+ readonly kind: "DefaultValue";
3092
+ readonly itemType: {
3093
+ readonly kind: "Boolean";
3094
+ };
3095
+ readonly defaultValue: import("@rdfx/data-factory/dist/Literal.js").Literal;
3096
+ };
3097
+ };
2993
3098
  readonly ignoredProperties: {
2994
3099
  readonly kind: "Shacl";
2995
3100
  readonly path: import("@rdfx/data-factory/dist/NamedNode.js").NamedNode<"http://www.w3.org/ns/shacl#ignoredProperties">;
@@ -3012,6 +3117,7 @@ export declare namespace $Object {
3012
3117
  readonly kind: "List";
3013
3118
  readonly itemType: {
3014
3119
  readonly kind: "Term";
3120
+ readonly types: readonly ["NamedNode", "Literal"];
3015
3121
  };
3016
3122
  };
3017
3123
  };
@@ -3251,6 +3357,7 @@ export declare namespace $Object {
3251
3357
  readonly kind: "Set";
3252
3358
  readonly itemType: {
3253
3359
  readonly kind: "Term";
3360
+ readonly types: readonly ["NamedNode", "Literal"];
3254
3361
  };
3255
3362
  };
3256
3363
  };
@@ -3323,6 +3430,7 @@ export declare namespace $Object {
3323
3430
  readonly Ontology: {
3324
3431
  readonly discriminantValues: readonly ["Ontology"];
3325
3432
  readonly type: {
3433
+ readonly fromRdfType: import("@rdfx/data-factory/dist/NamedNode.js").NamedNode<"http://www.w3.org/2002/07/owl#Ontology">;
3326
3434
  readonly properties: {
3327
3435
  readonly $identifier: {
3328
3436
  readonly kind: "Identifier";
@@ -3356,6 +3464,7 @@ export declare namespace $Object {
3356
3464
  readonly PropertyGroup: {
3357
3465
  readonly discriminantValues: readonly ["PropertyGroup"];
3358
3466
  readonly type: {
3467
+ readonly fromRdfType: import("@rdfx/data-factory/dist/NamedNode.js").NamedNode<"http://www.w3.org/ns/shacl#PropertyGroup">;
3359
3468
  readonly properties: {
3360
3469
  readonly $identifier: {
3361
3470
  readonly kind: "Identifier";
@@ -3389,6 +3498,7 @@ export declare namespace $Object {
3389
3498
  readonly PropertyShape: {
3390
3499
  readonly discriminantValues: readonly ["PropertyShape"];
3391
3500
  readonly type: {
3501
+ readonly fromRdfType: import("@rdfx/data-factory/dist/NamedNode.js").NamedNode<"http://www.w3.org/ns/shacl#PropertyShape">;
3392
3502
  readonly properties: {
3393
3503
  readonly $identifier: {
3394
3504
  readonly kind: "Identifier";
@@ -3456,6 +3566,7 @@ export declare namespace $Object {
3456
3566
  readonly kind: "Option";
3457
3567
  readonly itemType: {
3458
3568
  readonly kind: "Term";
3569
+ readonly types: readonly ["NamedNode", "Literal"];
3459
3570
  };
3460
3571
  };
3461
3572
  };
@@ -3487,7 +3598,7 @@ export declare namespace $Object {
3487
3598
  readonly itemType: {
3488
3599
  readonly kind: "Boolean";
3489
3600
  };
3490
- readonly defaultValue: false;
3601
+ readonly defaultValue: import("@rdfx/data-factory/dist/Literal.js").Literal;
3491
3602
  };
3492
3603
  };
3493
3604
  readonly equals: {
@@ -3527,7 +3638,19 @@ export declare namespace $Object {
3527
3638
  readonly kind: "Set";
3528
3639
  readonly itemType: {
3529
3640
  readonly kind: "Term";
3641
+ readonly types: readonly ["NamedNode", "Literal"];
3642
+ };
3643
+ };
3644
+ };
3645
+ readonly ignore: {
3646
+ readonly kind: "Shacl";
3647
+ readonly path: import("@rdfx/data-factory/dist/NamedNode.js").NamedNode<"http://purl.org/shaclmate/ontology#ignore">;
3648
+ readonly type: {
3649
+ readonly kind: "DefaultValue";
3650
+ readonly itemType: {
3651
+ readonly kind: "Boolean";
3530
3652
  };
3653
+ readonly defaultValue: import("@rdfx/data-factory/dist/Literal.js").Literal;
3531
3654
  };
3532
3655
  };
3533
3656
  readonly in_: {
@@ -3539,6 +3662,7 @@ export declare namespace $Object {
3539
3662
  readonly kind: "List";
3540
3663
  readonly itemType: {
3541
3664
  readonly kind: "Term";
3665
+ readonly types: readonly ["NamedNode", "Literal"];
3542
3666
  };
3543
3667
  };
3544
3668
  };
@@ -3863,6 +3987,7 @@ export declare namespace $Object {
3863
3987
  readonly kind: "Set";
3864
3988
  readonly itemType: {
3865
3989
  readonly kind: "Term";
3990
+ readonly types: readonly ["NamedNode", "Literal"];
3866
3991
  };
3867
3992
  };
3868
3993
  };