@shaclmate/compiler 4.0.41 → 4.0.42

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 +10 -45
  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 +3 -3
  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 +464 -389
  256. package/dist/input/generated.js +1748 -2294
  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,154 @@ 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
+ readonly ignoredProperties: Maybe<readonly NamedNode[]>;
115
113
  readonly in_: Maybe<readonly (NamedNode | Literal)[]>;
116
114
  readonly isDefinedBy: Maybe<BlankNode | NamedNode>;
117
115
  readonly label: Maybe<string>;
118
116
  readonly languageIn: Maybe<readonly string[]>;
119
- readonly lessThan: readonly NamedNode[];
120
- readonly lessThanOrEquals: readonly NamedNode[];
121
- readonly maxCount: Maybe<bigint>;
122
117
  readonly maxExclusive: Maybe<Literal>;
123
118
  readonly maxInclusive: Maybe<Literal>;
124
119
  readonly maxLength: Maybe<bigint>;
125
120
  readonly message: Maybe<string>;
126
- readonly minCount: Maybe<bigint>;
127
121
  readonly minExclusive: Maybe<Literal>;
128
122
  readonly minInclusive: Maybe<Literal>;
129
123
  readonly minLength: Maybe<bigint>;
130
124
  readonly mutable: Maybe<boolean>;
131
- readonly name: Maybe<string>;
132
125
  readonly node: Maybe<BlankNode | NamedNode>;
133
126
  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
127
  readonly not: readonly (BlankNode | NamedNode)[];
135
128
  readonly or: Maybe<readonly (BlankNode | NamedNode)[]>;
136
- readonly order: Maybe<number>;
137
- readonly path: $PropertyPath;
138
129
  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>;
130
+ readonly properties: readonly (BlankNode | NamedNode)[];
131
+ readonly rdfType: Maybe<NamedNode>;
144
132
  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
133
  readonly shaclmateName: Maybe<string>;
134
+ readonly subClassOf: readonly NamedNode[];
146
135
  readonly targetClasses: readonly NamedNode[];
147
136
  readonly targetNodes: readonly (NamedNode | Literal)[];
148
137
  readonly targetObjectsOf: readonly NamedNode[];
149
138
  readonly targetSubjectsOf: readonly NamedNode[];
150
- readonly uniqueLang: Maybe<boolean>;
139
+ readonly toRdfTypes: readonly NamedNode[];
140
+ readonly tsImports: readonly string[];
141
+ readonly types: readonly NamedNode[];
151
142
  readonly xone: Maybe<readonly (BlankNode | NamedNode)[]>;
152
- }
153
- export declare namespace PropertyShape {
154
- function create(parameters: {
155
- readonly $identifier?: (() => PropertyShape.Identifier) | BlankNode | NamedNode | string;
143
+ };
144
+ export declare namespace NodeShape {
145
+ const create: (parameters?: {
146
+ readonly $identifier?: (() => NodeShape.Identifier) | BlankNode | NamedNode | string;
156
147
  readonly and?: readonly (BlankNode | NamedNode | string | undefined)[] | Maybe<readonly (BlankNode | NamedNode)[]>;
157
148
  readonly classes?: string | NamedNode | readonly (string | NamedNode)[];
149
+ readonly closed?: boolean | Maybe<boolean>;
158
150
  readonly comment?: string | Maybe<string>;
159
151
  readonly datatype?: string | NamedNode | Maybe<NamedNode>;
160
152
  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)[];
153
+ readonly discriminantValue?: string | Maybe<string>;
154
+ readonly extern?: boolean | Maybe<boolean>;
166
155
  readonly flags?: string | Maybe<string>;
167
- readonly groups?: BlankNode | NamedNode | string | readonly (BlankNode | NamedNode | string | undefined)[];
156
+ readonly fromRdfType?: string | NamedNode | Maybe<NamedNode>;
168
157
  readonly hasValues?: (NamedNode | Literal) | readonly (NamedNode | Literal)[];
158
+ readonly ignoredProperties?: readonly (string | NamedNode)[] | Maybe<readonly NamedNode[]>;
169
159
  readonly in_?: readonly (NamedNode | Literal)[] | Maybe<readonly (NamedNode | Literal)[]>;
170
160
  readonly isDefinedBy?: BlankNode | NamedNode | string | Maybe<BlankNode | NamedNode>;
171
161
  readonly label?: string | Maybe<string>;
172
162
  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
163
  readonly maxExclusive?: bigint | boolean | number | string | Date | Literal | Maybe<Literal>;
177
164
  readonly maxInclusive?: bigint | boolean | number | string | Date | Literal | Maybe<Literal>;
178
165
  readonly maxLength?: bigint | Maybe<bigint>;
179
166
  readonly message?: string | Maybe<string>;
180
- readonly minCount?: bigint | Maybe<bigint>;
181
167
  readonly minExclusive?: bigint | boolean | number | string | Date | Literal | Maybe<Literal>;
182
168
  readonly minInclusive?: bigint | boolean | number | string | Date | Literal | Maybe<Literal>;
183
169
  readonly minLength?: bigint | Maybe<bigint>;
184
170
  readonly mutable?: boolean | Maybe<boolean>;
185
- readonly name?: string | Maybe<string>;
186
171
  readonly node?: BlankNode | NamedNode | string | Maybe<BlankNode | NamedNode>;
187
172
  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
173
  readonly not?: BlankNode | NamedNode | string | readonly (BlankNode | NamedNode | string | undefined)[];
189
174
  readonly or?: readonly (BlankNode | NamedNode | string | undefined)[] | Maybe<readonly (BlankNode | NamedNode)[]>;
190
- readonly order?: number | Maybe<number>;
191
- readonly path: $PropertyPath;
192
175
  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>;
176
+ readonly properties?: BlankNode | NamedNode | string | readonly (BlankNode | NamedNode | string | undefined)[];
177
+ readonly rdfType?: string | NamedNode | Maybe<NamedNode>;
198
178
  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
179
  readonly shaclmateName?: string | Maybe<string>;
180
+ readonly subClassOf?: string | NamedNode | readonly (string | NamedNode)[];
200
181
  readonly targetClasses?: string | NamedNode | readonly (string | NamedNode)[];
201
182
  readonly targetNodes?: (NamedNode | Literal) | readonly (NamedNode | Literal)[];
202
183
  readonly targetObjectsOf?: string | NamedNode | readonly (string | NamedNode)[];
203
184
  readonly targetSubjectsOf?: string | NamedNode | readonly (string | NamedNode)[];
204
- readonly uniqueLang?: boolean | Maybe<boolean>;
185
+ readonly toRdfTypes?: string | NamedNode | readonly (string | NamedNode)[];
186
+ readonly tsImports?: string | readonly string[];
187
+ readonly types?: string | NamedNode | readonly (string | NamedNode)[];
205
188
  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;
189
+ }) => Either<Error, NodeShape>;
190
+ function createUnsafe(parameters?: {
191
+ readonly $identifier?: (() => NodeShape.Identifier) | BlankNode | NamedNode | string;
209
192
  readonly and?: readonly (BlankNode | NamedNode | string | undefined)[] | Maybe<readonly (BlankNode | NamedNode)[]>;
210
193
  readonly classes?: string | NamedNode | readonly (string | NamedNode)[];
194
+ readonly closed?: boolean | Maybe<boolean>;
211
195
  readonly comment?: string | Maybe<string>;
212
196
  readonly datatype?: string | NamedNode | Maybe<NamedNode>;
213
197
  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)[];
198
+ readonly discriminantValue?: string | Maybe<string>;
199
+ readonly extern?: boolean | Maybe<boolean>;
219
200
  readonly flags?: string | Maybe<string>;
220
- readonly groups?: BlankNode | NamedNode | string | readonly (BlankNode | NamedNode | string | undefined)[];
201
+ readonly fromRdfType?: string | NamedNode | Maybe<NamedNode>;
221
202
  readonly hasValues?: (NamedNode | Literal) | readonly (NamedNode | Literal)[];
203
+ readonly ignoredProperties?: readonly (string | NamedNode)[] | Maybe<readonly NamedNode[]>;
222
204
  readonly in_?: readonly (NamedNode | Literal)[] | Maybe<readonly (NamedNode | Literal)[]>;
223
205
  readonly isDefinedBy?: BlankNode | NamedNode | string | Maybe<BlankNode | NamedNode>;
224
206
  readonly label?: string | Maybe<string>;
225
207
  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
208
  readonly maxExclusive?: bigint | boolean | number | string | Date | Literal | Maybe<Literal>;
230
209
  readonly maxInclusive?: bigint | boolean | number | string | Date | Literal | Maybe<Literal>;
231
210
  readonly maxLength?: bigint | Maybe<bigint>;
232
211
  readonly message?: string | Maybe<string>;
233
- readonly minCount?: bigint | Maybe<bigint>;
234
212
  readonly minExclusive?: bigint | boolean | number | string | Date | Literal | Maybe<Literal>;
235
213
  readonly minInclusive?: bigint | boolean | number | string | Date | Literal | Maybe<Literal>;
236
214
  readonly minLength?: bigint | Maybe<bigint>;
237
215
  readonly mutable?: boolean | Maybe<boolean>;
238
- readonly name?: string | Maybe<string>;
239
216
  readonly node?: BlankNode | NamedNode | string | Maybe<BlankNode | NamedNode>;
240
217
  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
218
  readonly not?: BlankNode | NamedNode | string | readonly (BlankNode | NamedNode | string | undefined)[];
242
219
  readonly or?: readonly (BlankNode | NamedNode | string | undefined)[] | Maybe<readonly (BlankNode | NamedNode)[]>;
243
- readonly order?: number | Maybe<number>;
244
- readonly path: $PropertyPath;
245
220
  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>;
221
+ readonly properties?: BlankNode | NamedNode | string | readonly (BlankNode | NamedNode | string | undefined)[];
222
+ readonly rdfType?: string | NamedNode | Maybe<NamedNode>;
251
223
  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
224
  readonly shaclmateName?: string | Maybe<string>;
225
+ readonly subClassOf?: string | NamedNode | readonly (string | NamedNode)[];
253
226
  readonly targetClasses?: string | NamedNode | readonly (string | NamedNode)[];
254
227
  readonly targetNodes?: (NamedNode | Literal) | readonly (NamedNode | Literal)[];
255
228
  readonly targetObjectsOf?: string | NamedNode | readonly (string | NamedNode)[];
256
229
  readonly targetSubjectsOf?: string | NamedNode | readonly (string | NamedNode)[];
257
- readonly uniqueLang?: boolean | Maybe<boolean>;
230
+ readonly toRdfTypes?: string | NamedNode | readonly (string | NamedNode)[];
231
+ readonly tsImports?: string | readonly string[];
232
+ readonly types?: string | NamedNode | readonly (string | NamedNode)[];
258
233
  readonly xone?: readonly (BlankNode | NamedNode | string | undefined)[] | Maybe<readonly (BlankNode | NamedNode)[]>;
259
- }): PropertyShape;
234
+ }): NodeShape;
235
+ const _fromRdfResource: $_FromRdfResourceFunction<NodeShape>;
236
+ const fromRdfResource: $FromRdfResourceFunction<NodeShape>;
237
+ const fromRdfResourceValues: $FromRdfResourceValuesFunction<NodeShape, NodeShape.Schema>;
260
238
  type Identifier = BlankNode | NamedNode;
261
239
  namespace Identifier {
262
240
  const parse: (value: string) => Either<Error, import("@rdfx/string/dist/Identifier.js").Identifier>;
263
241
  const stringify: typeof NTriplesTerm.stringify;
264
242
  }
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;
243
+ function isNodeShape(object: $Object): object is NodeShape;
270
244
  const schema: {
245
+ readonly fromRdfType: import("@rdfx/data-factory/dist/NamedNode.js").NamedNode<"http://www.w3.org/ns/shacl#NodeShape">;
271
246
  readonly properties: {
272
247
  readonly $identifier: {
273
248
  readonly kind: "Identifier";
@@ -298,6 +273,16 @@ export declare namespace PropertyShape {
298
273
  };
299
274
  };
300
275
  };
276
+ readonly closed: {
277
+ readonly kind: "Shacl";
278
+ readonly path: import("@rdfx/data-factory/dist/NamedNode.js").NamedNode<"http://www.w3.org/ns/shacl#closed">;
279
+ readonly type: {
280
+ readonly kind: "Option";
281
+ readonly itemType: {
282
+ readonly kind: "Boolean";
283
+ };
284
+ };
285
+ };
301
286
  readonly comment: {
302
287
  readonly kind: "Shacl";
303
288
  readonly path: import("@rdfx/data-factory/dist/NamedNode.js").NamedNode<"http://www.w3.org/2000/01/rdf-schema#comment">;
@@ -328,19 +313,9 @@ export declare namespace PropertyShape {
328
313
  };
329
314
  };
330
315
  };
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: {
316
+ readonly discriminantValue: {
342
317
  readonly kind: "Shacl";
343
- readonly path: import("@rdfx/data-factory/dist/NamedNode.js").NamedNode<"http://www.w3.org/ns/shacl#description">;
318
+ readonly path: import("@rdfx/data-factory/dist/NamedNode.js").NamedNode<"http://purl.org/shaclmate/ontology#discriminantValue">;
344
319
  readonly type: {
345
320
  readonly kind: "Option";
346
321
  readonly itemType: {
@@ -348,35 +323,14 @@ export declare namespace PropertyShape {
348
323
  };
349
324
  };
350
325
  };
351
- readonly disjoint: {
352
- readonly kind: "Shacl";
353
- readonly path: import("@rdfx/data-factory/dist/NamedNode.js").NamedNode<"http://www.w3.org/ns/shacl#disjoint">;
354
- readonly type: {
355
- readonly kind: "Set";
356
- readonly itemType: {
357
- readonly kind: "Iri";
358
- };
359
- };
360
- };
361
- readonly display: {
326
+ readonly extern: {
362
327
  readonly kind: "Shacl";
363
- readonly path: import("@rdfx/data-factory/dist/NamedNode.js").NamedNode<"http://purl.org/shaclmate/ontology#display">;
328
+ readonly path: import("@rdfx/data-factory/dist/NamedNode.js").NamedNode<"http://purl.org/shaclmate/ontology#extern">;
364
329
  readonly type: {
365
- readonly kind: "DefaultValue";
330
+ readonly kind: "Option";
366
331
  readonly itemType: {
367
332
  readonly kind: "Boolean";
368
333
  };
369
- readonly defaultValue: false;
370
- };
371
- };
372
- readonly equals: {
373
- readonly kind: "Shacl";
374
- readonly path: import("@rdfx/data-factory/dist/NamedNode.js").NamedNode<"http://www.w3.org/ns/shacl#equals">;
375
- readonly type: {
376
- readonly kind: "Set";
377
- readonly itemType: {
378
- readonly kind: "Iri";
379
- };
380
334
  };
381
335
  };
382
336
  readonly flags: {
@@ -389,13 +343,13 @@ export declare namespace PropertyShape {
389
343
  };
390
344
  };
391
345
  };
392
- readonly groups: {
346
+ readonly fromRdfType: {
393
347
  readonly kind: "Shacl";
394
- readonly path: import("@rdfx/data-factory/dist/NamedNode.js").NamedNode<"http://www.w3.org/ns/shacl#group">;
348
+ readonly path: import("@rdfx/data-factory/dist/NamedNode.js").NamedNode<"http://purl.org/shaclmate/ontology#fromRdfType">;
395
349
  readonly type: {
396
- readonly kind: "Set";
350
+ readonly kind: "Option";
397
351
  readonly itemType: {
398
- readonly kind: "Identifier";
352
+ readonly kind: "Iri";
399
353
  };
400
354
  };
401
355
  };
@@ -406,6 +360,20 @@ export declare namespace PropertyShape {
406
360
  readonly kind: "Set";
407
361
  readonly itemType: {
408
362
  readonly kind: "Term";
363
+ readonly types: readonly ["NamedNode", "Literal"];
364
+ };
365
+ };
366
+ };
367
+ readonly ignoredProperties: {
368
+ readonly kind: "Shacl";
369
+ readonly path: import("@rdfx/data-factory/dist/NamedNode.js").NamedNode<"http://www.w3.org/ns/shacl#ignoredProperties">;
370
+ readonly type: {
371
+ readonly kind: "Option";
372
+ readonly itemType: {
373
+ readonly kind: "List";
374
+ readonly itemType: {
375
+ readonly kind: "Iri";
376
+ };
409
377
  };
410
378
  };
411
379
  };
@@ -418,6 +386,7 @@ export declare namespace PropertyShape {
418
386
  readonly kind: "List";
419
387
  readonly itemType: {
420
388
  readonly kind: "Term";
389
+ readonly types: readonly ["NamedNode", "Literal"];
421
390
  };
422
391
  };
423
392
  };
@@ -455,36 +424,6 @@ export declare namespace PropertyShape {
455
424
  };
456
425
  };
457
426
  };
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
427
  readonly maxExclusive: {
489
428
  readonly kind: "Shacl";
490
429
  readonly path: import("@rdfx/data-factory/dist/NamedNode.js").NamedNode<"http://www.w3.org/ns/shacl#maxExclusive">;
@@ -525,16 +464,6 @@ export declare namespace PropertyShape {
525
464
  };
526
465
  };
527
466
  };
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
467
  readonly minExclusive: {
539
468
  readonly kind: "Shacl";
540
469
  readonly path: import("@rdfx/data-factory/dist/NamedNode.js").NamedNode<"http://www.w3.org/ns/shacl#minExclusive">;
@@ -575,16 +504,6 @@ export declare namespace PropertyShape {
575
504
  };
576
505
  };
577
506
  };
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
507
  readonly node: {
589
508
  readonly kind: "Shacl";
590
509
  readonly path: import("@rdfx/data-factory/dist/NamedNode.js").NamedNode<"http://www.w3.org/ns/shacl#node">;
@@ -629,21 +548,6 @@ export declare namespace PropertyShape {
629
548
  };
630
549
  };
631
550
  };
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
551
  readonly pattern: {
648
552
  readonly kind: "Shacl";
649
553
  readonly path: import("@rdfx/data-factory/dist/NamedNode.js").NamedNode<"http://www.w3.org/ns/shacl#pattern">;
@@ -654,80 +558,81 @@ export declare namespace PropertyShape {
654
558
  };
655
559
  };
656
560
  };
657
- readonly qualifiedMaxCount: {
561
+ readonly properties: {
658
562
  readonly kind: "Shacl";
659
- readonly path: import("@rdfx/data-factory/dist/NamedNode.js").NamedNode<"http://www.w3.org/ns/shacl#qualifiedMaxCount">;
563
+ readonly path: import("@rdfx/data-factory/dist/NamedNode.js").NamedNode<"http://www.w3.org/ns/shacl#property">;
660
564
  readonly type: {
661
- readonly kind: "Option";
565
+ readonly kind: "Set";
662
566
  readonly itemType: {
663
- readonly kind: "BigInt";
567
+ readonly kind: "Identifier";
664
568
  };
665
569
  };
666
570
  };
667
- readonly qualifiedMinCount: {
571
+ readonly rdfType: {
668
572
  readonly kind: "Shacl";
669
- readonly path: import("@rdfx/data-factory/dist/NamedNode.js").NamedNode<"http://www.w3.org/ns/shacl#qualifiedMinCount">;
573
+ readonly path: import("@rdfx/data-factory/dist/NamedNode.js").NamedNode<"http://purl.org/shaclmate/ontology#rdfType">;
670
574
  readonly type: {
671
575
  readonly kind: "Option";
672
576
  readonly itemType: {
673
- readonly kind: "BigInt";
577
+ readonly kind: "Iri";
674
578
  };
675
579
  };
676
580
  };
677
- readonly qualifiedValueShape: {
581
+ readonly severity: {
678
582
  readonly kind: "Shacl";
679
- readonly path: import("@rdfx/data-factory/dist/NamedNode.js").NamedNode<"http://www.w3.org/ns/shacl#qualifiedValueShape">;
583
+ readonly path: import("@rdfx/data-factory/dist/NamedNode.js").NamedNode<"http://www.w3.org/ns/shacl#severity">;
680
584
  readonly type: {
681
585
  readonly kind: "Option";
682
586
  readonly itemType: {
683
- readonly kind: "Identifier";
587
+ readonly kind: "Iri";
588
+ 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
589
  };
685
590
  };
686
591
  };
687
- readonly qualifiedValueShapesDisjoint: {
592
+ readonly shaclmateName: {
688
593
  readonly kind: "Shacl";
689
- readonly path: import("@rdfx/data-factory/dist/NamedNode.js").NamedNode<"http://www.w3.org/ns/shacl#qualifiedValueShapesDisjoint">;
594
+ readonly path: import("@rdfx/data-factory/dist/NamedNode.js").NamedNode<"http://purl.org/shaclmate/ontology#name">;
690
595
  readonly type: {
691
596
  readonly kind: "Option";
692
597
  readonly itemType: {
693
- readonly kind: "Boolean";
598
+ readonly kind: "String";
694
599
  };
695
600
  };
696
601
  };
697
- readonly resolve: {
602
+ readonly subClassOf: {
698
603
  readonly kind: "Shacl";
699
- readonly path: import("@rdfx/data-factory/dist/NamedNode.js").NamedNode<"http://purl.org/shaclmate/ontology#resolve">;
604
+ readonly path: import("@rdfx/data-factory/dist/NamedNode.js").NamedNode<"http://www.w3.org/2000/01/rdf-schema#subClassOf">;
700
605
  readonly type: {
701
- readonly kind: "Option";
606
+ readonly kind: "Set";
702
607
  readonly itemType: {
703
- readonly kind: "Identifier";
608
+ readonly kind: "Iri";
704
609
  };
705
610
  };
706
611
  };
707
- readonly severity: {
612
+ readonly targetClasses: {
708
613
  readonly kind: "Shacl";
709
- readonly path: import("@rdfx/data-factory/dist/NamedNode.js").NamedNode<"http://www.w3.org/ns/shacl#severity">;
614
+ readonly path: import("@rdfx/data-factory/dist/NamedNode.js").NamedNode<"http://www.w3.org/ns/shacl#targetClass">;
710
615
  readonly type: {
711
- readonly kind: "Option";
616
+ readonly kind: "Set";
712
617
  readonly itemType: {
713
618
  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
619
  };
716
620
  };
717
621
  };
718
- readonly shaclmateName: {
622
+ readonly targetNodes: {
719
623
  readonly kind: "Shacl";
720
- readonly path: import("@rdfx/data-factory/dist/NamedNode.js").NamedNode<"http://purl.org/shaclmate/ontology#name">;
624
+ readonly path: import("@rdfx/data-factory/dist/NamedNode.js").NamedNode<"http://www.w3.org/ns/shacl#targetNode">;
721
625
  readonly type: {
722
- readonly kind: "Option";
626
+ readonly kind: "Set";
723
627
  readonly itemType: {
724
- readonly kind: "String";
628
+ readonly kind: "Term";
629
+ readonly types: readonly ["NamedNode", "Literal"];
725
630
  };
726
631
  };
727
632
  };
728
- readonly targetClasses: {
633
+ readonly targetObjectsOf: {
729
634
  readonly kind: "Shacl";
730
- readonly path: import("@rdfx/data-factory/dist/NamedNode.js").NamedNode<"http://www.w3.org/ns/shacl#targetClass">;
635
+ readonly path: import("@rdfx/data-factory/dist/NamedNode.js").NamedNode<"http://www.w3.org/ns/shacl#targetObjectsOf">;
731
636
  readonly type: {
732
637
  readonly kind: "Set";
733
638
  readonly itemType: {
@@ -735,19 +640,19 @@ export declare namespace PropertyShape {
735
640
  };
736
641
  };
737
642
  };
738
- readonly targetNodes: {
643
+ readonly targetSubjectsOf: {
739
644
  readonly kind: "Shacl";
740
- readonly path: import("@rdfx/data-factory/dist/NamedNode.js").NamedNode<"http://www.w3.org/ns/shacl#targetNode">;
645
+ readonly path: import("@rdfx/data-factory/dist/NamedNode.js").NamedNode<"http://www.w3.org/ns/shacl#targetSubjectsOf">;
741
646
  readonly type: {
742
647
  readonly kind: "Set";
743
648
  readonly itemType: {
744
- readonly kind: "Term";
649
+ readonly kind: "Iri";
745
650
  };
746
651
  };
747
652
  };
748
- readonly targetObjectsOf: {
653
+ readonly toRdfTypes: {
749
654
  readonly kind: "Shacl";
750
- readonly path: import("@rdfx/data-factory/dist/NamedNode.js").NamedNode<"http://www.w3.org/ns/shacl#targetObjectsOf">;
655
+ readonly path: import("@rdfx/data-factory/dist/NamedNode.js").NamedNode<"http://purl.org/shaclmate/ontology#toRdfType">;
751
656
  readonly type: {
752
657
  readonly kind: "Set";
753
658
  readonly itemType: {
@@ -755,23 +660,23 @@ export declare namespace PropertyShape {
755
660
  };
756
661
  };
757
662
  };
758
- readonly targetSubjectsOf: {
663
+ readonly tsImports: {
759
664
  readonly kind: "Shacl";
760
- readonly path: import("@rdfx/data-factory/dist/NamedNode.js").NamedNode<"http://www.w3.org/ns/shacl#targetSubjectsOf">;
665
+ readonly path: import("@rdfx/data-factory/dist/NamedNode.js").NamedNode<"http://purl.org/shaclmate/ontology#tsImport">;
761
666
  readonly type: {
762
667
  readonly kind: "Set";
763
668
  readonly itemType: {
764
- readonly kind: "Iri";
669
+ readonly kind: "String";
765
670
  };
766
671
  };
767
672
  };
768
- readonly uniqueLang: {
673
+ readonly types: {
769
674
  readonly kind: "Shacl";
770
- readonly path: import("@rdfx/data-factory/dist/NamedNode.js").NamedNode<"http://www.w3.org/ns/shacl#uniqueLang">;
675
+ readonly path: import("@rdfx/data-factory/dist/NamedNode.js").NamedNode<"http://www.w3.org/1999/02/22-rdf-syntax-ns#type">;
771
676
  readonly type: {
772
- readonly kind: "Option";
677
+ readonly kind: "Set";
773
678
  readonly itemType: {
774
- readonly kind: "Boolean";
679
+ readonly kind: "Iri";
775
680
  };
776
681
  };
777
682
  };
@@ -790,39 +695,40 @@ export declare namespace PropertyShape {
790
695
  };
791
696
  };
792
697
  };
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;
698
+ type Schema = typeof schema;
699
+ const _toRdfResource: $_ToRdfResourceFunction<NodeShape.Identifier, NodeShape>;
700
+ const toRdfResource: $ToRdfResourceFunction<NodeShape, Identifier>;
701
+ const $toString: (_nodeShape: NodeShape) => string;
702
+ const toStringRecord: (_nodeShape: NodeShape) => Record<string, string>;
797
703
  }
798
- export interface PropertyGroup {
799
- readonly $identifier: () => PropertyGroup.Identifier;
800
- readonly $type: "PropertyGroup";
704
+ export type Ontology = {
705
+ readonly $identifier: () => Ontology.Identifier;
706
+ readonly $type: "Ontology";
801
707
  readonly comment: Maybe<string>;
802
708
  readonly label: Maybe<string>;
803
- }
804
- export declare namespace PropertyGroup {
805
- function create(parameters?: {
806
- readonly $identifier?: (() => PropertyGroup.Identifier) | BlankNode | NamedNode | string;
709
+ };
710
+ export declare namespace Ontology {
711
+ const create: (parameters?: {
712
+ readonly $identifier?: (() => Ontology.Identifier) | BlankNode | NamedNode | string;
807
713
  readonly comment?: string | Maybe<string>;
808
714
  readonly label?: string | Maybe<string>;
809
- }): Either<Error, PropertyGroup>;
715
+ }) => Either<Error, Ontology>;
810
716
  function createUnsafe(parameters?: {
811
- readonly $identifier?: (() => PropertyGroup.Identifier) | BlankNode | NamedNode | string;
717
+ readonly $identifier?: (() => Ontology.Identifier) | BlankNode | NamedNode | string;
812
718
  readonly comment?: string | Maybe<string>;
813
719
  readonly label?: string | Maybe<string>;
814
- }): PropertyGroup;
720
+ }): Ontology;
721
+ const _fromRdfResource: $_FromRdfResourceFunction<Ontology>;
722
+ const fromRdfResource: $FromRdfResourceFunction<Ontology>;
723
+ const fromRdfResourceValues: $FromRdfResourceValuesFunction<Ontology, Ontology.Schema>;
815
724
  type Identifier = BlankNode | NamedNode;
816
725
  namespace Identifier {
817
726
  const parse: (value: string) => Either<Error, import("@rdfx/string/dist/Identifier.js").Identifier>;
818
727
  const stringify: typeof NTriplesTerm.stringify;
819
728
  }
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;
729
+ function isOntology(object: $Object): object is Ontology;
825
730
  const schema: {
731
+ readonly fromRdfType: import("@rdfx/data-factory/dist/NamedNode.js").NamedNode<"http://www.w3.org/2002/07/owl#Ontology">;
826
732
  readonly properties: {
827
733
  readonly $identifier: {
828
734
  readonly kind: "Identifier";
@@ -852,39 +758,40 @@ export declare namespace PropertyGroup {
852
758
  };
853
759
  };
854
760
  };
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;
761
+ type Schema = typeof schema;
762
+ const _toRdfResource: $_ToRdfResourceFunction<Ontology.Identifier, Ontology>;
763
+ const toRdfResource: $ToRdfResourceFunction<Ontology, Identifier>;
764
+ const $toString: (_ontology: Ontology) => string;
765
+ const toStringRecord: (_ontology: Ontology) => Record<string, string>;
859
766
  }
860
- export interface Ontology {
861
- readonly $identifier: () => Ontology.Identifier;
862
- readonly $type: "Ontology";
767
+ export type PropertyGroup = {
768
+ readonly $identifier: () => PropertyGroup.Identifier;
769
+ readonly $type: "PropertyGroup";
863
770
  readonly comment: Maybe<string>;
864
771
  readonly label: Maybe<string>;
865
- }
866
- export declare namespace Ontology {
867
- function create(parameters?: {
868
- readonly $identifier?: (() => Ontology.Identifier) | BlankNode | NamedNode | string;
772
+ };
773
+ export declare namespace PropertyGroup {
774
+ const create: (parameters?: {
775
+ readonly $identifier?: (() => PropertyGroup.Identifier) | BlankNode | NamedNode | string;
869
776
  readonly comment?: string | Maybe<string>;
870
777
  readonly label?: string | Maybe<string>;
871
- }): Either<Error, Ontology>;
778
+ }) => Either<Error, PropertyGroup>;
872
779
  function createUnsafe(parameters?: {
873
- readonly $identifier?: (() => Ontology.Identifier) | BlankNode | NamedNode | string;
780
+ readonly $identifier?: (() => PropertyGroup.Identifier) | BlankNode | NamedNode | string;
874
781
  readonly comment?: string | Maybe<string>;
875
782
  readonly label?: string | Maybe<string>;
876
- }): Ontology;
783
+ }): PropertyGroup;
784
+ const _fromRdfResource: $_FromRdfResourceFunction<PropertyGroup>;
785
+ const fromRdfResource: $FromRdfResourceFunction<PropertyGroup>;
786
+ const fromRdfResourceValues: $FromRdfResourceValuesFunction<PropertyGroup, PropertyGroup.Schema>;
877
787
  type Identifier = BlankNode | NamedNode;
878
788
  namespace Identifier {
879
789
  const parse: (value: string) => Either<Error, import("@rdfx/string/dist/Identifier.js").Identifier>;
880
790
  const stringify: typeof NTriplesTerm.stringify;
881
791
  }
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;
792
+ function isPropertyGroup(object: $Object): object is PropertyGroup;
887
793
  const schema: {
794
+ readonly fromRdfType: import("@rdfx/data-factory/dist/NamedNode.js").NamedNode<"http://www.w3.org/ns/shacl#PropertyGroup">;
888
795
  readonly properties: {
889
796
  readonly $identifier: {
890
797
  readonly kind: "Identifier";
@@ -914,159 +821,193 @@ export declare namespace Ontology {
914
821
  };
915
822
  };
916
823
  };
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;
824
+ type Schema = typeof schema;
825
+ const _toRdfResource: $_ToRdfResourceFunction<PropertyGroup.Identifier, PropertyGroup>;
826
+ const toRdfResource: $ToRdfResourceFunction<PropertyGroup, Identifier>;
827
+ const $toString: (_propertyGroup: PropertyGroup) => string;
828
+ const toStringRecord: (_propertyGroup: PropertyGroup) => Record<string, string>;
921
829
  }
922
- export interface NodeShape {
923
- readonly $identifier: () => NodeShape.Identifier;
924
- readonly $type: "NodeShape";
830
+ export type PropertyShape = {
831
+ readonly $identifier: () => PropertyShape.Identifier;
832
+ readonly $type: "PropertyShape";
925
833
  readonly and: Maybe<readonly (BlankNode | NamedNode)[]>;
926
834
  readonly classes: readonly NamedNode[];
927
- readonly closed: Maybe<boolean>;
928
835
  readonly comment: Maybe<string>;
929
836
  readonly datatype: Maybe<NamedNode>;
930
837
  readonly deactivated: Maybe<boolean>;
931
- readonly discriminantValue: Maybe<string>;
932
- readonly extern: Maybe<boolean>;
838
+ readonly defaultValue: Maybe<NamedNode | Literal>;
839
+ readonly description: Maybe<string>;
840
+ readonly disjoint: readonly NamedNode[];
841
+ /**
842
+ * Whether to include this property in a toString()-type display, defaults to false
843
+ */
844
+ readonly display: boolean;
845
+ readonly equals: readonly NamedNode[];
933
846
  readonly flags: Maybe<string>;
934
- readonly fromRdfType: Maybe<NamedNode>;
847
+ readonly groups: readonly (BlankNode | NamedNode)[];
935
848
  readonly hasValues: readonly (NamedNode | Literal)[];
936
- readonly ignoredProperties: Maybe<readonly NamedNode[]>;
849
+ /**
850
+ * Whether to ignore this property in code generation, defaults to false
851
+ */
852
+ readonly ignore: boolean;
937
853
  readonly in_: Maybe<readonly (NamedNode | Literal)[]>;
938
854
  readonly isDefinedBy: Maybe<BlankNode | NamedNode>;
939
855
  readonly label: Maybe<string>;
940
856
  readonly languageIn: Maybe<readonly string[]>;
857
+ readonly lessThan: readonly NamedNode[];
858
+ readonly lessThanOrEquals: readonly NamedNode[];
859
+ readonly maxCount: Maybe<bigint>;
941
860
  readonly maxExclusive: Maybe<Literal>;
942
861
  readonly maxInclusive: Maybe<Literal>;
943
862
  readonly maxLength: Maybe<bigint>;
944
863
  readonly message: Maybe<string>;
864
+ readonly minCount: Maybe<bigint>;
945
865
  readonly minExclusive: Maybe<Literal>;
946
866
  readonly minInclusive: Maybe<Literal>;
947
867
  readonly minLength: Maybe<bigint>;
948
868
  readonly mutable: Maybe<boolean>;
869
+ readonly name: Maybe<string>;
949
870
  readonly node: Maybe<BlankNode | NamedNode>;
950
871
  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
872
  readonly not: readonly (BlankNode | NamedNode)[];
952
873
  readonly or: Maybe<readonly (BlankNode | NamedNode)[]>;
874
+ readonly order: Maybe<number>;
875
+ readonly path: $PropertyPath;
953
876
  readonly pattern: Maybe<string>;
954
- readonly properties: readonly (BlankNode | NamedNode)[];
955
- readonly rdfType: Maybe<NamedNode>;
877
+ readonly qualifiedMaxCount: Maybe<bigint>;
878
+ readonly qualifiedMinCount: Maybe<bigint>;
879
+ readonly qualifiedValueShape: Maybe<BlankNode | NamedNode>;
880
+ readonly qualifiedValueShapesDisjoint: Maybe<boolean>;
881
+ readonly resolve: Maybe<BlankNode | NamedNode>;
956
882
  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
883
  readonly shaclmateName: Maybe<string>;
958
- readonly subClassOf: readonly NamedNode[];
959
884
  readonly targetClasses: readonly NamedNode[];
960
885
  readonly targetNodes: readonly (NamedNode | Literal)[];
961
886
  readonly targetObjectsOf: readonly NamedNode[];
962
887
  readonly targetSubjectsOf: readonly NamedNode[];
963
- readonly toRdfTypes: readonly NamedNode[];
964
- readonly tsImports: readonly string[];
965
- readonly types: readonly NamedNode[];
888
+ readonly uniqueLang: Maybe<boolean>;
966
889
  readonly xone: Maybe<readonly (BlankNode | NamedNode)[]>;
967
- }
968
- export declare namespace NodeShape {
969
- function create(parameters?: {
970
- readonly $identifier?: (() => NodeShape.Identifier) | BlankNode | NamedNode | string;
890
+ };
891
+ export declare namespace PropertyShape {
892
+ const create: (parameters: {
893
+ readonly $identifier?: (() => PropertyShape.Identifier) | BlankNode | NamedNode | string;
971
894
  readonly and?: readonly (BlankNode | NamedNode | string | undefined)[] | Maybe<readonly (BlankNode | NamedNode)[]>;
972
895
  readonly classes?: string | NamedNode | readonly (string | NamedNode)[];
973
- readonly closed?: boolean | Maybe<boolean>;
974
896
  readonly comment?: string | Maybe<string>;
975
897
  readonly datatype?: string | NamedNode | Maybe<NamedNode>;
976
898
  readonly deactivated?: boolean | Maybe<boolean>;
977
- readonly discriminantValue?: string | Maybe<string>;
978
- readonly extern?: boolean | Maybe<boolean>;
899
+ readonly defaultValue?: (NamedNode | Literal) | Maybe<NamedNode | Literal>;
900
+ readonly description?: string | Maybe<string>;
901
+ readonly disjoint?: string | NamedNode | readonly (string | NamedNode)[];
902
+ readonly display?: boolean;
903
+ readonly equals?: string | NamedNode | readonly (string | NamedNode)[];
979
904
  readonly flags?: string | Maybe<string>;
980
- readonly fromRdfType?: string | NamedNode | Maybe<NamedNode>;
905
+ readonly groups?: BlankNode | NamedNode | string | readonly (BlankNode | NamedNode | string | undefined)[];
981
906
  readonly hasValues?: (NamedNode | Literal) | readonly (NamedNode | Literal)[];
982
- readonly ignoredProperties?: readonly (string | NamedNode)[] | Maybe<readonly NamedNode[]>;
907
+ readonly ignore?: boolean;
983
908
  readonly in_?: readonly (NamedNode | Literal)[] | Maybe<readonly (NamedNode | Literal)[]>;
984
909
  readonly isDefinedBy?: BlankNode | NamedNode | string | Maybe<BlankNode | NamedNode>;
985
910
  readonly label?: string | Maybe<string>;
986
911
  readonly languageIn?: readonly string[] | Maybe<readonly string[]>;
912
+ readonly lessThan?: string | NamedNode | readonly (string | NamedNode)[];
913
+ readonly lessThanOrEquals?: string | NamedNode | readonly (string | NamedNode)[];
914
+ readonly maxCount?: bigint | Maybe<bigint>;
987
915
  readonly maxExclusive?: bigint | boolean | number | string | Date | Literal | Maybe<Literal>;
988
916
  readonly maxInclusive?: bigint | boolean | number | string | Date | Literal | Maybe<Literal>;
989
917
  readonly maxLength?: bigint | Maybe<bigint>;
990
918
  readonly message?: string | Maybe<string>;
919
+ readonly minCount?: bigint | Maybe<bigint>;
991
920
  readonly minExclusive?: bigint | boolean | number | string | Date | Literal | Maybe<Literal>;
992
921
  readonly minInclusive?: bigint | boolean | number | string | Date | Literal | Maybe<Literal>;
993
922
  readonly minLength?: bigint | Maybe<bigint>;
994
923
  readonly mutable?: boolean | Maybe<boolean>;
924
+ readonly name?: string | Maybe<string>;
995
925
  readonly node?: BlankNode | NamedNode | string | Maybe<BlankNode | NamedNode>;
996
926
  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
927
  readonly not?: BlankNode | NamedNode | string | readonly (BlankNode | NamedNode | string | undefined)[];
998
928
  readonly or?: readonly (BlankNode | NamedNode | string | undefined)[] | Maybe<readonly (BlankNode | NamedNode)[]>;
929
+ readonly order?: number | Maybe<number>;
930
+ readonly path: $PropertyPath;
999
931
  readonly pattern?: string | Maybe<string>;
1000
- readonly properties?: BlankNode | NamedNode | string | readonly (BlankNode | NamedNode | string | undefined)[];
1001
- readonly rdfType?: string | NamedNode | Maybe<NamedNode>;
932
+ readonly qualifiedMaxCount?: bigint | Maybe<bigint>;
933
+ readonly qualifiedMinCount?: bigint | Maybe<bigint>;
934
+ readonly qualifiedValueShape?: BlankNode | NamedNode | string | Maybe<BlankNode | NamedNode>;
935
+ readonly qualifiedValueShapesDisjoint?: boolean | Maybe<boolean>;
936
+ readonly resolve?: BlankNode | NamedNode | string | Maybe<BlankNode | NamedNode>;
1002
937
  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
938
  readonly shaclmateName?: string | Maybe<string>;
1004
- readonly subClassOf?: string | NamedNode | readonly (string | NamedNode)[];
1005
939
  readonly targetClasses?: string | NamedNode | readonly (string | NamedNode)[];
1006
940
  readonly targetNodes?: (NamedNode | Literal) | readonly (NamedNode | Literal)[];
1007
941
  readonly targetObjectsOf?: string | NamedNode | readonly (string | NamedNode)[];
1008
942
  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)[];
943
+ readonly uniqueLang?: boolean | Maybe<boolean>;
1012
944
  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;
945
+ }) => Either<Error, PropertyShape>;
946
+ function createUnsafe(parameters: {
947
+ readonly $identifier?: (() => PropertyShape.Identifier) | BlankNode | NamedNode | string;
1016
948
  readonly and?: readonly (BlankNode | NamedNode | string | undefined)[] | Maybe<readonly (BlankNode | NamedNode)[]>;
1017
949
  readonly classes?: string | NamedNode | readonly (string | NamedNode)[];
1018
- readonly closed?: boolean | Maybe<boolean>;
1019
950
  readonly comment?: string | Maybe<string>;
1020
951
  readonly datatype?: string | NamedNode | Maybe<NamedNode>;
1021
952
  readonly deactivated?: boolean | Maybe<boolean>;
1022
- readonly discriminantValue?: string | Maybe<string>;
1023
- readonly extern?: boolean | Maybe<boolean>;
953
+ readonly defaultValue?: (NamedNode | Literal) | Maybe<NamedNode | Literal>;
954
+ readonly description?: string | Maybe<string>;
955
+ readonly disjoint?: string | NamedNode | readonly (string | NamedNode)[];
956
+ readonly display?: boolean;
957
+ readonly equals?: string | NamedNode | readonly (string | NamedNode)[];
1024
958
  readonly flags?: string | Maybe<string>;
1025
- readonly fromRdfType?: string | NamedNode | Maybe<NamedNode>;
959
+ readonly groups?: BlankNode | NamedNode | string | readonly (BlankNode | NamedNode | string | undefined)[];
1026
960
  readonly hasValues?: (NamedNode | Literal) | readonly (NamedNode | Literal)[];
1027
- readonly ignoredProperties?: readonly (string | NamedNode)[] | Maybe<readonly NamedNode[]>;
961
+ readonly ignore?: boolean;
1028
962
  readonly in_?: readonly (NamedNode | Literal)[] | Maybe<readonly (NamedNode | Literal)[]>;
1029
963
  readonly isDefinedBy?: BlankNode | NamedNode | string | Maybe<BlankNode | NamedNode>;
1030
964
  readonly label?: string | Maybe<string>;
1031
965
  readonly languageIn?: readonly string[] | Maybe<readonly string[]>;
966
+ readonly lessThan?: string | NamedNode | readonly (string | NamedNode)[];
967
+ readonly lessThanOrEquals?: string | NamedNode | readonly (string | NamedNode)[];
968
+ readonly maxCount?: bigint | Maybe<bigint>;
1032
969
  readonly maxExclusive?: bigint | boolean | number | string | Date | Literal | Maybe<Literal>;
1033
970
  readonly maxInclusive?: bigint | boolean | number | string | Date | Literal | Maybe<Literal>;
1034
971
  readonly maxLength?: bigint | Maybe<bigint>;
1035
972
  readonly message?: string | Maybe<string>;
973
+ readonly minCount?: bigint | Maybe<bigint>;
1036
974
  readonly minExclusive?: bigint | boolean | number | string | Date | Literal | Maybe<Literal>;
1037
975
  readonly minInclusive?: bigint | boolean | number | string | Date | Literal | Maybe<Literal>;
1038
976
  readonly minLength?: bigint | Maybe<bigint>;
1039
977
  readonly mutable?: boolean | Maybe<boolean>;
978
+ readonly name?: string | Maybe<string>;
1040
979
  readonly node?: BlankNode | NamedNode | string | Maybe<BlankNode | NamedNode>;
1041
980
  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
981
  readonly not?: BlankNode | NamedNode | string | readonly (BlankNode | NamedNode | string | undefined)[];
1043
982
  readonly or?: readonly (BlankNode | NamedNode | string | undefined)[] | Maybe<readonly (BlankNode | NamedNode)[]>;
983
+ readonly order?: number | Maybe<number>;
984
+ readonly path: $PropertyPath;
1044
985
  readonly pattern?: string | Maybe<string>;
1045
- readonly properties?: BlankNode | NamedNode | string | readonly (BlankNode | NamedNode | string | undefined)[];
1046
- readonly rdfType?: string | NamedNode | Maybe<NamedNode>;
986
+ readonly qualifiedMaxCount?: bigint | Maybe<bigint>;
987
+ readonly qualifiedMinCount?: bigint | Maybe<bigint>;
988
+ readonly qualifiedValueShape?: BlankNode | NamedNode | string | Maybe<BlankNode | NamedNode>;
989
+ readonly qualifiedValueShapesDisjoint?: boolean | Maybe<boolean>;
990
+ readonly resolve?: BlankNode | NamedNode | string | Maybe<BlankNode | NamedNode>;
1047
991
  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
992
  readonly shaclmateName?: string | Maybe<string>;
1049
- readonly subClassOf?: string | NamedNode | readonly (string | NamedNode)[];
1050
993
  readonly targetClasses?: string | NamedNode | readonly (string | NamedNode)[];
1051
994
  readonly targetNodes?: (NamedNode | Literal) | readonly (NamedNode | Literal)[];
1052
995
  readonly targetObjectsOf?: string | NamedNode | readonly (string | NamedNode)[];
1053
996
  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)[];
997
+ readonly uniqueLang?: boolean | Maybe<boolean>;
1057
998
  readonly xone?: readonly (BlankNode | NamedNode | string | undefined)[] | Maybe<readonly (BlankNode | NamedNode)[]>;
1058
- }): NodeShape;
999
+ }): PropertyShape;
1000
+ const _fromRdfResource: $_FromRdfResourceFunction<PropertyShape>;
1001
+ const fromRdfResource: $FromRdfResourceFunction<PropertyShape>;
1002
+ const fromRdfResourceValues: $FromRdfResourceValuesFunction<PropertyShape, PropertyShape.Schema>;
1059
1003
  type Identifier = BlankNode | NamedNode;
1060
1004
  namespace Identifier {
1061
1005
  const parse: (value: string) => Either<Error, import("@rdfx/string/dist/Identifier.js").Identifier>;
1062
1006
  const stringify: typeof NTriplesTerm.stringify;
1063
1007
  }
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;
1008
+ function isPropertyShape(object: $Object): object is PropertyShape;
1069
1009
  const schema: {
1010
+ readonly fromRdfType: import("@rdfx/data-factory/dist/NamedNode.js").NamedNode<"http://www.w3.org/ns/shacl#PropertyShape">;
1070
1011
  readonly properties: {
1071
1012
  readonly $identifier: {
1072
1013
  readonly kind: "Identifier";
@@ -1097,16 +1038,6 @@ export declare namespace NodeShape {
1097
1038
  };
1098
1039
  };
1099
1040
  };
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
1041
  readonly comment: {
1111
1042
  readonly kind: "Shacl";
1112
1043
  readonly path: import("@rdfx/data-factory/dist/NamedNode.js").NamedNode<"http://www.w3.org/2000/01/rdf-schema#comment">;
@@ -1137,24 +1068,56 @@ export declare namespace NodeShape {
1137
1068
  };
1138
1069
  };
1139
1070
  };
1140
- readonly discriminantValue: {
1071
+ readonly defaultValue: {
1141
1072
  readonly kind: "Shacl";
1142
- readonly path: import("@rdfx/data-factory/dist/NamedNode.js").NamedNode<"http://purl.org/shaclmate/ontology#discriminantValue">;
1073
+ readonly path: import("@rdfx/data-factory/dist/NamedNode.js").NamedNode<"http://www.w3.org/ns/shacl#defaultValue">;
1143
1074
  readonly type: {
1144
1075
  readonly kind: "Option";
1145
1076
  readonly itemType: {
1146
- readonly kind: "String";
1077
+ readonly kind: "Term";
1078
+ readonly types: readonly ["NamedNode", "Literal"];
1147
1079
  };
1148
1080
  };
1149
1081
  };
1150
- readonly extern: {
1082
+ readonly description: {
1151
1083
  readonly kind: "Shacl";
1152
- readonly path: import("@rdfx/data-factory/dist/NamedNode.js").NamedNode<"http://purl.org/shaclmate/ontology#extern">;
1084
+ readonly path: import("@rdfx/data-factory/dist/NamedNode.js").NamedNode<"http://www.w3.org/ns/shacl#description">;
1153
1085
  readonly type: {
1154
1086
  readonly kind: "Option";
1087
+ readonly itemType: {
1088
+ readonly kind: "String";
1089
+ };
1090
+ };
1091
+ };
1092
+ readonly disjoint: {
1093
+ readonly kind: "Shacl";
1094
+ readonly path: import("@rdfx/data-factory/dist/NamedNode.js").NamedNode<"http://www.w3.org/ns/shacl#disjoint">;
1095
+ readonly type: {
1096
+ readonly kind: "Set";
1097
+ readonly itemType: {
1098
+ readonly kind: "Iri";
1099
+ };
1100
+ };
1101
+ };
1102
+ readonly display: {
1103
+ readonly kind: "Shacl";
1104
+ readonly path: import("@rdfx/data-factory/dist/NamedNode.js").NamedNode<"http://purl.org/shaclmate/ontology#display">;
1105
+ readonly type: {
1106
+ readonly kind: "DefaultValue";
1155
1107
  readonly itemType: {
1156
1108
  readonly kind: "Boolean";
1157
1109
  };
1110
+ readonly defaultValue: import("@rdfx/data-factory/dist/Literal.js").Literal;
1111
+ };
1112
+ };
1113
+ readonly equals: {
1114
+ readonly kind: "Shacl";
1115
+ readonly path: import("@rdfx/data-factory/dist/NamedNode.js").NamedNode<"http://www.w3.org/ns/shacl#equals">;
1116
+ readonly type: {
1117
+ readonly kind: "Set";
1118
+ readonly itemType: {
1119
+ readonly kind: "Iri";
1120
+ };
1158
1121
  };
1159
1122
  };
1160
1123
  readonly flags: {
@@ -1167,13 +1130,13 @@ export declare namespace NodeShape {
1167
1130
  };
1168
1131
  };
1169
1132
  };
1170
- readonly fromRdfType: {
1133
+ readonly groups: {
1171
1134
  readonly kind: "Shacl";
1172
- readonly path: import("@rdfx/data-factory/dist/NamedNode.js").NamedNode<"http://purl.org/shaclmate/ontology#fromRdfType">;
1135
+ readonly path: import("@rdfx/data-factory/dist/NamedNode.js").NamedNode<"http://www.w3.org/ns/shacl#group">;
1173
1136
  readonly type: {
1174
- readonly kind: "Option";
1137
+ readonly kind: "Set";
1175
1138
  readonly itemType: {
1176
- readonly kind: "Iri";
1139
+ readonly kind: "Identifier";
1177
1140
  };
1178
1141
  };
1179
1142
  };
@@ -1184,20 +1147,19 @@ export declare namespace NodeShape {
1184
1147
  readonly kind: "Set";
1185
1148
  readonly itemType: {
1186
1149
  readonly kind: "Term";
1150
+ readonly types: readonly ["NamedNode", "Literal"];
1187
1151
  };
1188
1152
  };
1189
1153
  };
1190
- readonly ignoredProperties: {
1154
+ readonly ignore: {
1191
1155
  readonly kind: "Shacl";
1192
- readonly path: import("@rdfx/data-factory/dist/NamedNode.js").NamedNode<"http://www.w3.org/ns/shacl#ignoredProperties">;
1156
+ readonly path: import("@rdfx/data-factory/dist/NamedNode.js").NamedNode<"http://purl.org/shaclmate/ontology#ignore">;
1193
1157
  readonly type: {
1194
- readonly kind: "Option";
1158
+ readonly kind: "DefaultValue";
1195
1159
  readonly itemType: {
1196
- readonly kind: "List";
1197
- readonly itemType: {
1198
- readonly kind: "Iri";
1199
- };
1160
+ readonly kind: "Boolean";
1200
1161
  };
1162
+ readonly defaultValue: import("@rdfx/data-factory/dist/Literal.js").Literal;
1201
1163
  };
1202
1164
  };
1203
1165
  readonly in_: {
@@ -1209,6 +1171,7 @@ export declare namespace NodeShape {
1209
1171
  readonly kind: "List";
1210
1172
  readonly itemType: {
1211
1173
  readonly kind: "Term";
1174
+ readonly types: readonly ["NamedNode", "Literal"];
1212
1175
  };
1213
1176
  };
1214
1177
  };
@@ -1246,6 +1209,36 @@ export declare namespace NodeShape {
1246
1209
  };
1247
1210
  };
1248
1211
  };
1212
+ readonly lessThan: {
1213
+ readonly kind: "Shacl";
1214
+ readonly path: import("@rdfx/data-factory/dist/NamedNode.js").NamedNode<"http://www.w3.org/ns/shacl#lessThan">;
1215
+ readonly type: {
1216
+ readonly kind: "Set";
1217
+ readonly itemType: {
1218
+ readonly kind: "Iri";
1219
+ };
1220
+ };
1221
+ };
1222
+ readonly lessThanOrEquals: {
1223
+ readonly kind: "Shacl";
1224
+ readonly path: import("@rdfx/data-factory/dist/NamedNode.js").NamedNode<"http://www.w3.org/ns/shacl#lessThanOrEquals">;
1225
+ readonly type: {
1226
+ readonly kind: "Set";
1227
+ readonly itemType: {
1228
+ readonly kind: "Iri";
1229
+ };
1230
+ };
1231
+ };
1232
+ readonly maxCount: {
1233
+ readonly kind: "Shacl";
1234
+ readonly path: import("@rdfx/data-factory/dist/NamedNode.js").NamedNode<"http://www.w3.org/ns/shacl#maxCount">;
1235
+ readonly type: {
1236
+ readonly kind: "Option";
1237
+ readonly itemType: {
1238
+ readonly kind: "BigInt";
1239
+ };
1240
+ };
1241
+ };
1249
1242
  readonly maxExclusive: {
1250
1243
  readonly kind: "Shacl";
1251
1244
  readonly path: import("@rdfx/data-factory/dist/NamedNode.js").NamedNode<"http://www.w3.org/ns/shacl#maxExclusive">;
@@ -1286,6 +1279,16 @@ export declare namespace NodeShape {
1286
1279
  };
1287
1280
  };
1288
1281
  };
1282
+ readonly minCount: {
1283
+ readonly kind: "Shacl";
1284
+ readonly path: import("@rdfx/data-factory/dist/NamedNode.js").NamedNode<"http://www.w3.org/ns/shacl#minCount">;
1285
+ readonly type: {
1286
+ readonly kind: "Option";
1287
+ readonly itemType: {
1288
+ readonly kind: "BigInt";
1289
+ };
1290
+ };
1291
+ };
1289
1292
  readonly minExclusive: {
1290
1293
  readonly kind: "Shacl";
1291
1294
  readonly path: import("@rdfx/data-factory/dist/NamedNode.js").NamedNode<"http://www.w3.org/ns/shacl#minExclusive">;
@@ -1326,6 +1329,16 @@ export declare namespace NodeShape {
1326
1329
  };
1327
1330
  };
1328
1331
  };
1332
+ readonly name: {
1333
+ readonly kind: "Shacl";
1334
+ readonly path: import("@rdfx/data-factory/dist/NamedNode.js").NamedNode<"http://www.w3.org/ns/shacl#name">;
1335
+ readonly type: {
1336
+ readonly kind: "Option";
1337
+ readonly itemType: {
1338
+ readonly kind: "String";
1339
+ };
1340
+ };
1341
+ };
1329
1342
  readonly node: {
1330
1343
  readonly kind: "Shacl";
1331
1344
  readonly path: import("@rdfx/data-factory/dist/NamedNode.js").NamedNode<"http://www.w3.org/ns/shacl#node">;
@@ -1370,6 +1383,21 @@ export declare namespace NodeShape {
1370
1383
  };
1371
1384
  };
1372
1385
  };
1386
+ readonly order: {
1387
+ readonly kind: "Shacl";
1388
+ readonly path: import("@rdfx/data-factory/dist/NamedNode.js").NamedNode<"http://www.w3.org/ns/shacl#order">;
1389
+ readonly type: {
1390
+ readonly kind: "Option";
1391
+ readonly itemType: {
1392
+ readonly kind: "Float";
1393
+ };
1394
+ };
1395
+ };
1396
+ readonly path: {
1397
+ readonly kind: "Shacl";
1398
+ readonly path: import("@rdfx/data-factory/dist/NamedNode.js").NamedNode<"http://www.w3.org/ns/shacl#path">;
1399
+ readonly type: object;
1400
+ };
1373
1401
  readonly pattern: {
1374
1402
  readonly kind: "Shacl";
1375
1403
  readonly path: import("@rdfx/data-factory/dist/NamedNode.js").NamedNode<"http://www.w3.org/ns/shacl#pattern">;
@@ -1380,80 +1408,80 @@ export declare namespace NodeShape {
1380
1408
  };
1381
1409
  };
1382
1410
  };
1383
- readonly properties: {
1411
+ readonly qualifiedMaxCount: {
1384
1412
  readonly kind: "Shacl";
1385
- readonly path: import("@rdfx/data-factory/dist/NamedNode.js").NamedNode<"http://www.w3.org/ns/shacl#property">;
1413
+ readonly path: import("@rdfx/data-factory/dist/NamedNode.js").NamedNode<"http://www.w3.org/ns/shacl#qualifiedMaxCount">;
1386
1414
  readonly type: {
1387
- readonly kind: "Set";
1415
+ readonly kind: "Option";
1388
1416
  readonly itemType: {
1389
- readonly kind: "Identifier";
1417
+ readonly kind: "BigInt";
1390
1418
  };
1391
1419
  };
1392
1420
  };
1393
- readonly rdfType: {
1421
+ readonly qualifiedMinCount: {
1394
1422
  readonly kind: "Shacl";
1395
- readonly path: import("@rdfx/data-factory/dist/NamedNode.js").NamedNode<"http://purl.org/shaclmate/ontology#rdfType">;
1423
+ readonly path: import("@rdfx/data-factory/dist/NamedNode.js").NamedNode<"http://www.w3.org/ns/shacl#qualifiedMinCount">;
1396
1424
  readonly type: {
1397
1425
  readonly kind: "Option";
1398
1426
  readonly itemType: {
1399
- readonly kind: "Iri";
1427
+ readonly kind: "BigInt";
1400
1428
  };
1401
1429
  };
1402
1430
  };
1403
- readonly severity: {
1431
+ readonly qualifiedValueShape: {
1404
1432
  readonly kind: "Shacl";
1405
- readonly path: import("@rdfx/data-factory/dist/NamedNode.js").NamedNode<"http://www.w3.org/ns/shacl#severity">;
1433
+ readonly path: import("@rdfx/data-factory/dist/NamedNode.js").NamedNode<"http://www.w3.org/ns/shacl#qualifiedValueShape">;
1406
1434
  readonly type: {
1407
1435
  readonly kind: "Option";
1408
1436
  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">];
1437
+ readonly kind: "Identifier";
1411
1438
  };
1412
1439
  };
1413
1440
  };
1414
- readonly shaclmateName: {
1441
+ readonly qualifiedValueShapesDisjoint: {
1415
1442
  readonly kind: "Shacl";
1416
- readonly path: import("@rdfx/data-factory/dist/NamedNode.js").NamedNode<"http://purl.org/shaclmate/ontology#name">;
1443
+ readonly path: import("@rdfx/data-factory/dist/NamedNode.js").NamedNode<"http://www.w3.org/ns/shacl#qualifiedValueShapesDisjoint">;
1417
1444
  readonly type: {
1418
1445
  readonly kind: "Option";
1419
1446
  readonly itemType: {
1420
- readonly kind: "String";
1447
+ readonly kind: "Boolean";
1421
1448
  };
1422
1449
  };
1423
1450
  };
1424
- readonly subClassOf: {
1451
+ readonly resolve: {
1425
1452
  readonly kind: "Shacl";
1426
- readonly path: import("@rdfx/data-factory/dist/NamedNode.js").NamedNode<"http://www.w3.org/2000/01/rdf-schema#subClassOf">;
1453
+ readonly path: import("@rdfx/data-factory/dist/NamedNode.js").NamedNode<"http://purl.org/shaclmate/ontology#resolve">;
1427
1454
  readonly type: {
1428
- readonly kind: "Set";
1455
+ readonly kind: "Option";
1429
1456
  readonly itemType: {
1430
- readonly kind: "Iri";
1457
+ readonly kind: "Identifier";
1431
1458
  };
1432
1459
  };
1433
1460
  };
1434
- readonly targetClasses: {
1461
+ readonly severity: {
1435
1462
  readonly kind: "Shacl";
1436
- readonly path: import("@rdfx/data-factory/dist/NamedNode.js").NamedNode<"http://www.w3.org/ns/shacl#targetClass">;
1463
+ readonly path: import("@rdfx/data-factory/dist/NamedNode.js").NamedNode<"http://www.w3.org/ns/shacl#severity">;
1437
1464
  readonly type: {
1438
- readonly kind: "Set";
1465
+ readonly kind: "Option";
1439
1466
  readonly itemType: {
1440
1467
  readonly kind: "Iri";
1468
+ 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
1469
  };
1442
1470
  };
1443
1471
  };
1444
- readonly targetNodes: {
1472
+ readonly shaclmateName: {
1445
1473
  readonly kind: "Shacl";
1446
- readonly path: import("@rdfx/data-factory/dist/NamedNode.js").NamedNode<"http://www.w3.org/ns/shacl#targetNode">;
1474
+ readonly path: import("@rdfx/data-factory/dist/NamedNode.js").NamedNode<"http://purl.org/shaclmate/ontology#name">;
1447
1475
  readonly type: {
1448
- readonly kind: "Set";
1476
+ readonly kind: "Option";
1449
1477
  readonly itemType: {
1450
- readonly kind: "Term";
1478
+ readonly kind: "String";
1451
1479
  };
1452
1480
  };
1453
1481
  };
1454
- readonly targetObjectsOf: {
1482
+ readonly targetClasses: {
1455
1483
  readonly kind: "Shacl";
1456
- readonly path: import("@rdfx/data-factory/dist/NamedNode.js").NamedNode<"http://www.w3.org/ns/shacl#targetObjectsOf">;
1484
+ readonly path: import("@rdfx/data-factory/dist/NamedNode.js").NamedNode<"http://www.w3.org/ns/shacl#targetClass">;
1457
1485
  readonly type: {
1458
1486
  readonly kind: "Set";
1459
1487
  readonly itemType: {
@@ -1461,19 +1489,20 @@ export declare namespace NodeShape {
1461
1489
  };
1462
1490
  };
1463
1491
  };
1464
- readonly targetSubjectsOf: {
1492
+ readonly targetNodes: {
1465
1493
  readonly kind: "Shacl";
1466
- readonly path: import("@rdfx/data-factory/dist/NamedNode.js").NamedNode<"http://www.w3.org/ns/shacl#targetSubjectsOf">;
1494
+ readonly path: import("@rdfx/data-factory/dist/NamedNode.js").NamedNode<"http://www.w3.org/ns/shacl#targetNode">;
1467
1495
  readonly type: {
1468
1496
  readonly kind: "Set";
1469
1497
  readonly itemType: {
1470
- readonly kind: "Iri";
1498
+ readonly kind: "Term";
1499
+ readonly types: readonly ["NamedNode", "Literal"];
1471
1500
  };
1472
1501
  };
1473
1502
  };
1474
- readonly toRdfTypes: {
1503
+ readonly targetObjectsOf: {
1475
1504
  readonly kind: "Shacl";
1476
- readonly path: import("@rdfx/data-factory/dist/NamedNode.js").NamedNode<"http://purl.org/shaclmate/ontology#toRdfType">;
1505
+ readonly path: import("@rdfx/data-factory/dist/NamedNode.js").NamedNode<"http://www.w3.org/ns/shacl#targetObjectsOf">;
1477
1506
  readonly type: {
1478
1507
  readonly kind: "Set";
1479
1508
  readonly itemType: {
@@ -1481,23 +1510,23 @@ export declare namespace NodeShape {
1481
1510
  };
1482
1511
  };
1483
1512
  };
1484
- readonly tsImports: {
1513
+ readonly targetSubjectsOf: {
1485
1514
  readonly kind: "Shacl";
1486
- readonly path: import("@rdfx/data-factory/dist/NamedNode.js").NamedNode<"http://purl.org/shaclmate/ontology#tsImport">;
1515
+ readonly path: import("@rdfx/data-factory/dist/NamedNode.js").NamedNode<"http://www.w3.org/ns/shacl#targetSubjectsOf">;
1487
1516
  readonly type: {
1488
1517
  readonly kind: "Set";
1489
1518
  readonly itemType: {
1490
- readonly kind: "String";
1519
+ readonly kind: "Iri";
1491
1520
  };
1492
1521
  };
1493
1522
  };
1494
- readonly types: {
1523
+ readonly uniqueLang: {
1495
1524
  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">;
1525
+ readonly path: import("@rdfx/data-factory/dist/NamedNode.js").NamedNode<"http://www.w3.org/ns/shacl#uniqueLang">;
1497
1526
  readonly type: {
1498
- readonly kind: "Set";
1527
+ readonly kind: "Option";
1499
1528
  readonly itemType: {
1500
- readonly kind: "Iri";
1529
+ readonly kind: "Boolean";
1501
1530
  };
1502
1531
  };
1503
1532
  };
@@ -1516,16 +1545,17 @@ export declare namespace NodeShape {
1516
1545
  };
1517
1546
  };
1518
1547
  };
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;
1548
+ type Schema = typeof schema;
1549
+ const _toRdfResource: $_ToRdfResourceFunction<PropertyShape.Identifier, PropertyShape>;
1550
+ const toRdfResource: $ToRdfResourceFunction<PropertyShape, Identifier>;
1551
+ const $toString: (_propertyShape: PropertyShape) => string;
1552
+ const toStringRecord: (_propertyShape: PropertyShape) => Record<string, string>;
1523
1553
  }
1524
1554
  export type Shape = NodeShape | PropertyShape;
1525
1555
  export declare namespace Shape {
1526
1556
  const $toString: (value: Shape) => string;
1527
1557
  const fromRdfResource: $FromRdfResourceFunction<Shape>;
1528
- const fromRdfResourceValues: $FromRdfResourceValuesFunction<Shape>;
1558
+ const fromRdfResourceValues: $FromRdfResourceValuesFunction<Shape, typeof Shape.schema>;
1529
1559
  type Identifier = BlankNode | NamedNode;
1530
1560
  namespace Identifier {
1531
1561
  const parse: (value: string) => Either<Error, import("@rdfx/string/dist/Identifier.js").Identifier>;
@@ -1538,6 +1568,7 @@ export declare namespace Shape {
1538
1568
  readonly NodeShape: {
1539
1569
  readonly discriminantValues: readonly ["NodeShape"];
1540
1570
  readonly type: {
1571
+ readonly fromRdfType: import("@rdfx/data-factory/dist/NamedNode.js").NamedNode<"http://www.w3.org/ns/shacl#NodeShape">;
1541
1572
  readonly properties: {
1542
1573
  readonly $identifier: {
1543
1574
  readonly kind: "Identifier";
@@ -1655,6 +1686,7 @@ export declare namespace Shape {
1655
1686
  readonly kind: "Set";
1656
1687
  readonly itemType: {
1657
1688
  readonly kind: "Term";
1689
+ readonly types: readonly ["NamedNode", "Literal"];
1658
1690
  };
1659
1691
  };
1660
1692
  };
@@ -1680,6 +1712,7 @@ export declare namespace Shape {
1680
1712
  readonly kind: "List";
1681
1713
  readonly itemType: {
1682
1714
  readonly kind: "Term";
1715
+ readonly types: readonly ["NamedNode", "Literal"];
1683
1716
  };
1684
1717
  };
1685
1718
  };
@@ -1919,6 +1952,7 @@ export declare namespace Shape {
1919
1952
  readonly kind: "Set";
1920
1953
  readonly itemType: {
1921
1954
  readonly kind: "Term";
1955
+ readonly types: readonly ["NamedNode", "Literal"];
1922
1956
  };
1923
1957
  };
1924
1958
  };
@@ -1991,6 +2025,7 @@ export declare namespace Shape {
1991
2025
  readonly PropertyShape: {
1992
2026
  readonly discriminantValues: readonly ["PropertyShape"];
1993
2027
  readonly type: {
2028
+ readonly fromRdfType: import("@rdfx/data-factory/dist/NamedNode.js").NamedNode<"http://www.w3.org/ns/shacl#PropertyShape">;
1994
2029
  readonly properties: {
1995
2030
  readonly $identifier: {
1996
2031
  readonly kind: "Identifier";
@@ -2058,6 +2093,7 @@ export declare namespace Shape {
2058
2093
  readonly kind: "Option";
2059
2094
  readonly itemType: {
2060
2095
  readonly kind: "Term";
2096
+ readonly types: readonly ["NamedNode", "Literal"];
2061
2097
  };
2062
2098
  };
2063
2099
  };
@@ -2089,7 +2125,7 @@ export declare namespace Shape {
2089
2125
  readonly itemType: {
2090
2126
  readonly kind: "Boolean";
2091
2127
  };
2092
- readonly defaultValue: false;
2128
+ readonly defaultValue: import("@rdfx/data-factory/dist/Literal.js").Literal;
2093
2129
  };
2094
2130
  };
2095
2131
  readonly equals: {
@@ -2129,9 +2165,21 @@ export declare namespace Shape {
2129
2165
  readonly kind: "Set";
2130
2166
  readonly itemType: {
2131
2167
  readonly kind: "Term";
2168
+ readonly types: readonly ["NamedNode", "Literal"];
2132
2169
  };
2133
2170
  };
2134
2171
  };
2172
+ readonly ignore: {
2173
+ readonly kind: "Shacl";
2174
+ readonly path: import("@rdfx/data-factory/dist/NamedNode.js").NamedNode<"http://purl.org/shaclmate/ontology#ignore">;
2175
+ readonly type: {
2176
+ readonly kind: "DefaultValue";
2177
+ readonly itemType: {
2178
+ readonly kind: "Boolean";
2179
+ };
2180
+ readonly defaultValue: import("@rdfx/data-factory/dist/Literal.js").Literal;
2181
+ };
2182
+ };
2135
2183
  readonly in_: {
2136
2184
  readonly kind: "Shacl";
2137
2185
  readonly path: import("@rdfx/data-factory/dist/NamedNode.js").NamedNode<"http://www.w3.org/ns/shacl#in">;
@@ -2141,6 +2189,7 @@ export declare namespace Shape {
2141
2189
  readonly kind: "List";
2142
2190
  readonly itemType: {
2143
2191
  readonly kind: "Term";
2192
+ readonly types: readonly ["NamedNode", "Literal"];
2144
2193
  };
2145
2194
  };
2146
2195
  };
@@ -2465,6 +2514,7 @@ export declare namespace Shape {
2465
2514
  readonly kind: "Set";
2466
2515
  readonly itemType: {
2467
2516
  readonly kind: "Term";
2517
+ readonly types: readonly ["NamedNode", "Literal"];
2468
2518
  };
2469
2519
  };
2470
2520
  };
@@ -2586,6 +2636,7 @@ export declare namespace Shape {
2586
2636
  readonly kind: "Set";
2587
2637
  readonly itemType: {
2588
2638
  readonly kind: "Term";
2639
+ readonly types: readonly ["NamedNode", "Literal"];
2589
2640
  };
2590
2641
  };
2591
2642
  };
@@ -2598,6 +2649,7 @@ export declare namespace Shape {
2598
2649
  readonly kind: "List";
2599
2650
  readonly itemType: {
2600
2651
  readonly kind: "Term";
2652
+ readonly types: readonly ["NamedNode", "Literal"];
2601
2653
  };
2602
2654
  };
2603
2655
  };
@@ -2807,6 +2859,7 @@ export declare namespace Shape {
2807
2859
  readonly kind: "Set";
2808
2860
  readonly itemType: {
2809
2861
  readonly kind: "Term";
2862
+ readonly types: readonly ["NamedNode", "Literal"];
2810
2863
  };
2811
2864
  };
2812
2865
  };
@@ -2858,7 +2911,7 @@ export type $Object = NodeShape | Ontology | PropertyGroup | PropertyShape;
2858
2911
  export declare namespace $Object {
2859
2912
  const $toString: (value: $Object) => string;
2860
2913
  const fromRdfResource: $FromRdfResourceFunction<$Object>;
2861
- const fromRdfResourceValues: $FromRdfResourceValuesFunction<$Object>;
2914
+ const fromRdfResourceValues: $FromRdfResourceValuesFunction<$Object, typeof $Object.schema>;
2862
2915
  type Identifier = BlankNode | NamedNode;
2863
2916
  namespace Identifier {
2864
2917
  const parse: (value: string) => Either<Error, import("@rdfx/string/dist/Identifier.js").Identifier>;
@@ -2870,6 +2923,7 @@ export declare namespace $Object {
2870
2923
  readonly NodeShape: {
2871
2924
  readonly discriminantValues: readonly ["NodeShape"];
2872
2925
  readonly type: {
2926
+ readonly fromRdfType: import("@rdfx/data-factory/dist/NamedNode.js").NamedNode<"http://www.w3.org/ns/shacl#NodeShape">;
2873
2927
  readonly properties: {
2874
2928
  readonly $identifier: {
2875
2929
  readonly kind: "Identifier";
@@ -2987,6 +3041,7 @@ export declare namespace $Object {
2987
3041
  readonly kind: "Set";
2988
3042
  readonly itemType: {
2989
3043
  readonly kind: "Term";
3044
+ readonly types: readonly ["NamedNode", "Literal"];
2990
3045
  };
2991
3046
  };
2992
3047
  };
@@ -3012,6 +3067,7 @@ export declare namespace $Object {
3012
3067
  readonly kind: "List";
3013
3068
  readonly itemType: {
3014
3069
  readonly kind: "Term";
3070
+ readonly types: readonly ["NamedNode", "Literal"];
3015
3071
  };
3016
3072
  };
3017
3073
  };
@@ -3251,6 +3307,7 @@ export declare namespace $Object {
3251
3307
  readonly kind: "Set";
3252
3308
  readonly itemType: {
3253
3309
  readonly kind: "Term";
3310
+ readonly types: readonly ["NamedNode", "Literal"];
3254
3311
  };
3255
3312
  };
3256
3313
  };
@@ -3323,6 +3380,7 @@ export declare namespace $Object {
3323
3380
  readonly Ontology: {
3324
3381
  readonly discriminantValues: readonly ["Ontology"];
3325
3382
  readonly type: {
3383
+ readonly fromRdfType: import("@rdfx/data-factory/dist/NamedNode.js").NamedNode<"http://www.w3.org/2002/07/owl#Ontology">;
3326
3384
  readonly properties: {
3327
3385
  readonly $identifier: {
3328
3386
  readonly kind: "Identifier";
@@ -3356,6 +3414,7 @@ export declare namespace $Object {
3356
3414
  readonly PropertyGroup: {
3357
3415
  readonly discriminantValues: readonly ["PropertyGroup"];
3358
3416
  readonly type: {
3417
+ readonly fromRdfType: import("@rdfx/data-factory/dist/NamedNode.js").NamedNode<"http://www.w3.org/ns/shacl#PropertyGroup">;
3359
3418
  readonly properties: {
3360
3419
  readonly $identifier: {
3361
3420
  readonly kind: "Identifier";
@@ -3389,6 +3448,7 @@ export declare namespace $Object {
3389
3448
  readonly PropertyShape: {
3390
3449
  readonly discriminantValues: readonly ["PropertyShape"];
3391
3450
  readonly type: {
3451
+ readonly fromRdfType: import("@rdfx/data-factory/dist/NamedNode.js").NamedNode<"http://www.w3.org/ns/shacl#PropertyShape">;
3392
3452
  readonly properties: {
3393
3453
  readonly $identifier: {
3394
3454
  readonly kind: "Identifier";
@@ -3456,6 +3516,7 @@ export declare namespace $Object {
3456
3516
  readonly kind: "Option";
3457
3517
  readonly itemType: {
3458
3518
  readonly kind: "Term";
3519
+ readonly types: readonly ["NamedNode", "Literal"];
3459
3520
  };
3460
3521
  };
3461
3522
  };
@@ -3487,7 +3548,7 @@ export declare namespace $Object {
3487
3548
  readonly itemType: {
3488
3549
  readonly kind: "Boolean";
3489
3550
  };
3490
- readonly defaultValue: false;
3551
+ readonly defaultValue: import("@rdfx/data-factory/dist/Literal.js").Literal;
3491
3552
  };
3492
3553
  };
3493
3554
  readonly equals: {
@@ -3527,7 +3588,19 @@ export declare namespace $Object {
3527
3588
  readonly kind: "Set";
3528
3589
  readonly itemType: {
3529
3590
  readonly kind: "Term";
3591
+ readonly types: readonly ["NamedNode", "Literal"];
3592
+ };
3593
+ };
3594
+ };
3595
+ readonly ignore: {
3596
+ readonly kind: "Shacl";
3597
+ readonly path: import("@rdfx/data-factory/dist/NamedNode.js").NamedNode<"http://purl.org/shaclmate/ontology#ignore">;
3598
+ readonly type: {
3599
+ readonly kind: "DefaultValue";
3600
+ readonly itemType: {
3601
+ readonly kind: "Boolean";
3530
3602
  };
3603
+ readonly defaultValue: import("@rdfx/data-factory/dist/Literal.js").Literal;
3531
3604
  };
3532
3605
  };
3533
3606
  readonly in_: {
@@ -3539,6 +3612,7 @@ export declare namespace $Object {
3539
3612
  readonly kind: "List";
3540
3613
  readonly itemType: {
3541
3614
  readonly kind: "Term";
3615
+ readonly types: readonly ["NamedNode", "Literal"];
3542
3616
  };
3543
3617
  };
3544
3618
  };
@@ -3863,6 +3937,7 @@ export declare namespace $Object {
3863
3937
  readonly kind: "Set";
3864
3938
  readonly itemType: {
3865
3939
  readonly kind: "Term";
3940
+ readonly types: readonly ["NamedNode", "Literal"];
3866
3941
  };
3867
3942
  };
3868
3943
  };