@techspokes/typescript-wsdl-client 1.1.4 → 1.1.5

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 (355) hide show
  1. package/README.md +49 -1
  2. package/dist/app/generateApp.d.ts.map +1 -1
  3. package/dist/app/generateApp.js +8 -6
  4. package/dist/cli.js +49 -5
  5. package/dist/client/checkedDirectRuntime.d.ts +59 -0
  6. package/dist/client/checkedDirectRuntime.d.ts.map +1 -0
  7. package/dist/client/checkedDirectRuntime.js +23 -0
  8. package/dist/client/directClientRuntime.d.ts +49 -0
  9. package/dist/client/directClientRuntime.d.ts.map +1 -0
  10. package/dist/client/directClientRuntime.js +112 -0
  11. package/dist/client/directClientVersion.d.ts +4 -0
  12. package/dist/client/directClientVersion.d.ts.map +1 -0
  13. package/dist/client/directClientVersion.js +3 -0
  14. package/dist/client/generateDirectClient.d.ts +14 -0
  15. package/dist/client/generateDirectClient.d.ts.map +1 -0
  16. package/dist/client/generateDirectClient.js +136 -0
  17. package/dist/compiler/buildCanonicalGraph.d.ts +7 -0
  18. package/dist/compiler/buildCanonicalGraph.d.ts.map +1 -0
  19. package/dist/compiler/buildCanonicalGraph.js +381 -0
  20. package/dist/compiler/canonicalGraph.d.ts +198 -0
  21. package/dist/compiler/canonicalGraph.d.ts.map +1 -0
  22. package/dist/compiler/canonicalGraph.js +37 -0
  23. package/dist/compiler/catalogErrors.d.ts +18 -0
  24. package/dist/compiler/catalogErrors.d.ts.map +1 -0
  25. package/dist/compiler/catalogErrors.js +86 -0
  26. package/dist/compiler/catalogProvenance.d.ts +15 -0
  27. package/dist/compiler/catalogProvenance.d.ts.map +1 -0
  28. package/dist/compiler/catalogProvenance.js +229 -0
  29. package/dist/compiler/checkedAssessment.d.ts +91 -0
  30. package/dist/compiler/checkedAssessment.d.ts.map +1 -0
  31. package/dist/compiler/checkedAssessment.js +300 -0
  32. package/dist/compiler/checkedSourcePreparation.d.ts +35 -0
  33. package/dist/compiler/checkedSourcePreparation.d.ts.map +1 -0
  34. package/dist/compiler/checkedSourcePreparation.js +131 -0
  35. package/dist/compiler/complexTypeContent.d.ts +59 -0
  36. package/dist/compiler/complexTypeContent.d.ts.map +1 -0
  37. package/dist/compiler/complexTypeContent.js +558 -0
  38. package/dist/compiler/composeCanonicalGraph.d.ts +69 -0
  39. package/dist/compiler/composeCanonicalGraph.d.ts.map +1 -0
  40. package/dist/compiler/composeCanonicalGraph.js +252 -0
  41. package/dist/compiler/dataOwnership.d.ts +22 -0
  42. package/dist/compiler/dataOwnership.d.ts.map +1 -0
  43. package/dist/compiler/dataOwnership.js +157 -0
  44. package/dist/compiler/datatypeValues.d.ts +47 -0
  45. package/dist/compiler/datatypeValues.d.ts.map +1 -0
  46. package/dist/compiler/datatypeValues.js +275 -0
  47. package/dist/compiler/directCodec.d.ts +59 -0
  48. package/dist/compiler/directCodec.d.ts.map +1 -0
  49. package/dist/compiler/directCodec.js +192 -0
  50. package/dist/compiler/directExecutionPolicy.d.ts +10 -0
  51. package/dist/compiler/directExecutionPolicy.d.ts.map +1 -0
  52. package/dist/compiler/directExecutionPolicy.js +17 -0
  53. package/dist/compiler/directOperation.d.ts +72 -0
  54. package/dist/compiler/directOperation.d.ts.map +1 -0
  55. package/dist/compiler/directOperation.js +282 -0
  56. package/dist/compiler/directSoap.d.ts +42 -0
  57. package/dist/compiler/directSoap.d.ts.map +1 -0
  58. package/dist/compiler/directSoap.js +298 -0
  59. package/dist/compiler/directSoapSource.d.ts +15 -0
  60. package/dist/compiler/directSoapSource.d.ts.map +1 -0
  61. package/dist/compiler/directSoapSource.js +86 -0
  62. package/dist/compiler/directSourceCapsule.d.ts +97 -0
  63. package/dist/compiler/directSourceCapsule.d.ts.map +1 -0
  64. package/dist/compiler/directSourceCapsule.js +305 -0
  65. package/dist/compiler/directStructure.d.ts +51 -0
  66. package/dist/compiler/directStructure.d.ts.map +1 -0
  67. package/dist/compiler/directStructure.js +252 -0
  68. package/dist/compiler/directStructurePlan.d.ts +16 -0
  69. package/dist/compiler/directStructurePlan.d.ts.map +1 -0
  70. package/dist/compiler/directStructurePlan.js +58 -0
  71. package/dist/compiler/directValues.d.ts +69 -0
  72. package/dist/compiler/directValues.d.ts.map +1 -0
  73. package/dist/compiler/directValues.js +282 -0
  74. package/dist/compiler/finiteRe01Verification.d.ts +140 -0
  75. package/dist/compiler/finiteRe01Verification.d.ts.map +1 -0
  76. package/dist/compiler/finiteRe01Verification.js +830 -0
  77. package/dist/compiler/graphTraversal.d.ts +11 -0
  78. package/dist/compiler/graphTraversal.d.ts.map +1 -0
  79. package/dist/compiler/graphTraversal.js +37 -0
  80. package/dist/compiler/hypotheticalScopedIdentity.d.ts +23 -0
  81. package/dist/compiler/hypotheticalScopedIdentity.d.ts.map +1 -0
  82. package/dist/compiler/hypotheticalScopedIdentity.js +81 -0
  83. package/dist/compiler/occurrenceAnalysis.d.ts +65 -0
  84. package/dist/compiler/occurrenceAnalysis.d.ts.map +1 -0
  85. package/dist/compiler/occurrenceAnalysis.js +300 -0
  86. package/dist/compiler/originalSourceMembership.d.ts +6 -0
  87. package/dist/compiler/originalSourceMembership.d.ts.map +1 -0
  88. package/dist/compiler/originalSourceMembership.js +31 -0
  89. package/dist/compiler/particleAttribution.d.ts +17 -0
  90. package/dist/compiler/particleAttribution.d.ts.map +1 -0
  91. package/dist/compiler/particleAttribution.js +474 -0
  92. package/dist/compiler/particleDeclarationConsistency.d.ts +24 -0
  93. package/dist/compiler/particleDeclarationConsistency.d.ts.map +1 -0
  94. package/dist/compiler/particleDeclarationConsistency.js +197 -0
  95. package/dist/compiler/particleExtension.d.ts +22 -0
  96. package/dist/compiler/particleExtension.d.ts.map +1 -0
  97. package/dist/compiler/particleExtension.js +119 -0
  98. package/dist/compiler/particleLocalAssessment.d.ts +20 -0
  99. package/dist/compiler/particleLocalAssessment.d.ts.map +1 -0
  100. package/dist/compiler/particleLocalAssessment.js +92 -0
  101. package/dist/compiler/particleRestriction.d.ts +24 -0
  102. package/dist/compiler/particleRestriction.d.ts.map +1 -0
  103. package/dist/compiler/particleRestriction.js +489 -0
  104. package/dist/compiler/particleSemanticView.d.ts +50 -0
  105. package/dist/compiler/particleSemanticView.d.ts.map +1 -0
  106. package/dist/compiler/particleSemanticView.js +297 -0
  107. package/dist/compiler/particleWildcardRelation.d.ts +88 -0
  108. package/dist/compiler/particleWildcardRelation.d.ts.map +1 -0
  109. package/dist/compiler/particleWildcardRelation.js +143 -0
  110. package/dist/compiler/re01CandidateCorrespondence.d.ts +64 -0
  111. package/dist/compiler/re01CandidateCorrespondence.d.ts.map +1 -0
  112. package/dist/compiler/re01CandidateCorrespondence.js +572 -0
  113. package/dist/compiler/re01TypeProperties.d.ts +71 -0
  114. package/dist/compiler/re01TypeProperties.d.ts.map +1 -0
  115. package/dist/compiler/re01TypeProperties.js +120 -0
  116. package/dist/compiler/re01TypePropertyValidation.d.ts +23 -0
  117. package/dist/compiler/re01TypePropertyValidation.d.ts.map +1 -0
  118. package/dist/compiler/re01TypePropertyValidation.js +161 -0
  119. package/dist/compiler/resolveCanonicalGraph.d.ts +38 -0
  120. package/dist/compiler/resolveCanonicalGraph.d.ts.map +1 -0
  121. package/dist/compiler/resolveCanonicalGraph.js +170 -0
  122. package/dist/compiler/scalarSchemaAssessment.d.ts +425 -0
  123. package/dist/compiler/scalarSchemaAssessment.d.ts.map +1 -0
  124. package/dist/compiler/scalarSchemaAssessment.js +5198 -0
  125. package/dist/compiler/schemaAttributeGroupProperties.d.ts +17 -0
  126. package/dist/compiler/schemaAttributeGroupProperties.d.ts.map +1 -0
  127. package/dist/compiler/schemaAttributeGroupProperties.js +53 -0
  128. package/dist/compiler/schemaAttributeProperties.d.ts +10 -0
  129. package/dist/compiler/schemaAttributeProperties.d.ts.map +1 -0
  130. package/dist/compiler/schemaAttributeProperties.js +11 -0
  131. package/dist/compiler/schemaAttributeUses.d.ts +90 -0
  132. package/dist/compiler/schemaAttributeUses.d.ts.map +1 -0
  133. package/dist/compiler/schemaAttributeUses.js +725 -0
  134. package/dist/compiler/schemaBinaryWordReconstruction.d.ts +10 -0
  135. package/dist/compiler/schemaBinaryWordReconstruction.d.ts.map +1 -0
  136. package/dist/compiler/schemaBinaryWordReconstruction.js +33 -0
  137. package/dist/compiler/schemaBuiltinFacets.d.ts +14 -0
  138. package/dist/compiler/schemaBuiltinFacets.d.ts.map +1 -0
  139. package/dist/compiler/schemaBuiltinFacets.js +51 -0
  140. package/dist/compiler/schemaCalendarImages.d.ts +8 -0
  141. package/dist/compiler/schemaCalendarImages.d.ts.map +1 -0
  142. package/dist/compiler/schemaCalendarImages.js +204 -0
  143. package/dist/compiler/schemaCalendarLanguage.d.ts +11 -0
  144. package/dist/compiler/schemaCalendarLanguage.d.ts.map +1 -0
  145. package/dist/compiler/schemaCalendarLanguage.js +227 -0
  146. package/dist/compiler/schemaComponentEquality.d.ts +28 -0
  147. package/dist/compiler/schemaComponentEquality.d.ts.map +1 -0
  148. package/dist/compiler/schemaComponentEquality.js +446 -0
  149. package/dist/compiler/schemaConstructionAssessment.d.ts +46 -0
  150. package/dist/compiler/schemaConstructionAssessment.d.ts.map +1 -0
  151. package/dist/compiler/schemaConstructionAssessment.js +663 -0
  152. package/dist/compiler/schemaDatatypeValues.d.ts +4 -0
  153. package/dist/compiler/schemaDatatypeValues.d.ts.map +1 -0
  154. package/dist/compiler/schemaDatatypeValues.js +2 -0
  155. package/dist/compiler/schemaDecimalLanguage.d.ts +7 -0
  156. package/dist/compiler/schemaDecimalLanguage.d.ts.map +1 -0
  157. package/dist/compiler/schemaDecimalLanguage.js +102 -0
  158. package/dist/compiler/schemaDeclarationPrimitives.d.ts +34 -0
  159. package/dist/compiler/schemaDeclarationPrimitives.d.ts.map +1 -0
  160. package/dist/compiler/schemaDeclarationPrimitives.js +194 -0
  161. package/dist/compiler/schemaDocumentSyntax.d.ts +55 -0
  162. package/dist/compiler/schemaDocumentSyntax.d.ts.map +1 -0
  163. package/dist/compiler/schemaDocumentSyntax.js +294 -0
  164. package/dist/compiler/schemaDurationLanguage.d.ts +11 -0
  165. package/dist/compiler/schemaDurationLanguage.d.ts.map +1 -0
  166. package/dist/compiler/schemaDurationLanguage.js +170 -0
  167. package/dist/compiler/schemaElementProperties.d.ts +16 -0
  168. package/dist/compiler/schemaElementProperties.d.ts.map +1 -0
  169. package/dist/compiler/schemaElementProperties.js +23 -0
  170. package/dist/compiler/schemaEndpointWordCapacity.d.ts +36 -0
  171. package/dist/compiler/schemaEndpointWordCapacity.d.ts.map +1 -0
  172. package/dist/compiler/schemaEndpointWordCapacity.js +39 -0
  173. package/dist/compiler/schemaExactCalendar.d.ts +73 -0
  174. package/dist/compiler/schemaExactCalendar.d.ts.map +1 -0
  175. package/dist/compiler/schemaExactCalendar.js +264 -0
  176. package/dist/compiler/schemaFacetAnnotation.d.ts +32 -0
  177. package/dist/compiler/schemaFacetAnnotation.d.ts.map +1 -0
  178. package/dist/compiler/schemaFacetAnnotation.js +199 -0
  179. package/dist/compiler/schemaGeneratedScalarShape.d.ts +35 -0
  180. package/dist/compiler/schemaGeneratedScalarShape.d.ts.map +1 -0
  181. package/dist/compiler/schemaGeneratedScalarShape.js +176 -0
  182. package/dist/compiler/schemaIdentityConstraints.d.ts +73 -0
  183. package/dist/compiler/schemaIdentityConstraints.d.ts.map +1 -0
  184. package/dist/compiler/schemaIdentityConstraints.js +362 -0
  185. package/dist/compiler/schemaIeeeLanguage.d.ts +43 -0
  186. package/dist/compiler/schemaIeeeLanguage.d.ts.map +1 -0
  187. package/dist/compiler/schemaIeeeLanguage.js +759 -0
  188. package/dist/compiler/schemaIntegerImages.d.ts +11 -0
  189. package/dist/compiler/schemaIntegerImages.d.ts.map +1 -0
  190. package/dist/compiler/schemaIntegerImages.js +113 -0
  191. package/dist/compiler/schemaLexicalPredicates.d.ts +29 -0
  192. package/dist/compiler/schemaLexicalPredicates.d.ts.map +1 -0
  193. package/dist/compiler/schemaLexicalPredicates.js +63 -0
  194. package/dist/compiler/schemaNotationProperties.d.ts +32 -0
  195. package/dist/compiler/schemaNotationProperties.d.ts.map +1 -0
  196. package/dist/compiler/schemaNotationProperties.js +84 -0
  197. package/dist/compiler/schemaNumericImageConditions.d.ts +24 -0
  198. package/dist/compiler/schemaNumericImageConditions.d.ts.map +1 -0
  199. package/dist/compiler/schemaNumericImageConditions.js +66 -0
  200. package/dist/compiler/schemaParticleWildcardProperties.d.ts +20 -0
  201. package/dist/compiler/schemaParticleWildcardProperties.d.ts.map +1 -0
  202. package/dist/compiler/schemaParticleWildcardProperties.js +43 -0
  203. package/dist/compiler/schemaPattern.d.ts +1062 -0
  204. package/dist/compiler/schemaPattern.d.ts.map +1 -0
  205. package/dist/compiler/schemaPattern.js +581 -0
  206. package/dist/compiler/schemaRegularLanguage.d.ts +67 -0
  207. package/dist/compiler/schemaRegularLanguage.d.ts.map +1 -0
  208. package/dist/compiler/schemaRegularLanguage.js +1166 -0
  209. package/dist/compiler/schemaScalarContext.d.ts +81 -0
  210. package/dist/compiler/schemaScalarContext.d.ts.map +1 -0
  211. package/dist/compiler/schemaScalarContext.js +78 -0
  212. package/dist/compiler/schemaScalarKernel.d.ts +182 -0
  213. package/dist/compiler/schemaScalarKernel.d.ts.map +1 -0
  214. package/dist/compiler/schemaScalarKernel.js +391 -0
  215. package/dist/compiler/schemaScalarWitnesses.d.ts +6 -0
  216. package/dist/compiler/schemaScalarWitnesses.d.ts.map +1 -0
  217. package/dist/compiler/schemaScalarWitnesses.js +118 -0
  218. package/dist/compiler/schemaSimpleTypeProperties.d.ts +95 -0
  219. package/dist/compiler/schemaSimpleTypeProperties.d.ts.map +1 -0
  220. package/dist/compiler/schemaSimpleTypeProperties.js +103 -0
  221. package/dist/compiler/schemaSourceGrammar.d.ts +27 -0
  222. package/dist/compiler/schemaSourceGrammar.d.ts.map +1 -0
  223. package/dist/compiler/schemaSourceGrammar.js +290 -0
  224. package/dist/compiler/schemaSourceLexical.d.ts +4 -0
  225. package/dist/compiler/schemaSourceLexical.d.ts.map +1 -0
  226. package/dist/compiler/schemaSourceLexical.js +12 -0
  227. package/dist/compiler/schemaSourceValues.d.ts +51 -0
  228. package/dist/compiler/schemaSourceValues.d.ts.map +1 -0
  229. package/dist/compiler/schemaSourceValues.js +225 -0
  230. package/dist/compiler/schemaSourceWildcards.d.ts +28 -0
  231. package/dist/compiler/schemaSourceWildcards.d.ts.map +1 -0
  232. package/dist/compiler/schemaSourceWildcards.js +247 -0
  233. package/dist/compiler/schemaSymbolicSequences.d.ts +16 -0
  234. package/dist/compiler/schemaSymbolicSequences.d.ts.map +1 -0
  235. package/dist/compiler/schemaSymbolicSequences.js +99 -0
  236. package/dist/compiler/schemaSymbolicValueSets.d.ts +32 -0
  237. package/dist/compiler/schemaSymbolicValueSets.d.ts.map +1 -0
  238. package/dist/compiler/schemaSymbolicValueSets.js +149 -0
  239. package/dist/compiler/schemaSyntaxAssessment.d.ts +25 -0
  240. package/dist/compiler/schemaSyntaxAssessment.d.ts.map +1 -0
  241. package/dist/compiler/schemaSyntaxAssessment.js +361 -0
  242. package/dist/compiler/schemaTemporalAliases.d.ts +6 -0
  243. package/dist/compiler/schemaTemporalAliases.d.ts.map +1 -0
  244. package/dist/compiler/schemaTemporalAliases.js +195 -0
  245. package/dist/compiler/schemaTokenImages.d.ts +9 -0
  246. package/dist/compiler/schemaTokenImages.d.ts.map +1 -0
  247. package/dist/compiler/schemaTokenImages.js +142 -0
  248. package/dist/compiler/schemaTypeIdentity.d.ts +39 -0
  249. package/dist/compiler/schemaTypeIdentity.d.ts.map +1 -0
  250. package/dist/compiler/schemaTypeIdentity.js +78 -0
  251. package/dist/compiler/schemaTypeRelations.d.ts +38 -0
  252. package/dist/compiler/schemaTypeRelations.d.ts.map +1 -0
  253. package/dist/compiler/schemaTypeRelations.js +576 -0
  254. package/dist/compiler/schemaUri.d.ts +13 -0
  255. package/dist/compiler/schemaUri.d.ts.map +1 -0
  256. package/dist/compiler/schemaUri.js +103 -0
  257. package/dist/compiler/schemaValueContext.d.ts +26 -0
  258. package/dist/compiler/schemaValueContext.d.ts.map +1 -0
  259. package/dist/compiler/schemaValueContext.js +1 -0
  260. package/dist/compiler/schemaValueImages.d.ts +10 -0
  261. package/dist/compiler/schemaValueImages.d.ts.map +1 -0
  262. package/dist/compiler/schemaValueImages.js +142 -0
  263. package/dist/compiler/schemaValueSequences.d.ts +15 -0
  264. package/dist/compiler/schemaValueSequences.d.ts.map +1 -0
  265. package/dist/compiler/schemaValueSequences.js +19 -0
  266. package/dist/compiler/semanticBudget.d.ts +50 -0
  267. package/dist/compiler/semanticBudget.d.ts.map +1 -0
  268. package/dist/compiler/semanticBudget.js +178 -0
  269. package/dist/compiler/semanticCatalog.d.ts +122 -0
  270. package/dist/compiler/semanticCatalog.d.ts.map +1 -0
  271. package/dist/compiler/semanticCatalog.js +160 -0
  272. package/dist/compiler/semanticContext.d.ts +172 -0
  273. package/dist/compiler/semanticContext.d.ts.map +1 -0
  274. package/dist/compiler/semanticContext.js +1168 -0
  275. package/dist/compiler/semanticTypeDependencies.d.ts +8 -0
  276. package/dist/compiler/semanticTypeDependencies.d.ts.map +1 -0
  277. package/dist/compiler/semanticTypeDependencies.js +64 -0
  278. package/dist/compiler/semanticTypeReference.d.ts +24 -0
  279. package/dist/compiler/semanticTypeReference.d.ts.map +1 -0
  280. package/dist/compiler/semanticTypeReference.js +36 -0
  281. package/dist/compiler/shapeResolver.d.ts +1 -0
  282. package/dist/compiler/shapeResolver.d.ts.map +1 -1
  283. package/dist/compiler/shapeResolver.js +7 -9
  284. package/dist/compiler/sourceSchemaBinding.d.ts +26 -0
  285. package/dist/compiler/sourceSchemaBinding.d.ts.map +1 -0
  286. package/dist/compiler/sourceSchemaBinding.js +39 -0
  287. package/dist/compiler/structuralCompanions.d.ts +16 -0
  288. package/dist/compiler/structuralCompanions.d.ts.map +1 -0
  289. package/dist/compiler/structuralCompanions.js +232 -0
  290. package/dist/compiler/validateSemanticGraph.d.ts +5 -0
  291. package/dist/compiler/validateSemanticGraph.d.ts.map +1 -0
  292. package/dist/compiler/validateSemanticGraph.js +376 -0
  293. package/dist/compiler/wildcardAlgebra.d.ts +26 -0
  294. package/dist/compiler/wildcardAlgebra.d.ts.map +1 -0
  295. package/dist/compiler/wildcardAlgebra.js +155 -0
  296. package/dist/gateway/generateGateway.d.ts.map +1 -1
  297. package/dist/gateway/generateGateway.js +2 -2
  298. package/dist/index.d.ts +3 -0
  299. package/dist/index.d.ts.map +1 -1
  300. package/dist/index.js +2 -0
  301. package/dist/loader/orderedSyntax.d.ts +77 -0
  302. package/dist/loader/orderedSyntax.d.ts.map +1 -0
  303. package/dist/loader/orderedSyntax.js +202 -0
  304. package/dist/loader/resolutionDepth.d.ts +7 -0
  305. package/dist/loader/resolutionDepth.d.ts.map +1 -0
  306. package/dist/loader/resolutionDepth.js +65 -0
  307. package/dist/loader/schemaInput.d.ts +53 -0
  308. package/dist/loader/schemaInput.d.ts.map +1 -0
  309. package/dist/loader/schemaInput.js +212 -0
  310. package/dist/loader/schemaResources.d.ts +59 -0
  311. package/dist/loader/schemaResources.d.ts.map +1 -0
  312. package/dist/loader/schemaResources.js +292 -0
  313. package/dist/openapi/generateOpenAPI.d.ts.map +1 -1
  314. package/dist/openapi/generateOpenAPI.js +2 -2
  315. package/dist/test/generateTests.d.ts.map +1 -1
  316. package/dist/test/generateTests.js +2 -2
  317. package/dist/util/xmlWhitespace.d.ts +3 -0
  318. package/dist/util/xmlWhitespace.d.ts.map +1 -0
  319. package/dist/util/xmlWhitespace.js +4 -0
  320. package/docs/README.md +14 -1
  321. package/docs/architecture.md +9 -0
  322. package/docs/cli-reference.md +21 -1
  323. package/docs/content-model-analysis.md +92 -0
  324. package/docs/content-model-baseline.md +121 -0
  325. package/docs/content-model-catalog.md +116 -0
  326. package/docs/content-model-companions.md +90 -0
  327. package/docs/content-model-composition.md +103 -0
  328. package/docs/content-model-decisions.md +79 -0
  329. package/docs/content-model-gateway-feasibility.md +169 -0
  330. package/docs/content-model-graph.md +121 -0
  331. package/docs/content-model-loading.md +163 -0
  332. package/docs/content-model-matching.md +85 -0
  333. package/docs/content-model-readiness.md +144 -0
  334. package/docs/content-model-resolution.md +81 -0
  335. package/docs/content-model-s02-handoff.md +98 -0
  336. package/docs/content-model-s06-au-01.md +425 -0
  337. package/docs/content-model-s06-dt-01.md +386 -0
  338. package/docs/content-model-s06-pw-01.md +350 -0
  339. package/docs/content-model-s06-re-01-resolver-implementation.md +869 -0
  340. package/docs/content-model-s06-re-01-resolver.md +513 -0
  341. package/docs/content-model-s06-re-01-scalar-witnesses.md +1423 -0
  342. package/docs/content-model-s06-re-01-support-reconstruction.md +6337 -0
  343. package/docs/content-model-s06-re-01.md +7477 -0
  344. package/docs/content-model-s06-research-handoff.md +909 -0
  345. package/docs/content-model-shipped-fix.md +83 -0
  346. package/docs/content-model-soap-feasibility.md +165 -0
  347. package/docs/decisions/002-streamable-responses.md +2 -0
  348. package/docs/decisions/003-content-model-contracts.md +280 -0
  349. package/docs/direct-values.md +311 -0
  350. package/docs/reference-validation.md +243 -0
  351. package/docs/releases/v1.1.5.md +38 -0
  352. package/docs/roadmap/README.md +2 -2
  353. package/docs/supported-patterns.md +13 -5
  354. package/package.json +26 -13
  355. package/src/generation/preambles/direct-client/typescript.preamble +3 -0
@@ -0,0 +1,91 @@
1
+ import type { SchemaInput, SchemaInputOptions } from '../loader/schemaInput.js';
2
+ import type { SemanticBudgetLimits, ResolverUsage } from './semanticBudget.js';
3
+ export declare const ASSESSMENT_REPORT_BYTES: number;
4
+ export declare const ASSESSMENT_VERSION: "checked-assessment-v1";
5
+ export declare const ASSESSMENT_BASIS: "native-direct-premises-v1";
6
+ export type AssessmentStatus = 'established' | 'disproved' | 'inconclusive';
7
+ export interface AssessmentObligation {
8
+ readonly rule: string;
9
+ readonly component: string;
10
+ readonly context: string;
11
+ readonly basis: typeof ASSESSMENT_BASIS | 'dated-XSD-2004-direct-v1';
12
+ readonly status: AssessmentStatus;
13
+ readonly reason: string;
14
+ }
15
+ export interface AssessedOperation {
16
+ readonly id: string;
17
+ readonly name: string;
18
+ readonly capabilities: readonly Readonly<{
19
+ name: string;
20
+ status: 'supported' | 'unsupported' | 'not-assessed';
21
+ reason: string;
22
+ }>[];
23
+ readonly admitted: false;
24
+ }
25
+ export interface CheckedAssessmentReport {
26
+ readonly tool: Readonly<{
27
+ version: string;
28
+ node: string;
29
+ }>;
30
+ readonly identity: string;
31
+ readonly reportVersion: typeof ASSESSMENT_VERSION;
32
+ readonly scope: 'whole-actual-native-direct-v1';
33
+ readonly model: 'xsd10-faithful-v1';
34
+ readonly basis: typeof ASSESSMENT_BASIS;
35
+ readonly schema: AssessmentStatus;
36
+ readonly correspondence: AssessmentStatus;
37
+ readonly execution: 'completed' | 'resource-limit' | 'cancelled' | 'failed';
38
+ readonly category?: string;
39
+ readonly obligations: readonly AssessmentObligation[];
40
+ readonly operations: readonly AssessedOperation[];
41
+ readonly operationInventory: 'complete' | 'unassessed';
42
+ readonly resources: readonly Readonly<{
43
+ id: string;
44
+ digest: string;
45
+ bytes: number;
46
+ }>[];
47
+ readonly contexts: readonly Readonly<{
48
+ id: string;
49
+ resource: string;
50
+ digest: string;
51
+ namespace: string;
52
+ base: string;
53
+ kind: string;
54
+ }>[];
55
+ readonly components: readonly Readonly<{
56
+ id: string;
57
+ digest: string;
58
+ resource: string;
59
+ path: string;
60
+ contexts: readonly string[];
61
+ }>[];
62
+ readonly edges: readonly Readonly<{
63
+ kind: string;
64
+ from: string;
65
+ to?: string;
66
+ cycle: boolean;
67
+ }>[];
68
+ readonly limits: Readonly<{
69
+ maxWork: number;
70
+ maxNodes: number;
71
+ maxReportBytes: number;
72
+ loading?: SchemaInput['limits'];
73
+ }>;
74
+ readonly usage: ResolverUsage;
75
+ readonly schemaEligible: boolean;
76
+ readonly admitted: false;
77
+ }
78
+ /** Explicit expected inventory prevents missing duties or empty reports from establishing scope. */
79
+ export declare function aggregateAssessment(required: readonly string[], facts: ReadonlyMap<string, AssessmentStatus>): AssessmentStatus;
80
+ export declare function serializeAssessmentReport(report: CheckedAssessmentReport): string;
81
+ export declare function assessmentExitCode(report: CheckedAssessmentReport): number;
82
+ export declare function assessSchemaSource(source: string, options: Readonly<{
83
+ loading: SchemaInputOptions;
84
+ limits?: SemanticBudgetLimits;
85
+ signal?: AbortSignal;
86
+ expectedBasis?: string;
87
+ expectedIdentity?: string;
88
+ }>): Promise<CheckedAssessmentReport>;
89
+ /** Validate diagnostic JSON without treating it as authenticated semantic evidence. */
90
+ export declare function parseAssessmentReport(text: string): CheckedAssessmentReport;
91
+ //# sourceMappingURL=checkedAssessment.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"checkedAssessment.d.ts","sourceRoot":"","sources":["../../src/compiler/checkedAssessment.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAC,WAAW,EAAE,kBAAkB,EAAC,MAAM,0BAA0B,CAAC;AAG9E,OAAO,KAAK,EAAC,oBAAoB,EAAE,aAAa,EAAC,MAAM,qBAAqB,CAAC;AAI7E,eAAO,MAAM,uBAAuB,QAAc,CAAC;AACnD,eAAO,MAAM,kBAAkB,EAAG,uBAAgC,CAAC;AACnE,eAAO,MAAM,gBAAgB,EAAG,2BAAoC,CAAC;AACrE,MAAM,MAAM,gBAAgB,GAAG,aAAa,GAAG,WAAW,GAAG,cAAc,CAAC;AAC5E,MAAM,WAAW,oBAAoB;IACnC,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAC;IAC3B,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAC;IACzB,QAAQ,CAAC,KAAK,EAAE,OAAO,gBAAgB,GAAG,0BAA0B,CAAC;IACrE,QAAQ,CAAC,MAAM,EAAE,gBAAgB,CAAC;IAClC,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC;CACzB;AACD,MAAM,WAAW,iBAAiB;IAChC,QAAQ,CAAC,EAAE,EAAE,MAAM,CAAC;IACpB,QAAQ,CAAC,IAAI,EAAE,MA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M,CAIjF;AAED,wBAAgB,kBAAkB,CAAC,MAAM,EAAE,uBAAuB,GAAG,MAAM,CAI1E;AAED,wBAAsB,kBAAkB,CAAC,MAAM,EAAE,MAAM,EAAE,OAAO,EAAE,QAAQ,CAAC;IACzE,OAAO,EAAE,kBAAkB,CAAC;IAC5B,MAAM,CAAC,EAAE,oBAAoB,CAAC;IAC9B,MAAM,CAAC,EAAE,WAAW,CAAC;IACrB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,gBAAgB,CAAC,EAAE,MAAM,CAAC;CAC3B,CAAC,GAAG,OAAO,CAAC,uBAAuB,CAAC,CA2JpC;AAGD,uFAAuF;AACvF,wBAAgB,qBAAqB,CAAC,IAAI,EAAE,MAAM,GAAG,uBAAuB,CAyC3E"}
@@ -0,0 +1,300 @@
1
+ /** Assessment-only source API. Reports are diagnostics, never reusable admission tokens. */
2
+ import { deepFreeze } from './canonicalGraph.js';
3
+ import { createRequire } from 'node:module';
4
+ import { createHash } from 'node:crypto';
5
+ import { loadSemanticSchemaInput } from '../loader/schemaInput.js';
6
+ import { DEFAULT_LOADING_LIMITS, loadingLimits } from '../loader/schemaResources.js';
7
+ import { SchemaLoadingError, syntaxAttribute, syntaxElements, WSDL_NAMESPACE } from '../loader/orderedSyntax.js';
8
+ import { createSemanticBudget, DEFAULT_MAX_NODES, DEFAULT_MAX_WORK } from './semanticBudget.js';
9
+ import { qualifyDirectSource } from './checkedSourcePreparation.js';
10
+ const packageVersion = createRequire(import.meta.url)('../../package.json').version;
11
+ export const ASSESSMENT_REPORT_BYTES = 1024 * 1024;
12
+ export const ASSESSMENT_VERSION = 'checked-assessment-v1';
13
+ export const ASSESSMENT_BASIS = 'native-direct-premises-v1';
14
+ /** Explicit expected inventory prevents missing duties or empty reports from establishing scope. */
15
+ export function aggregateAssessment(required, facts) {
16
+ if ([...facts.values()].includes('disproved'))
17
+ return 'disproved';
18
+ return required.length > 0 && required.every(key => facts.get(key) === 'established') ? 'established' : 'inconclusive';
19
+ }
20
+ const published = new WeakMap();
21
+ export function serializeAssessmentReport(report) {
22
+ const text = published.get(report);
23
+ if (text === undefined)
24
+ throw new TypeError('Only source-issued assessment reports can be published');
25
+ return text;
26
+ }
27
+ export function assessmentExitCode(report) {
28
+ if (report.execution !== 'completed')
29
+ return { failed: 1, 'resource-limit': 4, cancelled: 5 }[report.execution];
30
+ if (report.schema === 'disproved')
31
+ return 3;
32
+ return report.schemaEligible ? 0 : 2;
33
+ }
34
+ export async function assessSchemaSource(source, options) {
35
+ const budget = createSemanticBudget(options.limits);
36
+ const effectiveLoadingLimits = loadingLimits(options.loading.limits);
37
+ const limits = { loading: effectiveLoadingLimits, maxReportBytes: ASSESSMENT_REPORT_BYTES, maxWork: options.limits?.maxWork ?? DEFAULT_MAX_WORK, maxNodes: options.limits?.maxNodes ?? DEFAULT_MAX_NODES };
38
+ const obligations = [];
39
+ const operations = [];
40
+ let components = [];
41
+ let resources = [], contexts = [], edges = [];
42
+ let input;
43
+ let execution = 'completed', category;
44
+ let inventory = 'unassessed';
45
+ let correspondence = 'inconclusive';
46
+ let knownFailure = false;
47
+ let identity = 'unassessed';
48
+ // Reserve bounded terminal copying/freezing/JSON publication before retaining any input facts.
49
+ let publicationRemaining = ASSESSMENT_REPORT_BYTES - 16_384;
50
+ const reservePublication = (bytes) => {
51
+ budget.chargeWork(16);
52
+ if (!Number.isSafeInteger(bytes) || bytes < 0 || bytes > publicationRemaining)
53
+ budget.chargeWork(limits.maxWork);
54
+ publicationRemaining -= bytes;
55
+ };
56
+ // Reserved terminal result carries unassessed closure even if publication itself exhausts.
57
+ const terminal = (state) => ({
58
+ tool: { version: packageVersion, node: process.version }, identity, reportVersion: ASSESSMENT_VERSION, scope: 'whole-actual-native-direct-v1', model: 'xsd10-faithful-v1', basis: ASSESSMENT_BASIS,
59
+ schema: knownFailure ? 'disproved' : 'inconclusive',
60
+ correspondence: 'inconclusive', execution: state, category,
61
+ obligations,
62
+ operations, operationInventory: inventory, resources, contexts, edges, components, limits, usage: { ...budget.usage() }, schemaEligible: false, admitted: false,
63
+ });
64
+ const check = () => { if (options.signal?.aborted)
65
+ throw new CancelledAssessment(); budget.chargeWork(1); };
66
+ const opaque = (value) => { budget.chargeWork(128 + value.length * 4); return createHash('sha256').update(value).digest('hex'); };
67
+ const add = (rule, component, status, reason, basis = ASSESSMENT_BASIS) => {
68
+ reservePublication(512 + 6 * (rule.length + component.length + reason.length));
69
+ budget.chargeWork(4096 + rule.length * 32 + component.length * 32 + reason.length * 32);
70
+ if (basis === ASSESSMENT_BASIS && status === 'disproved')
71
+ knownFailure = true;
72
+ obligations.push({ rule, component, context: 'actual', basis, status, reason });
73
+ };
74
+ try {
75
+ budget.chargeWork(ASSESSMENT_REPORT_BYTES * 16 + 4096);
76
+ check();
77
+ if (options.expectedBasis !== undefined && options.expectedBasis !== ASSESSMENT_BASIS) {
78
+ add('semantic-basis-match', 'actual', 'inconclusive', 'Requested semantic evidence basis is unavailable');
79
+ }
80
+ else {
81
+ input = await loadSemanticSchemaInput(source, { ...options.loading, chargeWork: amount => { check(); budget.chargeWork(amount); } });
82
+ check();
83
+ const result = budget.guard(() => {
84
+ reservePublication(input.resources.length * 512 + input.schemas.length * 1024 + input.edges.length * 512);
85
+ budget.chargeWork(128 + input.resources.length * 256 + input.schemas.length * 512 + input.edges.length * 256);
86
+ const resourceId = (uri) => opaque(uri);
87
+ resources = budget.sorted(input.resources.map(r => ({ id: resourceId(r.uri), digest: r.digest, bytes: r.byteLength })), (a, b) => budget.compareText(a.id, b.id));
88
+ contexts = budget.sorted(input.schemas.map(s => ({ id: opaque(s.key), resource: resourceId(s.documentUri), digest: s.digest,
89
+ namespace: opaque(s.targetNamespace), base: opaque(s.baseUri), kind: s.context.kind })), (a, b) => budget.compareText(a.id, b.id));
90
+ edges = input.edges.map(e => ({ kind: e.kind, from: opaque(e.from), ...(e.to ? { to: opaque(e.to) } : {}), cycle: e.cycle }));
91
+ // Inventory precedes semantic preparation, so interrupted reports cannot silently omit operations.
92
+ for (const document of input.documents) {
93
+ const stack = [document.root];
94
+ while (stack.length) {
95
+ check();
96
+ const node = stack.pop();
97
+ budget.chargeWork(128 + node.children.length * 4);
98
+ if (node.name.namespace === WSDL_NAMESPACE && node.name.local === 'portType') {
99
+ for (const operation of syntaxElements(node, WSDL_NAMESPACE, 'operation')) {
100
+ const operationName = syntaxAttribute(operation, 'name') ?? '(unnamed)';
101
+ reservePublication(8192 + operationName.length * 6);
102
+ budget.chargeWork(1024 + operationName.length * 8);
103
+ operations.push({ id: opaque(`${document.digest ?? document.root.source.digest}:${operation.source.path}`), name: operationName, admitted: false,
104
+ capabilities: ['matcher', 'projection', 'scalar-payload', 'bundle', 'codec', 'buffered-transport', 'structured-generation'].map(name => ({ name, status: name === 'structured-generation' ? 'unsupported' : 'not-assessed',
105
+ reason: name === 'structured-generation' ? 'Public structured generation is not activated' : 'This assessment does not qualify the downstream runtime owner' })) });
106
+ }
107
+ }
108
+ stack.push(...syntaxElements(node));
109
+ }
110
+ }
111
+ inventory = 'complete';
112
+ budget.chargeWork(1024 + resources.length * 512 + contexts.length * 1024);
113
+ identity = opaque(JSON.stringify({ resources, contexts, basis: ASSESSMENT_BASIS }));
114
+ if (options.expectedIdentity !== undefined && identity !== options.expectedIdentity)
115
+ add('source-context-match', 'actual', 'inconclusive', 'Expected source/context identity differs from the loaded closure');
116
+ const prepared = qualifyDirectSource(input, { budget, maxNodes: limits.maxNodes, check,
117
+ onPrepared: request => {
118
+ budget.chargeWork(256 + request.graph.nodes.length * 1024);
119
+ components = request.graph.nodes.map(node => {
120
+ reservePublication(2048 + node.context.source.path.length * 6 + (request.graph.origins[node.id]?.length ?? 0) * 512);
121
+ return ({ id: opaque(node.id), digest: node.context.source.digest, resource: resourceId(node.context.source.uri), path: node.context.source.path, contexts: (request.graph.origins[node.id] ?? []).map(origin => opaque(origin.interpretation)) });
122
+ });
123
+ },
124
+ onLocal: (id, checked) => {
125
+ const component = opaque(id);
126
+ if (checked.kind === 'checked') {
127
+ add('local-component-premises', component, 'established', 'Native local premises checked; dependencies remain in whole-actual-closure');
128
+ for (const debt of checked.obligations)
129
+ add(debt.rule, component, 'inconclusive', 'Required native dependency is discharged only by aggregate closure');
130
+ if (checked.re01 && !checked.re01.primitive)
131
+ add('RE01', component, 'inconclusive', 'Direct strategy supplies no nonprimitive construction; no negative search claim');
132
+ }
133
+ else
134
+ add(checked.rule, component, checked.kind === 'invalid-schema' ? 'disproved' : 'inconclusive', `Native ${checked.kind}; no dated-XSD invalidity claim`);
135
+ },
136
+ onClosure: closure => {
137
+ if (closure.kind === 'checked-direct' || closure.kind === 'inconclusive-direct') {
138
+ // Aggregate closure supersedes local dependency debts only after the native owner discharged them.
139
+ if (closure.kind === 'checked-direct') {
140
+ for (let i = 0; i < obligations.length; i++) {
141
+ budget.chargeWork(256);
142
+ const fact = obligations[i];
143
+ if (fact.status === 'inconclusive' && fact.reason === 'Required native dependency is discharged only by aggregate closure')
144
+ obligations[i] = { ...fact, status: 'established', reason: 'Native aggregate dependency discharge checked' };
145
+ }
146
+ }
147
+ add('whole-actual-closure', 'actual', closure.kind === 'checked-direct' ? 'established' : 'inconclusive', closure.kind === 'checked-direct' ? 'All native direct obligations and aggregate dependencies checked' : 'RE01 nonprimitive actual obligation remains unproved');
148
+ }
149
+ else
150
+ add('whole-actual-closure', 'actual', closure.kind === 'invalid-schema' ? 'disproved' : 'inconclusive', `Native ${closure.kind}: ${"rule" in closure ? closure.rule : "aggregate-closure"}`);
151
+ },
152
+ });
153
+ if (prepared.kind !== 'qualified-source') {
154
+ if (prepared.kind === 'resource-limit')
155
+ return prepared;
156
+ if (prepared.kind === 'source-preparation-failed') {
157
+ if (prepared.category === 'resource-limit')
158
+ execution = 'resource-limit';
159
+ add(prepared.stage, 'actual', prepared.category === 'invalid-schema' ? 'disproved' : 'inconclusive', `Native ${prepared.category}; source details redacted`);
160
+ }
161
+ else
162
+ add('source-preparation', 'actual', 'inconclusive', 'Native source context was not prepared');
163
+ return;
164
+ }
165
+ correspondence = prepared.correspondence ? 'established' : 'inconclusive';
166
+ add('dated-XSD-correspondence', 'actual', correspondence, correspondence === 'established' ? 'Qualified distinct-name builtin scalar sequence route; Structures/Datatypes 2004' : 'Outside the independently qualified direct correspondence route', 'dated-XSD-2004-direct-v1');
167
+ });
168
+ if (result?.kind === 'resource-limit')
169
+ execution = 'resource-limit';
170
+ }
171
+ }
172
+ catch (error) {
173
+ if (budget.exhausted())
174
+ execution = 'resource-limit';
175
+ else if (options.signal?.aborted || error instanceof CancelledAssessment)
176
+ execution = 'cancelled';
177
+ else if (error instanceof SchemaLoadingError) {
178
+ execution = error.category === 'resource-limit' ? 'resource-limit' : 'failed';
179
+ category = error.category;
180
+ }
181
+ else
182
+ throw error;
183
+ }
184
+ if (budget.exhausted())
185
+ execution = 'resource-limit';
186
+ if (execution !== 'completed') {
187
+ obligations.push({ rule: 'unfinished-assessment', component: 'actual', context: 'actual', basis: ASSESSMENT_BASIS, status: 'inconclusive', reason: 'Required checking or publication work was not completed' });
188
+ const report = terminal(execution);
189
+ deepFreeze(report);
190
+ published.set(report, JSON.stringify(report, null, 2) + '\n');
191
+ return report;
192
+ }
193
+ const final = budget.guard(() => {
194
+ check();
195
+ if (!obligations.some(o => o.rule === 'whole-actual-closure'))
196
+ add('whole-actual-closure', 'actual', 'inconclusive', 'Required actual closure was not assessed');
197
+ const sorted = budget.sorted(obligations, (a, b) => budget.compareText(`${a.component}:${a.rule}:${a.reason}`, `${b.component}:${b.rule}:${b.reason}`));
198
+ const facts = new Map();
199
+ for (let index = 0; index < sorted.length; index++) {
200
+ budget.chargeWork(8);
201
+ if (sorted[index].basis === ASSESSMENT_BASIS)
202
+ facts.set(String(index), sorted[index].status);
203
+ }
204
+ const schema = aggregateAssessment([...facts.keys()], facts);
205
+ const report = { tool: { version: packageVersion, node: process.version }, identity, reportVersion: ASSESSMENT_VERSION, scope: 'whole-actual-native-direct-v1', model: 'xsd10-faithful-v1', basis: ASSESSMENT_BASIS,
206
+ schema, correspondence, execution, category, obligations: sorted, operations: budget.sorted(operations, (a, b) => budget.compareText(a.id, b.id)), operationInventory: inventory,
207
+ resources, contexts, edges, components, limits: { ...limits, ...(input ? { loading: input.limits } : {}) }, usage: { work: 0, nodes: 0 }, schemaEligible: schema === 'established' && correspondence === 'established', admitted: false };
208
+ const owned = budget.snapshot(report);
209
+ // Snapshot charges all text/fields. Reserve a conservative 12x JSON-escape and indentation envelope before serialization/publication.
210
+ const start = budget.usage().work;
211
+ budget.snapshot(owned);
212
+ budget.chargeWork((budget.usage().work - start) * 12 + 2048);
213
+ budget.freeze(owned);
214
+ budget.chargeWork(256);
215
+ const result = Object.freeze({ ...owned, usage: Object.freeze({ ...budget.usage() }) });
216
+ const text = JSON.stringify(result, null, 2) + '\n';
217
+ published.set(result, text);
218
+ return result;
219
+ });
220
+ if ('kind' in final) {
221
+ obligations.push({ rule: 'unfinished-publication', component: 'actual', context: 'actual', basis: ASSESSMENT_BASIS, status: 'inconclusive', reason: 'Report publication exhausted the shared request budget' });
222
+ const report = terminal('resource-limit');
223
+ published.set(report, JSON.stringify(report, null, 2) + '\n');
224
+ return report;
225
+ }
226
+ return final;
227
+ }
228
+ class CancelledAssessment extends Error {
229
+ }
230
+ /** Validate diagnostic JSON without treating it as authenticated semantic evidence. */
231
+ export function parseAssessmentReport(text) {
232
+ const bad = () => { throw new TypeError('Malformed or incompatible assessment report'); };
233
+ if (Buffer.byteLength(text) > ASSESSMENT_REPORT_BYTES)
234
+ return bad();
235
+ const value = JSON.parse(text);
236
+ const record = (v) => !!v && typeof v === 'object' && !Array.isArray(v);
237
+ const textField = (v) => typeof v === 'string';
238
+ const integer = (v) => typeof v === 'number' && Number.isSafeInteger(v) && v >= 0;
239
+ const digest = (v) => typeof v === 'string' && /^[a-f0-9]{64}$/.test(v);
240
+ const status = (s) => s === 'established' || s === 'disproved' || s === 'inconclusive';
241
+ if (!record(value))
242
+ return bad();
243
+ const r = value;
244
+ if (r.reportVersion !== ASSESSMENT_VERSION || r.scope !== 'whole-actual-native-direct-v1' || r.model !== 'xsd10-faithful-v1' || r.basis !== ASSESSMENT_BASIS || r.admitted !== false || !status(r.schema) || !status(r.correspondence) || !['completed', 'failed', 'cancelled', 'resource-limit'].includes(String(r.execution)))
245
+ return bad();
246
+ if (!record(r.tool) || !textField(r.tool.version) || !textField(r.tool.node) || !(r.identity === 'unassessed' || digest(r.identity)))
247
+ return bad();
248
+ if (!record(r.limits) || !integer(r.limits.maxWork) || r.limits.maxWork < 1 || !integer(r.limits.maxNodes) || r.limits.maxNodes < 1 || r.limits.maxReportBytes !== ASSESSMENT_REPORT_BYTES)
249
+ return bad();
250
+ if (r.category !== undefined && !textField(r.category))
251
+ return bad();
252
+ if (r.limits.loading !== undefined) {
253
+ if (!record(r.limits.loading))
254
+ return bad();
255
+ for (const key of Object.keys(DEFAULT_LOADING_LIMITS)) {
256
+ const v = r.limits.loading[key];
257
+ if (!integer(v) || (key !== 'redirects' && v < 1))
258
+ return bad();
259
+ }
260
+ }
261
+ if (!record(r.usage) || !integer(r.usage.work) || !integer(r.usage.nodes) || r.usage.work > r.limits.maxWork || r.usage.nodes > r.limits.maxNodes)
262
+ return bad();
263
+ if (!Array.isArray(r.obligations) || !r.obligations.length || !Array.isArray(r.operations) || !Array.isArray(r.resources) || !Array.isArray(r.contexts) || !Array.isArray(r.edges) || !Array.isArray(r.components) || !['complete', 'unassessed'].includes(String(r.operationInventory)))
264
+ return bad();
265
+ for (const o of r.obligations)
266
+ if (!record(o) || !status(o.status) || !textField(o.rule) || !textField(o.component) || !textField(o.context) || !textField(o.reason) || ![ASSESSMENT_BASIS, 'dated-XSD-2004-direct-v1'].includes(String(o.basis)))
267
+ return bad();
268
+ const obligations = r.obligations;
269
+ const nativeDisproved = obligations.some(o => o.basis === ASSESSMENT_BASIS && o.status === 'disproved');
270
+ if ((r.schema === 'disproved') !== nativeDisproved)
271
+ return bad();
272
+ if (!obligations.some(o => ['whole-actual-closure', 'unfinished-assessment', 'unfinished-publication'].includes(o.rule)))
273
+ return bad();
274
+ if (r.schema === 'established' && (r.execution !== 'completed' || !obligations.some(o => o.rule === 'whole-actual-closure' && o.basis === ASSESSMENT_BASIS && o.status === 'established') || obligations.some(o => o.basis === ASSESSMENT_BASIS && o.status !== 'established')))
275
+ return bad();
276
+ if (r.correspondence === 'established' && !obligations.some(o => o.rule === 'dated-XSD-correspondence' && o.basis === 'dated-XSD-2004-direct-v1' && o.status === 'established'))
277
+ return bad();
278
+ if (r.schemaEligible !== (r.execution === 'completed' && r.schema === 'established' && r.correspondence === 'established'))
279
+ return bad();
280
+ for (const o of r.operations) {
281
+ if (!record(o) || !digest(o.id) || !textField(o.name) || o.admitted !== false || !Array.isArray(o.capabilities))
282
+ return bad();
283
+ for (const c of o.capabilities)
284
+ if (!record(c) || !textField(c.name) || !textField(c.reason) || !['supported', 'unsupported', 'not-assessed'].includes(String(c.status)))
285
+ return bad();
286
+ }
287
+ for (const resource of r.resources)
288
+ if (!record(resource) || !digest(resource.id) || !digest(resource.digest) || !integer(resource.bytes))
289
+ return bad();
290
+ for (const context of r.contexts)
291
+ if (!record(context) || !digest(context.id) || !digest(context.resource) || !digest(context.digest) || !digest(context.namespace) || !digest(context.base) || !['root', 'inline', 'include', 'import'].includes(String(context.kind)))
292
+ return bad();
293
+ for (const edge of r.edges)
294
+ if (!record(edge) || !textField(edge.kind) || !digest(edge.from) || !(edge.to === undefined || digest(edge.to)) || typeof edge.cycle !== 'boolean')
295
+ return bad();
296
+ for (const component of r.components)
297
+ if (!record(component) || !digest(component.id) || !digest(component.digest) || !digest(component.resource) || !textField(component.path) || !Array.isArray(component.contexts) || component.contexts.some(c => !digest(c)))
298
+ return bad();
299
+ return deepFreeze(r);
300
+ }
@@ -0,0 +1,35 @@
1
+ /** Shared source-owned native direct qualification. Diagnostic JSON is never input authority. */
2
+ import type { SchemaInput } from '../loader/schemaInput.js';
3
+ import type { SourceSchemaPreparation } from './schemaDocumentSyntax.js';
4
+ import type { ComponentConstructionResult } from './schemaConstructionAssessment.js';
5
+ import { verifyDirectActualSchema } from './finiteRe01Verification.js';
6
+ import type { SemanticRequest } from './semanticContext.js';
7
+ import type { SemanticBudget, ResourceLimitFailure } from './semanticBudget.js';
8
+ type Closure = Exclude<ReturnType<typeof verifyDirectActualSchema>, ResourceLimitFailure>;
9
+ export type DirectSourceQualification = Exclude<SourceSchemaPreparation, {
10
+ kind: 'prepared';
11
+ }> | Readonly<{
12
+ kind: 'qualified-source';
13
+ request: SemanticRequest;
14
+ closure: Closure;
15
+ correspondence: boolean;
16
+ localEstablished: boolean;
17
+ localDisproved: boolean;
18
+ eligible: boolean;
19
+ }>;
20
+ /**
21
+ * Consume one authentic loaded snapshot and the caller's existing sticky budget.
22
+ * All actual components are checked, including those unreachable from any WSDL
23
+ * operation. Report callbacks observe the same native results without replaying
24
+ * diagnostic data or substituting a second graph. Cancellation remains cooperative.
25
+ */
26
+ export declare function qualifyDirectSource(input: SchemaInput, options: Readonly<{
27
+ budget: SemanticBudget;
28
+ maxNodes: number;
29
+ check?: () => void;
30
+ onPrepared?: (request: SemanticRequest) => void;
31
+ onLocal?: (id: string, result: Exclude<ComponentConstructionResult, ResourceLimitFailure>) => void;
32
+ onClosure?: (closure: Closure) => void;
33
+ }>): DirectSourceQualification;
34
+ export {};
35
+ //# sourceMappingURL=checkedSourcePreparation.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"checkedSourcePreparation.d.ts","sourceRoot":"","sources":["../../src/compiler/checkedSourcePreparation.ts"],"names":[],"mappings":"AAAA,iGAAiG;AACjG,OAAO,KAAK,EAAC,WAAW,EAAC,MAAM,0BAA0B,CAAC;AAI1D,OAAO,KAAK,EAAC,uBAAuB,EAAC,MAAM,2BAA2B,CAAC;AAEvE,OAAO,KAAK,EAAC,2BAA2B,EAAC,MAAM,mCAAmC,CAAC;AACnF,OAAO,EAAC,wBAAwB,EAAC,MAAM,6BAA6B,CAAC;AACrE,OAAO,KAAK,EAAC,eAAe,EAAC,MAAM,sBAAsB,CAAC;AAC1D,OAAO,KAAK,EAAC,cAAc,EAAE,oBAAoB,EAAC,MAAM,qBAAqB,CAAC;AAE9E,KAAK,OAAO,GAAG,OAAO,CAAC,UAAU,CAAC,OAAO,wBAAwB,CAAC,EAAE,oBAAoB,CAAC,CAAC;AAC1F,MAAM,MAAM,yBAAyB,GAAG,OAAO,CAAC,uBAAuB,EAAE;IAAC,IAAI,EAAE,UAAU,CAAA;CAAC,CAAC,GAAG,QAAQ,CAAC;IACtG,IAAI,EAAE,kBAAkB,CAAC;IACzB,OAAO,EAAE,eAAe,CAAC;IACzB,OAAO,EAAE,OAAO,CAAC;IACjB,cAAc,EAAE,OAAO,CAAC;IACxB,gBAAgB,EAAE,OAAO,CAAC;IAC1B,cAAc,EAAE,OAAO,CAAC;IACxB,QAAQ,EAAE,OAAO,CAAC;CACnB,CAAC,CAAC;AAEH;;;;;GAKG;AACH,wBAAgB,mBAAmB,CAAC,KAAK,EAAE,WAAW,EAAE,OAAO,EAAE,QAAQ,CAAC;IACxE,MAAM,EAAE,cAAc,CAAC;IACvB,QAAQ,EAAE,MAAM,CAAC;IACjB,KAAK,CAAC,EAAE,MAAM,IAAI,CAAC;IACnB,UAAU,CAAC,EAAE,CAAC,OAAO,EAAE,eAAe,KAAK,IAAI,CAAC;IAChD,OAAO,CAAC,EAAE,CAAC,EAAE,EAAE,MAAM,EAAE,MAAM,EAAE,OAAO,CAAC,2BAA2B,EAAE,oBAAoB,CAAC,KAAK,IAAI,CAAC;IACnG,SAAS,CAAC,EAAE,CAAC,OAAO,EAAE,OAAO,KAAK,IAAI,CAAC;CACxC,CAAC,GAAG,yBAAyB,CA2B7B"}
@@ -0,0 +1,131 @@
1
+ import { syntaxAttribute, syntaxElements, XSD_NAMESPACE } from '../loader/orderedSyntax.js';
2
+ import { prepareSourceSchemaRequest } from './schemaDocumentSyntax.js';
3
+ import { checkComponentConstruction } from './schemaConstructionAssessment.js';
4
+ import { verifyDirectActualSchema } from './finiteRe01Verification.js';
5
+ /**
6
+ * Consume one authentic loaded snapshot and the caller's existing sticky budget.
7
+ * All actual components are checked, including those unreachable from any WSDL
8
+ * operation. Report callbacks observe the same native results without replaying
9
+ * diagnostic data or substituting a second graph. Cancellation remains cooperative.
10
+ */
11
+ export function qualifyDirectSource(input, options) {
12
+ const { budget } = options;
13
+ return budget.guard(() => {
14
+ const prepared = prepareSourceSchemaRequest(input, { budget, accountPreparation: true, sourceLimits: { maxNodes: options.maxNodes } });
15
+ if (prepared.kind !== 'prepared')
16
+ return prepared;
17
+ const { request } = prepared;
18
+ options.onPrepared?.(request);
19
+ let localEstablished = true, localDisproved = false;
20
+ for (const id of request.actual.members) {
21
+ options.check?.();
22
+ const found = request.actual.lookup(id);
23
+ if (found.kind !== 'found' || found.node.kind === 'wsdl')
24
+ continue;
25
+ const checked = checkComponentConstruction(request.actual, id);
26
+ if (checked.kind === 'resource-limit')
27
+ return checked;
28
+ if (checked.kind !== 'checked' || checked.re01 && !checked.re01.primitive)
29
+ localEstablished = false;
30
+ if (checked.kind === 'invalid-schema')
31
+ localDisproved = true;
32
+ options.onLocal?.(id, checked);
33
+ }
34
+ options.check?.();
35
+ const closure = verifyDirectActualSchema(request.actual);
36
+ if (closure.kind === 'resource-limit')
37
+ return closure;
38
+ options.onClosure?.(closure);
39
+ const correspondence = datedDirect(input, amount => budget.chargeWork(amount));
40
+ budget.chargeWork(64);
41
+ return Object.freeze({ kind: 'qualified-source', request, closure, correspondence, localEstablished, localDisproved,
42
+ eligible: localEstablished && closure.kind === 'checked-direct' && correspondence });
43
+ });
44
+ }
45
+ /** A sufficient correspondence route, deliberately smaller than the eventual approved profile. */
46
+ function datedDirect(input, charge) {
47
+ const builtins = new Set(['xs:string', 'xs:boolean', 'xs:int']);
48
+ const complexTypes = new Map();
49
+ for (const schema of input.schemas) {
50
+ charge(128 + schema.targetNamespace.length * 4);
51
+ const names = complexTypes.get(schema.targetNamespace) ?? new Set();
52
+ for (const node of syntaxElements(schema.syntax)) {
53
+ charge(128 + node.attributes.length * 32);
54
+ if (node.name.namespace === XSD_NAMESPACE && node.name.local === 'complexType') {
55
+ const name = syntaxAttribute(node, 'name');
56
+ if (name) {
57
+ charge(name.length * 4);
58
+ names.add(name);
59
+ }
60
+ }
61
+ }
62
+ complexTypes.set(schema.targetNamespace, names);
63
+ }
64
+ const allowed = (node, names) => {
65
+ for (const attr of node.attributes) {
66
+ charge(8 + attr.value.length + attr.name.local.length);
67
+ if (attr.name.namespace !== '' || !names.includes(attr.name.local))
68
+ return false;
69
+ }
70
+ return true;
71
+ };
72
+ const scalar = (node) => {
73
+ const type = syntaxAttribute(node, 'type');
74
+ if (!type)
75
+ return false;
76
+ const split = type.split(':');
77
+ charge(16 + type.length);
78
+ return split.length === 2 && node.namespaces[split[0]] === XSD_NAMESPACE && builtins.has(`xs:${split[1]}`);
79
+ };
80
+ for (const schema of input.schemas) {
81
+ charge(128);
82
+ if (!['root', 'inline'].includes(schema.context.kind))
83
+ return false;
84
+ if (!allowed(schema.syntax, ['targetNamespace', 'elementFormDefault', 'attributeFormDefault']))
85
+ return false;
86
+ for (const declaration of syntaxElements(schema.syntax)) {
87
+ charge(64);
88
+ if (declaration.name.namespace !== XSD_NAMESPACE)
89
+ return false;
90
+ if (declaration.name.local === 'element') {
91
+ if (!allowed(declaration, ['name', 'type']) || syntaxElements(declaration).length)
92
+ return false;
93
+ if (!scalar(declaration)) {
94
+ const type = syntaxAttribute(declaration, 'type');
95
+ if (!type)
96
+ return false;
97
+ const [prefix, local] = type.includes(':') ? type.split(':') : ['', type];
98
+ const ns = declaration.namespaces[prefix] ?? '';
99
+ if (ns !== schema.targetNamespace || !complexTypes.get(ns)?.has(local))
100
+ return false;
101
+ }
102
+ }
103
+ else if (declaration.name.local === 'complexType') {
104
+ if (!allowed(declaration, ['name']))
105
+ return false;
106
+ const content = syntaxElements(declaration);
107
+ if (content.length !== 1)
108
+ return false;
109
+ const sequence = content[0];
110
+ if (sequence.name.namespace !== XSD_NAMESPACE || sequence.name.local !== 'sequence' || !allowed(sequence, []))
111
+ return false;
112
+ const names = new Set();
113
+ for (const element of syntaxElements(sequence)) {
114
+ charge(128);
115
+ if (element.name.namespace !== XSD_NAMESPACE || element.name.local !== 'element' || !allowed(element, ['name', 'type', 'minOccurs', 'maxOccurs', 'form']) || !scalar(element) || syntaxElements(element).length)
116
+ return false;
117
+ if (!['0', '1'].includes(syntaxAttribute(element, 'minOccurs') ?? '1') || !['1', 'unbounded'].includes(syntaxAttribute(element, 'maxOccurs') ?? '1'))
118
+ return false;
119
+ const name = syntaxAttribute(element, 'name');
120
+ // Distinct lexical local names are stronger than distinct expanded names.
121
+ if (!name || names.has(name))
122
+ return false;
123
+ names.add(name);
124
+ }
125
+ }
126
+ else
127
+ return false;
128
+ }
129
+ }
130
+ return input.schemas.length > 0;
131
+ }
@@ -0,0 +1,59 @@
1
+ import type { CanonicalGraph, GraphNode, NodeId, ParticleNode } from './canonicalGraph.js';
2
+ import type { SemanticContext } from './semanticContext.js';
3
+ import type { OriginalComplexParticleHandle, OriginalUrWildcardHandle, RawComplexContent } from './re01TypeProperties.js';
4
+ import type { RelationFailure } from './schemaTypeRelations.js';
5
+ import type { ResourceLimitFailure } from './semanticBudget.js';
6
+ export type ParticleContentView = Readonly<{
7
+ contextId: string;
8
+ type: NodeId;
9
+ scope: 'actual-source-mapping' | 'candidate-raw-properties' | 'original-property-projection' | 'builtin-type' | 'model-group';
10
+ /** Actual simple content can reference a diagnostic projection node, not an active scalar component.
11
+ * Semantic scalar properties and the GSC1 identity come from the scalar owner's
12
+ * contentProperties({kind: 'local', target: type}, type), including its obligations.
13
+ * Candidate simple content instead carries its supplied raw scalar reference.
14
+ */
15
+ content: RawComplexContent;
16
+ /** Optional diagnostic materialization, charged on first access; semantic consumers use particleContentNode. */
17
+ graph: CanonicalGraph;
18
+ synthetic: readonly NodeId[];
19
+ urTypeWildcards: readonly NodeId[];
20
+ }>;
21
+ export type ContentViewResult = Readonly<{
22
+ kind: 'checked';
23
+ view: ParticleContentView;
24
+ }> | RelationFailure | ResourceLimitFailure;
25
+ export declare function assertParticleContentView(context: SemanticContext, view: ParticleContentView): void;
26
+ /** Constant-time authenticated semantic lookup, without a whole-graph projection. */
27
+ export declare function particleContentNode(context: SemanticContext, view: ParticleContentView, id: NodeId): GraphNode | undefined;
28
+ /** Source mapping is meaningful only in the actual source context. */
29
+ export declare function deriveActualComplexContent(context: SemanticContext, type: NodeId): ContentViewResult;
30
+ export type OriginalParticleResult = Readonly<{
31
+ kind: 'checked';
32
+ content: Extract<RawComplexContent, {
33
+ particle: NodeId;
34
+ }>;
35
+ }> | RelationFailure | ResourceLimitFailure;
36
+ /** Select the same source component, conditional on the separate actual-source
37
+ * qualification. Neither the source owner's nor its current-H validity is imported. */
38
+ export declare function deriveOriginalComplexParticle(context: SemanticContext, type: NodeId): OriginalParticleResult;
39
+ /** Private issuer authentication used before the context factory snapshots raw data. */
40
+ export declare function originalComplexParticleSource(context: SemanticContext, handle: OriginalComplexParticleHandle): ParticleContentView;
41
+ export type OriginalUrWildcardResult = Readonly<{
42
+ kind: 'checked';
43
+ handle: OriginalUrWildcardHandle;
44
+ }> | RelationFailure | ResourceLimitFailure;
45
+ /** Select one unchanged native leaf from an authenticated actual SOURCE whole. */
46
+ export declare function deriveOriginalUrWildcard(context: SemanticContext, original: OriginalComplexParticleHandle, particle: NodeId): OriginalUrWildcardResult;
47
+ /** Private authentication used by preparation and same-H content owners. */
48
+ export declare function originalUrWildcardSource(context: SemanticContext, handle: OriginalUrWildcardHandle): ParticleNode;
49
+ /** Raw candidate properties are read directly; their component validity remains a separate prerequisite. */
50
+ export declare function deriveRawComplexContent(context: SemanticContext, type: NodeId): ContentViewResult;
51
+ /** Retained source properties interpreted in H; never full hypothetical type validity. */
52
+ export declare function deriveOriginalComplexPropertyContent(context: SemanticContext, type: NodeId): ContentViewResult;
53
+ /** Same-H private subtree input for local predicates, never a component-validity receipt. */
54
+ export declare function deriveOriginalContentSubtree(context: SemanticContext, source: ParticleContentView, particle: NodeId): ContentViewResult;
55
+ /** The primary ur-type component, never inferred from an ordinary wildcard's spelling. */
56
+ export declare function deriveBuiltinAnyTypeContent(context: SemanticContext, anchor: NodeId): ContentViewResult;
57
+ /** Local model-group constraints also apply to definitions unused by any type. */
58
+ export declare function deriveModelGroupContent(context: SemanticContext, component: NodeId): ContentViewResult;
59
+ //# sourceMappingURL=complexTypeContent.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"complexTypeContent.d.ts","sourceRoot":"","sources":["../../src/compiler/complexTypeContent.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAC,cAAc,EAAmB,SAAS,EAAE,MAAM,EAAU,YAAY,EAAY,MAAM,qBAAqB,CAAC;AAE7H,OAAO,KAAK,EAAC,eAAe,EAAC,MAAM,sBAAsB,CAAC;AAC1D,OAAO,KAAK,EAAC,6BAA6B,EAAE,wBAAwB,EAAE,iBAAiB,EAAC,MAAM,yBAAyB,CAAC;AACxH,OAAO,KAAK,EAAC,eAAe,EAAC,MAAM,0BAA0B,CAAC;AAC9D,OAAO,KAAK,EAAC,oBAAoB,EAAC,MAAM,qBAAqB,CAAC;AAE9D,MAAM,MAAM,mBAAmB,GAAG,QAAQ,CAAC;IACzC,SAAS,EAAE,MAAM,CAAC;IAClB,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,uBAAuB,GAAG,0BAA0B,GAAG,8BAA8B,GAAG,cAAc,GAAG,aAAa,CAAC;IAC9H;;;;OAIG;IACH,OAAO,EAAE,iBAAiB,CAAC;IAC3B,gHAAgH;IAChH,KAAK,EAAE,cAAc,CAAC;IACtB,SAAS,EAAE,SAAS,MAAM,EAAE,CAAC;IAC7B,eAAe,EAAE,SAAS,MAAM,EAAE,CAAC;CACpC,CAAC,CAAC;AACH,MAAM,MAAM,iBAAiB,GAAG,QAAQ,CAAC;IAAC,IAAI,EAAE,SAAS,CAAC;IAAC,IAAI,EAAE,mBAAmB,CAAA;CAAC,CAAC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