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.
The structure to apply for the exchange of electronic documents is generally a XML file containing the three components of the electronic identified, namely:
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.
Este modelo de XSDs del ENI sigue un diseño modular que favorece su reutilización e interoperabilidad con otros esquemas existentes.
In the implementation, can distinguish two types of modules:
Módulo estructural: que define una estructura destinada a ordenar y contener otros módulos.
Módulo de contenido: que alberga el contenido final del componente descrito.
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: