Showing:

Annotations
Attributes
Diagrams
Facets
Identity Constraints
Instances
Properties
Source
Used by
Main schema quizTime.xsd
Namespace No namespace
Properties
attribute form default: unqualified
element form default: qualified
Schema location file:/home/geoff/Documents/school/4002-770/project/quizTime.xsd
Element quizTime
Namespace No namespace
Annotations
This is the root element that holds all information for the Quiz Time
system. This includes users of the system and exams/quizzes themselves.
Diagram
Diagram quizTime0.tmp#id2 quizTime0.tmp#id13 quizTime0.tmp#id19 quizTime0.tmp#id30 quizTime0.tmp#id34 quizTime0.tmp#id55
Properties
content: complex
Model people , courses , students , professors , quizzes , stats
Children courses, people, professors, quizzes, stats, students
Instance
<quizTime>
  <people>{1,1}</people>
  <courses>{1,1}</courses>
  <students>{1,1}</students>
  <professors>{1,1}</professors>
  <quizzes>{1,1}</quizzes>
  <stats>{1,1}</stats>
</quizTime>
Source
<xs:element name="quizTime">
  <xs:annotation>
    <xs:documentation>This is the root element that holds all information for the Quiz Time
        system. This includes users of the system and exams/quizzes themselves.</xs:documentation>
  </xs:annotation>
  <xs:complexType>
    <xs:sequence>
      <xs:element ref="people" minOccurs="1" maxOccurs="1"/>
      <xs:element ref="courses" minOccurs="1" maxOccurs="1"/>
      <xs:element ref="students" minOccurs="1" maxOccurs="1"/>
      <xs:element ref="professors" minOccurs="1" maxOccurs="1"/>
      <xs:element ref="quizzes" minOccurs="1" maxOccurs="1"/>
      <xs:element ref="stats" minOccurs="1" maxOccurs="1"/>
    </xs:sequence>
  </xs:complexType>
  <!-- ########## -->
  <!--  Keys/Refs -->
  <!-- ########## -->
  <xs:key name="personKey">
    <xs:annotation>
      <xs:documentation>This key gets the id attribute from a person element under the people
          element.</xs:documentation>
    </xs:annotation>
    <xs:selector xpath="people/person"/>
    <xs:field xpath="@id"/>
  </xs:key>
  <xs:keyref refer="personKey" name="studentIsPerson">
    <xs:annotation>
      <xs:documentation>This checks if the person attribute under a student is a valid id for a
          person</xs:documentation>
    </xs:annotation>
    <xs:selector xpath="students/student"/>
    <xs:field xpath="@person"/>
  </xs:keyref>
  <xs:keyref refer="personKey" name="professorIsPerson">
    <xs:annotation>
      <xs:documentation>This checks if the person attribute under a professor is a valid id for a
          person</xs:documentation>
    </xs:annotation>
    <xs:selector xpath="professors/professor"/>
    <xs:field xpath="@person"/>
  </xs:keyref>
  <xs:key name="quizKey">
    <xs:annotation>
      <xs:documentation>This gets the quiz attribute for a quiz found under
          quizzes.</xs:documentation>
    </xs:annotation>
    <xs:selector xpath="quizzes/quiz"/>
    <xs:field xpath="@quiz"/>
  </xs:key>
  <xs:keyref refer="quizKey" name="QuizTakenIsQuiz">
    <xs:annotation>
      <xs:documentation>This checks if the quiz attribute under a student's quizTaken is a valid
          quiz id.</xs:documentation>
    </xs:annotation>
    <xs:selector xpath="students/student/quizzesTaken/quizTaken"/>
    <xs:field xpath="@quiz"/>
  </xs:keyref>
  <xs:keyref refer="quizKey" name="QuizStatsIsQuiz">
    <xs:annotation>
      <xs:documentation>This checks if the quiz attribute under a quizStat element is a valid quiz
          id.</xs:documentation>
    </xs:annotation>
    <xs:selector xpath="stats/quizStats/quizStat"/>
    <xs:field xpath="@quiz"/>
  </xs:keyref>
  <xs:keyref refer="quizKey" name="professorOwnsQuiz">
    <xs:annotation>
      <xs:documentation>This checks if the quiz attribute under a professors quizMade is a valid
          quiz id.</xs:documentation>
    </xs:annotation>
    <xs:selector xpath="professors/professor/quizzesMade/quizMade"/>
    <xs:field xpath="@quiz"/>
  </xs:keyref>
  <xs:key name="questionChoiceKey">
    <xs:annotation>
      <xs:documentation>This gets the choiceLetter attribute from a multiple choice or true/false
          question</xs:documentation>
    </xs:annotation>
    <xs:selector xpath="quizzes/quiz/questions/MCQuestion/mcChoice|quizzes/quiz/questions/TFQuestion/mcChoice"/>
    <xs:field xpath="@choiceLetter"/>
  </xs:key>
  <xs:keyref refer="questionChoiceKey" name="answerIsChoice">
    <xs:annotation>
      <xs:documentation>This checks if the answerID attribute for a multiple choice or true/false
          question is a valid choice.</xs:documentation>
    </xs:annotation>
    <xs:selector xpath="quizzes/quiz/questions/MCQuestion/answer|quizzes/quiz/questions/TFQuestion/answer"/>
    <xs:field xpath="@answerID"/>
  </xs:keyref>
  <xs:key name="courseNoKey">
    <xs:annotation>
      <xs:documentation>This gets the courseNo attribute from a course under courses.</xs:documentation>
    </xs:annotation>
    <xs:selector xpath="courses/course"/>
    <xs:field xpath="@courseNo"/>
  </xs:key>
  <xs:keyref refer="courseNoKey" name="studentCourseIsCourse">
    <xs:annotation>
      <xs:documentation>This checks if the courseNo attribute under a student's class element is
          a valid courseNo from courses</xs:documentation>
    </xs:annotation>
    <xs:selector xpath="students/student/classes/class"/>
    <xs:field xpath="@courseNo"/>
  </xs:keyref>
  <xs:keyref refer="courseNoKey" name="professorCourseIsCourse">
    <xs:annotation>
      <xs:documentation>This checks if the courseNo attribute under a professor's class element is
          a valid courseNo from courses</xs:documentation>
    </xs:annotation>
    <xs:selector xpath="professors/professor/classes/class"/>
    <xs:field xpath="@courseNo"/>
  </xs:keyref>
  <xs:keyref refer="courseNoKey" name="quizCourseIsCourse">
    <xs:annotation>
      <xs:documentation>This checks if the courseNo attribute under a quiz is a valid courseNo
          from courses</xs:documentation>
    </xs:annotation>
    <xs:selector xpath="quizzes/quiz"/>
    <xs:field xpath="@courseNo"/>
  </xs:keyref>
  <!-- ########## -->
  <!-- Uniques    -->
  <!-- ########## -->
  <xs:unique name="personUsername">
    <xs:annotation>
      <xs:documentation>This insures that every username for users of the system is
          unique.</xs:documentation>
    </xs:annotation>
    <xs:selector xpath="people/person/username"/>
    <xs:field xpath="."/>
  </xs:unique>
</xs:element>
Schema location file:/home/geoff/Documents/school/4002-770/project/quizTime.xsd
Element people
Namespace No namespace
Annotations
This element holds information about users of the system. This model is
being used because it is possible for some users to teach courses and also be students in
other courses.
Diagram
Diagram quizTime0.tmp#id3
Properties
content: complex
Used by
Element quizTime
Model person+
Children person
Instance
<people>
  <person admin="" id="">{1,unbounded}</person>
</people>
Source
<xs:element name="people">
  <xs:annotation>
    <xs:documentation>This element holds information about users of the system. This model is
        being used because it is possible for some users to teach courses and also be students in
        other courses.</xs:documentation>
  </xs:annotation>
  <xs:complexType>
    <xs:sequence>
      <xs:element maxOccurs="unbounded" ref="person"/>
    </xs:sequence>
  </xs:complexType>
</xs:element>
Schema location file:/home/geoff/Documents/school/4002-770/project/quizTime.xsd
Element person
Namespace No namespace
Annotations
This element holds information for a specific user of the system. See the
parent element, people, for more information.
Diagram
Diagram quizTime0.tmp#id10 quizTime0.tmp#id4 quizTime0.tmp#id8 quizTime0.tmp#id9
Properties
content: complex
Used by
Element people
Model name , username , password
Children name, password, username
Instance
<person admin="" id="">
  <name>{1,1}</name>
  <username>{1,1}</username>
  <password>{1,1}</password>
</person>
Attributes
QName Type Fixed Default Use Annotation
admin xs:boolean optional
This is an attribute that flags a user as an administrator or
not
id xs:integer required
This is an identifier attribute for each user of the
system
Source
<xs:element name="person">
  <xs:annotation>
    <xs:documentation>This element holds information for a specific user of the system. See the
        parent element, people, for more information.</xs:documentation>
  </xs:annotation>
  <xs:complexType>
    <xs:sequence>
      <xs:element ref="name" minOccurs="1" maxOccurs="1"/>
      <xs:element ref="username" minOccurs="1" maxOccurs="1"/>
      <xs:element ref="password" minOccurs="1" maxOccurs="1"/>
    </xs:sequence>
    <xs:attributeGroup ref="personAtts"/>
  </xs:complexType>
</xs:element>
Schema location file:/home/geoff/Documents/school/4002-770/project/quizTime.xsd
Element name
Namespace No namespace
Annotations
This element holds a specific user's first, middle, and last
name.
Diagram
Diagram quizTime0.tmp#id5 quizTime0.tmp#id6 quizTime0.tmp#id7
Properties
content: complex
Used by
Element person
Model firstName , middle{1,5} , lastName
Children firstName, lastName, middle
Instance
<name>
  <firstName>{1,1}</firstName>
  <middle>{1,5}</middle>
  <lastName>{1,1}</lastName>
</name>
Source
<xs:element name="name">
  <xs:annotation>
    <xs:documentation>This element holds a specific user's first, middle, and last
        name.</xs:documentation>
  </xs:annotation>
  <xs:complexType>
    <xs:sequence>
      <xs:element ref="firstName" minOccurs="1" maxOccurs="1"/>
      <xs:element ref="middle" minOccurs="1" maxOccurs="5"/>
      <xs:element ref="lastName" minOccurs="1" maxOccurs="1"/>
    </xs:sequence>
  </xs:complexType>
</xs:element>
Schema location file:/home/geoff/Documents/school/4002-770/project/quizTime.xsd
Element firstName
Namespace No namespace
Annotations
This element represents the first name of a person.
Diagram
Diagram
Type xs:NCName
Properties
content: simple
Used by
Element name
Source
<xs:element name="firstName" type="xs:NCName">
  <xs:annotation>
    <xs:documentation>This element represents the first name of a person.</xs:documentation>
  </xs:annotation>
</xs:element>
Schema location file:/home/geoff/Documents/school/4002-770/project/quizTime.xsd
Element middle
Namespace No namespace
Annotations
This element represents the middle name(s) of a person.
Diagram
Diagram
Type xs:string
Properties
content: simple
Used by
Element name
Source
<xs:element name="middle" type="xs:string">
  <xs:annotation>
    <xs:documentation>This element represents the middle name(s) of a person.</xs:documentation>
  </xs:annotation>
</xs:element>
Schema location file:/home/geoff/Documents/school/4002-770/project/quizTime.xsd
Element lastName
Namespace No namespace
Annotations
This element represents the last name of a person.
Diagram
Diagram
Type xs:NCName
Properties
content: simple
Used by
Element name
Source
<xs:element name="lastName" type="xs:NCName">
  <xs:annotation>
    <xs:documentation>This element represents the last name of a person.</xs:documentation>
  </xs:annotation>
</xs:element>
Schema location file:/home/geoff/Documents/school/4002-770/project/quizTime.xsd
Element username
Namespace No namespace
Annotations
This element stores a username for a person who has access to the system.
Diagram
Diagram
Type xs:string
Properties
content: simple
Used by
Element person
Source
<xs:element name="username" type="xs:string">
  <xs:annotation>
    <xs:documentation>This element stores a username for a person who has access to the system.</xs:documentation>
  </xs:annotation>
</xs:element>
Schema location file:/home/geoff/Documents/school/4002-770/project/quizTime.xsd
Element password
Namespace No namespace
Annotations
This element stores an MD5 hashed password for a person who has access to
the system.
Diagram
Diagram
Type xs:string
Properties
content: simple
Used by
Element person
Source
<xs:element name="password" type="xs:string">
  <xs:annotation>
    <xs:documentation>This element stores an MD5 hashed password for a person who has access to
        the system.</xs:documentation>
  </xs:annotation>
</xs:element>
Schema location file:/home/geoff/Documents/school/4002-770/project/quizTime.xsd
Element courses
Namespace No namespace
Annotations
This element holds a collection of course elements.
Diagram
Diagram quizTime0.tmp#id14
Properties
content: complex
Used by
Element quizTime
Model course+
Children course
Instance
<courses>
  <course courseNo="">{1,unbounded}</course>
</courses>
Source
<xs:element name="courses">
  <xs:annotation>
    <xs:documentation>This element holds a collection of course elements.</xs:documentation>
  </xs:annotation>
  <xs:complexType>
    <xs:sequence>
      <xs:element ref="course" minOccurs="1" maxOccurs="unbounded"/>
    </xs:sequence>
  </xs:complexType>
</xs:element>
Schema location file:/home/geoff/Documents/school/4002-770/project/quizTime.xsd
Element course
Namespace No namespace
Annotations
This element holds information about a specific course that quizzes can be
given under.
Diagram
Diagram quizTime0.tmp#id18 quizTime0.tmp#id15 quizTime0.tmp#id16 quizTime0.tmp#id17
Properties
content: complex
mixed: false
Used by
Element courses
Model courseTitle , courseDescription , link{0,1}
Children courseDescription, courseTitle, link
Instance
<course courseNo="">
  <courseTitle>{1,1}</courseTitle>
  <courseDescription>{1,1}</courseDescription>
  <link>{0,1}</link>
</course>
Attributes
QName Type Fixed Default Use Annotation
courseNo restriction of xs:string required
This attribute defines a course number in the format "0000-000-00" where the
0s are any digits.
Source
<xs:element name="course">
  <xs:annotation>
    <xs:documentation>This element holds information about a specific course that quizzes can be
        given under.</xs:documentation>
  </xs:annotation>
  <xs:complexType mixed="false">
    <xs:sequence>
      <xs:element ref="courseTitle" minOccurs="1" maxOccurs="1"/>
      <xs:element ref="courseDescription" minOccurs="1" maxOccurs="1"/>
      <xs:element ref="link" minOccurs="0" maxOccurs="1"/>
    </xs:sequence>
    <xs:attribute ref="courseNo" use="required"/>
  </xs:complexType>
</xs:element>
Schema location file:/home/geoff/Documents/school/4002-770/project/quizTime.xsd
Element courseTitle
Namespace No namespace
Annotations
This holds a course title
Diagram
Diagram
Type xs:string
Properties
content: simple
Used by
Element course
Source
<xs:element name="courseTitle" type="xs:string">
  <xs:annotation>
    <xs:documentation>This holds a course title</xs:documentation>
  </xs:annotation>
</xs:element>
Schema location file:/home/geoff/Documents/school/4002-770/project/quizTime.xsd
Element courseDescription
Namespace No namespace
Annotations
This holds a description for a course
Diagram
Diagram quizTime0.tmp#id17
Properties
content: complex
mixed: true
Used by
Element course
Model link*
Children link
Instance
<courseDescription>
  <link>{0,unbounded}</link>
</courseDescription>
Source
<xs:element name="courseDescription">
  <xs:annotation>
    <xs:documentation>This holds a description for a course</xs:documentation>
  </xs:annotation>
  <xs:complexType mixed="true">
    <xs:sequence>
      <xs:element ref="link" maxOccurs="unbounded" minOccurs="0"/>
    </xs:sequence>
  </xs:complexType>
</xs:element>
Schema location file:/home/geoff/Documents/school/4002-770/project/quizTime.xsd
Element link
Namespace No namespace
Annotations
This element is used for inserting links into any of the existing
elements
Diagram
Diagram
Type xs:anyURI
Properties
content: simple
Used by
Source
<xs:element name="link" type="xs:anyURI">
  <xs:annotation>
    <xs:documentation>This element is used for inserting links into any of the existing
        elements</xs:documentation>
  </xs:annotation>
</xs:element>
Schema location file:/home/geoff/Documents/school/4002-770/project/quizTime.xsd
Element students
Namespace No namespace
Annotations
This element holds a collection of student elements.
Diagram
Diagram quizTime0.tmp#id20
Properties
content: complex
Used by
Element quizTime
Model student+
Children student
Instance
<students>
  <student person="">{1,unbounded}</student>
</students>
Source
<xs:element name="students">
  <xs:annotation>
    <xs:documentation>This element holds a collection of student elements.</xs:documentation>
  </xs:annotation>
  <xs:complexType>
    <xs:sequence>
      <xs:element maxOccurs="unbounded" ref="student"/>
    </xs:sequence>
  </xs:complexType>
</xs:element>
Schema location file:/home/geoff/Documents/school/4002-770/project/quizTime.xsd
Element student
Namespace No namespace
Annotations
This element holds information specific to a student in the system. It
links to a person element through the "person" attribute and then holds information specific
to this user as a student of the system.
Diagram
Diagram quizTime0.tmp#id29 quizTime0.tmp#id21 quizTime0.tmp#id23
Properties
content: complex
Used by
Element students
Model classes* , quizzesTaken
Children classes, quizzesTaken
Instance
<student person="">
  <classes>{0,unbounded}</classes>
  <quizzesTaken>{1,1}</quizzesTaken>
</student>
Attributes
QName Type Fixed Default Use Annotation
person xs:integer required
This attribute is used to link a student or professor to a specific person
in the system.
Source
<xs:element name="student">
  <xs:annotation>
    <xs:documentation>This element holds information specific to a student in the system. It
        links to a person element through the "person" attribute and then holds information specific
        to this user as a student of the system.</xs:documentation>
  </xs:annotation>
  <xs:complexType>
    <xs:sequence>
      <xs:element ref="classes" minOccurs="0" maxOccurs="unbounded"/>
      <xs:element ref="quizzesTaken" minOccurs="1" maxOccurs="1"/>
    </xs:sequence>
    <!-- @person is keyref'ed to @id in person -->
    <xs:attribute ref="person" use="required"/>
  </xs:complexType>
</xs:element>
Schema location file:/home/geoff/Documents/school/4002-770/project/quizTime.xsd
Element classes
Namespace No namespace
Annotations
This element is a container for other class elements that a professor may
or may not have.
Diagram
Diagram quizTime0.tmp#id22
Properties
content: complex
Used by
Elements professor, student
Model class+
Children class
Instance
<classes>
  <class courseNo="">{1,unbounded}</class>
</classes>
Source
<xs:element name="classes">
  <xs:annotation>
    <xs:documentation>This element is a container for other class elements that a professor may
        or may not have.</xs:documentation>
  </xs:annotation>
  <xs:complexType>
    <xs:sequence>
      <xs:element ref="class" minOccurs="1" maxOccurs="unbounded"/>
    </xs:sequence>
  </xs:complexType>
</xs:element>
Schema location file:/home/geoff/Documents/school/4002-770/project/quizTime.xsd
Element class
Namespace No namespace
Annotations
This element stores a course number as an attribute and then plain text
(which is assumed to be the name of the course) for a specific class.
Diagram
Diagram quizTime0.tmp#id18 quizTime0.tmp#id17
Properties
content: complex
mixed: true
Used by
Element classes
Model link*
Children link
Instance
<class courseNo="">
  <link>{0,unbounded}</link>
</class>
Attributes
QName Type Fixed Default Use Annotation
courseNo restriction of xs:string required
This attribute defines a course number in the format "0000-000-00" where the
0s are any digits.
Source
<xs:element name="class">
  <xs:annotation>
    <xs:documentation>This element stores a course number as an attribute and then plain text
        (which is assumed to be the name of the course) for a specific class.</xs:documentation>
  </xs:annotation>
  <xs:complexType mixed="true">
    <xs:sequence>
      <xs:element ref="link" minOccurs="0" maxOccurs="unbounded"/>
    </xs:sequence>
    <xs:attribute ref="courseNo" use="required"/>
  </xs:complexType>
</xs:element>
Schema location file:/home/geoff/Documents/school/4002-770/project/quizTime.xsd
Element quizzesTaken
Namespace No namespace
Annotations
This element stores information about quizzes a student in the system has
taken.
Diagram
Diagram quizTime0.tmp#id24
Properties
content: complex
Used by
Element student
Model quizTaken*
Children quizTaken
Instance
<quizzesTaken>
  <quizTaken quiz="">{0,unbounded}</quizTaken>
</quizzesTaken>
Source
<xs:element name="quizzesTaken">
  <xs:annotation>
    <xs:documentation>This element stores information about quizzes a student in the system has
        taken.</xs:documentation>
  </xs:annotation>
  <xs:complexType>
    <xs:sequence>
      <xs:element ref="quizTaken" minOccurs="0" maxOccurs="unbounded"/>
    </xs:sequence>
  </xs:complexType>
</xs:element>
Schema location file:/home/geoff/Documents/school/4002-770/project/quizTime.xsd
Element quizTaken
Namespace No namespace
Annotations
This element stores information about a specific qiuz a student has taken.
Diagram
Diagram quizTime0.tmp#id28 quizTime0.tmp#id25
Properties
content: complex
Used by
Element quizzesTaken
Model answer*
Children answer
Instance
<quizTaken quiz="">
  <answer essay="" question="">{0,unbounded}</answer>
</quizTaken>
Attributes
QName Type Fixed Default Use Annotation
quiz xs:integer required
This is used to link an element to a specific quiz
Source
<xs:element name="quizTaken">
  <xs:annotation>
    <xs:documentation>This element stores information about a specific qiuz a student has taken.</xs:documentation>
  </xs:annotation>
  <xs:complexType>
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" ref="answer"/>
    </xs:sequence>
    <!-- @quiz is keyref'ed to @quiz in quizzes/quiz-->
    <xs:attribute ref="quiz" use="required"/>
  </xs:complexType>
</xs:element>
Schema location file:/home/geoff/Documents/school/4002-770/project/quizTime.xsd
Element answer
Namespace No namespace
Annotations
This element stores an answer to a question. It can be used by both
students (for their answers) and quizzes (for the correct answer).
Diagram
Diagram quizTime0.tmp#id26 quizTime0.tmp#id27 quizTime0.tmp#id17
Properties
content: complex
mixed: true
Used by
Model link*
Children link
Instance
<answer essay="" question="">
  <link>{0,unbounded}</link>
</answer>
Attributes
QName Type Fixed Default Use Annotation
essay xs:boolean optional
This determines if an answer should be an essay format
answer
question xs:integer required
This links an element to a specific question element
Source
<xs:element name="answer">
  <xs:annotation>
    <xs:documentation>This element stores an answer to a question. It can be used by both
        students (for their answers) and quizzes (for the correct answer).</xs:documentation>
  </xs:annotation>
  <xs:complexType mixed="true">
    <xs:sequence>
      <xs:element ref="link" minOccurs="0" maxOccurs="unbounded"/>
    </xs:sequence>
    <xs:attribute ref="question" use="required"/>
    <xs:attribute ref="essay" use="optional"/>
  </xs:complexType>
</xs:element>
Schema location file:/home/geoff/Documents/school/4002-770/project/quizTime.xsd
Element professors
Namespace No namespace
Annotations
This element stores a collection of professor elements.
Diagram
Diagram quizTime0.tmp#id31
Properties
content: complex
Used by
Element quizTime
Model professor+
Children professor
Instance
<professors>
  <professor person="">{1,unbounded}</professor>
</professors>
Source
<xs:element name="professors">
  <xs:annotation>
    <xs:documentation>This element stores a collection of professor elements.</xs:documentation>
  </xs:annotation>
  <xs:complexType>
    <xs:sequence>
      <xs:element maxOccurs="unbounded" ref="professor"/>
    </xs:sequence>
  </xs:complexType>
</xs:element>
Schema location file:/home/geoff/Documents/school/4002-770/project/quizTime.xsd
Element professor
Namespace No namespace
Annotations
This element stores information about a specific professor. It links to a
person element through the "person" attribute so that additional information about being a
professor can be linked through a user.
Diagram
Diagram quizTime0.tmp#id29 quizTime0.tmp#id21 quizTime0.tmp#id32
Properties
content: complex
Used by
Element professors
Model classes{0,1} , quizzesMade{0,1}
Children classes, quizzesMade
Instance
<professor person="">
  <classes>{0,1}</classes>
  <quizzesMade>{0,1}</quizzesMade>
</professor>
Attributes
QName Type Fixed Default Use Annotation
person xs:integer required
This attribute is used to link a student or professor to a specific person
in the system.
Source
<xs:element name="professor">
  <xs:annotation>
    <xs:documentation>This element stores information about a specific professor. It links to a
        person element through the "person" attribute so that additional information about being a
        professor can be linked through a user.</xs:documentation>
  </xs:annotation>
  <xs:complexType>
    <!-- @person is keyref'ed to a person element -->
    <xs:sequence>
      <xs:element ref="classes" minOccurs="0" maxOccurs="1"/>
      <xs:element ref="quizzesMade" minOccurs="0" maxOccurs="1"/>
    </xs:sequence>
    <xs:attribute ref="person" use="required"/>
  </xs:complexType>
</xs:element>
Schema location file:/home/geoff/Documents/school/4002-770/project/quizTime.xsd
Element quizzesMade
Namespace No namespace
Annotations
This element is a container for quizMade elements that a professor is
'responsible' for.
Diagram
Diagram quizTime0.tmp#id33
Properties
content: complex
Used by
Element professor
Model quizMade+
Children quizMade
Instance
<quizzesMade>
  <quizMade quiz="">{1,unbounded}</quizMade>
</quizzesMade>
Source
<xs:element name="quizzesMade">
  <xs:annotation>
    <xs:documentation>This element is a container for quizMade elements that a professor is
        'responsible' for.</xs:documentation>
  </xs:annotation>
  <xs:complexType>
    <xs:sequence>
      <xs:element ref="quizMade" minOccurs="1" maxOccurs="unbounded"/>
    </xs:sequence>
  </xs:complexType>
</xs:element>
Schema location file:/home/geoff/Documents/school/4002-770/project/quizTime.xsd
Element quizMade
Namespace No namespace
Annotations
This element is linked to an existing quiz (as a professor would be
responsible for making a quiz) and allows for a professor to put his/her own notes about the
quiz as plain text.
Diagram
Diagram quizTime0.tmp#id28 quizTime0.tmp#id17
Properties
content: complex
mixed: true
Used by
Element quizzesMade
Model link*
Children link
Instance
<quizMade quiz="">
  <link>{0,unbounded}</link>
</quizMade>
Attributes
QName Type Fixed Default Use Annotation
quiz xs:integer required
This is used to link an element to a specific quiz
Source
<xs:element name="quizMade">
  <xs:annotation>
    <xs:documentation>This element is linked to an existing quiz (as a professor would be
        responsible for making a quiz) and allows for a professor to put his/her own notes about the
        quiz as plain text.</xs:documentation>
  </xs:annotation>
  <xs:complexType mixed="true">
    <xs:sequence>
      <xs:element ref="link" minOccurs="0" maxOccurs="unbounded"/>
    </xs:sequence>
    <xs:attribute ref="quiz" use="required"/>
  </xs:complexType>
</xs:element>
Schema location file:/home/geoff/Documents/school/4002-770/project/quizTime.xsd
Element quizzes
Namespace No namespace
Annotations
This element holds a collection of quiz elements.
Diagram
Diagram quizTime0.tmp#id35
Properties
content: complex
Used by
Element quizTime
Model quiz*
Children quiz
Instance
<quizzes>
  <quiz courseNo="" created="" end="" modified="" quiz="" start="">{0,unbounded}</quiz>
</quizzes>
Source
<xs:element name="quizzes">
  <xs:annotation>
    <xs:documentation>This element holds a collection of quiz elements.</xs:documentation>
  </xs:annotation>
  <xs:complexType>
    <xs:sequence>
      <xs:element ref="quiz" minOccurs="0" maxOccurs="unbounded"/>
    </xs:sequence>
  </xs:complexType>
</xs:element>
Schema location file:/home/geoff/Documents/school/4002-770/project/quizTime.xsd
Element quiz
Namespace No namespace
Annotations
This element represents a quiz in the system. It holds different kinds of
questions and associated answers to the questions.
Diagram
Diagram quizTime0.tmp#id50 quizTime0.tmp#id17 quizTime0.tmp#id36 quizTime0.tmp#id43
Properties
content: complex
Used by
Element quizzes
Model link* , notes{0,1} , questions
Children link, notes, questions
Instance
<quiz courseNo="" created="" end="" modified="" quiz="" start="">
  <link>{0,unbounded}</link>
  <notes>{0,1}</notes>
  <questions>{1,1}</questions>
</quiz>
Attributes
QName Type Fixed Default Use Annotation
courseNo restriction of xs:string optional
This attribute defines a course number in the format "0000-000-00" where the
0s are any digits.
created xs:dateTime required
This attribute defines when an object in the system is created (such as a
quiz)
end xs:dateTime optional
This attribute defines when a quiz ends (for student
completion)
modified xs:dateTime required
This attribute defines when an object in the system is modified (such as a
quiz)
quiz xs:integer required
This is used to link an element to a specific quiz
start xs:dateTime optional
This attribute defines when a quiz can be started by
students
Source
<xs:element name="quiz">
  <xs:annotation>
    <xs:documentation>This element represents a quiz in the system. It holds different kinds of
        questions and associated answers to the questions.</xs:documentation>
  </xs:annotation>
  <xs:complexType>
    <xs:sequence>
      <xs:element ref="link" maxOccurs="unbounded" minOccurs="0"/>
      <xs:element ref="notes" minOccurs="0" maxOccurs="1"/>
      <xs:element ref="questions" minOccurs="1" maxOccurs="1"/>
    </xs:sequence>
    <xs:attributeGroup ref="quizAtts"/>
  </xs:complexType>
</xs:element>
Schema location file:/home/geoff/Documents/school/4002-770/project/quizTime.xsd
Element notes
Namespace No namespace
Annotations
This is a general 'notes' element. It is meant to hold plain text and be
re-used as it is needed.
Diagram
Diagram quizTime0.tmp#id17 quizTime0.tmp#id37
Properties
content: complex
mixed: true
Used by
Element quiz
Model (link* | image*)
Children image, link
Instance
<notes>
  <link>{0,unbounded}</link>
  <image alt="" height="" src="" width="">{0,unbounded}</image>
</notes>
Source
<xs:element name="notes">
  <xs:annotation>
    <xs:documentation>This is a general 'notes' element. It is meant to hold plain text and be
        re-used as it is needed.</xs:documentation>
  </xs:annotation>
  <xs:complexType mixed="true">
    <xs:sequence>
      <xs:choice>
        <xs:element ref="link" minOccurs="0" maxOccurs="unbounded"/>
        <xs:element ref="image" minOccurs="0" maxOccurs="unbounded"/>
      </xs:choice>
    </xs:sequence>
  </xs:complexType>
</xs:element>
Schema location file:/home/geoff/Documents/school/4002-770/project/quizTime.xsd
Element image
Namespace No namespace
Annotations
This element will support images for the quiz system.
Diagram
Diagram quizTime0.tmp#id38
Properties
content: complex
Used by
Attributes
QName Type Fixed Default Use Annotation
alt xs:string optional
height xs:string optional
src xs:string required
width xs:string optional
Source
<xs:element name="image">
  <xs:annotation>
    <xs:documentation>This element will support images for the quiz system.</xs:documentation>
  </xs:annotation>
  <xs:complexType>
    <xs:attributeGroup ref="imageAtts"/>
  </xs:complexType>
</xs:element>
Schema location file:/home/geoff/Documents/school/4002-770/project/quizTime.xsd
Element questions
Namespace No namespace
Annotations
This element holds a collection of different questions (multiple choice,
true/false, and essay/write in).
Diagram
Diagram quizTime0.tmp#id44 quizTime0.tmp#id48 quizTime0.tmp#id49
Properties
content: complex
Used by
Element quiz
Model MCQuestion* , TFQuestion* , EssayQuestion*
Children EssayQuestion, MCQuestion, TFQuestion
Instance
<questions>
  <MCQuestion questionNum="">{0,unbounded}</MCQuestion>
  <TFQuestion questionNum="">{0,unbounded}</TFQuestion>
  <EssayQuestion questionNum="">{0,unbounded}</EssayQuestion>
</questions>
Source
<xs:element name="questions">
  <xs:annotation>
    <xs:documentation>This element holds a collection of different questions (multiple choice,
        true/false, and essay/write in).</xs:documentation>
  </xs:annotation>
  <xs:complexType>
    <xs:sequence minOccurs="1">
      <xs:element ref="MCQuestion" minOccurs="0" maxOccurs="unbounded"/>
      <xs:element ref="TFQuestion" minOccurs="0" maxOccurs="unbounded"/>
      <xs:element ref="EssayQuestion" minOccurs="0" maxOccurs="unbounded"/>
    </xs:sequence>
  </xs:complexType>
</xs:element>
Schema location file:/home/geoff/Documents/school/4002-770/project/quizTime.xsd
Element MCQuestion
Namespace No namespace
Annotations
This element holds information pertaining to a multiple choice question.
Diagram
Diagram quizTime0.tmp#id47 quizTime0.tmp#id37 quizTime0.tmp#id17 quizTime0.tmp#id45 quizTime0.tmp#id25
Properties
content: complex
mixed: true
Used by
Element questions
Model (image* | link*) , mcChoice{2,unbounded} , answer
Children answer, image, link, mcChoice
Instance
<MCQuestion questionNum="">
  <image alt="" height="" src="" width="">{0,unbounded}</image>
  <link>{0,unbounded}</link>
  <mcChoice choiceLetter="">{2,unbounded}</mcChoice>
  <answer essay="" question="">{1,1}</answer>
</MCQuestion>
Attributes
QName Type Fixed Default Use Annotation
questionNum xs:integer required
This attribute is used to define a question number on one of the question
elements
Source
<xs:element name="MCQuestion">
  <xs:annotation>
    <xs:documentation>This element holds information pertaining to a multiple choice question.</xs:documentation>
  </xs:annotation>
  <xs:complexType mixed="true">
    <xs:sequence>
      <xs:choice maxOccurs="unbounded">
        <xs:element ref="image" maxOccurs="unbounded" minOccurs="0"/>
        <xs:element ref="link" maxOccurs="unbounded" minOccurs="0"/>
      </xs:choice>
      <xs:element minOccurs="2" maxOccurs="unbounded" ref="mcChoice"/>
      <xs:element ref="answer"/>
    </xs:sequence>
    <xs:attribute ref="questionNum" use="required"/>
  </xs:complexType>
</xs:element>
Schema location file:/home/geoff/Documents/school/4002-770/project/quizTime.xsd
Element mcChoice
Namespace No namespace
Annotations
This element holds information relating to a choice in a multiple choice
question.
Diagram
Diagram quizTime0.tmp#id46 quizTime0.tmp#id37 quizTime0.tmp#id17
Properties
content: complex
mixed: true
Used by
Model (image* | link*)
Children image, link
Instance
<mcChoice choiceLetter="">
  <image alt="" height="" src="" width="">{0,unbounded}</image>
  <link>{0,unbounded}</link>
</mcChoice>
Attributes
QName Type Fixed Default Use Annotation
choiceLetter restriction of xs:string required
This is an attribute used for determining the type of character to prepend
a multiple choice answer with (a,b,c,d,etc.). It allows for multiple letters followed by
numbers (so you could have "aa" or "a1" as choice options, as well). This was decided for
questions that have the potential to have alot of answers. This syntax also supports the use
of true or false.
Source
<xs:element name="mcChoice">
  <xs:annotation>
    <xs:documentation>This element holds information relating to a choice in a multiple choice
        question.</xs:documentation>
  </xs:annotation>
  <xs:complexType mixed="true">
    <xs:sequence>
      <xs:choice maxOccurs="unbounded">
        <xs:element ref="image" maxOccurs="unbounded" minOccurs="0"/>
        <xs:element ref="link" minOccurs="0" maxOccurs="unbounded"/>
      </xs:choice>
    </xs:sequence>
    <xs:attribute ref="choiceLetter" use="required"/>
  </xs:complexType>
</xs:element>
Schema location file:/home/geoff/Documents/school/4002-770/project/quizTime.xsd
Element TFQuestion
Namespace No namespace
Annotations
This element holds information pertaining to a true/false question.
Diagram
Diagram quizTime0.tmp#id47 quizTime0.tmp#id37 quizTime0.tmp#id17 quizTime0.tmp#id45 quizTime0.tmp#id25
Properties
content: complex
mixed: true
Used by
Element questions
Model (image* | link*) , mcChoice{2,2} , answer
Children answer, image, link, mcChoice
Instance
<TFQuestion questionNum="">
  <image alt="" height="" src="" width="">{0,unbounded}</image>
  <link>{0,unbounded}</link>
  <mcChoice choiceLetter="">{2,2}</mcChoice>
  <answer essay="" question="">{1,1}</answer>
</TFQuestion>
Attributes
QName Type Fixed Default Use Annotation
questionNum xs:integer required
This attribute is used to define a question number on one of the question
elements
Source
<xs:element name="TFQuestion">
  <xs:annotation>
    <xs:documentation>This element holds information pertaining to a true/false question.</xs:documentation>
  </xs:annotation>
  <xs:complexType mixed="true">
    <xs:sequence>
      <xs:choice maxOccurs="unbounded">
        <xs:element ref="image" maxOccurs="unbounded" minOccurs="0"/>
        <xs:element ref="link" maxOccurs="unbounded" minOccurs="0"/>
      </xs:choice>
      <xs:element minOccurs="2" maxOccurs="2" ref="mcChoice"/>
      <xs:element ref="answer"/>
    </xs:sequence>
    <xs:attribute ref="questionNum" use="required"/>
  </xs:complexType>
</xs:element>
Schema location file:/home/geoff/Documents/school/4002-770/project/quizTime.xsd
Element EssayQuestion
Namespace No namespace
Annotations
This element holds information pertain to a essay-based/write-in question.
Diagram
Diagram quizTime0.tmp#id47 quizTime0.tmp#id37 quizTime0.tmp#id17 quizTime0.tmp#id25
Properties
content: complex
mixed: true
Used by
Element questions
Model (image* | link*) , answer
Children answer, image, link
Instance
<EssayQuestion questionNum="">
  <image alt="" height="" src="" width="">{0,unbounded}</image>
  <link>{0,unbounded}</link>
  <answer essay="" question="">{1,1}</answer>
</EssayQuestion>
Attributes
QName Type Fixed Default Use Annotation
questionNum xs:integer required
This attribute is used to define a question number on one of the question
elements
Source
<xs:element name="EssayQuestion">
  <xs:annotation>
    <xs:documentation>This element holds information pertain to a essay-based/write-in question.</xs:documentation>
  </xs:annotation>
  <xs:complexType mixed="true">
    <xs:sequence>
      <xs:choice maxOccurs="unbounded">
        <xs:element ref="image" maxOccurs="unbounded" minOccurs="0"/>
        <xs:element ref="link" minOccurs="0" maxOccurs="unbounded"/>
      </xs:choice>
      <xs:element ref="answer"/>
    </xs:sequence>
    <xs:attribute ref="questionNum" use="required"/>
  </xs:complexType>
</xs:element>
Schema location file:/home/geoff/Documents/school/4002-770/project/quizTime.xsd
Element stats
Namespace No namespace
Annotations
This element stores statistical information about quizzes taken. It gets
aggregated with data from quizzes after a process is run.
Diagram
Diagram quizTime0.tmp#id56
Properties
content: complex
Used by
Element quizTime
Model quizStats
Children quizStats
Instance
<stats>
  <quizStats>{1,1}</quizStats>
</stats>
Source
<xs:element name="stats">
  <xs:annotation>
    <xs:documentation>This element stores statistical information about quizzes taken. It gets
        aggregated with data from quizzes after a process is run.</xs:documentation>
  </xs:annotation>
  <xs:complexType>
    <xs:sequence>
      <xs:element ref="quizStats"/>
    </xs:sequence>
  </xs:complexType>
</xs:element>
Schema location file:/home/geoff/Documents/school/4002-770/project/quizTime.xsd
Element quizStats
Namespace No namespace
Annotations
This element is a container for statistical information about each quiz.
Elements here are only added when a process generates them.
Diagram
Diagram quizTime0.tmp#id57
Properties
content: complex
Used by
Element stats
Model quizStat*
Children quizStat
Instance
<quizStats>
  <quizStat quiz="">{0,unbounded}</quizStat>
</quizStats>
Source
<xs:element name="quizStats">
  <xs:annotation>
    <xs:documentation>This element is a container for statistical information about each quiz.
        Elements here are only added when a process generates them.</xs:documentation>
  </xs:annotation>
  <xs:complexType>
    <xs:sequence>
      <xs:element ref="quizStat" minOccurs="0" maxOccurs="unbounded"/>
    </xs:sequence>
  </xs:complexType>
</xs:element>
Schema location file:/home/geoff/Documents/school/4002-770/project/quizTime.xsd
Element quizStat
Namespace No namespace
Annotations
This element holds statistical information about a specific quiz. It allows
for mixed content so that HTML (or some other data represenation) content can be placed in
it.
Diagram
Diagram quizTime0.tmp#id28 quizTime0.tmp#id37 quizTime0.tmp#id17 quizTime0.tmp#id58 quizTime0.tmp#id25
Properties
content: complex
mixed: true
Used by
Element quizStats
Model (image* | link* | question+ | answer+)
Children answer, image, link, question
Instance
<quizStat quiz="">
  <image alt="" height="" src="" width="">{0,unbounded}</image>
  <link>{0,unbounded}</link>
  <question questionNum="">{1,unbounded}</question>
  <answer essay="" question="">{1,unbounded}</answer>
</quizStat>
Attributes
QName Type Fixed Default Use Annotation
quiz xs:integer required
This is used to link an element to a specific quiz
Source
<xs:element name="quizStat">
  <xs:annotation>
    <xs:documentation>This element holds statistical information about a specific quiz. It allows
        for mixed content so that HTML (or some other data represenation) content can be placed in
        it.</xs:documentation>
  </xs:annotation>
  <xs:complexType mixed="true">
    <xs:sequence maxOccurs="unbounded">
      <xs:choice maxOccurs="unbounded">
        <xs:element ref="image" minOccurs="0" maxOccurs="unbounded"/>
        <xs:element ref="link" minOccurs="0" maxOccurs="unbounded"/>
        <xs:element ref="question" minOccurs="1" maxOccurs="unbounded"/>
        <xs:element ref="answer" minOccurs="1" maxOccurs="unbounded"/>
      </xs:choice>
    </xs:sequence>
    <!-- @quiz is keyref'ed to @quiz in quizzes/quiz -->
    <xs:attribute ref="quiz" use="required"/>
  </xs:complexType>
</xs:element>
Schema location file:/home/geoff/Documents/school/4002-770/project/quizTime.xsd
Element question
Namespace No namespace
Annotations
This is a generic question element that is used for statistical
reporting
Diagram
Diagram quizTime0.tmp#id47 quizTime0.tmp#id37 quizTime0.tmp#id17
Properties
content: complex
mixed: true
Used by
Element quizStat
Model (image* | link*)
Children image, link
Instance
<question questionNum="">
  <image alt="" height="" src="" width="">{0,unbounded}</image>
  <link>{0,unbounded}</link>
</question>
Attributes
QName Type Fixed Default Use Annotation
questionNum xs:integer required
This attribute is used to define a question number on one of the question
elements
Source
<xs:element name="question">
  <xs:annotation>
    <xs:documentation>This is a generic question element that is used for statistical
        reporting</xs:documentation>
  </xs:annotation>
  <xs:complexType mixed="true">
    <xs:sequence>
      <xs:choice maxOccurs="unbounded">
        <xs:element ref="image" maxOccurs="unbounded" minOccurs="0"/>
        <xs:element ref="link" maxOccurs="unbounded" minOccurs="0"/>
      </xs:choice>
    </xs:sequence>
    <xs:attribute ref="questionNum" use="required"/>
  </xs:complexType>
</xs:element>
Schema location file:/home/geoff/Documents/school/4002-770/project/quizTime.xsd
Attribute personAtts / @id
Namespace No namespace
Annotations
This is an identifier attribute for each user of the
system
Type xs:integer
Properties
use: required
Used by
Attribute Group personAtts
Source
<xs:attribute name="id" use="required" type="xs:integer">
  <xs:annotation>
    <xs:documentation>This is an identifier attribute for each user of the
          system</xs:documentation>
  </xs:annotation>
</xs:attribute>
Schema location file:/home/geoff/Documents/school/4002-770/project/quizTime.xsd
Attribute personAtts / @admin
Namespace No namespace
Annotations
This is an attribute that flags a user as an administrator or
not
Type xs:boolean
Properties
use: optional
Used by
Attribute Group personAtts
Source
<xs:attribute name="admin" use="optional" type="xs:boolean">
  <xs:annotation>
    <xs:documentation>This is an attribute that flags a user as an administrator or
          not</xs:documentation>
  </xs:annotation>
</xs:attribute>
Schema location file:/home/geoff/Documents/school/4002-770/project/quizTime.xsd
Attribute @courseNo
Namespace No namespace
Annotations
This attribute defines a course number in the format "0000-000-00" where the
0s are any digits.
Type restriction of xs:string
Properties
content: simple
Facets
pattern \d{4}-\d{3}-\d{2}
Used by
Elements class, course
Attribute Group quizAtts
Source
<xs:attribute name="courseNo">
  <xs:annotation>
    <xs:documentation>This attribute defines a course number in the format "0000-000-00" where the
        0s are any digits.</xs:documentation>
  </xs:annotation>
  <xs:simpleType>
    <xs:restriction base="xs:string">
      <xs:pattern value="\d{4}-\d{3}-\d{2}"/>
    </xs:restriction>
  </xs:simpleType>
</xs:attribute>
Schema location file:/home/geoff/Documents/school/4002-770/project/quizTime.xsd
Attribute @question
Namespace No namespace
Annotations
This links an element to a specific question element
Type xs:integer
Properties
content: simple
Used by
Element answer
Source
<xs:attribute name="question" type="xs:integer">
  <xs:annotation>
    <xs:documentation>This links an element to a specific question element</xs:documentation>
  </xs:annotation>
</xs:attribute>
Schema location file:/home/geoff/Documents/school/4002-770/project/quizTime.xsd
Attribute @essay
Namespace No namespace
Annotations
This determines if an answer should be an essay format
answer
Type xs:boolean
Properties
content: simple
Used by
Element answer
Source
<xs:attribute name="essay" type="xs:boolean">
  <xs:annotation>
    <xs:documentation>This determines if an answer should be an essay format
        answer</xs:documentation>
  </xs:annotation>
</xs:attribute>
Schema location file:/home/geoff/Documents/school/4002-770/project/quizTime.xsd
Attribute @quiz
Namespace No namespace
Annotations
This is used to link an element to a specific quiz
Type xs:integer
Properties
content: simple
Used by
Elements quizMade, quizStat, quizTaken
Attribute Group quizAtts
Source
<xs:attribute name="quiz" type="xs:integer">
  <xs:annotation>
    <xs:documentation>This is used to link an element to a specific quiz</xs:documentation>
  </xs:annotation>
</xs:attribute>
Schema location file:/home/geoff/Documents/school/4002-770/project/quizTime.xsd
Attribute @person
Namespace No namespace
Annotations
This attribute is used to link a student or professor to a specific person
in the system.
Type xs:integer
Properties
content: simple
Used by
Elements professor, student
Source
<xs:attribute name="person" type="xs:integer">
  <xs:annotation>
    <xs:documentation>This attribute is used to link a student or professor to a specific person
        in the system.</xs:documentation>
  </xs:annotation>
</xs:attribute>
Schema location file:/home/geoff/Documents/school/4002-770/project/quizTime.xsd
Attribute imageAtts / @src
Namespace No namespace
Type xs:string
Properties
use: required
Used by
Attribute Group imageAtts
Source
<xs:attribute name="src" type="xs:string" use="required"/>
Schema location file:/home/geoff/Documents/school/4002-770/project/quizTime.xsd
Attribute imageAtts / @alt
Namespace No namespace
Type xs:string
Properties
use: optional
Used by
Attribute Group imageAtts
Source
<xs:attribute name="alt" type="xs:string" use="optional"/>
Schema location file:/home/geoff/Documents/school/4002-770/project/quizTime.xsd
Attribute imageAtts / @height
Namespace No namespace
Type xs:string
Properties
use: optional
Used by
Attribute Group imageAtts
Source
<xs:attribute name="height" type="xs:string" use="optional"/>
Schema location file:/home/geoff/Documents/school/4002-770/project/quizTime.xsd
Attribute imageAtts / @width
Namespace No namespace
Type xs:string
Properties
use: optional
Used by
Attribute Group imageAtts
Source
<xs:attribute name="width" type="xs:string" use="optional"/>
Schema location file:/home/geoff/Documents/school/4002-770/project/quizTime.xsd
Attribute @choiceLetter
Namespace No namespace
Annotations
This is an attribute used for determining the type of character to prepend
a multiple choice answer with (a,b,c,d,etc.). It allows for multiple letters followed by
numbers (so you could have "aa" or "a1" as choice options, as well). This was decided for
questions that have the potential to have alot of answers. This syntax also supports the use
of true or false.
Type restriction of xs:string
Properties
content: simple
Facets
pattern [a-zA-Z]+\d*|true|false
Used by
Element mcChoice
Source
<xs:attribute name="choiceLetter">
  <xs:annotation>
    <xs:documentation>This is an attribute used for determining the type of character to prepend
        a multiple choice answer with (a,b,c,d,etc.). It allows for multiple letters followed by
        numbers (so you could have "aa" or "a1" as choice options, as well). This was decided for
        questions that have the potential to have alot of answers. This syntax also supports the use
        of true or false.</xs:documentation>
  </xs:annotation>
  <xs:simpleType>
    <xs:restriction base="xs:string">
      <xs:pattern value="[a-zA-Z]+\d*|true|false"/>
    </xs:restriction>
  </xs:simpleType>
</xs:attribute>
Schema location file:/home/geoff/Documents/school/4002-770/project/quizTime.xsd
Attribute @questionNum
Namespace No namespace
Annotations
This attribute is used to define a question number on one of the question
elements
Type xs:integer
Properties
content: simple
Used by
Source
<xs:attribute name="questionNum" type="xs:integer">
  <xs:annotation>
    <xs:documentation>This attribute is used to define a question number on one of the question
        elements</xs:documentation>
  </xs:annotation>
</xs:attribute>
Schema location file:/home/geoff/Documents/school/4002-770/project/quizTime.xsd
Attribute quizAtts / @created
Namespace No namespace
Annotations
This attribute defines when an object in the system is created (such as a
quiz)
Type xs:dateTime
Properties
use: required
Used by
Attribute Group quizAtts
Source
<xs:attribute name="created" use="required" type="xs:dateTime">
  <xs:annotation>
    <xs:documentation>This attribute defines when an object in the system is created (such as a
          quiz)</xs:documentation>
  </xs:annotation>
</xs:attribute>
Schema location file:/home/geoff/Documents/school/4002-770/project/quizTime.xsd
Attribute quizAtts / @modified
Namespace No namespace
Annotations
This attribute defines when an object in the system is modified (such as a
quiz)
Type xs:dateTime
Properties
use: required
Used by
Attribute Group quizAtts
Source
<xs:attribute name="modified" use="required" type="xs:dateTime">
  <xs:annotation>
    <xs:documentation>This attribute defines when an object in the system is modified (such as a
          quiz)</xs:documentation>
  </xs:annotation>
</xs:attribute>
Schema location file:/home/geoff/Documents/school/4002-770/project/quizTime.xsd
Attribute quizAtts / @start
Namespace No namespace
Annotations
This attribute defines when a quiz can be started by
students
Type xs:dateTime
Properties
use: optional
Used by
Attribute Group quizAtts
Source
<xs:attribute name="start" use="optional" type="xs:dateTime">
  <xs:annotation>
    <xs:documentation>This attribute defines when a quiz can be started by
          students</xs:documentation>
  </xs:annotation>
</xs:attribute>
Schema location file:/home/geoff/Documents/school/4002-770/project/quizTime.xsd
Attribute quizAtts / @end
Namespace No namespace
Annotations
This attribute defines when a quiz ends (for student
completion)
Type xs:dateTime
Properties
use: optional
Used by
Attribute Group quizAtts
Source
<xs:attribute name="end" use="optional" type="xs:dateTime">
  <xs:annotation>
    <xs:documentation>This attribute defines when a quiz ends (for student
          completion)</xs:documentation>
  </xs:annotation>
</xs:attribute>
Schema location file:/home/geoff/Documents/school/4002-770/project/quizTime.xsd
Attribute Group personAtts
Namespace No namespace
Annotations
This groups the attributes used by the person element.
Diagram
Diagram quizTime0.tmp#id11 quizTime0.tmp#id12
Used by
Element person
Attributes
QName Type Fixed Default Use Annotation
admin xs:boolean optional
This is an attribute that flags a user as an administrator or
not
id xs:integer required
This is an identifier attribute for each user of the
system
Source
<xs:attributeGroup name="personAtts">
  <xs:annotation>
    <xs:documentation>This groups the attributes used by the person element.</xs:documentation>
  </xs:annotation>
  <xs:attribute name="id" use="required" type="xs:integer">
    <xs:annotation>
      <xs:documentation>This is an identifier attribute for each user of the
          system</xs:documentation>
    </xs:annotation>
  </xs:attribute>
  <xs:attribute name="admin" use="optional" type="xs:boolean">
    <xs:annotation>
      <xs:documentation>This is an attribute that flags a user as an administrator or
          not</xs:documentation>
    </xs:annotation>
  </xs:attribute>
</xs:attributeGroup>
Schema location file:/home/geoff/Documents/school/4002-770/project/quizTime.xsd
Attribute Group imageAtts
Namespace No namespace
Diagram
Diagram quizTime0.tmp#id39 quizTime0.tmp#id40 quizTime0.tmp#id41 quizTime0.tmp#id42
Used by
Element image
Attributes
QName Type Fixed Default Use Annotation
alt xs:string optional
height xs:string optional
src xs:string required
width xs:string optional
Source
<xs:attributeGroup name="imageAtts">
  <xs:attribute name="src" type="xs:string" use="required"/>
  <xs:attribute name="alt" type="xs:string" use="optional"/>
  <xs:attribute name="height" type="xs:string" use="optional"/>
  <xs:attribute name="width" type="xs:string" use="optional"/>
</xs:attributeGroup>
Schema location file:/home/geoff/Documents/school/4002-770/project/quizTime.xsd
Attribute Group quizAtts
Namespace No namespace
Diagram
Diagram quizTime0.tmp#id28 quizTime0.tmp#id18 quizTime0.tmp#id51 quizTime0.tmp#id52 quizTime0.tmp#id53 quizTime0.tmp#id54
Used by
Element quiz
Attributes
QName Type Fixed Default Use Annotation
courseNo restriction of xs:string optional
This attribute defines a course number in the format "0000-000-00" where the
0s are any digits.
created xs:dateTime required
This attribute defines when an object in the system is created (such as a
quiz)
end xs:dateTime optional
This attribute defines when a quiz ends (for student
completion)
modified xs:dateTime required
This attribute defines when an object in the system is modified (such as a
quiz)
quiz xs:integer required
This is used to link an element to a specific quiz
start xs:dateTime optional
This attribute defines when a quiz can be started by
students
Source
<xs:attributeGroup name="quizAtts">
  <xs:attribute ref="quiz" use="required"/>
  <xs:attribute ref="courseNo" use="optional"/>
  <xs:attribute name="created" use="required" type="xs:dateTime">
    <xs:annotation>
      <xs:documentation>This attribute defines when an object in the system is created (such as a
          quiz)</xs:documentation>
    </xs:annotation>
  </xs:attribute>
  <xs:attribute name="modified" use="required" type="xs:dateTime">
    <xs:annotation>
      <xs:documentation>This attribute defines when an object in the system is modified (such as a
          quiz)</xs:documentation>
    </xs:annotation>
  </xs:attribute>
  <xs:attribute name="start" use="optional" type="xs:dateTime">
    <xs:annotation>
      <xs:documentation>This attribute defines when a quiz can be started by
          students</xs:documentation>
    </xs:annotation>
  </xs:attribute>
  <xs:attribute name="end" use="optional" type="xs:dateTime">
    <xs:annotation>
      <xs:documentation>This attribute defines when a quiz ends (for student
          completion)</xs:documentation>
    </xs:annotation>
  </xs:attribute>
</xs:attributeGroup>
Schema location file:/home/geoff/Documents/school/4002-770/project/quizTime.xsd