@blockml/xsd-target 0.7.1 → 0.8.1

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.
@@ -33,14 +33,14 @@
33
33
  exclusively by this blocks list.
34
34
  </documentation>
35
35
 
36
- <version>0.7.1</version>
36
+ <version>0.8.1</version>
37
37
 
38
38
  <language>
39
39
  <English />
40
40
  </language>
41
41
 
42
42
  <properties>
43
- <description>
43
+ <description override="true">
44
44
  <value>XSD render target library</value>
45
45
  </description>
46
46
  </properties>
@@ -38,8 +38,8 @@
38
38
  Accepts library|corpus|auto (XSD2). Always emits bml.xsd (XSD1/XSD3). Domain schemas
39
39
  gated by emitDomainSchemas (XSD15). Catalog always in rootFiles (XSD14).</documentation>
40
40
  <references>
41
- <see type="xsddocumentation:V1Scope" relation="ReadNext"></see>
42
- <see type="xsdcap:Render" relation="SeeAlso"></see>
41
+ <see type="xsddocumentation:V1Scope" relation="ReadNext" />
42
+ <see type="xsdcap:Render" relation="SeeAlso" />
43
43
  </references>
44
44
 
45
45
  </block>
@@ -37,9 +37,9 @@
37
37
 
38
38
  IDE catalog usage is host/docs 15; generation rules live here.</documentation>
39
39
  <references>
40
- <see type="xsddocumentation:Diagnostics" relation="ReadNext"></see>
41
- <see type="xsdcap:EmitCatalogXml" relation="SeeAlso"></see>
42
- <see type="cli:Library" relation="SeeAlso"></see>
40
+ <see type="xsddocumentation:Diagnostics" relation="ReadNext" />
41
+ <see type="xsdcap:EmitCatalogXml" relation="SeeAlso" />
42
+ <see type="cli:Library" relation="SeeAlso" />
43
43
  </references>
44
44
 
45
45
  </block>
@@ -27,23 +27,27 @@
27
27
  <baseType>core:Documentation</baseType>
28
28
  <is>Normative XSD decisions XSD1–XSD18</is>
29
29
 
30
- <documentation>XSD1 Always emit bml.xsd.
31
- XSD2 accepts library|corpus|auto; registry name xsd.
32
- XSD3 Render uses session typeRegistry and outputBasePath.
33
- XSD4–XSD7 bml.xsd shell: NS, block root, mixed, choice elements, no xs:any, lax anyAttribute.
34
- XSD8 Hardcoded D1 identity + container name lists (including isNot and isnot).
35
- XSD9 META_DEFINITION_FQNS walk for extras.
36
- XSD10 MemberPrefersElement weak filter.
37
- XSD11 Extras unique sorted minus D1 lists.
38
- XSD12 types.xsd string vocabulary.
39
- XSD13 service.xsd string vocabulary.
40
- XSD14 Always catalog.xml in rootFiles; relative ./outDir/file paths.
41
- XSD15 emitDomainSchemas default true.
42
- XSD16 includeNonExported reserved unused in V1.
43
- XSD17 No package-local emit diagnostics.
44
- XSD18 Generated XSD is non-authoritative; authoring validity is parse+validate, not this target.</documentation>
30
+ <documentation>
31
+ # Normative XSD decisions XSD1–XSD18
32
+
33
+ - XSD1 Always emit bml.xsd.
34
+ - XSD2 accepts library|corpus|auto; registry name xsd.
35
+ - XSD3 Render uses session typeRegistry and outputBasePath.
36
+ - XSD4–XSD7 bml.xsd shell: NS, block root, mixed, choice elements, no xs:any, lax anyAttribute.
37
+ - XSD8 Hardcoded D1 identity + container name lists (including isNot and isnot).
38
+ - XSD9 META_DEFINITION_FQNS walk for extras.
39
+ - XSD10 MemberPrefersElement weak filter.
40
+ - XSD11 Extras unique sorted minus D1 lists.
41
+ - XSD12 types.xsd string vocabulary.
42
+ - XSD13 service.xsd string vocabulary.
43
+ - XSD14 Always catalog.xml in rootFiles; relative ./outDir/file paths.
44
+ - XSD15 emitDomainSchemas default true.
45
+ - XSD16 includeNonExported reserved unused in V1.
46
+ - XSD17 No package-local emit diagnostics.
47
+ - XSD18 Generated XSD is non-authoritative; authoring validity is parse+validate, not this target.
48
+ </documentation>
45
49
  <references>
46
- <see type="xsddocumentation:PackageOwnership" relation="ReadNext"></see>
50
+ <see type="xsddocumentation:PackageOwnership" relation="ReadNext" />
47
51
  </references>
48
52
 
49
53
  </block>
@@ -27,12 +27,18 @@
27
27
  <baseType>core:Documentation</baseType>
28
28
  <is>Emit path has no package-local diagnostics</is>
29
29
 
30
- <documentation>V1 XSD target emits without package diagnostics codes. Failures surface as host/CLI
30
+ <documentation>
31
+ # Emit path has no package-local diagnostics
32
+
33
+ V1 XSD target emits without package diagnostics codes. Failures surface as host/CLI
31
34
  or empty/malformed output only if upstream session is broken.
35
+
32
36
  Generated schema is non-authoritative; CLI validate does not invoke this target.
33
- Scope mismatch for accepts is compiler/CLI (BML_TARGET_SCOPE_MISMATCH).</documentation>
37
+
38
+ Scope mismatch for accepts is compiler/CLI (BML_TARGET_SCOPE_MISMATCH).
39
+ </documentation>
34
40
  <references>
35
- <see type="xsddocumentation:DesignDecisions" relation="ReadNext"></see>
41
+ <see type="xsddocumentation:DesignDecisions" relation="ReadNext" />
36
42
  </references>
37
43
 
38
44
  </block>
@@ -27,15 +27,22 @@
27
27
  <baseType>core:Documentation</baseType>
28
28
  <is>types.xsd and service.xsd vocabularies (XSD12–XSD13)</is>
29
29
 
30
- <documentation>XSD12: EmitTypesXsd — VocabularyElements under TYPE_FQN_PREFIX as xs:element type=xs:string
30
+ <documentation>
31
+ # types.xsd and service.xsd vocabularies (XSD12–XSD13)
32
+
33
+ XSD12: EmitTypesXsd — VocabularyElements under TYPE_FQN_PREFIX as xs:element type=xs:string
31
34
  in BML_TYPES_NS (http://blockml.org/schema/types).
35
+
32
36
  XSD13: EmitServiceXsd — same for SERVICE_FQN_PREFIX under BML_SERVICE_NS.
37
+
33
38
  Short name = last FQN segment after dot; sorted.
34
- Gated by emitDomainSchemas (XSD15). Not MachineBlocks domain schemas.</documentation>
39
+
40
+ Gated by emitDomainSchemas (XSD15). Not MachineBlocks domain schemas.
41
+ </documentation>
35
42
  <references>
36
- <see type="xsddocumentation:CatalogAndOutputLayout" relation="ReadNext"></see>
37
- <see type="xsdcap:EmitTypesXsd" relation="SeeAlso"></see>
38
- <see type="xsdcap:EmitServiceXsd" relation="SeeAlso"></see>
43
+ <see type="xsddocumentation:CatalogAndOutputLayout" relation="ReadNext" />
44
+ <see type="xsdcap:EmitTypesXsd" relation="SeeAlso" />
45
+ <see type="xsdcap:EmitServiceXsd" relation="SeeAlso" />
39
46
  </references>
40
47
 
41
48
  </block>
@@ -44,8 +44,8 @@
44
44
  EmitCatalogXml → files under outDir plus rootFiles catalog.xml.
45
45
  Host CLI wiring (default outDir schemas/, write) lives in org.blockml.bml.cli.*</documentation>
46
46
  <references>
47
- <see type="xsddocumentation:LayerSeparation" relation="ReadNext"></see>
48
- <see type="xsdcap:Render" relation="SeeAlso"></see>
47
+ <see type="xsddocumentation:LayerSeparation" relation="ReadNext" />
48
+ <see type="xsdcap:Render" relation="SeeAlso" />
49
49
  </references>
50
50
 
51
51
  </block>
@@ -35,8 +35,8 @@
35
35
 
36
36
  Do not double-maintain CLI flags or D1 grammar here; link via SeeAlso.</documentation>
37
37
  <references>
38
- <see type="xsddocumentation:ArchitectureOverview" relation="ReadNext"></see>
39
- <see type="cli:Library" relation="SeeAlso"></see>
38
+ <see type="xsddocumentation:ArchitectureOverview" relation="ReadNext" />
39
+ <see type="cli:Library" relation="SeeAlso" />
40
40
  </references>
41
41
 
42
42
  </block>
@@ -36,8 +36,8 @@
36
36
  MachineBlocks domain XSDs.
37
37
  Phase C IDE catalog narrative pointers in docs 15 stay host docs; generation here.</documentation>
38
38
  <references>
39
- <see type="xsddocumentation:ScopeExclusions" relation="ReadNext"></see>
40
- <see type="cli:Library" relation="SeeAlso"></see>
39
+ <see type="xsddocumentation:ScopeExclusions" relation="ReadNext" />
40
+ <see type="cli:Library" relation="SeeAlso" />
41
41
  </references>
42
42
 
43
43
  </block>
@@ -41,9 +41,9 @@
41
41
 
42
42
  Later: full D1 fidelity (attributes, text, nested models); pure Definition-driven lists.</documentation>
43
43
  <references>
44
- <see type="xsddocumentation:DomainVocabularyRules" relation="ReadNext"></see>
45
- <see type="xsdcap:EmitBlockXsd" relation="SeeAlso"></see>
46
- <see type="def:BlockDefinition" relation="SeeAlso"></see>
44
+ <see type="xsddocumentation:DomainVocabularyRules" relation="ReadNext" />
45
+ <see type="xsdcap:EmitBlockXsd" relation="SeeAlso" />
46
+ <see type="def:BlockDefinition" relation="SeeAlso" />
47
47
  </references>
48
48
 
49
49
  </block>
@@ -36,10 +36,10 @@
36
36
  DefaultXsdOptions; capabilities listed on Library.blocks.
37
37
  Defines relation: this doc ↔ Options and Render.</documentation>
38
38
  <references>
39
- <see type="xsddocumentation:ParticleMappingRules" relation="ReadNext"></see>
40
- <see type="xsdapi:XsdOptions" relation="SeeAlso"></see>
41
- <see type="xsdcap:Render" relation="SeeAlso"></see>
42
- <see type="xsdconfig:DefaultXsdOptions" relation="SeeAlso"></see>
39
+ <see type="xsddocumentation:ParticleMappingRules" relation="ReadNext" />
40
+ <see type="xsdapi:XsdOptions" relation="SeeAlso" />
41
+ <see type="xsdcap:Render" relation="SeeAlso" />
42
+ <see type="xsdconfig:DefaultXsdOptions" relation="SeeAlso" />
43
43
  </references>
44
44
 
45
45
  </block>
@@ -40,7 +40,7 @@
40
40
  V1 does NOT include authoring XSD validation, MachineBlocks domain schemas,
41
41
  or full attribute/text/nested particle models from Definition.</documentation>
42
42
  <references>
43
- <see type="xsddocumentation:PublicApi" relation="ReadNext"></see>
43
+ <see type="xsddocumentation:PublicApi" relation="ReadNext" />
44
44
  </references>
45
45
 
46
46
  </block>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@blockml/xsd-target",
3
- "version": "0.7.1",
3
+ "version": "0.8.1",
4
4
  "description": "BlockML XSD render target — XML Schema generation",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {
@@ -32,10 +32,10 @@
32
32
  "test": "vitest run packages/xsd-target/test"
33
33
  },
34
34
  "dependencies": {
35
- "@blockml/bom": "^0.7.1",
36
- "@blockml/compiler": "^0.7.1",
37
- "@blockml/core": "^1.0.5",
38
- "@blockml/framework": "^0.7.1"
35
+ "@blockml/bom": "^0.8.1",
36
+ "@blockml/compiler": "^0.8.1",
37
+ "@blockml/core": "^1.0.6",
38
+ "@blockml/framework": "^0.8.1"
39
39
  },
40
40
  "engines": {
41
41
  "node": ">=20"