]> git.llucax.com Git - z.facultad/75.10/miklolife.git/blob - demo/src/Recursos/infoPrestaciones_schema.xsd
mejores busquedas
[z.facultad/75.10/miklolife.git] / demo / src / Recursos / infoPrestaciones_schema.xsd
1 <?xml version="1.0" encoding="UTF-8"?>\r
2 <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">\r
3 \r
4         <xs:element name="infoPrestaciones" type="InfoPrestacionesType"/>\r
5 \r
6         <xs:complexType name="InfoPrestacionesType">\r
7                 <xs:sequence>\r
8                         <xs:element name="prestador" type="PrestadorType"/>\r
9                         <xs:element name="lineas" type="LineasType"/>\r
10                 </xs:sequence>\r
11                 <xs:attribute name="fechaEnvio" type="xs:date"/>\r
12         </xs:complexType>\r
13 \r
14         <xs:complexType name="PrestadorType">\r
15                 <xs:sequence>\r
16                         <xs:element name="CUIT" type="CUITType"/>\r
17                 </xs:sequence>\r
18         </xs:complexType>\r
19 \r
20         <xs:complexType name="LineasType">\r
21                 <xs:sequence>\r
22                         <xs:element name="linea" type="LineaType" minOccurs="0" maxOccurs="unbounded"/>\r
23                 </xs:sequence>\r
24         </xs:complexType>\r
25 \r
26         <xs:complexType name="LineaType">\r
27                 <xs:sequence>\r
28                         <xs:element name="tipoAutorizacion" type="TipoAutorizacionType"/>\r
29                         <xs:element name="codigoAfiliado" type="xs:positiveInteger"/>\r
30                         <xs:element name="codigoPrestacion" type="CodigoPrestacionType"/>\r
31                         <xs:element name="fechaRealizacion" type="xs:date"/>\r
32                         <xs:element name="porcentajeCobertura" type="PorcentajeCoberturaType"/>\r
33                 </xs:sequence>\r
34                 <xs:attribute name="codigoAutorizacion" type="xs:positiveInteger"/>\r
35         </xs:complexType>\r
36 \r
37         <xs:simpleType name="CUITType">\r
38                 <xs:restriction base="xs:string">\r
39                         <xs:pattern value="\d{2}-\d{8}-\d{1}"/>\r
40                 </xs:restriction>\r
41         </xs:simpleType>\r
42 \r
43         <xs:simpleType name="TipoAutorizacionType">\r
44                 <xs:restriction base="xs:normalizedString">\r
45                         <xs:enumeration value="Manual"/>\r
46                         <xs:enumeration value="Automatica"/>\r
47                 </xs:restriction>\r
48         </xs:simpleType>\r
49         \r
50         <xs:simpleType name="CodigoPrestacionType">\r
51                 <xs:restriction base="xs:normalizedString">\r
52                         <xs:minLength value="1"/>\r
53                         <xs:maxLength value="8"/>\r
54                 </xs:restriction>\r
55         </xs:simpleType>\r
56 \r
57         <xs:simpleType name="PorcentajeCoberturaType">\r
58                 <xs:restriction base="xs:decimal">\r
59                         <xs:minInclusive value="0"/>\r
60                         <xs:maxInclusive value="100"/>\r
61                 </xs:restriction>\r
62         </xs:simpleType>\r
63 \r
64 </xs:schema>\r