Rev 1521 | 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> |
||
1534 | jmachado | 12 | <xsd:element name="codigoPlanoSiges" type="xsd:string" minOccurs="0"/> |
13 | <xsd:element name="anoPlanoSiges" type="xsd:string" minOccurs="0"/> |
||
14 | <xsd:element name="descPlanoSiges" type="xsd:string" minOccurs="0"/> |
||
1480 | jmachado | 15 | <xsd:element name="siges" type="xsd:string"/> |
210 | jmachado | 16 | <xsd:element name="nome" type="xsd:string"/> |
1480 | jmachado | 17 | <xsd:element name="dep" type="xsd:string"/> |
210 | jmachado | 18 | <xsd:element name="semestre" maxOccurs="unbounded"> |
19 | <xsd:complexType> |
||
1521 | jmachado | 20 | <xsd:sequence> |
21 | <xsd:element name="notas" type="xsd:string" minOccurs="0" maxOccurs="1"/> |
||
22 | <xsd:choice> |
||
23 | <xsd:element name="unidade" type="unidadeType" maxOccurs="unbounded"/> |
||
24 | <xsd:element name="perfil" maxOccurs="unbounded"> |
||
25 | <xsd:complexType> |
||
26 | <xsd:sequence> |
||
27 | <xsd:element name="unidade" type="unidadeType" maxOccurs="unbounded"/> |
||
28 | </xsd:sequence> |
||
29 | <xsd:attribute name="nome" type="xsd:string" use="required"/> |
||
30 | <xsl:attribute name="perfilId" type="xsd:string" use="optional"/> |
||
31 | </xsd:complexType> |
||
32 | </xsd:element> |
||
33 | </xsd:choice> |
||
34 | </xsd:sequence> |
||
1506 | jmachado | 35 | <xsl:attribute name="semestreDesc" type="xsd:string" use="optional"/> |
1517 | jmachado | 36 | <xsl:attribute name="semestreDescEn" type="xsd:string" use="optional"/> |
37 | <xsl:attribute name="semestreDescEs" type="xsd:string" use="optional"/> |
||
38 | <xsl:attribute name="semestreDescFr" type="xsd:string" use="optional"/> |
||
210 | jmachado | 39 | <xsd:attribute name="id" use="required"> |
40 | <xsd:simpleType> |
||
41 | <xsd:restriction base="xsd:string"> |
||
42 | <xsd:enumeration value="S1"/> |
||
43 | <xsd:enumeration value="S2"/> |
||
44 | <xsd:enumeration value="S3"/> |
||
45 | <xsd:enumeration value="S4"/> |
||
46 | <xsd:enumeration value="S5"/> |
||
47 | <xsd:enumeration value="S6"/> |
||
48 | <xsd:enumeration value="S7"/> |
||
49 | <xsd:enumeration value="S8"/> |
||
50 | <xsd:enumeration value="S9"/> |
||
51 | <xsd:enumeration value="S10"/> |
||
52 | <xsd:enumeration value="S11"/> |
||
53 | <xsd:enumeration value="S12"/> |
||
504 | jmachado | 54 | <xsd:enumeration value="A1"/> |
55 | <xsd:enumeration value="A2"/> |
||
56 | <xsd:enumeration value="A3"/> |
||
57 | <xsd:enumeration value="A4"/> |
||
58 | <xsd:enumeration value="A5"/> |
||
210 | jmachado | 59 | </xsd:restriction> |
60 | </xsd:simpleType> |
||
61 | </xsd:attribute> |
||
1507 | jmachado | 62 | <xsl:attribute name="semestreId" type="xsd:string" use="optional"/> |
210 | jmachado | 63 | </xsd:complexType> |
64 | </xsd:element> |
||
65 | </xsd:sequence> |
||
66 | </xsd:complexType> |
||
67 | </xsd:element> |
||
68 | <xsd:complexType name="unidadeType"> |
||
69 | <xsd:sequence> |
||
1496 | jmachado | 70 | <xsd:element name="urlFichaCurricular" type="xsd:string" minOccurs="0" maxOccurs="1"/> |
1504 | jmachado | 71 | <xsd:element name="urlUnidadeCurricular" type="xsd:string" minOccurs="0" maxOccurs="1"/> |
210 | jmachado | 72 | <xsd:element name="nome" type="xsd:string"/> |
1505 | jmachado | 73 | <xsd:element name="nomeEn" type="xsd:string"/> |
74 | <xsd:element name="nomeEs" type="xsd:string"/> |
||
75 | <xsd:element name="nomeFr" type="xsd:string"/> |
||
504 | jmachado | 76 | <xsd:element name="dep" type="xsd:string"/> |
210 | jmachado | 77 | <xsd:element name="totalHoras" type="xsd:int"/> |
78 | <xsd:element name="horasContacto"> |
||
79 | <xsd:complexType> |
||
80 | <xsd:sequence> |
||
1496 | jmachado | 81 | <xsd:element name="T" type="xsd:int" minOccurs="0"/> |
82 | <xsd:element name="TP" type="xsd:int" minOccurs="0"/> |
||
83 | <xsd:element name="P" type="xsd:int" minOccurs="0"/> |
||
84 | <xsd:element name="PL" type="xsd:int" minOccurs="0"/> |
||
85 | <xsd:element name="PD" type="xsd:int" minOccurs="0"/> |
||
86 | <xsd:element name="OT" type="xsd:int" minOccurs="0"/> |
||
87 | <xsd:element name="E" type="xsd:int" minOccurs="0"/> |
||
88 | <xsd:element name="S" type="xsd:int" minOccurs="0"/> |
||
89 | <xsd:element name="TC" type="xsd:int" minOccurs="0"/> |
||
90 | <xsd:element name="O" type="xsd:int" minOccurs="0"/> |
||
210 | jmachado | 91 | </xsd:sequence> |
92 | </xsd:complexType> |
||
93 | </xsd:element> |
||
1496 | jmachado | 94 | <xsd:element name="ECTS" type="xsd:string"/> |
241 | jmachado | 95 | <xsd:element name="obs" type="xsd:string"/> |
210 | jmachado | 96 | </xsd:sequence> |
1503 | jmachado | 97 | <xsl:attribute name="siges" type="xsd:string" use="optional"/> |
1507 | jmachado | 98 | <xsl:attribute name="removed" type="xsd:string" use="optional"/> |
210 | jmachado | 99 | </xsd:complexType> |
187 | jmachado | 100 | </xsd:schema> |