Skip to main content

CustomResponse7

data object
chatBox object[]

Chatbox

  • Array [
  • attachments object[]

    Attachments in Chatbox

  • Array [
  • fileNamestringnullable

    File Name of the attachment in Chatbox

    Example: 123-abc
    urlstring<url>

    URL of attachments for the CAPA report

    Example: https://.../image1.jpg
  • ]
  • createdDatestring<date-time>

    Creation date of the message in Chatbox

    Example: 2021-05-25T13:58:26+00:00
    emailstring

    Email of the contact who posted the message in Chatbox

    firstNamestringnullable

    First Name of the contact who posted the message in Chatbox

    Example: John
    lastNamestringnullable

    Last Name of the contact who posted the message in Chatbox

    Example: Doe
    messagestringnullable

    Message in Chatbox

    Example: Please update the status
    organizationNamestringnullable

    Organization of the contact who posted the message in Chatbox

    Example: Acme Corp
  • ]
  • generalInformation object

    General information on CAPA

    actualInspectionDatestring<date-time>nullable

    Actual inspection date

    Example: 2021-05-07T00:00:00+00:00
    assortmentIdsstring[]nullable

    List of assortment IDs

    Example: A123
    availableQuantityintegernullable

    Available quantity of items of purchase orders

    Example: 200
    capaStatusstringnullable

    CAPA status of the report

    Example: Approved
    factoryIdstringnullable

    Custom ID of the factory in the inspection

    Example: F0123
    factoryNamestringnullable

    Name of the factory in the inspection

    Example: Acme Factory
    inspectionIdstringnullable

    Unique identifier of the inspection

    Example: 1234902f-5ab4-4f4e-8422-794109d951b4
    inspectionLocation objectnullable

    Location where the inspection took place

    addressstringnullable

    Address of the inspected organization

    Example: 1 Madison Avenue
    contact object

    Contact information of the organization

    contactIdstringnullable

    Unique identifier of the organization contact

    Example: 1122
    emailstringnullable

    Email address of the organization contact

    mobileNumberstringnullable

    Mobile number of the organization contact

    Example: 1234567890
    namestringnullable

    Name of the organization contact

    Example: John Doe
    telephoneNumberstringnullable

    Telephone number of the organization contact

    Example: 1234567890
    countrystringnullable

    Country of the inspected organization in 2 characters ISO format

    Example: US
    namestringnullable
    Example: Acme Corp
    organizationIdstringnullable

    Unique identifier of the inspected organization

    Example: F000123
    inspectionResultstringnullable

    Inspection result

    Example: pass
    inspectionTypestringnullable

    Inspection type

    Example: TPR
    inspectorNamestringnullable

    Inspector name

    Example: John Doe
    itemIdsstring[]nullable

    List of item IDs

    Example: 111-22-123456
    orderQuantityintegernullable

    Order quantity of items of purchase orders

    Example: 200
    packingTypesstring[]nullable

    List of packing types

    Example: Solid
    productCategories object[]nullable

    list of product categories

  • Array [
  • idstringnullable

    Unique identifier of the product category or product line

    Example: C123
    namestringnullable

    Name of the product category or product line

    Example: Menswear
  • ]
  • productLines object[]nullable

    List of product lines

  • Array [
  • idstringnullable

    Unique identifier of the product category or product line

    Example: C123
    namestringnullable

    Name of the product category or product line

    Example: Menswear
  • ]
  • proposedInspectionDatestring<date-time>nullable

    Proposed inspection date

    Example: 2021-05-07T00:00:00+00:00
    styleIdsstring[]nullable

    List of style IDs

    Example: S123
    supplierIdstringnullable

    Custom ID of the supplier in the inspection

    Example: S0246
    supplierNamestringnullable

    Name of the supplier in the inspection

    Example: Padme Supplier
    nonConformities object

    Non-Conformity

    assembly object

    Assembly section

    aql object

    AQL information

    aqlIdstringnullable

    AQL ID

    Example: 123
    criticalnumber

    Number of Critical defects

    Example: 0
    majornumber

    Number of Major defects

    Example: 1
    minornumber

    Number of Minor defects

    Example: 2
    defectFound object

    Information on the number of defects

    criticalinteger

    Number of Critical defects

    Example: 0
    majorinteger

    Number of Major defects

    Example: 1
    minorinteger

    Number of Minor defects

    Example: 2
    defects object[]

    Defect details

  • Array [
  • affectedPercentagenumber

    Affected percentage by the defect

    Example: 1
    comments object[]

    Comment on the actions

  • Array [
  • attachments object[]

    Attachments in Chatbox

  • Array [
  • fileNamestringnullable

    File Name of the attachment in Chatbox

    Example: 123-abc
    urlstring<url>

    URL of attachments for the CAPA report

    Example: https://.../image1.jpg
  • ]
  • createdDatestring<date-time>

    Creation date of the message in Chatbox

    Example: 2021-05-25T13:58:26+00:00
    emailstring

    Email of the contact who posted the message in Chatbox

    firstNamestringnullable

    First Name of the contact who posted the message in Chatbox

    Example: John
    lastNamestringnullable

    Last Name of the contact who posted the message in Chatbox

    Example: Doe
    messagestringnullable

    Message in Chatbox

    Example: Please update the status
    organizationNamestringnullable

    Organization of the contact who posted the message in Chatbox

    Example: Acme Corp
  • ]
  • correctiveAction object

    Information on the corrective action

    detailsstringnullable

    Details on the corrective action

    Example: Rework on the defective units
    valuestringnullable

    An action in the corrective list

    Example: Rework Units
    defectCategorystringnullable

    Defect category

    Example: Construction
    defectCodestringnullable

    Defect code

    Example: CON111
    defectItems object[]

    List of defective items

  • Array [
  • attachments object[]

    List of attachments of defective items

  • Array [
  • urlstring<url>

    URL of attachments for the CAPA report

    Example: https://.../image1.jpg
  • ]
  • classificationstringnullable

    Classification of the defective item

    Example: Minor
    colorstringnullable

    Color of the defective item

    Example: black
    customIdstringnullable

    Custom ID of the defective item

    Example: ITEM123
    itemIdstringnullable

    ID of the defective item

    Example: 111-22-333
    sizestringnullable

    Size of the defective item

    Example: Medium
    commentstringnullable

    Inspector comment on the defective item

    Example: Thread is loose
    styleIdstringnullable

    Style ID of the defective item

    Example: style_1
  • ]
  • defectNamestringnullable

    Defect name

    Example: Construction defect
    preventativeActionstringnullable

    Preventative action

    Example: Advise all staff
    rootCausestringnullable

    Root cause of the defect

    Example: Wrong carton dimension
    totalDefectItemsinteger

    Total defect items

    Example: 1
    totalDefectUnitsinteger

    Total defect units

    Example: 1
  • ]
  • maxAllowed object

    Maximum number of defect allowed

    criticalinteger

    Number of Critical defects

    Example: 0
    majorinteger

    Number of Major defects

    Example: 1
    minorinteger

    Number of Minor defects

    Example: 2
    totalDefectsinteger

    Total number of defects

    Example: 2
    totalItemsinteger

    Total number of defective items

    Example: 2
    checkList object[]

    Checklist section

  • Array [
  • attachments object[]

    List of attachments in the questionnaire

  • Array [
  • urlstring<url>

    URL of attachments for the CAPA report

    Example: https://.../image1.jpg
  • ]
  • comments object[]

    Comment on the actions

  • Array [
  • attachments object[]

    Attachments in Chatbox

  • Array [
  • fileNamestringnullable

    File Name of the attachment in Chatbox

    Example: 123-abc
    urlstring<url>

    URL of attachments for the CAPA report

    Example: https://.../image1.jpg
  • ]
  • createdDatestring<date-time>

    Creation date of the message in Chatbox

    Example: 2021-05-25T13:58:26+00:00
    emailstring

    Email of the contact who posted the message in Chatbox

    firstNamestringnullable

    First Name of the contact who posted the message in Chatbox

    Example: John
    lastNamestringnullable

    Last Name of the contact who posted the message in Chatbox

    Example: Doe
    messagestringnullable

    Message in Chatbox

    Example: Please update the status
    organizationNamestringnullable

    Organization of the contact who posted the message in Chatbox

    Example: Acme Corp
  • ]
  • correctiveAction object

    Information on the corrective action

    detailsstringnullable

    Details on the corrective action

    Example: Rework on the defective units
    valuestringnullable

    An action in the corrective list

    Example: Rework Units
    labelstringnullable

    Label of question

    Example: General
    preventativeActionstringnullable

    Preventative action

    Example: Advise all staff
    rootCausestringnullable

    Root cause of the defect

    Example: Wrong carton dimension
  • ]
  • cqp object

    Critical Quality Points (CQPs) section. Present only for an inspection with Inline CQPs

    products object[]

    Inspected Styles / Items that carry Inline CQPs, in the order of the inspection report

  • Array [
  • cqpFormIdstringnullable

    Business ID of the CQP form the CQPs were captured against (cqpFormId of the CQP Integration API)

    Example: cqpform-2024-001
    cqps object[]

    Failed Inline CQPs of this Style / Item, in capture order

  • Array [
  • addedOnSiteboolean

    true when the inspector added the CQP during the inspection instead of inheriting it

    Example: false
    attachments object[]

    Self-assessment attachments

  • Array [
  • idstring<uuid>required

    Regenerated when the aggregate is replaced with PUT.

    fileUrlstring<uri>

    Possible values: <= 500 characters

    fileNamestring

    Possible values: <= 255 characters

    fileContentTypestring

    Possible values: <= 200 characters

    createdAtstring<date-time>required
    updatedAtstring<date-time>required
  • ]
  • commentstringnullable

    Supplier self-assessment note

    Example: Pull test passed on pre-production samples.
    comments object[]

    Comments on the CQP in the CAPA

  • Array [
  • attachments object[]

    List of attachments on the comment

  • Array [
  • fileNamestringnullable

    File name of the attachment

    Example: photo.jpg
    fileUrlstringnullable

    URL of the attachment

    Example: https://.../file.jpg
  • ]
  • createdDatestring<date-time>nullable

    Date the comment was created

    Example: 2021-05-25T13:58:26+00:00
    emailstringnullable

    Email of the user who posted the comment

    firstNamestringnullable

    First name of the user who posted the comment

    Example: John
    lastNamestringnullable

    Last name of the user who posted the comment

    Example: Doe
    messagestringnullable

    Comment message

    organizationNamestringnullable

    Organization of the user who posted the comment

    Example: Acme Corp
  • ]
  • correctiveAction object

    Corrective action recorded in the CAPA

    detailsstringnullable

    Details on the corrective action

    Example: Rework on the defective units
    valuestringnullable

    An action in the corrective list

    Example: Rework Units
    cqcsstring[]

    Names of the linked CQCs (CQP groups), as the CQP Integration API returns them

    Example: ["Trims"]
    cqpTypeCQPType

    CQP type

    Possible values: [safety, functional, regulation]

    descriptionstringnullable

    CQP description

    Example: Zipper pull must withstand 70 N pull test.
    executionResult objectnullable

    Inspector result captured during inspection execution; null until the result is uploaded

    attachments object[]

    Inspector evidence (photos, videos)

  • Array [
  • fileContentTypestringnullable

    MIME type of the file

    Example: image/jpeg
    fileNamestringnullable

    File name

    Example: evidence-1.jpg
    fileUrlstring<uri>

    URL of the file

    Example: https://.../evidence-1.jpg
    mediaTypestringnullable

    Kind of evidence

    Possible values: [photo, video]

    Example: photo
  • ]
  • capturedAtstring<date-time>nullable

    When the result was captured

    Example: 2026-09-24T03:00:00+00:00
    commentstringnullable

    Inspector comment

    Example: Zipper pull detached on 2 of 8 samples.
    inspectionTypestringnullable

    Inspection type code of the inspection the result was captured on

    Example: INLINE
    naReasonstringnullable

    Reason given when the outcome is na; null otherwise

    outcomeCqpOutcome

    Recorded outcome

    Possible values: [pass, fail, customer_requirement_fail, na]

    idstring<uuid>

    Identifier of this CQP entry on the inspection; the key the corrective actions and comments are attached to

    Example: 11aa2bb3-4cc5-4dd6-8ee7-9ff0a1b2c3d4
    mitigations object[]

    Mitigations as captured on the inspection

  • Array [
  • idstring<uuid>required

    Regenerated when the aggregate is replaced with PUT.

    controlLayerTypeControlLayerType

    Possible values: [product_spec, material, production_process]

    productionStepProductionStep

    Possible values: [material_preparation, cutting, forming_molding, printing_dyeing, sewing, assembly, surface_finishing, washing, finishing, labeling, packing, other]

    specificationstring
    productionControlCheckstring
    qualityControlCheckstring
    createdAtstring<date-time>required
    updatedAtstring<date-time>required
  • ]
  • namestringnullable

    CQP name as captured on the inspection

    Example: Zipper pull strength
    preventativeActionstringnullable

    Preventive action recorded in the CAPA

    Example: Add calibration to the shift checklist.
    previousStageResult objectnullable

    The PPM stage this CQP was inherited from; null when it was not inherited or the PPM inspection is not visible to the caller

    inspectionDatestring<date-time>nullable

    Date the PPM inspection was uploaded

    Example: 2026-08-20T00:00:00+00:00
    inspectionIdstring<uuid>

    Identifier of the PPM inspection (usable with the report endpoints)

    Example: c04a5b6c-7d8e-4f9a-8b0c-1d2e3f4a5b6c
    inspectionTypestringnullable

    Inspection type code of the PPM inspection

    Example: PPM
    outcomestringnullable

    Outcome recorded on the PPM entry, if any; the values of CqpOutcome. PPM rows normally carry a review status, not an outcome, so this is usually null

    Possible values: [pass, fail, customer_requirement_fail, na, null]

    statusCQPStatus

    Review status of the PPM entry

    Possible values: [pending, reviewed]

    reviewNote objectnullable

    Brand / retailer review note recorded on the CQP

    attachments object[]

    Review note attachments

  • Array [
  • idstring<uuid>required

    Regenerated when the aggregate is replaced with PUT.

    fileUrlstring<uri>

    Possible values: <= 500 characters

    fileNamestring

    Possible values: <= 255 characters

    fileContentTypestring

    Possible values: <= 200 characters

    createdAtstring<date-time>required
    updatedAtstring<date-time>required
  • ]
  • commentstringnullable

    Review note text

    Example: Reviewed at PPM, mitigation accepted.
    rootCausestringnullable

    Root cause recorded in the CAPA

    Example: Bar-tack machine out of calibration.
    sourceCqpIdstring<uuid>nullable

    Identifier of the Style / Item library CQP this entry was created from (id of the CQP Integration API); null for a CQP added on site

    Example: 00ff1ee2-3dd4-4cc5-9bb6-7aa8f9e0d1c2
    sourceSnapshotIdstring<uuid>nullable

    Identifier of the PPM CQP entry this entry was inherited from; null when it was not inherited

    Example: b31d4e5f-6a7b-4c8d-9e0f-1a2b3c4d5e6f
    statusCQPStatus

    Review status of the CQP entry

    Possible values: [pending, reviewed]

    verifications object[]

    Verifications as captured on the inspection

  • Array [
  • idstring<uuid>required

    Regenerated when the aggregate is replaced with PUT.

    stageTypeVerificationStage

    Possible values: [pre_production, during_production, post_production]

    methodTypeVerificationMethod

    Possible values: [certified_lab_test, process_verification_checklist, inspection]

    inspectionTypesstring[]

    Possible values: <= 50 characters

    acceptanceCriteriastring
    assignedToVerificationAssignedTo

    Possible values: [third_party, brand_retailer, supplier_factory]

    createdAtstring<date-time>required
    updatedAtstring<date-time>required
  • ]
  • ]
  • customIdstringnullable

    Custom ID of the Style / Item in the client's system, the custom_id used by the CQP Integration API

    Example: KM-STYLE-001
    entityTypestring

    Type of the inspected entity, in the vocabulary of the CQP Integration API (product = Style)

    Possible values: [product, item]

    Example: product
    namestringnullable

    Name of the Style / Item

    Example: Men's zip hoodie
    totalFailedinteger

    Number of failed Inline CQPs on this Style / Item

    Example: 1
  • ]
  • totalCqpsinteger

    Number of Inline CQPs on the inspection, any outcome

    Example: 6
    totalFailedinteger

    Number of Inline CQPs with a failed outcome (fail or customer_requirement_fail)

    Example: 2
    measurement object

    Measurement section

    aql object

    AQL information

    aqlIdstringnullable

    AQL ID

    Example: 123
    criticalnumber

    Number of Critical defects

    Example: 0
    majornumber

    Number of Major defects

    Example: 1
    minornumber

    Number of Minor defects

    Example: 2
    comments object[]

    Comment on the actions

  • Array [
  • attachments object[]

    Attachments in Chatbox

  • Array [
  • fileNamestringnullable

    File Name of the attachment in Chatbox

    Example: 123-abc
    urlstring<url>

    URL of attachments for the CAPA report

    Example: https://.../image1.jpg
  • ]
  • createdDatestring<date-time>

    Creation date of the message in Chatbox

    Example: 2021-05-25T13:58:26+00:00
    emailstring

    Email of the contact who posted the message in Chatbox

    firstNamestringnullable

    First Name of the contact who posted the message in Chatbox

    Example: John
    lastNamestringnullable

    Last Name of the contact who posted the message in Chatbox

    Example: Doe
    messagestringnullable

    Message in Chatbox

    Example: Please update the status
    organizationNamestringnullable

    Organization of the contact who posted the message in Chatbox

    Example: Acme Corp
  • ]
  • correctiveAction object

    Information on the corrective action

    detailsstringnullable

    Details on the corrective action

    Example: Rework on the defective units
    valuestringnullable

    An action in the corrective list

    Example: Rework Units
    defectFound object

    Information on the number of defects

    criticalinteger

    Number of Critical defects

    Example: 0
    majorinteger

    Number of Major defects

    Example: 1
    minorinteger

    Number of Minor defects

    Example: 2
    failedMeasurements object[]

    Failed measurements information

  • Array [
  • foundnumber

    Number of failed measurement found

    Example: 2
    measurementDescriptionstringnullable

    Measurement Description

    Example: Chest
    occurrencenumber

    Number of occurrences

    Example: 2
    sampleNamestringnullable
    Example: tanktop_1
    standardnumber

    Standard measurement

    Example: 20
    tolerancenumber

    Tolerance Lower & Upper of a point of measurement, only use this attribute if your organization has not enabled Unequal Tolerance

    Example: 0.5
    toleranceLowernumber

    Tolerance lower of a point of measurement

    Example: 0.5
    toleranceUppernumber

    Tolerance upper of a point of measurement

    Example: 0.5
  • ]
  • maxAllowed object

    Maximum number of defect allowed

    criticalinteger

    Number of Critical defects

    Example: 0
    majorinteger

    Number of Major defects

    Example: 1
    minorinteger

    Number of Minor defects

    Example: 2
    preventativeActionstringnullable

    Preventative action

    Example: Advise all staff
    rootCausestringnullable

    Root cause of the defect

    Example: Wrong carton dimension
    measurementByDefects object

    Measurement by Defects section

    aql object

    AQL information

    aqlIdstringnullable

    AQL ID

    Example: 123
    criticalnumber

    Number of Critical defects

    Example: 0
    majornumber

    Number of Major defects

    Example: 1
    minornumber

    Number of Minor defects

    Example: 2
    defectFound object

    Information on the number of defects

    criticalinteger

    Number of Critical defects

    Example: 0
    majorinteger

    Number of Major defects

    Example: 1
    minorinteger

    Number of Minor defects

    Example: 2
    defects object[]

    Defect details

  • Array [
  • affectedPercentagenumber

    Affected percentage by the defect

    Example: 1
    comments object[]

    Comment on the actions

  • Array [
  • attachments object[]

    Attachments in Chatbox

  • Array [
  • fileNamestringnullable

    File Name of the attachment in Chatbox

    Example: 123-abc
    urlstring<url>

    URL of attachments for the CAPA report

    Example: https://.../image1.jpg
  • ]
  • createdDatestring<date-time>

    Creation date of the message in Chatbox

    Example: 2021-05-25T13:58:26+00:00
    emailstring

    Email of the contact who posted the message in Chatbox

    firstNamestringnullable

    First Name of the contact who posted the message in Chatbox

    Example: John
    lastNamestringnullable

    Last Name of the contact who posted the message in Chatbox

    Example: Doe
    messagestringnullable

    Message in Chatbox

    Example: Please update the status
    organizationNamestringnullable

    Organization of the contact who posted the message in Chatbox

    Example: Acme Corp
  • ]
  • correctiveAction object

    Information on the corrective action

    detailsstringnullable

    Details on the corrective action

    Example: Rework on the defective units
    valuestringnullable

    An action in the corrective list

    Example: Rework Units
    defectCategorystringnullable

    Defect category

    Example: Construction
    defectCodestringnullable

    Defect code

    Example: CON111
    defectItems object[]

    List of defective items

  • Array [
  • attachments object[]

    List of attachments of defective items

  • Array [
  • urlstring<url>

    URL of attachments for the CAPA report

    Example: https://.../image1.jpg
  • ]
  • classificationstringnullable

    Classification of the defective item

    Example: Minor
    colorstringnullable

    Color of the defective item

    Example: black
    customIdstringnullable

    Custom ID of the defective item

    Example: ITEM123
    itemIdstringnullable

    ID of the defective item

    Example: 111-22-333
    sizestringnullable

    Size of the defective item

    Example: Medium
    commentstringnullable

    Inspector comment on the defective item

    Example: Thread is loose
    styleIdstringnullable

    Style ID of the defective item

    Example: style_1
  • ]
  • defectNamestringnullable

    Defect name

    Example: Construction defect
    preventativeActionstringnullable

    Preventative action

    Example: Advise all staff
    rootCausestringnullable

    Root cause of the defect

    Example: Wrong carton dimension
    totalDefectItemsinteger

    Total defect items

    Example: 1
    totalDefectUnitsinteger

    Total defect units

    Example: 1
  • ]
  • maxAllowed object

    Maximum number of defect allowed

    criticalinteger

    Number of Critical defects

    Example: 0
    majorinteger

    Number of Major defects

    Example: 1
    minorinteger

    Number of Minor defects

    Example: 2
    totalDefectsinteger

    Total number of defects

    Example: 2
    totalItemsinteger

    Total number of defective items

    Example: 2
    moistureCheck object

    Moisture Check section

    aql object

    AQL information

    aqlIdstringnullable

    AQL ID

    Example: 123
    criticalnumber

    Number of Critical defects

    Example: 0
    majornumber

    Number of Major defects

    Example: 1
    minornumber

    Number of Minor defects

    Example: 2
    comments object[]

    Comment on the actions

  • Array [
  • attachments object[]

    Attachments in Chatbox

  • Array [
  • fileNamestringnullable

    File Name of the attachment in Chatbox

    Example: 123-abc
    urlstring<url>

    URL of attachments for the CAPA report

    Example: https://.../image1.jpg
  • ]
  • createdDatestring<date-time>

    Creation date of the message in Chatbox

    Example: 2021-05-25T13:58:26+00:00
    emailstring

    Email of the contact who posted the message in Chatbox

    firstNamestringnullable

    First Name of the contact who posted the message in Chatbox

    Example: John
    lastNamestringnullable

    Last Name of the contact who posted the message in Chatbox

    Example: Doe
    messagestringnullable

    Message in Chatbox

    Example: Please update the status
    organizationNamestringnullable

    Organization of the contact who posted the message in Chatbox

    Example: Acme Corp
  • ]
  • correctiveAction object

    Information on the corrective action

    detailsstringnullable

    Details on the corrective action

    Example: Rework on the defective units
    valuestringnullable

    An action in the corrective list

    Example: Rework Units
    defectFound object

    Information on the number of defects

    criticalinteger

    Number of Critical defects

    Example: 0
    majorinteger

    Number of Major defects

    Example: 1
    minorinteger

    Number of Minor defects

    Example: 2
    defectItems object[]

    List of defective items that failed the moisture check

  • Array [
  • components object[]

    Components of items that failed the moisture check

  • Array [
  • acceptableTolerances object[]

    Acceptable Tolerance information

  • Array [
  • fromnumber

    The bottom range of the acceptable tolerance

    Example: 0.2
    tonumber

    The top range of the acceptable tolerance

    Example: 1
    unitstringnullable

    Unit of the acceptable tolerance in cm,mm,inch

    Example: cm
  • ]
  • defectClassificationstringnullable

    Defect Classification

    Example: Minor
    namestringnullable

    Name of the component

    Example: Arm
    outOfTolerance object

    Out of Tolerance information

    unitstringnullable
    Example: cm
    valuenumber

    value of the out of acceptable tolerance

    Example: 1.5
  • ]
  • itemIdstringnullable

    ID of the item that failed the moisture check

    Example: ITEM1212
    typestringnullable

    Type of the defective item

    Example: General
  • ]
  • maxAllowed object

    Maximum number of defect allowed

    criticalinteger

    Number of Critical defects

    Example: 0
    majorinteger

    Number of Major defects

    Example: 1
    minorinteger

    Number of Minor defects

    Example: 2
    preventativeActionstringnullable

    Preventative action

    Example: Advise all staff
    rootCausestringnullable

    Root cause of the defect

    Example: Wrong carton dimension
    totalDefectsinteger

    Total number of defects

    Example: 2
    totalItemsinteger

    Total number of defective items

    Example: 2
    packaging object

    Packaging section

    aql object

    AQL information

    aqlIdstringnullable

    AQL ID

    Example: 123
    criticalnumber

    Number of Critical defects

    Example: 0
    majornumber

    Number of Major defects

    Example: 1
    minornumber

    Number of Minor defects

    Example: 2
    defectFound object

    Information on the number of defects

    criticalinteger

    Number of Critical defects

    Example: 0
    majorinteger

    Number of Major defects

    Example: 1
    minorinteger

    Number of Minor defects

    Example: 2
    defects object[]

    Defect details

  • Array [
  • affectedPercentagenumber

    Affected percentage by the defect

    Example: 1
    comments object[]

    Comment on the actions

  • Array [
  • attachments object[]

    Attachments in Chatbox

  • Array [
  • fileNamestringnullable

    File Name of the attachment in Chatbox

    Example: 123-abc
    urlstring<url>

    URL of attachments for the CAPA report

    Example: https://.../image1.jpg
  • ]
  • createdDatestring<date-time>

    Creation date of the message in Chatbox

    Example: 2021-05-25T13:58:26+00:00
    emailstring

    Email of the contact who posted the message in Chatbox

    firstNamestringnullable

    First Name of the contact who posted the message in Chatbox

    Example: John
    lastNamestringnullable

    Last Name of the contact who posted the message in Chatbox

    Example: Doe
    messagestringnullable

    Message in Chatbox

    Example: Please update the status
    organizationNamestringnullable

    Organization of the contact who posted the message in Chatbox

    Example: Acme Corp
  • ]
  • correctiveAction object

    Information on the corrective action

    detailsstringnullable

    Details on the corrective action

    Example: Rework on the defective units
    valuestringnullable

    An action in the corrective list

    Example: Rework Units
    defectCategorystringnullable

    Defect category

    Example: Construction
    defectCodestringnullable

    Defect code

    Example: CON111
    defectItems object[]

    List of defective items

  • Array [
  • attachments object[]

    List of attachments of defective items

  • Array [
  • urlstring<url>

    URL of attachments for the CAPA report

    Example: https://.../image1.jpg
  • ]
  • classificationstringnullable

    Classification of the defective item

    Example: Minor
    colorstringnullable

    Color of the defective item

    Example: black
    customIdstringnullable

    Custom ID of the defective item

    Example: ITEM123
    itemIdstringnullable

    ID of the defective item

    Example: 111-22-333
    sizestringnullable

    Size of the defective item

    Example: Medium
    commentstringnullable

    Inspector comment on the defective item

    Example: Thread is loose
    styleIdstringnullable

    Style ID of the defective item

    Example: style_1
  • ]
  • defectNamestringnullable

    Defect name

    Example: Construction defect
    preventativeActionstringnullable

    Preventative action

    Example: Advise all staff
    rootCausestringnullable

    Root cause of the defect

    Example: Wrong carton dimension
    totalDefectItemsinteger

    Total defect items

    Example: 1
    totalDefectUnitsinteger

    Total defect units

    Example: 1
  • ]
  • maxAllowed object

    Maximum number of defect allowed

    criticalinteger

    Number of Critical defects

    Example: 0
    majorinteger

    Number of Major defects

    Example: 1
    minorinteger

    Number of Minor defects

    Example: 2
    packingTypestringnullable

    Packing type

    totalDefectsinteger

    Total number of defects

    Example: 2
    totalItemsinteger

    Total number of defective items

    Example: 2
    questions object[]

    Questions

  • Array [
  • answerstringnullable

    Answer of a question in the questionnaire

    Example: Yes
    answerCommentsstring[]nullable

    The comments for the answer of a question in the questionnaire

    Example: ["comment 1","comment 2","comment 3"]
    attachments object[]

    List of attachments in the questionnaire

  • Array [
  • urlstring<url>

    URL of attachments for the CAPA report

    Example: https://.../image1.jpg
  • ]
  • comments object[]

    Comment on the actions

  • Array [
  • attachments object[]

    Attachments in Chatbox

  • Array [
  • fileNamestringnullable

    File Name of the attachment in Chatbox

    Example: 123-abc
    urlstring<url>

    URL of attachments for the CAPA report

    Example: https://.../image1.jpg
  • ]
  • createdDatestring<date-time>

    Creation date of the message in Chatbox

    Example: 2021-05-25T13:58:26+00:00
    emailstring

    Email of the contact who posted the message in Chatbox

    firstNamestringnullable

    First Name of the contact who posted the message in Chatbox

    Example: John
    lastNamestringnullable

    Last Name of the contact who posted the message in Chatbox

    Example: Doe
    messagestringnullable

    Message in Chatbox

    Example: Please update the status
    organizationNamestringnullable

    Organization of the contact who posted the message in Chatbox

    Example: Acme Corp
  • ]
  • correctiveAction object

    Information on the corrective action

    detailsstringnullable

    Details on the corrective action

    Example: Rework on the defective units
    valuestringnullable

    An action in the corrective list

    Example: Rework Units
    labelstringnullable

    Label of question

    Example: General
    preventativeActionstringnullable

    Preventative action

    Example: Advise all staff
    rootCausestringnullable

    Root cause of the defect

    Example: Wrong carton dimension
  • ]
  • rfid object[]

    RFID section

  • Array [
  • barCodestringnullable

    Barcode

    Example: 456
    comments object[]

    Comment on the actions

  • Array [
  • attachments object[]

    Attachments in Chatbox

  • Array [
  • fileNamestringnullable

    File Name of the attachment in Chatbox

    Example: 123-abc
    urlstring<url>

    URL of attachments for the CAPA report

    Example: https://.../image1.jpg
  • ]
  • createdDatestring<date-time>

    Creation date of the message in Chatbox

    Example: 2021-05-25T13:58:26+00:00
    emailstring

    Email of the contact who posted the message in Chatbox

    firstNamestringnullable

    First Name of the contact who posted the message in Chatbox

    Example: John
    lastNamestringnullable

    Last Name of the contact who posted the message in Chatbox

    Example: Doe
    messagestringnullable

    Message in Chatbox

    Example: Please update the status
    organizationNamestringnullable

    Organization of the contact who posted the message in Chatbox

    Example: Acme Corp
  • ]
  • correctiveAction object

    Information on the corrective action

    detailsstringnullable

    Details on the corrective action

    Example: Rework on the defective units
    valuestringnullable

    An action in the corrective list

    Example: Rework Units
    decryptedCodestringnullable

    Decrypted Code

    Example: 123123
    matchedboolean

    Indicate if the code is matched

    Example: true
    photosstring[]

    List of photos

    preventativeActionstringnullable

    Preventative action

    Example: Advise all staff
    rfidstringnullable

    RFID

    Example: 123
    rootCausestringnullable

    Root cause of the defect

    Example: Wrong carton dimension
  • ]
  • workmanship object

    Workmanship section

    aql object

    AQL information

    aqlIdstringnullable

    AQL ID

    Example: 123
    criticalnumber

    Number of Critical defects

    Example: 0
    majornumber

    Number of Major defects

    Example: 1
    minornumber

    Number of Minor defects

    Example: 2
    defectFound object

    Information on the number of defects

    criticalinteger

    Number of Critical defects

    Example: 0
    majorinteger

    Number of Major defects

    Example: 1
    minorinteger

    Number of Minor defects

    Example: 2
    defects object[]

    Defect details

  • Array [
  • affectedPercentagenumber

    Affected percentage by the defect

    Example: 1
    comments object[]

    Comment on the actions

  • Array [
  • attachments object[]

    Attachments in Chatbox

  • Array [
  • fileNamestringnullable

    File Name of the attachment in Chatbox

    Example: 123-abc
    urlstring<url>

    URL of attachments for the CAPA report

    Example: https://.../image1.jpg
  • ]
  • createdDatestring<date-time>

    Creation date of the message in Chatbox

    Example: 2021-05-25T13:58:26+00:00
    emailstring

    Email of the contact who posted the message in Chatbox

    firstNamestringnullable

    First Name of the contact who posted the message in Chatbox

    Example: John
    lastNamestringnullable

    Last Name of the contact who posted the message in Chatbox

    Example: Doe
    messagestringnullable

    Message in Chatbox

    Example: Please update the status
    organizationNamestringnullable

    Organization of the contact who posted the message in Chatbox

    Example: Acme Corp
  • ]
  • correctiveAction object

    Information on the corrective action

    detailsstringnullable

    Details on the corrective action

    Example: Rework on the defective units
    valuestringnullable

    An action in the corrective list

    Example: Rework Units
    defectCategorystringnullable

    Defect category

    Example: Construction
    defectCodestringnullable

    Defect code

    Example: CON111
    defectItems object[]

    List of defective items

  • Array [
  • attachments object[]

    List of attachments of defective items

  • Array [
  • urlstring<url>

    URL of attachments for the CAPA report

    Example: https://.../image1.jpg
  • ]
  • classificationstringnullable

    Classification of the defective item

    Example: Minor
    colorstringnullable

    Color of the defective item

    Example: black
    customIdstringnullable

    Custom ID of the defective item

    Example: ITEM123
    itemIdstringnullable

    ID of the defective item

    Example: 111-22-333
    sizestringnullable

    Size of the defective item

    Example: Medium
    commentstringnullable

    Inspector comment on the defective item

    Example: Thread is loose
    styleIdstringnullable

    Style ID of the defective item

    Example: style_1
  • ]
  • defectNamestringnullable

    Defect name

    Example: Construction defect
    preventativeActionstringnullable

    Preventative action

    Example: Advise all staff
    rootCausestringnullable

    Root cause of the defect

    Example: Wrong carton dimension
    totalDefectItemsinteger

    Total defect items

    Example: 1
    totalDefectUnitsinteger

    Total defect units

    Example: 1
  • ]
  • maxAllowed object

    Maximum number of defect allowed

    criticalinteger

    Number of Critical defects

    Example: 0
    majorinteger

    Number of Major defects

    Example: 1
    minorinteger

    Number of Minor defects

    Example: 2
    totalDefectsinteger

    Total number of defects

    Example: 2
    totalItemsinteger

    Total number of defective items

    Example: 2
    reInspectionDetail object

    Re-inspection details

    commentstringnullable

    Comment on the re-inspection

    Example: Reviewed
    inspectionTypestringnullable

    Inspection Type of the re-inspection

    Example: TPR
    reInspectionBookingIdstringnullable

    Booking ID of the re-inspection

    Example: 9dc7928867dc
    reInspectionDatestringnullable

    Re-inspection date

    Example: 2021-05-07T00:00:00+00:00
    shipmentWindow object

    Shipment window

    shipmentDateFromstring<date-time>

    The first date of the shipment window

    Example: 2021-05-07T00:00:00+00:00
    shipmentDateTostring<date-time>

    The last date of the shipment window

    Example: 2021-05-15T00:00:00+00:00
    shipmentNotestringnullable

    Note on the shipment window

    Example: Acknowledged
    specialPoints object[]

    List of special points

  • Array [
  • comments object[]

    List of comments on the special point

  • Array [
  • attachments object[]

    List of attachments on the comment

  • Array [
  • fileNamestringnullable

    File name of the attachment

    Example: photo.jpg
    fileUrlstringnullable

    URL of the attachment

    Example: https://.../file.jpg
  • ]
  • createdDatestring<date-time>nullable

    Date the comment was created

    Example: 2021-05-25T13:58:26+00:00
    emailstringnullable

    Email of the user who posted the comment

    firstNamestringnullable

    First name of the user who posted the comment

    Example: John
    lastNamestringnullable

    Last name of the user who posted the comment

    Example: Doe
    messagestringnullable

    Comment message

    organizationNamestringnullable

    Organization of the user who posted the comment

    Example: Acme Corp
  • ]
  • correctiveAction object
    detailsstringnullable

    Details on the corrective action

    Example: Rework on the defective units
    valuestringnullable

    An action in the corrective list

    Example: Rework Units
    descriptionstringnullable

    Description of the special point

    Example: Stitching quality issue observed
    preventativeActionstringnullable

    Preventative action

    Example: Advise all staff
    typestringnullable

    Type of the special point: remark or quality

    Example: remark
  • ]
  • CustomResponse7
    {
    "data": {
    "chatBox": [
    {
    "attachments": "file1",
    "createdDate": "2021-05-25T13:58:26+00:00",
    "email": "[email protected]",
    "firstName": "John",
    "lastName": "Doe",
    "message": "Please update the status",
    "organizationName": "Acme Corp"
    }
    ],
    "generalInformation": {
    "actualInspectionDate": "2021-05-07T00:00:00+00:00",
    "assortmentIds": "A123",
    "availableQuantity": "200",
    "capaStatus": "Approved",
    "factoryId": "F0123",
    "factoryName": "Acme Factory",
    "inspectionId": "1234902f-5ab4-4f4e-8422-794109d951b4",
    "inspectionLocation": {
    "address": "1 Madison Avenue",
    "contact": {
    "contactId": "1122",
    "email": "[email protected]",
    "mobileNumber": "1234567890",
    "name": "John Doe",
    "telephoneNumber": "1234567890"
    },
    "country": "US",
    "name": "Acme Corp",
    "organizationId": "F000123"
    },
    "inspectionResult": "pass",
    "inspectionType": "TPR",
    "inspectorName": "John Doe",
    "itemIds": "111-22-123456",
    "orderQuantity": "200",
    "packingTypes": "Solid",
    "productCategories": [
    {
    "id": "C123",
    "name": "Menswear"
    }
    ],
    "productLines": [
    {
    "id": "C123",
    "name": "Menswear"
    }
    ],
    "proposedInspectionDate": "2021-05-07T00:00:00+00:00",
    "styleIds": "S123",
    "supplierId": "S0246",
    "supplierName": "Padme Supplier"
    },
    "nonConformities": {
    "assembly": {
    "aql": {
    "aqlId": "123",
    "critical": 0,
    "major": 1,
    "minor": 2
    },
    "defectFound": {
    "critical": 0,
    "major": 1,
    "minor": 2
    },
    "defects": [
    {
    "affectedPercentage": 1,
    "comments": "Reviewed",
    "correctiveAction": {
    "details": "Rework on the defective units",
    "value": "Rework Units"
    },
    "defectCategory": "Construction",
    "defectCode": "CON111",
    "defectItems": [
    {
    "attachments": [
    {
    "url": "https://.../image1.jpg"
    }
    ],
    "classification": "Minor",
    "color": "black",
    "customId": "ITEM123",
    "itemId": "111-22-333",
    "size": "Medium",
    "comment": "Thread is loose",
    "styleId": "style_1"
    }
    ],
    "defectName": "Construction defect",
    "preventativeAction": "Advise all staff",
    "rootCause": "Wrong carton dimension",
    "totalDefectItems": 1,
    "totalDefectUnits": 1
    }
    ],
    "maxAllowed": {
    "critical": 0,
    "major": 1,
    "minor": 2
    },
    "totalDefects": 2,
    "totalItems": 2
    },
    "checkList": [
    {
    "attachments": [
    {
    "url": "https://.../image1.jpg"
    }
    ],
    "comments": "Reviewed",
    "correctiveAction": {
    "details": "Rework on the defective units",
    "value": "Rework Units"
    },
    "label": "General",
    "preventativeAction": "Advise all staff",
    "rootCause": "Wrong carton dimension"
    }
    ],
    "cqp": {
    "products": [
    {
    "cqpFormId": "cqpform-2024-001",
    "cqps": [
    {
    "addedOnSite": false,
    "attachments": [
    {
    "id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
    "fileUrl": "string",
    "fileName": "string",
    "fileContentType": "string",
    "createdAt": "2024-07-29T15:51:28.071Z",
    "updatedAt": "2024-07-29T15:51:28.071Z"
    }
    ],
    "comment": "Pull test passed on pre-production samples.",
    "comments": [
    {
    "attachments": [
    {
    "fileName": "photo.jpg",
    "fileUrl": "https://.../file.jpg"
    }
    ],
    "createdDate": "2021-05-25T13:58:26+00:00",
    "email": "[email protected]",
    "firstName": "John",
    "lastName": "Doe",
    "message": "string",
    "organizationName": "Acme Corp"
    }
    ],
    "correctiveAction": {
    "details": "Rework on the defective units",
    "value": "Rework Units"
    },
    "cqcs": [
    "Trims"
    ],
    "cqpType": "safety",
    "description": "Zipper pull must withstand 70 N pull test.",
    "executionResult": {
    "attachments": [
    {
    "fileContentType": "image/jpeg",
    "fileName": "evidence-1.jpg",
    "fileUrl": "https://.../evidence-1.jpg",
    "mediaType": "photo"
    }
    ],
    "capturedAt": "2026-09-24T03:00:00+00:00",
    "comment": "Zipper pull detached on 2 of 8 samples.",
    "inspectionType": "INLINE",
    "naReason": "string",
    "outcome": "pass"
    },
    "id": "11aa2bb3-4cc5-4dd6-8ee7-9ff0a1b2c3d4",
    "mitigations": [
    {
    "id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
    "controlLayerType": "product_spec",
    "productionStep": "material_preparation",
    "specification": "string",
    "productionControlCheck": "string",
    "qualityControlCheck": "string",
    "createdAt": "2024-07-29T15:51:28.071Z",
    "updatedAt": "2024-07-29T15:51:28.071Z"
    }
    ],
    "name": "Zipper pull strength",
    "preventativeAction": "Add calibration to the shift checklist.",
    "previousStageResult": {
    "inspectionDate": "2026-08-20T00:00:00+00:00",
    "inspectionId": "c04a5b6c-7d8e-4f9a-8b0c-1d2e3f4a5b6c",
    "inspectionType": "PPM",
    "outcome": "pass",
    "status": "pending"
    },
    "reviewNote": {
    "attachments": [
    {
    "id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
    "fileUrl": "string",
    "fileName": "string",
    "fileContentType": "string",
    "createdAt": "2024-07-29T15:51:28.071Z",
    "updatedAt": "2024-07-29T15:51:28.071Z"
    }
    ],
    "comment": "Reviewed at PPM, mitigation accepted."
    },
    "rootCause": "Bar-tack machine out of calibration.",
    "sourceCqpId": "00ff1ee2-3dd4-4cc5-9bb6-7aa8f9e0d1c2",
    "sourceSnapshotId": "b31d4e5f-6a7b-4c8d-9e0f-1a2b3c4d5e6f",
    "status": "pending",
    "verifications": [
    {
    "id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
    "stageType": "pre_production",
    "methodType": "certified_lab_test",
    "inspectionTypes": [
    "string"
    ],
    "acceptanceCriteria": "string",
    "assignedTo": "third_party",
    "createdAt": "2024-07-29T15:51:28.071Z",
    "updatedAt": "2024-07-29T15:51:28.071Z"
    }
    ]
    }
    ],
    "customId": "KM-STYLE-001",
    "entityType": "product",
    "name": "Men's zip hoodie",
    "totalFailed": 1
    }
    ],
    "totalCqps": 6,
    "totalFailed": 2
    },
    "measurement": {
    "aql": {
    "aqlId": "123",
    "critical": 0,
    "major": 1,
    "minor": 2
    },
    "comments": "Reviewed",
    "correctiveAction": {
    "details": "Rework on the defective units",
    "value": "Rework Units"
    },
    "defectFound": {
    "critical": 0,
    "major": 1,
    "minor": 2
    },
    "failedMeasurements": [
    {
    "found": 2,
    "measurementDescription": "Chest",
    "occurrence": 2,
    "sampleName": "tanktop_1",
    "standard": 20,
    "tolerance": 0.5,
    "toleranceLower": 0.5,
    "toleranceUpper": 0.5
    }
    ],
    "maxAllowed": {
    "critical": 0,
    "major": 1,
    "minor": 2
    },
    "preventativeAction": "Advise all staff",
    "rootCause": "Wrong carton dimension"
    },
    "measurementByDefects": {
    "aql": {
    "aqlId": "123",
    "critical": 0,
    "major": 1,
    "minor": 2
    },
    "defectFound": {
    "critical": 0,
    "major": 1,
    "minor": 2
    },
    "defects": [
    {
    "affectedPercentage": 1,
    "comments": "Reviewed",
    "correctiveAction": {
    "details": "Rework on the defective units",
    "value": "Rework Units"
    },
    "defectCategory": "Construction",
    "defectCode": "CON111",
    "defectItems": [
    {
    "attachments": [
    {
    "url": "https://.../image1.jpg"
    }
    ],
    "classification": "Minor",
    "color": "black",
    "customId": "ITEM123",
    "itemId": "111-22-333",
    "size": "Medium",
    "comment": "Thread is loose",
    "styleId": "style_1"
    }
    ],
    "defectName": "Construction defect",
    "preventativeAction": "Advise all staff",
    "rootCause": "Wrong carton dimension",
    "totalDefectItems": 1,
    "totalDefectUnits": 1
    }
    ],
    "maxAllowed": {
    "critical": 0,
    "major": 1,
    "minor": 2
    },
    "totalDefects": 2,
    "totalItems": 2
    },
    "moistureCheck": {
    "aql": {
    "aqlId": "123",
    "critical": 0,
    "major": 1,
    "minor": 2
    },
    "comments": "Reviewed",
    "correctiveAction": {
    "details": "Rework on the defective units",
    "value": "Rework Units"
    },
    "defectFound": {
    "critical": 0,
    "major": 1,
    "minor": 2
    },
    "defectItems": [
    {
    "components": [
    {
    "acceptableTolerances": [
    {
    "from": 0.2,
    "to": 1,
    "unit": "cm"
    }
    ],
    "defectClassification": "Minor",
    "name": "Arm",
    "outOfTolerance": {
    "unit": "cm",
    "value": 1.5
    }
    }
    ],
    "itemId": "ITEM1212",
    "type": "General"
    }
    ],
    "maxAllowed": {
    "critical": 0,
    "major": 1,
    "minor": 2
    },
    "preventativeAction": "Advise all staff",
    "rootCause": "Wrong carton dimension",
    "totalDefects": 2,
    "totalItems": 2
    },
    "packaging": {
    "aql": {
    "aqlId": "123",
    "critical": 0,
    "major": 1,
    "minor": 2
    },
    "defectFound": {
    "critical": 0,
    "major": 1,
    "minor": 2
    },
    "defects": [
    {
    "affectedPercentage": 1,
    "comments": "Reviewed",
    "correctiveAction": {
    "details": "Rework on the defective units",
    "value": "Rework Units"
    },
    "defectCategory": "Construction",
    "defectCode": "CON111",
    "defectItems": [
    {
    "attachments": [
    {
    "url": "https://.../image1.jpg"
    }
    ],
    "classification": "Minor",
    "color": "black",
    "customId": "ITEM123",
    "itemId": "111-22-333",
    "size": "Medium",
    "comment": "Thread is loose",
    "styleId": "style_1"
    }
    ],
    "defectName": "Construction defect",
    "preventativeAction": "Advise all staff",
    "rootCause": "Wrong carton dimension",
    "totalDefectItems": 1,
    "totalDefectUnits": 1
    }
    ],
    "maxAllowed": {
    "critical": 0,
    "major": 1,
    "minor": 2
    },
    "packingType": "string",
    "totalDefects": 2,
    "totalItems": 2
    },
    "questions": [
    {
    "answer": "Yes",
    "answerComments": [
    "comment 1",
    "comment 2",
    "comment 3"
    ],
    "attachments": [
    {
    "url": "https://.../image1.jpg"
    }
    ],
    "comments": "Reviewed",
    "correctiveAction": {
    "details": "Rework on the defective units",
    "value": "Rework Units"
    },
    "label": "General",
    "preventativeAction": "Advise all staff",
    "rootCause": "Wrong carton dimension"
    }
    ],
    "rfid": [
    {
    "barCode": "456",
    "comments": "Reviewed",
    "correctiveAction": {
    "details": "Rework on the defective units",
    "value": "Rework Units"
    },
    "decryptedCode": "123123",
    "matched": "true",
    "photos": [
    "string"
    ],
    "preventativeAction": "Advise all staff",
    "rfid": "123",
    "rootCause": "Wrong carton dimension"
    }
    ],
    "workmanship": {
    "aql": {
    "aqlId": "123",
    "critical": 0,
    "major": 1,
    "minor": 2
    },
    "defectFound": {
    "critical": 0,
    "major": 1,
    "minor": 2
    },
    "defects": [
    {
    "affectedPercentage": 1,
    "comments": "Reviewed",
    "correctiveAction": {
    "details": "Rework on the defective units",
    "value": "Rework Units"
    },
    "defectCategory": "Construction",
    "defectCode": "CON111",
    "defectItems": [
    {
    "attachments": [
    {
    "url": "https://.../image1.jpg"
    }
    ],
    "classification": "Minor",
    "color": "black",
    "customId": "ITEM123",
    "itemId": "111-22-333",
    "size": "Medium",
    "comment": "Thread is loose",
    "styleId": "style_1"
    }
    ],
    "defectName": "Construction defect",
    "preventativeAction": "Advise all staff",
    "rootCause": "Wrong carton dimension",
    "totalDefectItems": 1,
    "totalDefectUnits": 1
    }
    ],
    "maxAllowed": {
    "critical": 0,
    "major": 1,
    "minor": 2
    },
    "totalDefects": 2,
    "totalItems": 2
    }
    },
    "reInspectionDetail": {
    "comment": "Reviewed",
    "inspectionType": "TPR",
    "reInspectionBookingId": "9dc7928867dc",
    "reInspectionDate": "2021-05-07T00:00:00+00:00"
    },
    "shipmentWindow": {
    "shipmentDateFrom": "2021-05-07T00:00:00+00:00",
    "shipmentDateTo": "2021-05-15T00:00:00+00:00",
    "shipmentNote": "Acknowledged"
    },
    "specialPoints": [
    {
    "comments": [
    {
    "attachments": [
    {
    "fileName": "photo.jpg",
    "fileUrl": "https://.../file.jpg"
    }
    ],
    "createdDate": "2021-05-25T13:58:26+00:00",
    "email": "[email protected]",
    "firstName": "John",
    "lastName": "Doe",
    "message": "string",
    "organizationName": "Acme Corp"
    }
    ],
    "correctiveAction": {
    "details": "Rework on the defective units",
    "value": "Rework Units"
    },
    "description": "Stitching quality issue observed",
    "preventativeAction": "Advise all staff",
    "type": "remark"
    }
    ]
    }
    }