CQPWriteRequest
Payload for creating or replacing a CQP. On PUT, omitted optional fields reset to their defaults and nested collections are replaced in full with regenerated child IDs. Server-controlled read-only fields are not writable.
Possible values: <= 255 characters
Possible values: [safety, functional, regulation]
Critical Quality Concerns associated with this CQP.
Possible values: <= 255 characters
[]mitigations object[]
Regenerated when the aggregate is replaced with PUT.
Possible values: [product_spec, material, production_process]
Possible values: [material_preparation, cutting, forming_molding, printing_dyeing, sewing, assembly, surface_finishing, washing, finishing, labeling, packing, other]
verifications object[]
Regenerated when the aggregate is replaced with PUT.
Possible values: [pre_production, during_production, post_production]
Possible values: [certified_lab_test, process_verification_checklist, inspection]
Possible values: <= 50 characters
Possible values: [third_party, brand_retailer, supplier_factory]
attachments object[]
Regenerated when the aggregate is replaced with PUT.
Possible values: <= 500 characters
Possible values: <= 255 characters
Possible values: <= 200 characters
{
"name": "string",
"cqpType": "safety",
"description": "string",
"cqcs": [
"string"
],
"comment": "string",
"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"
}
],
"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"
}
],
"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"
}
]
}