| 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 |
| diagram | ![]() |
||
| namespace | http://www.devinco.com/xml/SchemaAnswer.xsd | ||
| properties |
|
||
| children | FormatVersion Answer Documents | ||
| annotation |
|
||
| 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> |
| diagram | ![]() |
||||||||
| namespace | http://www.devinco.com/xml/SchemaAnswer.xsd | ||||||||
| type | xs:string | ||||||||
| properties |
|
||||||||
| annotation |
|
||||||||
| 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> |
| diagram | ![]() |
||||||||
| namespace | http://www.devinco.com/xml/SchemaAnswer.xsd | ||||||||
| type | Answer | ||||||||
| properties |
|
||||||||
| children | QuestionID Value Touched DisplayedText Comment | ||||||||
| annotation |
|
||||||||
| 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> |
| diagram | ![]() |
||||||||
| namespace | http://www.devinco.com/xml/SchemaAnswer.xsd | ||||||||
| properties |
|
||||||||
| children | Document | ||||||||
| annotation |
|
||||||||
| 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> |
| diagram | ![]() |
||||||||||||||||||||||||||||||||||||||
| namespace | http://www.devinco.com/xml/SchemaAnswer.xsd | ||||||||||||||||||||||||||||||||||||||
| properties |
|
||||||||||||||||||||||||||||||||||||||
| attributes |
|
||||||||||||||||||||||||||||||||||||||
| annotation |
|
||||||||||||||||||||||||||||||||||||||
| 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> |
| properties |
|
||||
| annotation |
|
||||
| source | <xs:attribute name="AttachmentIDText" use="required"> <xs:annotation> <xs:documentation>tblAttachment.AttachmentIDText of this document</xs:documentation> </xs:annotation> </xs:attribute> |
| properties |
|
||||
| annotation |
|
||||
| source | <xs:attribute name="FileSize" use="required"> <xs:annotation> <xs:documentation>FileSize in bytes</xs:documentation> </xs:annotation> </xs:attribute> |
| properties |
|
||||
| annotation |
|
||||
| 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> |
| properties |
|
||||
| annotation |
|
||||
| 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> |
| diagram | ![]() |
||
| namespace | http://www.devinco.com/xml/SchemaAnswer.xsd | ||
| children | QuestionID Value Touched DisplayedText Comment | ||
| used by |
|
||
| 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> |
| diagram | ![]() |
||||
| namespace | http://www.devinco.com/xml/SchemaAnswer.xsd | ||||
| type | xs:long | ||||
| properties |
|
||||
| annotation |
|
||||
| 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> |
| diagram | ![]() |
||||
| namespace | http://www.devinco.com/xml/SchemaAnswer.xsd | ||||
| type | xs:string | ||||
| properties |
|
||||
| annotation |
|
||||
| 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> |
| diagram | ![]() |
||||||
| namespace | http://www.devinco.com/xml/SchemaAnswer.xsd | ||||||
| properties |
|
||||||
| annotation |
|
||||||
| 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> |
| diagram | ![]() |
||||||||
| namespace | http://www.devinco.com/xml/SchemaAnswer.xsd | ||||||||
| type | xs:string | ||||||||
| properties |
|
||||||||
| annotation |
|
||||||||
| 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> |
| diagram | ![]() |
||||||||
| namespace | http://www.devinco.com/xml/SchemaAnswer.xsd | ||||||||
| type | xs:string | ||||||||
| properties |
|
||||||||
| annotation |
|
||||||||
| 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> |