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