> ## Documentation Index
> Fetch the complete documentation index at: https://docs.tesouro.com/llms.txt
> Use this file to discover all available pages before exploring further.

# DecisionComponent

> An underwriting decision component representing a verification check performed on a boarding application, such as identity verification or credit checks.

`OBJECT`

An underwriting decision component representing a verification check performed on a boarding application, such as identity verification or credit checks.

## Fields

<ResponseField name="schema" type="UnderwritingDecisionComponentSchema">
  <Expandable title="child attributes">
    <ResponseField name="id" type="UUID!" required>
      The unique identifier of the component schema.
    </ResponseField>

    <ResponseField name="label" type="String!" required>
      The display label for this decision component schema.
    </ResponseField>

    <ResponseField name="requiredRoles" type="[ApplicationParticipantRole!]">
      The participant roles required to access or interact with this decision component.

      See [ApplicationParticipantRole](/underwriting/reference/graphql/types/application-participant-role)
    </ResponseField>

    <ResponseField name="requiredScopes" type="[String!]">
      The authorization scopes required to access or interact with this decision component.
    </ResponseField>

    <ResponseField name="underwritingDecisionComponentItemSchemas" type="[UnderwritingDecisionComponentItemSchema!]!" required>
      The item schemas that define the verification checks within this component schema.

      See [UnderwritingDecisionComponentItemSchema](/underwriting/reference/graphql/types/underwriting-decision-component-item-schema)
    </ResponseField>
  </Expandable>
</ResponseField>

<ResponseField name="items" type="[DecisionComponentItem!]!" required>
  <Expandable title="child attributes">
    <ResponseField name="descriptiveText" type="String!" required>
      A descriptive text providing context or guidance for this decision component item.
    </ResponseField>

    <ResponseField name="displayOrder" type="Int!" required>
      The display order of this item within the decision component.
    </ResponseField>

    <ResponseField name="dynamicFields" type="[UnderwritingDynamicField!]!" required>
      The dynamic field values captured against this decision-component item (e.g. one owner's identity fields), assembled into the catalog's recursive shape.

      See [UnderwritingDynamicField](/underwriting/reference/graphql/types/underwriting-dynamic-field)
    </ResponseField>

    <ResponseField name="fields" type="[DecisionComponentField!]!" required>
      See [DecisionComponentField](/underwriting/reference/graphql/types/decision-component-field)
    </ResponseField>

    <ResponseField name="guidance" type="String">
      A detailed description of actions to be taken pertaining to a decision component.
    </ResponseField>

    <ResponseField name="id" type="UUID!" required>
      The unique identifier of the decision component item.
    </ResponseField>

    <ResponseField name="label" type="String!" required>
      The display label for this decision component item.
    </ResponseField>

    <ResponseField name="outcomes" type="DecisionComponentOutcomes!" required>
      The processed underwriting outcome results and items to review.

      See [DecisionComponentOutcomes](/underwriting/reference/graphql/types/decision-component-outcomes)
    </ResponseField>

    <ResponseField name="stakeholderId" type="UUID">
      The stakeholder id if this decision component item is associated with a particular stakeholder.
    </ResponseField>

    <ResponseField name="status" type="DecisionComponentItemStatus">
      The current processing status of this decision component item in the underwriting workflow.

      See [DecisionComponentItemStatus](/underwriting/reference/graphql/types/decision-component-item-status)
    </ResponseField>
  </Expandable>
</ResponseField>

<ResponseField name="hasAttachments" type="Boolean!" required />

<ResponseField name="hasComments" type="Boolean!" required />

<ResponseField name="attachments" type="[Attachment!]!" required>
  <Expandable title="child attributes">
    <ResponseField name="fileName" type="String!" required>
      The name of the uploaded file.
    </ResponseField>

    <ResponseField name="id" type="UUID!" required>
      The unique identifier of the attachment.
    </ResponseField>

    <ResponseField name="size" type="Int">
      The size of the attachment in bytes.
    </ResponseField>

    <ResponseField name="uploadedBy" type="Actor">
      See [Actor](/underwriting/reference/graphql/types/actor)
    </ResponseField>

    <ResponseField name="uploadedDateTime" type="DateTime!" required>
      The date and time in UTC that this file was stored in the system.
    </ResponseField>
  </Expandable>
</ResponseField>

<ResponseField name="comments" type="[Comment!]!" required>
  <Expandable title="child attributes">
    <ResponseField name="content" type="String">
      The text content of the comment.
    </ResponseField>

    <ResponseField name="createdBy" type="Actor">
      See [Actor](/underwriting/reference/graphql/types/actor)
    </ResponseField>

    <ResponseField name="createdDateTime" type="DateTime!" required>
      The date and time in UTC that this comment was created.
    </ResponseField>

    <ResponseField name="decisionComponent" type="DecisionComponent" />

    <ResponseField name="id" type="UUID!" required>
      The unique identifier of the comment.
    </ResponseField>

    <ResponseField name="lastUpdatedBy" type="Actor">
      The actor (user or app) who last updated this record

      See [Actor](/underwriting/reference/graphql/types/actor)
    </ResponseField>

    <ResponseField name="updatedDateTime" type="DateTime!" required>
      The last date and time this was updated in UTC.
    </ResponseField>
  </Expandable>
</ResponseField>

<ResponseField name="lastUpdatedBy" type="Actor">
  The actor (user or app) who last updated this record

  <Expandable title="child attributes">
    <ResponseField name="name" type="String!" required />

    <ResponseField name="type" type="ActorType!" required>
      See [ActorType](/underwriting/reference/graphql/types/actor-type)
    </ResponseField>
  </Expandable>
</ResponseField>

<ResponseField name="id" type="UUID!" required>
  The unique identifier of the decision component.
</ResponseField>

<ResponseField name="status" type="DecisionComponentStatus">
  The current processing status of this decision component in the underwriting workflow.

  <Expandable title="Possible enum values">
    <ResponseField name="ACCEPTED" type="enum">
      The decision component has been reviewed and accepted by the underwriter.
    </ResponseField>

    <ResponseField name="ACTION_REQUIRED" type="enum">
      The decision component requires action from the underwriter before processing can continue.
    </ResponseField>

    <ResponseField name="CREATED" type="enum">
      The decision component has been created and is awaiting processing.
    </ResponseField>

    <ResponseField name="NOT_ACCEPTED" type="enum">
      The decision component has been reviewed and not accepted by the underwriter.
    </ResponseField>

    <ResponseField name="PROCESSING" type="enum">
      The decision component is currently being processed by external verification services.
    </ResponseField>

    <ResponseField name="SERVICE_UNAVAILABLE" type="enum">
      One or more external verification services for this component were unavailable.
    </ResponseField>

    <ResponseField name="SUBMISSION_FAILED" type="enum">
      The submission of this component to external verification services failed.
    </ResponseField>
  </Expandable>
</ResponseField>

<ResponseField name="updatedDateTime" type="DateTime!" required>
  The last date and time this was updated in UTC.
</ResponseField>
