Schema SchemaAnswer.xsd


schema location:  C:\source\speedycraft\Doc\XML\SpeedyCraftSchema\SpeedyCraftSchema\SchemaAnswer.xsd
attribute form default: 
element form default:  qualified
targetNamespace:  http://www.devinco.com/xml/SchemaAnswer.xsd
 
Elements  Complex types 
AnswerList  Answer 


element AnswerList
diagram SchemaAnswer_p1.png
namespace http://www.devinco.com/xml/SchemaAnswer.xsd
properties
content complex
children FormatVersion Answer Documents
annotation
documentation
List of answers corresponding to a specific QuestionList
source <xs:element name="AnswerList">
 
<xs:annotation>
   
<xs:documentation xml:lang="en">List of answers corresponding to a specific QuestionList</xs:documentation>
 
</xs:annotation>
 
<xs:complexType>
   
<xs:sequence>
     
<xs:element name="FormatVersion" type="xs:string" minOccurs="0">
       
<xs:annotation>
         
<xs:documentation xml:lang="en">Version of the XML schema definition format (e.g. the XML framework the schema is built upon)</xs:documentation>
       
</xs:annotation>
     
</xs:element>
     
<xs:element name="Answer" type="Answer" minOccurs="0" maxOccurs="unbounded">
       
<xs:annotation>
         
<xs:documentation xml:lang="en">List of answers</xs:documentation>
       
</xs:annotation>
     
</xs:element>
     
<xs:element name="Documents" minOccurs="0">
       
<xs:annotation>
         
<xs:documentation>List of documents attached to this form</xs:documentation>
       
</xs:annotation>
       
<xs:complexType>
         
<xs:sequence>
           
<xs:element name="Document" minOccurs="0" maxOccurs="unbounded">
             
<xs:annotation>
               
<xs:documentation>If form has Questions with QuestionType = SymbolPosition, these could be placed on top of documents. These documents are defined here, using AttachmentIDText as reference to tblAttachment. The fileSize is only used for checking that the file is correct. </xs:documentation>
             
</xs:annotation>
             
<xs:complexType>
               
<xs:attribute name="AttachmentIDText" use="required">
                 
<xs:annotation>
                   
<xs:documentation>tblAttachment.AttachmentIDText of this document</xs:documentation>
                 
</xs:annotation>
               
</xs:attribute>
               
<xs:attribute name="FileSize" use="required">
                 
<xs:annotation>
                   
<xs:documentation>FileSize in bytes</xs:documentation>
                 
</xs:annotation>
               
</xs:attribute>
               
<xs:attribute name="Rotation" use="required">
                 
<xs:annotation>
                   
<xs:documentation>If the image has been rotated, set e.g "-90" here</xs:documentation>
                 
</xs:annotation>
               
</xs:attribute>
               
<xs:attribute name="SymbolSize" use="required">
                 
<xs:annotation>
                   
<xs:documentation>Set the size of symbols from -4 to 4</xs:documentation>
                 
</xs:annotation>
               
</xs:attribute>
             
</xs:complexType>
           
</xs:element>
         
</xs:sequence>
       
</xs:complexType>
     
</xs:element>
   
</xs:sequence>
 
</xs:complexType>
</xs:element>

element AnswerList/FormatVersion
diagram SchemaAnswer_p2.png
namespace http://www.devinco.com/xml/SchemaAnswer.xsd
type xs:string
properties
isRef 0
minOcc 0
maxOcc 1
content simple
annotation
documentation
Version of the XML schema definition format (e.g. the XML framework the schema is built upon)
source <xs:element name="FormatVersion" type="xs:string" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation xml:lang="en">Version of the XML schema definition format (e.g. the XML framework the schema is built upon)</xs:documentation>
 
</xs:annotation>
</xs:element>

element AnswerList/Answer
diagram SchemaAnswer_p3.png
namespace http://www.devinco.com/xml/SchemaAnswer.xsd
type Answer
properties
isRef 0
minOcc 0
maxOcc unbounded
content complex
children QuestionID Value Touched DisplayedText Comment
annotation
documentation
List of answers
source <xs:element name="Answer" type="Answer" minOccurs="0" maxOccurs="unbounded">
 
<xs:annotation>
   
<xs:documentation xml:lang="en">List of answers</xs:documentation>
 
</xs:annotation>
</xs:element>

element AnswerList/Documents
diagram SchemaAnswer_p4.png
namespace http://www.devinco.com/xml/SchemaAnswer.xsd
properties
isRef 0
minOcc 0
maxOcc 1
content complex
children Document
annotation
documentation
List of documents attached to this form
source <xs:element name="Documents" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>List of documents attached to this form</xs:documentation>
 
</xs:annotation>
 
<xs:complexType>
   
<xs:sequence>
     
<xs:element name="Document" minOccurs="0" maxOccurs="unbounded">
       
<xs:annotation>
         
<xs:documentation>If form has Questions with QuestionType = SymbolPosition, these could be placed on top of documents. These documents are defined here, using AttachmentIDText as reference to tblAttachment. The fileSize is only used for checking that the file is correct. </xs:documentation>
       
</xs:annotation>
       
<xs:complexType>
         
<xs:attribute name="AttachmentIDText" use="required">
           
<xs:annotation>
             
<xs:documentation>tblAttachment.AttachmentIDText of this document</xs:documentation>
           
</xs:annotation>
         
</xs:attribute>
         
<xs:attribute name="FileSize" use="required">
           
<xs:annotation>
             
<xs:documentation>FileSize in bytes</xs:documentation>
           
</xs:annotation>
         
</xs:attribute>
         
<xs:attribute name="Rotation" use="required">
           
<xs:annotation>
             
<xs:documentation>If the image has been rotated, set e.g "-90" here</xs:documentation>
           
</xs:annotation>
         
</xs:attribute>
         
<xs:attribute name="SymbolSize" use="required">
           
<xs:annotation>
             
<xs:documentation>Set the size of symbols from -4 to 4</xs:documentation>
           
</xs:annotation>
         
</xs:attribute>
       
</xs:complexType>
     
</xs:element>
   
</xs:sequence>
 
</xs:complexType>
</xs:element>

element AnswerList/Documents/Document
diagram SchemaAnswer_p5.png
namespace http://www.devinco.com/xml/SchemaAnswer.xsd
properties
isRef 0
minOcc 0
maxOcc unbounded
content complex
attributes
Name  Type  Use  Default  Fixed  annotation
AttachmentIDTextrequired      
documentation
tblAttachment.AttachmentIDText of this document
FileSizerequired      
documentation
FileSize in bytes
Rotationrequired      
documentation
If the image has been rotated, set e.g "-90" here
SymbolSizerequired      
documentation
Set the size of symbols from -4 to 4
annotation
documentation
If form has Questions with QuestionType = SymbolPosition, these could be placed on top of documents. These documents are defined here, using AttachmentIDText as reference to tblAttachment. The fileSize is only used for checking that the file is correct.
source <xs:element name="Document" minOccurs="0" maxOccurs="unbounded">
 
<xs:annotation>
   
<xs:documentation>If form has Questions with QuestionType = SymbolPosition, these could be placed on top of documents. These documents are defined here, using AttachmentIDText as reference to tblAttachment. The fileSize is only used for checking that the file is correct. </xs:documentation>
 
</xs:annotation>
 
<xs:complexType>
   
<xs:attribute name="AttachmentIDText" use="required">
     
<xs:annotation>
       
<xs:documentation>tblAttachment.AttachmentIDText of this document</xs:documentation>
     
</xs:annotation>
   
</xs:attribute>
   
<xs:attribute name="FileSize" use="required">
     
<xs:annotation>
       
<xs:documentation>FileSize in bytes</xs:documentation>
     
</xs:annotation>
   
</xs:attribute>
   
<xs:attribute name="Rotation" use="required">
     
<xs:annotation>
       
<xs:documentation>If the image has been rotated, set e.g "-90" here</xs:documentation>
     
</xs:annotation>
   
</xs:attribute>
   
<xs:attribute name="SymbolSize" use="required">
     
<xs:annotation>
       
<xs:documentation>Set the size of symbols from -4 to 4</xs:documentation>
     
</xs:annotation>
   
</xs:attribute>
 
</xs:complexType>
</xs:element>

attribute AnswerList/Documents/Document/@AttachmentIDText
properties
isRef 0
use required
annotation
documentation
tblAttachment.AttachmentIDText of this document
source <xs:attribute name="AttachmentIDText" use="required">
 
<xs:annotation>
   
<xs:documentation>tblAttachment.AttachmentIDText of this document</xs:documentation>
 
</xs:annotation>
</xs:attribute>

attribute AnswerList/Documents/Document/@FileSize
properties
isRef 0
use required
annotation
documentation
FileSize in bytes
source <xs:attribute name="FileSize" use="required">
 
<xs:annotation>
   
<xs:documentation>FileSize in bytes</xs:documentation>
 
</xs:annotation>
</xs:attribute>

attribute AnswerList/Documents/Document/@Rotation
properties
isRef 0
use required
annotation
documentation
If the image has been rotated, set e.g "-90" here
source <xs:attribute name="Rotation" use="required">
 
<xs:annotation>
   
<xs:documentation>If the image has been rotated, set e.g "-90" here</xs:documentation>
 
</xs:annotation>
</xs:attribute>

attribute AnswerList/Documents/Document/@SymbolSize
properties
isRef 0
use required
annotation
documentation
Set the size of symbols from -4 to 4
source <xs:attribute name="SymbolSize" use="required">
 
<xs:annotation>
   
<xs:documentation>Set the size of symbols from -4 to 4</xs:documentation>
 
</xs:annotation>
</xs:attribute>

complexType Answer
diagram SchemaAnswer_p6.png
namespace http://www.devinco.com/xml/SchemaAnswer.xsd
children QuestionID Value Touched DisplayedText Comment
used by
element AnswerList/Answer
source <xs:complexType name="Answer">
 
<xs:sequence>
   
<xs:element name="QuestionID" type="xs:long">
     
<xs:annotation>
       
<xs:documentation xml:lang="en">Unique ID for each answer. The ID is the same as for the corresponding Question in the QuestionList</xs:documentation>
     
</xs:annotation>
   
</xs:element>
   
<xs:element name="Value" type="xs:string">
     
<xs:annotation>
       
<xs:documentation xml:lang="en">Used to store the answer given
If QuestionType-Type is SymbolPosition, Value is used to store where the symbol is placed. This is given by GUID of the document/floorplan attachment (as defined in tblAttachment.AttachmentIDText), and position in X, Y:
"GUID;X;Y"
</xs:documentation>
     
</xs:annotation>
   
</xs:element>
   
<xs:element name="Touched" minOccurs="0">
     
<xs:annotation>
       
<xs:documentation>Set by SpeedyCraft Mobile to 1 if the question has been touched by one or more users. This way, one may track what questions have been viewed or answered.</xs:documentation>
     
</xs:annotation>
   
</xs:element>
   
<xs:element name="DisplayedText" type="xs:string" minOccurs="0">
     
<xs:annotation>
       
<xs:documentation xml:lang="en">[OBSOLETE, not implemented in SpeedyCraft Mobile 3]  If set, this is what is to be shown(typically text), while Value gives the answered value(typically numbers or IDs)</xs:documentation>
     
</xs:annotation>
   
</xs:element>
   
<xs:element name="Comment" type="xs:string" minOccurs="0">
     
<xs:annotation>
       
<xs:documentation xml:lang="en">[OBSOLETE, not implemented in SpeedyCraft Mobile 3] Comment to the answer given</xs:documentation>
     
</xs:annotation>
   
</xs:element>
 
</xs:sequence>
</xs:complexType>

element Answer/QuestionID
diagram SchemaAnswer_p7.png
namespace http://www.devinco.com/xml/SchemaAnswer.xsd
type xs:long
properties
isRef 0
content simple
annotation
documentation
Unique ID for each answer. The ID is the same as for the corresponding Question in the QuestionList
source <xs:element name="QuestionID" type="xs:long">
 
<xs:annotation>
   
<xs:documentation xml:lang="en">Unique ID for each answer. The ID is the same as for the corresponding Question in the QuestionList</xs:documentation>
 
</xs:annotation>
</xs:element>

element Answer/Value
diagram SchemaAnswer_p8.png
namespace http://www.devinco.com/xml/SchemaAnswer.xsd
type xs:string
properties
isRef 0
content simple
annotation
documentation
Used to store the answer given
If QuestionType-Type is SymbolPosition, Value is used to store where the symbol is placed. This is given by GUID of the document/floorplan attachment (as defined in tblAttachment.AttachmentIDText), and position in X, Y:
"GUID;X;Y"
source <xs:element name="Value" type="xs:string">
 
<xs:annotation>
   
<xs:documentation xml:lang="en">Used to store the answer given
If QuestionType-Type is SymbolPosition, Value is used to store where the symbol is placed. This is given by GUID of the document/floorplan attachment (as defined in tblAttachment.AttachmentIDText), and position in X, Y:
"GUID;X;Y"
</xs:documentation>
 
</xs:annotation>
</xs:element>

element Answer/Touched
diagram SchemaAnswer_p9.png
namespace http://www.devinco.com/xml/SchemaAnswer.xsd
properties
isRef 0
minOcc 0
maxOcc 1
annotation
documentation
Set by SpeedyCraft Mobile to 1 if the question has been touched by one or more users. This way, one may track what questions have been viewed or answered.
source <xs:element name="Touched" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>Set by SpeedyCraft Mobile to 1 if the question has been touched by one or more users. This way, one may track what questions have been viewed or answered.</xs:documentation>
 
</xs:annotation>
</xs:element>

element Answer/DisplayedText
diagram SchemaAnswer_p10.png
namespace http://www.devinco.com/xml/SchemaAnswer.xsd
type xs:string
properties
isRef 0
minOcc 0
maxOcc 1
content simple
annotation
documentation
[OBSOLETE, not implemented in SpeedyCraft Mobile 3]  If set, this is what is to be shown(typically text), while Value gives the answered value(typically numbers or IDs)
source <xs:element name="DisplayedText" type="xs:string" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation xml:lang="en">[OBSOLETE, not implemented in SpeedyCraft Mobile 3]  If set, this is what is to be shown(typically text), while Value gives the answered value(typically numbers or IDs)</xs:documentation>
 
</xs:annotation>
</xs:element>

element Answer/Comment
diagram SchemaAnswer_p11.png
namespace http://www.devinco.com/xml/SchemaAnswer.xsd
type xs:string
properties
isRef 0
minOcc 0
maxOcc 1
content simple
annotation
documentation
[OBSOLETE, not implemented in SpeedyCraft Mobile 3] Comment to the answer given
source <xs:element name="Comment" type="xs:string" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation xml:lang="en">[OBSOLETE, not implemented in SpeedyCraft Mobile 3] Comment to the answer given</xs:documentation>
 
</xs:annotation>
</xs:element>


XML Schema documentation generated by
XMLSpy Schema Editor http://www.altova.com/xmlspy