Technical standards of interoperability of electronic document and electronic File schema defined national Interoperability XML schemes (XSD) as a tool for interoperability in the exchange of electronic documents and files.
La estructura a aplicar para el intercambio de documentos electrónicos será de forma general un fichero XML que incluirá los tres componentes del documento electrónico identificados, esto es:
i. File content: which houses the file containing the data or content of the document. For inclusion in the structure XML, these files are encoded normally in base64.
ii. Block of metadata: in which around the outline XML, integrates the metadata defined as mandatory minimum associated with the previous content file, except ‘ CSV Value, ’ and ‘ Regulation CSV generation ’ which will be integrated into the element of signature.
iii. Signing/s: whether electronic signatures based on certificates and/or CSV file associated with the contents of the document, as well as the metadata of the signature.
Complete design of the ENI schema consists of 8 XSDs implemented to measure and an external XSD linked (xmldsig-core-schema.xsd) of the specification XMLDSig that is used in the signatures of type XAdES.
This model of the ENI XSDs remains a modular design that fosters reuse and interoperability with other existing schemes.
In the implementation, can distinguish two types of modules:
Structural module: which defines a structure to manage and contain other modules.
Content module: which houses the final content of component described.
In this way, the modules can in some cases contain other (structural modules) or be included within other (modules of content and structural).
A complete list of the XSDs designed to meet the needs of the ENI is included in the following table:
Relations between different modules that make up the pattern are displayed in the figure below: