The QualificationType data structure represents a Qualification type, a description of a property of a Worker that must match the requirements of a HIT for the Worker to be able to accept the HIT. The type also describes how a Worker can obtain a Qualification of that type, such as through a Qualification test.
The QualificationType data structure is used as a response element for the following operations:
CreateQualificationType
GetQualificationType
SearchQualificationTypes
UpdateQualificationType
The following example of the QualificationType data structure
could be returned by a call to the
GetQualificationType operation.
GetQualificationType returns a
GetQualificationTypeResult element, which
contains a QualificationType element.
<QualificationType> <QualificationTypeId>789RVWYBAZW00EXAMPLE</QualificationTypeId> <CreationTime>2005-01-31T23:59:59Z</CreationTime> <Name>EnglishWritingAbility</Name> <Description>The ability to write and edit text...</Description> <Keywords>English, text, write, edit, language</Keywords> <QualificationTypeStatus>Active</QualificationTypeStatus> <RetryDelayInSeconds>86400</RetryDelayInSeconds> <IsRequestable>true</IsRequestable> </QualificationType>
The QualificationType structure may contain the following elements.
| Name | Description | Value |
|---|---|---|
QualificationTypeId
|
A unique identifier for the Qualification type. A
Qualification type is given a Qualification type ID
when |
A valid Qualification type ID |
CreationTime
|
The date and time the Qualification type was created. |
A dateTime in the Coordinated Universal Time (Greenwich Mean Time) time zone, such as |
Name
|
The name of the Qualification type. The type name is used to identify the type, and to find the type using a Qualification type search. |
A string |
Description
|
A long description for the Qualification type. |
A string |
Keywords
|
One or more words or phrases that describe the Qualification type, separated by commas. A type's Keywords make the type easier to find using a search. |
A string |
QualificationTypeStatus
|
The status of the Qualification type. A Qualification type's status determines if users can apply to receive a Qualification of this type, and if HITs can be created with requirements based on this type.
If a Qualification type is
|
|
RetryDelayInSeconds
|
An amount of time after taking the Qualification test a user must wait before the user can take it again. A user may wish to take a Qualification test multiple times if they were not granted the Qualification from a previous attempt, or if the test offers a gradient score and the user would like a better score.
If |
A number of seconds, as a positive integer |
Test
|
The questions for a Qualification test associated with this Qualification type that a user can take to obtain a Qualification of this type. This value is an XML data structure. See the QuestionForm data structure for more information. (Note: A Qualification test cannot use an "external question" like a HIT can.) |
XML data for the Qualification test, a QuestionForm data structure |
TestDurationInSeconds
|
An amount of time a user has from requesting the
Qualification to complete the Qualification test. If
the user does not submit test answers before this
duration has elapsed after requesting the
Qualification, the user must wait for the
|
A number of seconds, as a positive integer |
AnswerKey
|
The answers to the Qualification test specified in the If an answer key is provided for a test, Mechanical Turk will process requests for the Qualification automatically, assigning the user a Qualification with a value that corresponds to the percentage of answers that match the answer key. This value is an XML data structure. See the AnswerKey data structure for more information.
The answer key is optional. If an answer key is not
provided with a test, Qualification requests must be
processed manually by the Qualification author. The
user's test answers will be included in the response
from the
|
XML data for the answer key, an AnswerKey data structure |
AutoGranted
|
If
A Qualification type cannot have both a
|
A Boolean, |
AutoGranted
|
The Qualification value to use for automatically
granted Qualifications, if
If |
An integer |
IsRequestable
|
This will be |
A Boolean, |