Rev 1505 | Rev 1507 | 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) --> |
||
1503 | jmachado | 3 | <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.estgp.pt/xsd/planoestudos/1.0/" |
4 | xmlns:xsl="http://www.w3.org/2001/XMLSchema" targetNamespace="http://www.estgp.pt/xsd/planoestudos/1.0/" |
||
5 | elementFormDefault="qualified" attributeFormDefault="unqualified"> |
||
210 | jmachado | 6 | <xsd:element name="curso"> |
7 | <xsd:annotation> |
||
8 | <xsd:documentation/> |
||
9 | </xsd:annotation> |
||
10 | <xsd:complexType> |
||
11 | <xsd:sequence> |
||
1480 | jmachado | 12 | <xsd:element name="siges" type="xsd:string"/> |
210 | jmachado | 13 | <xsd:element name="nome" type="xsd:string"/> |
1480 | jmachado | 14 | <xsd:element name="dep" type="xsd:string"/> |
210 | jmachado | 15 | <xsd:element name="semestre" maxOccurs="unbounded"> |
16 | <xsd:complexType> |
||
17 | <xsd:choice> |
||
241 | jmachado | 18 | <xsd:element name="unidade" type="unidadeType" maxOccurs="unbounded"/> |
19 | <xsd:element name="perfil" maxOccurs="unbounded"> |
||
210 | jmachado | 20 | <xsd:complexType> |
21 | <xsd:sequence> |
||
22 | <xsd:element name="unidade" type="unidadeType" maxOccurs="unbounded"/> |
||
23 | </xsd:sequence> |
||
241 | jmachado | 24 | <xsd:attribute name="nome" type="xsd:string" use="required"/> |
25 | </xsd:complexType> |
||
26 | </xsd:element> |
||
210 | jmachado | 27 | </xsd:choice> |
1506 | jmachado | 28 | <xsl:attribute name="semestreDesc" type="xsd:string" use="optional"/> |
210 | jmachado | 29 | <xsd:attribute name="id" use="required"> |
30 | <xsd:simpleType> |
||
31 | <xsd:restriction base="xsd:string"> |
||
32 | <xsd:enumeration value="S1"/> |
||
33 | <xsd:enumeration value="S2"/> |
||
34 | <xsd:enumeration value="S3"/> |
||
35 | <xsd:enumeration value="S4"/> |
||
36 | <xsd:enumeration value="S5"/> |
||
37 | <xsd:enumeration value="S6"/> |
||
38 | <xsd:enumeration value="S7"/> |
||
39 | <xsd:enumeration value="S8"/> |
||
40 | <xsd:enumeration value="S9"/> |
||
41 | <xsd:enumeration value="S10"/> |
||
42 | <xsd:enumeration value="S11"/> |
||
43 | <xsd:enumeration value="S12"/> |
||
504 | jmachado | 44 | <xsd:enumeration value="A1"/> |
45 | <xsd:enumeration value="A2"/> |
||
46 | <xsd:enumeration value="A3"/> |
||
47 | <xsd:enumeration value="A4"/> |
||
48 | <xsd:enumeration value="A5"/> |
||
210 | jmachado | 49 | </xsd:restriction> |
50 | </xsd:simpleType> |
||
51 | </xsd:attribute> |
||
52 | </xsd:complexType> |
||
53 | </xsd:element> |
||
54 | </xsd:sequence> |
||
55 | </xsd:complexType> |
||
56 | </xsd:element> |
||
57 | <xsd:complexType name="unidadeType"> |
||
58 | <xsd:sequence> |
||
1496 | jmachado | 59 | <xsd:element name="urlFichaCurricular" type="xsd:string" minOccurs="0" maxOccurs="1"/> |
1504 | jmachado | 60 | <xsd:element name="urlUnidadeCurricular" type="xsd:string" minOccurs="0" maxOccurs="1"/> |
210 | jmachado | 61 | <xsd:element name="nome" type="xsd:string"/> |
1505 | jmachado | 62 | <xsd:element name="nomeEn" type="xsd:string"/> |
63 | <xsd:element name="nomeEs" type="xsd:string"/> |
||
64 | <xsd:element name="nomeFr" type="xsd:string"/> |
||
504 | jmachado | 65 | <xsd:element name="dep" type="xsd:string"/> |
210 | jmachado | 66 | <xsd:element name="totalHoras" type="xsd:int"/> |
67 | <xsd:element name="horasContacto"> |
||
68 | <xsd:complexType> |
||
69 | <xsd:sequence> |
||
1496 | jmachado | 70 | <xsd:element name="T" type="xsd:int" minOccurs="0"/> |
71 | <xsd:element name="TP" type="xsd:int" minOccurs="0"/> |
||
72 | <xsd:element name="P" type="xsd:int" minOccurs="0"/> |
||
73 | <xsd:element name="PL" type="xsd:int" minOccurs="0"/> |
||
74 | <xsd:element name="PD" type="xsd:int" minOccurs="0"/> |
||
75 | <xsd:element name="OT" type="xsd:int" minOccurs="0"/> |
||
76 | <xsd:element name="E" type="xsd:int" minOccurs="0"/> |
||
77 | <xsd:element name="S" type="xsd:int" minOccurs="0"/> |
||
78 | <xsd:element name="TC" type="xsd:int" minOccurs="0"/> |
||
79 | <xsd:element name="O" type="xsd:int" minOccurs="0"/> |
||
210 | jmachado | 80 | </xsd:sequence> |
81 | </xsd:complexType> |
||
82 | </xsd:element> |
||
1496 | jmachado | 83 | <xsd:element name="ECTS" type="xsd:string"/> |
241 | jmachado | 84 | <xsd:element name="obs" type="xsd:string"/> |
210 | jmachado | 85 | </xsd:sequence> |
1503 | jmachado | 86 | <xsl:attribute name="siges" type="xsd:string" use="optional"/> |
210 | jmachado | 87 | </xsd:complexType> |
187 | jmachado | 88 | </xsd:schema> |