What problem does it solve?
1C XDTO packages are stored in a binary-like Package.bin format that is hard to read, edit, or share. This Skill converts an existing XDTO package into a standard, valid XML Schema (XSD) so you can review the full structure, hand it to a counterparty, or migrate the package to another configuration.
Core Features & Use Cases
- XDTO to XSD conversion: Reads Ext/Package.bin (accepting a package directory, the Package.bin file, or the metadata .xml path) and emits a valid XML Schema preserving facets, unions, lists, and complex types.
- Lossless round-trip: Metadata properties (name, synonym, comment) are exported into xs:annotation/xs:appinfo, and XSD-inexpressible details are kept as xdto: mirror attributes, so /xdto-compile -Force can rebuild the package without losses.
- Use Case: You need to send the exchange schema of the 'ОбменСБанком' package to a bank's integration team. Run the decompile script with -OutFile bank.xsd and share the resulting valid XSD, which unlike the Designer's built-in export preserves nillable on attribute properties.
Quick Start
Ask the AI to decompile the XDTO package at src/XDTOPackages/ОбменСБанком into an XSD schema file.