Rev 1310 | Rev 1503 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
187 | jmachado | 1 | <?xml version="1.0" encoding="UTF-8"?> |
2 | <!-- edited with XMLSpy v2006 sp2 U (http://www.altova.com) by Jorge Machado (BN) --> |
||
210 | jmachado | 3 | <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.estgp.pt/xsd/planoestudos/1.0/" targetNamespace="http://www.estgp.pt/xsd/planoestudos/1.0/" elementFormDefault="qualified" attributeFormDefault="unqualified"> |
4 | <xsd:element name="curso"> |
||
5 | <xsd:annotation> |
||
6 | <xsd:documentation/> |
||
7 | </xsd:annotation> |
||
8 | <xsd:complexType> |
||
9 | <xsd:sequence> |
||
1480 | jmachado | 10 | <xsd:element name="siges" type="xsd:string"/> |
210 | jmachado | 11 | <xsd:element name="nome" type="xsd:string"/> |
1480 | jmachado | 12 | <xsd:element name="dep" type="xsd:string"/> |
210 | jmachado | 13 | <xsd:element name="semestre" maxOccurs="unbounded"> |
14 | <xsd:complexType> |
||
15 | <xsd:choice> |
||
241 | jmachado | 16 | <xsd:element name="unidade" type="unidadeType" maxOccurs="unbounded"/> |
17 | <xsd:element name="perfil" maxOccurs="unbounded"> |
||
210 | jmachado | 18 | <xsd:complexType> |
19 | <xsd:sequence> |
||
20 | <xsd:element name="unidade" type="unidadeType" maxOccurs="unbounded"/> |
||
21 | </xsd:sequence> |
||
241 | jmachado | 22 | <xsd:attribute name="nome" type="xsd:string" use="required"/> |
23 | </xsd:complexType> |
||
24 | </xsd:element> |
||
210 | jmachado | 25 | </xsd:choice> |
26 | <xsd:attribute name="id" use="required"> |
||
27 | <xsd:simpleType> |
||
28 | <xsd:restriction base="xsd:string"> |
||
29 | <xsd:enumeration value="S1"/> |
||
30 | <xsd:enumeration value="S2"/> |
||
31 | <xsd:enumeration value="S3"/> |
||
32 | <xsd:enumeration value="S4"/> |
||
33 | <xsd:enumeration value="S5"/> |
||
34 | <xsd:enumeration value="S6"/> |
||
35 | <xsd:enumeration value="S7"/> |
||
36 | <xsd:enumeration value="S8"/> |
||
37 | <xsd:enumeration value="S9"/> |
||
38 | <xsd:enumeration value="S10"/> |
||
39 | <xsd:enumeration value="S11"/> |
||
40 | <xsd:enumeration value="S12"/> |
||
504 | jmachado | 41 | <xsd:enumeration value="A1"/> |
42 | <xsd:enumeration value="A2"/> |
||
43 | <xsd:enumeration value="A3"/> |
||
44 | <xsd:enumeration value="A4"/> |
||
45 | <xsd:enumeration value="A5"/> |
||
210 | jmachado | 46 | </xsd:restriction> |
47 | </xsd:simpleType> |
||
48 | </xsd:attribute> |
||
49 | </xsd:complexType> |
||
50 | </xsd:element> |
||
51 | </xsd:sequence> |
||
52 | </xsd:complexType> |
||
53 | </xsd:element> |
||
54 | <xsd:complexType name="unidadeType"> |
||
55 | <xsd:sequence> |
||
1480 | jmachado | 56 | <xsd:element name="siges" type="xsd:string"/> |
210 | jmachado | 57 | <xsd:element name="nome" type="xsd:string"/> |
504 | jmachado | 58 | <xsd:element name="dep" type="xsd:string"/> |
210 | jmachado | 59 | <xsd:element name="totalHoras" type="xsd:int"/> |
60 | <xsd:element name="horasContacto"> |
||
61 | <xsd:complexType> |
||
62 | <xsd:sequence> |
||
241 | jmachado | 63 | <xsd:choice maxOccurs="unbounded"> |
64 | <xsd:element name="T" type="xsd:int" minOccurs="0"/> |
||
65 | <xsd:element name="TP" type="xsd:int" minOccurs="0"/> |
||
66 | <xsd:element name="P" type="xsd:int" minOccurs="0"/> |
||
67 | <xsd:element name="PL" type="xsd:int" minOccurs="0"/> |
||
68 | <xsd:element name="PD" type="xsd:int" minOccurs="0"/> |
||
69 | <xsd:element name="OT" type="xsd:int" minOccurs="0"/> |
||
70 | <xsd:element name="E" type="xsd:int" minOccurs="0"/> |
||
71 | <xsd:element name="S" type="xsd:int" minOccurs="0"/> |
||
72 | <xsd:element name="TC" type="xsd:int" minOccurs="0"/> |
||
504 | jmachado | 73 | <xsd:element name="O" type="xsd:int" minOccurs="0"/> |
241 | jmachado | 74 | </xsd:choice> |
210 | jmachado | 75 | </xsd:sequence> |
76 | </xsd:complexType> |
||
77 | </xsd:element> |
||
78 | <xsd:element name="ECTS" type="xsd:float"/> |
||
241 | jmachado | 79 | <xsd:element name="obs" type="xsd:string"/> |
210 | jmachado | 80 | </xsd:sequence> |
81 | </xsd:complexType> |
||
187 | jmachado | 82 | </xsd:schema> |