What problem does it solve?
Manually authoring 1C XDTO packages requires deep knowledge of the platform's internal XML model (Package.bin), attribute ordering, and namespace prefix schemes. This Skill converts a standard XML Schema (XSD) into a ready-to-register XDTO package, handling the translation of XSD constructs into the XDTO model and warning about constructs that cannot be mapped exactly.
Core Features & Use Cases
- XSD to XDTO conversion: Generates
XDTOPackages/<Name>.xml, Ext/Package.bin, and registers the package in Configuration.xml from a schema file or inline schema string.
- Loss-mapping warnings: Reports XSD constructs without exact XDTO equivalents (nested xs:choice/xs:sequence flattening, particle multiplicity, xs:all, substitutionGroup) so simplifications are never silent.
- Metadata and annotation support: Reads package name, synonym, and comment from
xs:appinfo blocks and supports xdto: namespace annotations for XDTO-only features like nillable attributes.
- Use Case: You receive a bank's XSD for client-bank exchange. Run the skill with the XSD path and your configuration source directory, review the warnings, then validate with /xdto-validate and load with /db-load-xml.
Quick Start
Ask the AI to create an XDTO package from your XSD file, for example: "Create an XDTO package from bank.xsd in my configuration sources at src, named ОбменСБанком."