FabricInspectionMaterial
Color of the material.
BlueComposition of the material.
100% CottonStandard cuttable width of the material.
150Standard grams per square meter of the material.
180Id of an active material shared with the receiver.
MAT-001Standard roll length of the material. When omitted the actual length of the first roll is used.
100rolls object[]required
Inspected rolls. Roll ids must be unique within the material.
Possible values: >= 1
answers object[]
Answers to the workflow questions of the fabric inspection section.
Answer to the question. Defaults to an empty string.
GoodWorkflow question of the fabric inspection section. Use the CSV column-header form so that the answer is validated against the question type, for example "Additional notes (Freetext)", "Quality grade (single: A | B | C)", "Factory access granted? (Yes | No | N/A)", "Sample check (Pass | Fail)", "Inspection date (yyyy-MM-dd)" or "Defect types found (multi: Hole | Stain | Tear)". An answer whose question does not carry a recognised type suffix is stored but not validated.
Additional notes (Freetext)Measured bowing percentage of the roll.
1Measured cuttable width of the roll.
149defects object[]
Defects found on the roll.
Defect id belonging to a defect category of the workflow.
1.1Free-text note about the defect. Defaults to an empty string.
Hole near selvedgeDefective length of the roll. Combined with defect it must be unique within the roll.
Possible values: >= 0
12Number of times the defect occurs. Defaults to 1.
Possible values: >= 1
3Measured grams per square meter of the roll.
182Lot identifier of the roll.
LOT-001Roll identifier, unique within the material.
ROLL-001Measured length of the roll.
100.5Measured skewing percentage of the roll.
2Free-text remark about the roll. Defaults to an empty string.
Edge damageTotal quantity of the material. Required to determine the sample size, so omitting it is rejected with the MISSING_REQUIRED_FIELD error code.
100{
"color": "Blue",
"composition": "100% Cotton",
"cuttableWidthStandard": 150,
"gsmStandard": 180,
"materialId": "MAT-001",
"rollLengthStandard": 100,
"rolls": [
{
"answers": [
{
"answer": "Good",
"question": "Additional notes (Freetext)"
}
],
"bowing": 1,
"cuttableWidthActual": 149,
"defects": [
{
"defect": "1.1",
"defectComment": "Hole near selvedge",
"defectiveMeter": 12,
"occurrenceDefect": 3
}
],
"gsmActual": 182,
"lotId": "LOT-001",
"rollId": "ROLL-001",
"rollLengthActual": 100.5,
"skewing": 2,
"specialAttentionPoint": "Edge damage"
}
],
"totalQuantity": 100
}