Skip to main content

Cqp

One CQP. status and product are server fields. Every other field is returned exactly as stored at capture time (written by web or mobile, not validated by the server), so it may be missing or null. Values listed in descriptions are the known values, not a guarantee.

statusstringrequired

reviewed once the CQP was marked as reviewed during conduction.

Possible values: [pending, reviewed]

product objectrequired

The inspected style or item the CQP belongs to, identified by entityType and customId.

entityTypestringnullable

pdt (style) or itm (item).

customIdstringnullable
Example: STY-2026-0417
namestringnullable
Example: Blue Hoodie
namestringnullable
Example: Needle control
descriptionstringnullable
Example: Confirm needle-control procedure.
cqpTypestringnullable

CQP type (the requirement calls it severity). Known values: safety, functional, regulation.

Example: safety
mitigations object[]nullable
  • Array [
  • controlLayerTypestringnullable

    product_spec, material, production_process.

    productionStepstringnullable

    material_preparation, cutting, forming_molding, printing_dyeing, sewing, assembly, surface_finishing, washing, finishing, labeling, packing, other.

    specificationstringnullable
    productionControlCheckstringnullable
    qualityControlCheckstringnullable
    property name*any

    As stored. Known keys listed.

  • ]
  • verifications object[]nullable
  • Array [
  • stageTypestringnullable

    pre_production, during_production, post_production.

    methodTypestringnullable

    certified_lab_test, process_verification_checklist, inspection.

    inspectionTypesstring[]nullable
    acceptanceCriteriastringnullable
    assignedTostringnullable

    third_party, brand_retailer, supplier_factory.

    property name*any

    As stored. Known keys listed.

  • ]
  • commentstringnullable

    Self-assessment note by the supplier / factory.

    attachments object[]nullable

    Attachments of the self-assessment note.

  • Array [
  • fileUrlstring
    fileNamestringnullable
    fileContentTypestringnullable
    mediaTypestringnullable

    photo, video or file. Set on result evidence (executionResult, stageHistory).

    property name*any

    A file reference, returned exactly as stored by web / mobile. The server does not sign or proxy the file. Known keys listed.

  • ]
  • reviewNote objectnullable

    Review note recorded by the reviewer during conduction. As stored.

    commentstringnullable
    attachments object[]nullable
  • Array [
  • fileUrlstring
    fileNamestringnullable
    fileContentTypestringnullable
    mediaTypestringnullable

    photo, video or file. Set on result evidence (executionResult, stageHistory).

    property name*any

    A file reference, returned exactly as stored by web / mobile. The server does not sign or proxy the file. Known keys listed.

  • ]
  • property name*anynullable

    Review note recorded by the reviewer during conduction. As stored.

    addedOnSiteboolean

    true when the inspector added the CQP on mobile during this inspection. false for CQPs scheduled on web, including the copy of a CQP added on site at an earlier round.

    executionResult objectnullable

    The result recorded on this inspection. null until a result is recorded, and always null on a pre-production (PPM) inspection, whose review is reviewNote.

    outcomeCqpOutcomenullable

    The inspector's result for one CQP. na = not applicable (see naReason).

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

    naReasonstringnullable

    Set when outcome is na; null otherwise.

    commentstringnullable

    The inspector's comment. Not the supplier self-assessment comment of the CQP.

    attachments object[]
  • Array [
  • fileUrlstring
    fileNamestringnullable
    fileContentTypestringnullable
    mediaTypestringnullable

    photo, video or file. Set on result evidence (executionResult, stageHistory).

    property name*any

    A file reference, returned exactly as stored by web / mobile. The server does not sign or proxy the file. Known keys listed.

  • ]
  • capturedAtstring<date-time>

    Device capture time, in UTC.

    inspectionTypestringnullable

    Code of the inspection type that captured the result.

    Example: FRI
    stageHistory object[]

    Earlier inspection-execution rounds of this CQP (e.g. Inline, Dupro before an FRI), oldest first, up to three rounds back. Never the PPM: its review is reviewNote. The current round is executionResult. A round on an inspection the caller cannot open ends the history. [] when the CQP has no earlier execution round.

  • Array [
  • inspectionUuidstring

    UUID of the inspection of that round.

    inspectionTypestringnullable

    Inspection type code of that round.

    Example: INLINE
    inspectionDatestring<date-time>nullable

    When that inspection was uploaded.

    statusstring

    Possible values: [pending, reviewed]

    outcomeCqpOutcomenullable

    The inspector's result for one CQP. na = not applicable (see naReason).

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

    commentstringnullable

    The inspector's comment on that round.

    attachments object[]
  • Array [
  • fileUrlstring
    fileNamestringnullable
    fileContentTypestringnullable
    mediaTypestringnullable

    photo, video or file. Set on result evidence (executionResult, stageHistory).

    property name*any

    A file reference, returned exactly as stored by web / mobile. The server does not sign or proxy the file. Known keys listed.

  • ]
  • ]
  • Cqp
    {
    "status": "pending",
    "product": {
    "entityType": "string",
    "customId": "STY-2026-0417",
    "name": "Blue Hoodie"
    },
    "name": "Needle control",
    "description": "Confirm needle-control procedure.",
    "cqpType": "safety",
    "mitigations": [
    {
    "controlLayerType": "string",
    "productionStep": "string",
    "specification": "string",
    "productionControlCheck": "string",
    "qualityControlCheck": "string"
    }
    ],
    "verifications": [
    {
    "stageType": "string",
    "methodType": "string",
    "inspectionTypes": [
    "string"
    ],
    "acceptanceCriteria": "string",
    "assignedTo": "string"
    }
    ],
    "comment": "string",
    "attachments": [
    {
    "fileUrl": "string",
    "fileName": "string",
    "fileContentType": "string",
    "mediaType": "string"
    }
    ],
    "reviewNote": {
    "comment": "string",
    "attachments": [
    {
    "fileUrl": "string",
    "fileName": "string",
    "fileContentType": "string",
    "mediaType": "string"
    }
    ]
    },
    "addedOnSite": true,
    "executionResult": {
    "outcome": "pass",
    "naReason": "string",
    "comment": "string",
    "attachments": [
    {
    "fileUrl": "string",
    "fileName": "string",
    "fileContentType": "string",
    "mediaType": "string"
    }
    ],
    "capturedAt": "2024-07-29T15:51:28.071Z",
    "inspectionType": "FRI"
    },
    "stageHistory": [
    {
    "inspectionUuid": "string",
    "inspectionType": "INLINE",
    "inspectionDate": "2024-07-29T15:51:28.071Z",
    "status": "pending",
    "outcome": "pass",
    "comment": "string",
    "attachments": [
    {
    "fileUrl": "string",
    "fileName": "string",
    "fileContentType": "string",
    "mediaType": "string"
    }
    ]
    }
    ]
    }