Skip to content

HIT

Source code in docs_src/capo_mturk/types/hit.py
class HIT(TypedDict, closed=True):
    hit_id: NotRequired["capo_mturk.types.entity_id.EntityId"]
    """<p> A unique identifier for the HIT.</p>"""
    hit_type_id: NotRequired["capo_mturk.types.entity_id.EntityId"]
    """<p>The ID of the HIT type of this HIT</p>"""
    hit_group_id: NotRequired["capo_mturk.types.entity_id.EntityId"]
    """<p> The ID of the HIT Group of this HIT.</p>"""
    hit_layout_id: NotRequired["capo_mturk.types.entity_id.EntityId"]
    """<p> The ID of the HIT Layout of this HIT.</p>"""
    creation_time: NotRequired["capo_mturk.types.timestamp.Timestamp"]
    """<p> The date and time the HIT was created.</p>"""
    title: NotRequired["capo_mturk.types.string.String"]
    """<p> The title of the HIT.</p>"""
    description: NotRequired["capo_mturk.types.string.String"]
    """<p> A general description of the HIT.</p>"""
    question: NotRequired["capo_mturk.types.string.String"]
    """<p> The data the Worker completing the HIT uses produce the results. This is either either a QuestionForm, HTMLQuestion or an ExternalQuestion data structure.</p>"""
    keywords: NotRequired["capo_mturk.types.string.String"]
    """<p> One or more words or phrases that describe the HIT, separated by commas. Search terms similar to the keywords of a HIT are more likely to have the HIT in the search results.</p>"""
    hit_status: NotRequired["capo_mturk.types.hit_status.HITStatus"]
    """<p>The status of the HIT and its assignments. Valid Values are Assignable | Unassignable | Reviewable | Reviewing | Disposed. </p>"""
    max_assignments: NotRequired["capo_mturk.types.integer.Integer"]
    """<p>The number of times the HIT can be accepted and completed before the HIT becomes unavailable. </p>"""
    reward: NotRequired["capo_mturk.types.currency_amount.CurrencyAmount"]
    auto_approval_delay_in_seconds: NotRequired["capo_mturk.types.long.Long"]
    """<p>The amount of time, in seconds, after the Worker submits an assignment for the HIT that the results are automatically approved by Amazon Mechanical Turk. This is the amount of time the Requester has to reject an assignment submitted by a Worker before the assignment is auto-approved and the Worker is paid. </p>"""
    expiration: NotRequired["capo_mturk.types.timestamp.Timestamp"]
    """<p>The date and time the HIT expires.</p>"""
    assignment_duration_in_seconds: NotRequired["capo_mturk.types.long.Long"]
    """<p> The length of time, in seconds, that a Worker has to complete the HIT after accepting it.</p>"""
    requester_annotation: NotRequired["capo_mturk.types.string.String"]
    """<p> An arbitrary data field the Requester who created the HIT can use. This field is visible only to the creator of the HIT.</p>"""
    qualification_requirements: NotRequired[
        "capo_mturk.types.qualification_requirement_list.QualificationRequirementList"
    ]
    """<p> Conditions that a Worker's Qualifications must meet in order to accept the HIT. A HIT can have between zero and ten Qualification requirements. All requirements must be met in order for a Worker to accept the HIT. Additionally, other actions can be restricted using the <code>ActionsGuarded</code> field on each <code>QualificationRequirement</code> structure. </p>"""
    hit_review_status: NotRequired["capo_mturk.types.hit_review_status.HITReviewStatus"]
    """<p> Indicates the review status of the HIT. Valid Values are NotReviewed | MarkedForReview | ReviewedAppropriate | ReviewedInappropriate.</p>"""
    number_of_assignments_pending: NotRequired["capo_mturk.types.integer.Integer"]
    """<p> The number of assignments for this HIT that are being previewed or have been accepted by Workers, but have not yet been submitted, returned, or abandoned.</p>"""
    number_of_assignments_available: NotRequired["capo_mturk.types.integer.Integer"]
    """<p> The number of assignments for this HIT that are available for Workers to accept.</p>"""
    number_of_assignments_completed: NotRequired["capo_mturk.types.integer.Integer"]
    """<p> The number of assignments for this HIT that have been approved or rejected.</p>"""

assignment_duration_in_seconds instance-attribute

assignment_duration_in_seconds: NotRequired[Long]

The length of time, in seconds, that a Worker has to complete the HIT after accepting it.

auto_approval_delay_in_seconds instance-attribute

auto_approval_delay_in_seconds: NotRequired[Long]

The amount of time, in seconds, after the Worker submits an assignment for the HIT that the results are automatically approved by Amazon Mechanical Turk. This is the amount of time the Requester has to reject an assignment submitted by a Worker before the assignment is auto-approved and the Worker is paid.

creation_time instance-attribute

creation_time: NotRequired[Timestamp]

The date and time the HIT was created.

description instance-attribute

description: NotRequired[String]

A general description of the HIT.

expiration instance-attribute

expiration: NotRequired[Timestamp]

The date and time the HIT expires.

hit_group_id instance-attribute

hit_group_id: NotRequired[EntityId]

The ID of the HIT Group of this HIT.

hit_id instance-attribute

hit_id: NotRequired[EntityId]

A unique identifier for the HIT.

hit_layout_id instance-attribute

hit_layout_id: NotRequired[EntityId]

The ID of the HIT Layout of this HIT.

hit_review_status instance-attribute

hit_review_status: NotRequired[HITReviewStatus]

Indicates the review status of the HIT. Valid Values are NotReviewed | MarkedForReview | ReviewedAppropriate | ReviewedInappropriate.

hit_status instance-attribute

hit_status: NotRequired[HITStatus]

The status of the HIT and its assignments. Valid Values are Assignable | Unassignable | Reviewable | Reviewing | Disposed.

hit_type_id instance-attribute

hit_type_id: NotRequired[EntityId]

The ID of the HIT type of this HIT

keywords instance-attribute

keywords: NotRequired[String]

One or more words or phrases that describe the HIT, separated by commas. Search terms similar to the keywords of a HIT are more likely to have the HIT in the search results.

max_assignments instance-attribute

max_assignments: NotRequired[Integer]

The number of times the HIT can be accepted and completed before the HIT becomes unavailable.

number_of_assignments_available instance-attribute

number_of_assignments_available: NotRequired[Integer]

The number of assignments for this HIT that are available for Workers to accept.

number_of_assignments_completed instance-attribute

number_of_assignments_completed: NotRequired[Integer]

The number of assignments for this HIT that have been approved or rejected.

number_of_assignments_pending instance-attribute

number_of_assignments_pending: NotRequired[Integer]

The number of assignments for this HIT that are being previewed or have been accepted by Workers, but have not yet been submitted, returned, or abandoned.

qualification_requirements instance-attribute

qualification_requirements: NotRequired[QualificationRequirementList]

Conditions that a Worker's Qualifications must meet in order to accept the HIT. A HIT can have between zero and ten Qualification requirements. All requirements must be met in order for a Worker to accept the HIT. Additionally, other actions can be restricted using the ActionsGuarded field on each QualificationRequirement structure.

question instance-attribute

question: NotRequired[String]

The data the Worker completing the HIT uses produce the results. This is either either a QuestionForm, HTMLQuestion or an ExternalQuestion data structure.

requester_annotation instance-attribute

requester_annotation: NotRequired[String]

An arbitrary data field the Requester who created the HIT can use. This field is visible only to the creator of the HIT.

reward instance-attribute

reward: NotRequired[CurrencyAmount]

title instance-attribute

title: NotRequired[String]

The title of the HIT.