BRAINIAC Manufacturing Quality is an MCP server published by software.brainiac, hosted at www.brainiac.software. When last checked on 2026-11-23 it was working: it answers and lists its tools. It declares 8 tools, including manufacturing-quality_production-inspection-parse, manufacturing-quality_defect-classify, manufacturing-quality_defect-rate-calculate, manufacturing-quality_batch-compare, manufacturing-quality_nonconformance-report-generate.
Paid Manufacturing Quality API via x402. Unpaid tool calls return 402.
648 connections through 4 shared values. Tap any node.
Squares are this server's values; dots are other servers sharing them. A shared address or publisher is a lead, not proof of a common operator.
Inferred from the host name and headers: what a server runs on, not who runs it.
Copy supplied inspections, measurements, batches, and standards into a consistent packet with pass/fail outcomes. Docs: https://www.brainiac.software/api/manufacturing-quality/production-inspection-parse Keywords: when reviewing quality or a production issue, text, csv, file, inspections, measurements, standards, batches, evidence, thresholds, defectRateThreshold, minSample, spcMinSample, checkedAt, standardInvented.
| Parameter | Type | Description |
|---|---|---|
| csv | string | csv, string, length 0 to 200000. Optional. |
| file | object | file, object. Optional. |
| json | string | json, string, length 0 to 200000. Optional. |
| text | string | text, string, length 0 to 200000. Optional. |
| batches | array | batches, array. Optional. |
| evidence | array | evidence, array. Optional. |
| minSample | integer | minSample, integer, from 1 to 100000. Optional. |
| standards | array | standards, array. Optional. |
| thresholds | array | thresholds, array. Optional. |
| inspections | array | inspections, array. Optional. |
| measurements | array | measurements, array. Optional. |
| spcMinSample | integer | spcMinSample, integer, from 2 to 100000. Optional. |
| defectRateThreshold | number | defectRateThreshold, number, from 0 to 1. Optional. |
{
"name": "manufacturing-quality_production-inspection-parse",
"title": "Parse production inspections",
"description": "Copy supplied inspections, measurements, batches, and standards into a consistent packet with pass/fail outcomes. Docs: https://www.brainiac.software/api/manufacturing-quality/production-inspection-parse Keywords: when reviewing quality or a production issue, text, csv, file, inspections, measurements, standards, batches, evidence, thresholds, defectRateThreshold, minSample, spcMinSample, checkedAt, standardInvented.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"csv": {
"type": "string",
"maxLength": 200000,
"description": "csv, string, length 0 to 200000. Optional."
},
"file": {
"type": "object",
"required": [
"mediaType",
"fileBase64"
],
"properties": {
"filename": {
"type": "string",
"maxLength": 180,
"minLength": 1,
"description": "filename, string, length 1 to 180. Optional."
},
"mediaType": {
"enum": [
"text/plain",
"text/csv",
"application/json"
],
"type": "string",
"description": "mediaType, string, one of text/plain, text/csv, application/json. Required."
},
"fileBase64": {
"type": "string",
"maxLength": 12000000,
"minLength": 1,
"description": "fileBase64, string, length 1 to 12000000. Required."
}
},
"description": "file, object. Optional."
},
"json": {
"type": "string",
"maxLength": 200000,
"description": "json, string, length 0 to 200000. Optional."
},
"text": {
"type": "string",
"maxLength": 200000,
"description": "text, string, length 0 to 200000. Optional."
},
"batches": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"maxLength": 80,
"description": "id, string, length 0 to 80. Optional."
},
"ended": {
"type": "string",
"maxLength": 40,
"description": "ended, string, length 0 to 40. Optional."
},
"product": {
"type": "string",
"maxLength": 160,
"description": "product, string, length 0 to 160. Optional."
},
"started": {
"type": "string",
"maxLength": 40,
"description": "started, string, length 0 to 40. Optional."
},
"produced": {
"type": "number",
"maximum": 1000000000,
"minimum": 0,
"description": "produced, number, from 0 to 1000000000. Optional."
}
},
"description": "item, object. Required."
},
"description": "batches, array. Optional."
},
"evidence": {
"type": "array",
"items": {
"type": "object",
"properties": {
"at": {
"type": "string",
"maxLength": 40,
"description": "at, string, length 0 to 40. Optional."
},
"id": {
"type": "string",
"maxLength": 80,
"description": "id, string, length 0 to 80. Optional."
},
"kind": {
"type": "string",
"maxLength": 80,
"description": "kind, string, length 0 to 80. Optional."
},
"text": {
"type": "string",
"maxLength": 1000,
"description": "text, string, length 0 to 1000. Optional."
},
"batchId": {
"type": "string",
"maxLength": 80,
"description": "batchId, string, length 0 to 80. Optional."
},
"inspectionId": {
"type": "string",
"maxLength": 80,
"description": "inspectionId, string, length 0 to 80. Optional."
}
},
"description": "item, object. Required."
},
"description": "evidence, array. Optional."
},
"minSample": {
"type": "integer",
"maximum": 100000,
"minimum": 1,
"description": "minSample, integer, from 1 to 100000. Optional."
},
"standards": {
"type": "array",
"items": {
"type": "object",
"required": [
"characteristic"
],
"properties": {
"unit": {
"type": "string",
"maxLength": 40,
"description": "unit, string, length 0 to 40. Optional."
},
"lower": {
"type": "number",
"maximum": 1000000000,
"minimum": -1000000000,
"description": "lower, number, from -1000000000 to 1000000000. Optional."
},
"upper": {
"type": "number",
"maximum": 1000000000,
"minimum": -1000000000,
"description": "upper, number, from -1000000000 to 1000000000. Optional."
},
"target": {
"type": "number",
"maximum": 1000000000,
"minimum": -1000000000,
"description": "target, number, from -1000000000 to 1000000000. Optional."
},
"characteristic": {
"type": "string",
"maxLength": 120,
"minLength": 1,
"description": "characteristic, string, length 1 to 120. Required."
}
},
"description": "item, object. Required."
},
"description": "standards, array. Optional."
},
"thresholds": {
"type": "array",
"items": {
"type": "object",
"required": [
"name"
],
"properties": {
"name": {
"type": "string",
"maxLength": 80,
"minLength": 1,
"description": "name, string, length 1 to 80. Required."
},
"value": {
"type": "number",
"maximum": 1,
"minimum": 0,
"description": "value, number, from 0 to 1. Optional."
}
},
"description": "item, object. Required."
},
"description": "thresholds, array. Optional."
},
"inspections": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"maxLength": 80,
"description": "id, string, length 0 to 80. Optional."
},
"partId": {
"type": "string",
"maxLength": 80,
"description": "partId, string, length 0 to 80. Optional."
},
"result": {
"type": "string",
"maxLength": 80,
"description": "result, string, length 0 to 80. Optional."
},
"batchId": {
"type": "string",
"maxLength": 80,
"description": "batchId, string, length 0 to 80. Optional."
},
"inspector": {
"type": "string",
"maxLength": 120,
"description": "inspector, string, length 0 to 120. Optional."
},
"defectCode": {
"type": "string",
"maxLength": 80,
"description": "defectCode, string, length 0 to 80. Optional."
},
"defectText": {
"type": "string",
"maxLength": 500,
"description": "defectText, string, length 0 to 500. Optional."
},
"inspectedAt": {
"type": "string",
"maxLength": 40,
"description": "inspectedAt, string, length 0 to 40. Optional."
}
},
"description": "item, object. Required."
},
"description": "inspections, array. Optional."
},
"measurements": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"maxLength": 80,
"description": "id, string, length 0 to 80. Optional."
},
"unit": {
"type": "string",
"maxLength": 40,
"description": "unit, string, length 0 to 40. Optional."
},
"value": {
"type": "number",
"maximum": 1000000000,
"minimum": -1000000000,
"description": "value, number, from -1000000000 to 1000000000. Optional."
},
"batchId": {
"type": "string",
"maxLength": 80,
"description": "batchId, string, length 0 to 80. Optional."
},
"measuredAt": {
"type": "string",
"maxLength": 40,
"description": "measuredAt, string, length 0 to 40. Optional."
},
"inspectionId": {
"type": "string",
"maxLength": 80,
"description": "inspectionId, string, length 0 to 80. Optional."
},
"characteristic": {
"type": "string",
"maxLength": 120,
"description": "characteristic, string, length 0 to 120. Optional."
}
},
"description": "item, object. Required."
},
"description": "measurements, array. Optional."
},
"spcMinSample": {
"type": "integer",
"maximum": 100000,
"minimum": 2,
"description": "spcMinSample, integer, from 2 to 100000. Optional."
},
"defectRateThreshold": {
"type": "number",
"maximum": 1,
"minimum": 0,
"description": "defectRateThreshold, number, from 0 to 1. Optional."
}
}
},
"outputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"status": {
"type": "string",
"description": "status. String."
},
"batches": {
"type": "array",
"items": {
"type": "string",
"description": "Item. String."
},
"description": "batches. Array."
},
"findings": {
"type": "array",
"items": {
"type": "object",
"properties": {
"code": {
"type": "string",
"description": "code. String."
},
"kind": {
"type": "string",
"description": "kind. String."
},
"detail": {
"type": "string",
"description": "detail. String."
},
"subject": {
"type": "string",
"description": "subject. String."
}
},
"description": "item. Object.",
"additionalProperties": {}
},
"description": "findings. Array."
},
"checkedAt": {
"type": "string",
"description": "checkedAt. String."
},
"standards": {
"type": "array",
"items": {
"type": "object",
"properties": {
"unit": {
"type": "string",
"description": "unit. String."
},
"lower": {
"type": "number",
"description": "lower. Number."
},
"upper": {
"type": "number",
"description": "upper. Number."
},
"target": {
"type": "number",
"description": "target. Number."
},
"lowerSupplied": {
"type": "boolean",
"description": "lowerSupplied. Boolean."
},
"upperSupplied": {
"type": "boolean",
"description": "upperSupplied. Boolean."
},
"characteristic": {
"type": "string",
"description": "characteristic. String."
},
"targetSupplied": {
"type": "boolean",
"description": "targetSupplied. Boolean."
}
},
"description": "item. Object.",
"additionalProperties": {}
},
"description": "standards. Array."
},
"inspections": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "id. String."
},
"partId": {
"type": "string",
"description": "partId. String."
},
"result": {
"type": "string",
"description": "result. String."
},
"batchId": {
"type": "string",
"description": "batchId. String."
},
"outcome": {
"type": "string",
"description": "outcome. String."
},
"inspector": {
"type": "string",
"description": "inspector. String."
},
"defectCode": {
"type": "string",
"description": "defectCode. String."
},
"defectText": {
"type": "string",
"description": "defectText. String."
},
"inspectedAt": {
"type": "string",
"description": "inspectedAt. String."
},
"measurementCount": {
"type": "number",
"description": "measurementCount. Number."
}
},
"description": "item. Object.",
"additionalProperties": {}
},
"description": "inspections. Array."
},
"limitations": {
"type": "array",
"items": {
"type": "string",
"description": "item. String."
},
"description": "limitations. Array."
},
"measurements": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "id. String."
},
"unit": {
"type": "string",
"description": "unit. String."
},
"value": {
"type": "number",
"description": "value. Number."
},
"batchId": {
"type": "string",
"description": "batchId. String."
},
"measuredAt": {
"type": "string",
"description": "measuredAt. String."
},
"inspectionId": {
"type": "string",
"description": "inspectionId. String."
},
"valueSupplied": {
"type": "boolean",
"description": "valueSupplied. Boolean."
},
"characteristic": {
"type": "string",
"description": "characteristic. String."
}
},
"description": "item. Object.",
"additionalProperties": {}
},
"description": "measurements. Array."
},
"productCertified": {
"type": "boolean",
"description": "productCertified. Boolean."
},
"standardInvented": {
"type": "boolean",
"description": "standardInvented. Boolean."
},
"toleranceInvented": {
"type": "boolean",
"description": "toleranceInvented. Boolean."
},
"regulatoryComplianceClaimed": {
"type": "boolean",
"description": "regulatoryComplianceClaimed. Boolean."
}
},
"additionalProperties": {}
},
"annotations": {
"title": "Parse production inspections",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}Classify failed inspections with transparent token rules such as dimensional, surface, assembly, material, or functional. Docs: https://www.brainiac.software/api/manufacturing-quality/defect-classify Keywords: when reviewing quality or a production issue, text, csv, file, inspections, measurements, standards, batches, evidence, thresholds, defectRateThreshold, minSample, spcMinSample, checkedAt, counts.
| Parameter | Type | Description |
|---|---|---|
| csv | string | csv, string, length 0 to 200000. Optional. |
| file | object | file, object. Optional. |
| json | string | json, string, length 0 to 200000. Optional. |
| text | string | text, string, length 0 to 200000. Optional. |
| batches | array | batches, array. Optional. |
| evidence | array | evidence, array. Optional. |
| minSample | integer | minSample, integer, from 1 to 100000. Optional. |
| standards | array | standards, array. Optional. |
| thresholds | array | thresholds, array. Optional. |
| inspections |
Calculate defect rate from decided pass/fail inspections and compare it with an explicitly supplied threshold. Docs: https://www.brainiac.software/api/manufacturing-quality/defect-rate-calculate Keywords: when reviewing quality or a production issue, text, csv, file, inspections, measurements, standards, batches, evidence, thresholds, defectRateThreshold, minSample, spcMinSample, checkedAt, inspectedCount.
| Parameter | Type | Description |
|---|---|---|
| csv | string | csv, string, length 0 to 200000. Optional. |
| file | object | file, object. Optional. |
| json | string | json, string, length 0 to 200000. Optional. |
| text | string | text, string, length 0 to 200000. Optional. |
| batches | array | batches, array. Optional. |
| evidence | array | evidence, array. Optional. |
| minSample | integer | minSample, integer, from 1 to 100000. Optional. |
| standards | array | standards, array. Optional. |
| thresholds | array | thresholds, array. Optional. |
| inspections |
Compare batch defect rates only when each batch meets the disclosed sample minimum. Docs: https://www.brainiac.software/api/manufacturing-quality/batch-compare Keywords: when reviewing quality or a production issue, text, csv, file, inspections, measurements, standards, batches, evidence, thresholds, defectRateThreshold, minSample, spcMinSample, checkedAt, comparisons.
| Parameter | Type | Description |
|---|---|---|
| csv | string | csv, string, length 0 to 200000. Optional. |
| file | object | file, object. Optional. |
| json | string | json, string, length 0 to 200000. Optional. |
| text | string | text, string, length 0 to 200000. Optional. |
| batches | array | batches, array. Optional. |
| evidence | array | evidence, array. Optional. |
| minSample | integer | minSample, integer, from 1 to 100000. Optional. |
| standards | array | standards, array. Optional. |
| thresholds | array | thresholds, array. Optional. |
| inspections |
Assemble structured nonconformance rows from failed inspections with linked measurements and evidence ids. Docs: https://www.brainiac.software/api/manufacturing-quality/nonconformance-report-generate Keywords: when reviewing quality or a production issue, text, csv, file, inspections, measurements, standards, batches, evidence, thresholds, defectRateThreshold, minSample, spcMinSample, checkedAt, reportCount.
| Parameter | Type | Description |
|---|---|---|
| csv | string | csv, string, length 0 to 200000. Optional. |
| file | object | file, object. Optional. |
| json | string | json, string, length 0 to 200000. Optional. |
| text | string | text, string, length 0 to 200000. Optional. |
| batches | array | batches, array. Optional. |
| evidence | array | evidence, array. Optional. |
| minSample | integer | minSample, integer, from 1 to 100000. Optional. |
| standards | array | standards, array. Optional. |
| thresholds | array | thresholds, array. Optional. |
Compare supplied measurements with caller-supplied lower and upper limits. Docs: https://www.brainiac.software/api/manufacturing-quality/production-tolerance-check Keywords: when reviewing quality or a production issue, text, csv, file, inspections, measurements, standards, batches, evidence, thresholds, defectRateThreshold, minSample, spcMinSample, checkedAt, outOfToleranceCount.
| Parameter | Type | Description |
|---|---|---|
| csv | string | csv, string, length 0 to 200000. Optional. |
| file | object | file, object. Optional. |
| json | string | json, string, length 0 to 200000. Optional. |
| text | string | text, string, length 0 to 200000. Optional. |
| batches | array | batches, array. Optional. |
| evidence | array | evidence, array. Optional. |
| minSample | integer | minSample, integer, from 1 to 100000. Optional. |
| standards | array | standards, array. Optional. |
| thresholds | array | thresholds, array. Optional. |
| inspections |
Link supplied evidence rows to failed inspections by id and summarize evidence kinds. Docs: https://www.brainiac.software/api/manufacturing-quality/root-cause-evidence-analyze Keywords: when reviewing quality or a production issue, text, csv, file, inspections, measurements, standards, batches, evidence, thresholds, defectRateThreshold, minSample, spcMinSample, checkedAt, evidenceCount.
| Parameter | Type | Description |
|---|---|---|
| csv | string | csv, string, length 0 to 200000. Optional. |
| file | object | file, object. Optional. |
| json | string | json, string, length 0 to 200000. Optional. |
| text | string | text, string, length 0 to 200000. Optional. |
| batches | array | batches, array. Optional. |
| evidence | array | evidence, array. Optional. |
| minSample | integer | minSample, integer, from 1 to 100000. Optional. |
| standards | array | standards, array. Optional. |
| thresholds | array | thresholds, array. Optional. |
| inspections |
Combine inspection parsing, defect classes, defect rates, batch comparisons, tolerances, NCR rows, and evidence links from supplied records. Docs: https://www.brainiac.software/api/manufacturing-quality/report Keywords: when reviewing quality or a production issue, text, csv, file, inspections, measurements, standards, batches, evidence, thresholds, defectRateThreshold, minSample, spcMinSample, checkedAt, inspectionCount.
| Parameter | Type | Description |
|---|---|---|
| csv | string | csv, string, length 0 to 200000. Optional. |
| file | object | file, object. Optional. |
| json | string | json, string, length 0 to 200000. Optional. |
| text | string | text, string, length 0 to 200000. Optional. |
| batches | array | batches, array. Optional. |
| evidence | array | evidence, array. Optional. |
| minSample | integer | minSample, integer, from 1 to 100000. Optional. |
| standards | array | standards, array. Optional. |
| thresholds | array | thresholds, array. Optional. |
| inspections |
Tool calls wrap the existing POST APIs and stay pay-per-call. initialize and tools/list are free. An unpaid tool call returns the x402 payment terms in the tool result and does not run. Retry with the payment in params._meta["x402/payment"], or send payment-signature. Payment settles only after a successful result.
Names, descriptions and schemas were written by the server and are shown as data.
Pattern matches on what the server declares. They show what it says it can do, not what it does.
| array |
| inspections, array. Optional. |
| measurements | array | measurements, array. Optional. |
| spcMinSample | integer | spcMinSample, integer, from 2 to 100000. Optional. |
| defectRateThreshold | number | defectRateThreshold, number, from 0 to 1. Optional. |
{
"name": "manufacturing-quality_defect-classify",
"title": "Classify manufacturing defects",
"description": "Classify failed inspections with transparent token rules such as dimensional, surface, assembly, material, or functional. Docs: https://www.brainiac.software/api/manufacturing-quality/defect-classify Keywords: when reviewing quality or a production issue, text, csv, file, inspections, measurements, standards, batches, evidence, thresholds, defectRateThreshold, minSample, spcMinSample, checkedAt, counts.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"csv": {
"type": "string",
"maxLength": 200000,
"description": "csv, string, length 0 to 200000. Optional."
},
"file": {
"type": "object",
"required": [
"mediaType",
"fileBase64"
],
"properties": {
"filename": {
"type": "string",
"maxLength": 180,
"minLength": 1,
"description": "filename, string, length 1 to 180. Optional."
},
"mediaType": {
"enum": [
"text/plain",
"text/csv",
"application/json"
],
"type": "string",
"description": "mediaType, string, one of text/plain, text/csv, application/json. Required."
},
"fileBase64": {
"type": "string",
"maxLength": 12000000,
"minLength": 1,
"description": "fileBase64, string, length 1 to 12000000. Required."
}
},
"description": "file, object. Optional."
},
"json": {
"type": "string",
"maxLength": 200000,
"description": "json, string, length 0 to 200000. Optional."
},
"text": {
"type": "string",
"maxLength": 200000,
"description": "text, string, length 0 to 200000. Optional."
},
"batches": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"maxLength": 80,
"description": "id, string, length 0 to 80. Optional."
},
"ended": {
"type": "string",
"maxLength": 40,
"description": "ended, string, length 0 to 40. Optional."
},
"product": {
"type": "string",
"maxLength": 160,
"description": "product, string, length 0 to 160. Optional."
},
"started": {
"type": "string",
"maxLength": 40,
"description": "started, string, length 0 to 40. Optional."
},
"produced": {
"type": "number",
"maximum": 1000000000,
"minimum": 0,
"description": "produced, number, from 0 to 1000000000. Optional."
}
},
"description": "item, object. Required."
},
"description": "batches, array. Optional."
},
"evidence": {
"type": "array",
"items": {
"type": "object",
"properties": {
"at": {
"type": "string",
"maxLength": 40,
"description": "at, string, length 0 to 40. Optional."
},
"id": {
"type": "string",
"maxLength": 80,
"description": "id, string, length 0 to 80. Optional."
},
"kind": {
"type": "string",
"maxLength": 80,
"description": "kind, string, length 0 to 80. Optional."
},
"text": {
"type": "string",
"maxLength": 1000,
"description": "text, string, length 0 to 1000. Optional."
},
"batchId": {
"type": "string",
"maxLength": 80,
"description": "batchId, string, length 0 to 80. Optional."
},
"inspectionId": {
"type": "string",
"maxLength": 80,
"description": "inspectionId, string, length 0 to 80. Optional."
}
},
"description": "item, object. Required."
},
"description": "evidence, array. Optional."
},
"minSample": {
"type": "integer",
"maximum": 100000,
"minimum": 1,
"description": "minSample, integer, from 1 to 100000. Optional."
},
"standards": {
"type": "array",
"items": {
"type": "object",
"required": [
"characteristic"
],
"properties": {
"unit": {
"type": "string",
"maxLength": 40,
"description": "unit, string, length 0 to 40. Optional."
},
"lower": {
"type": "number",
"maximum": 1000000000,
"minimum": -1000000000,
"description": "lower, number, from -1000000000 to 1000000000. Optional."
},
"upper": {
"type": "number",
"maximum": 1000000000,
"minimum": -1000000000,
"description": "upper, number, from -1000000000 to 1000000000. Optional."
},
"target": {
"type": "number",
"maximum": 1000000000,
"minimum": -1000000000,
"description": "target, number, from -1000000000 to 1000000000. Optional."
},
"characteristic": {
"type": "string",
"maxLength": 120,
"minLength": 1,
"description": "characteristic, string, length 1 to 120. Required."
}
},
"description": "item, object. Required."
},
"description": "standards, array. Optional."
},
"thresholds": {
"type": "array",
"items": {
"type": "object",
"required": [
"name"
],
"properties": {
"name": {
"type": "string",
"maxLength": 80,
"minLength": 1,
"description": "name, string, length 1 to 80. Required."
},
"value": {
"type": "number",
"maximum": 1,
"minimum": 0,
"description": "value, number, from 0 to 1. Optional."
}
},
"description": "item, object. Required."
},
"description": "thresholds, array. Optional."
},
"inspections": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"maxLength": 80,
"description": "id, string, length 0 to 80. Optional."
},
"partId": {
"type": "string",
"maxLength": 80,
"description": "partId, string, length 0 to 80. Optional."
},
"result": {
"type": "string",
"maxLength": 80,
"description": "result, string, length 0 to 80. Optional."
},
"batchId": {
"type": "string",
"maxLength": 80,
"description": "batchId, string, length 0 to 80. Optional."
},
"inspector": {
"type": "string",
"maxLength": 120,
"description": "inspector, string, length 0 to 120. Optional."
},
"defectCode": {
"type": "string",
"maxLength": 80,
"description": "defectCode, string, length 0 to 80. Optional."
},
"defectText": {
"type": "string",
"maxLength": 500,
"description": "defectText, string, length 0 to 500. Optional."
},
"inspectedAt": {
"type": "string",
"maxLength": 40,
"description": "inspectedAt, string, length 0 to 40. Optional."
}
},
"description": "item, object. Required."
},
"description": "inspections, array. Optional."
},
"measurements": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"maxLength": 80,
"description": "id, string, length 0 to 80. Optional."
},
"unit": {
"type": "string",
"maxLength": 40,
"description": "unit, string, length 0 to 40. Optional."
},
"value": {
"type": "number",
"maximum": 1000000000,
"minimum": -1000000000,
"description": "value, number, from -1000000000 to 1000000000. Optional."
},
"batchId": {
"type": "string",
"maxLength": 80,
"description": "batchId, string, length 0 to 80. Optional."
},
"measuredAt": {
"type": "string",
"maxLength": 40,
"description": "measuredAt, string, length 0 to 40. Optional."
},
"inspectionId": {
"type": "string",
"maxLength": 80,
"description": "inspectionId, string, length 0 to 80. Optional."
},
"characteristic": {
"type": "string",
"maxLength": 120,
"description": "characteristic, string, length 0 to 120. Optional."
}
},
"description": "item, object. Required."
},
"description": "measurements, array. Optional."
},
"spcMinSample": {
"type": "integer",
"maximum": 100000,
"minimum": 2,
"description": "spcMinSample, integer, from 2 to 100000. Optional."
},
"defectRateThreshold": {
"type": "number",
"maximum": 1,
"minimum": 0,
"description": "defectRateThreshold, number, from 0 to 1. Optional."
}
}
},
"outputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"items": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "id. String."
},
"kind": {
"type": "string",
"description": "kind. String."
},
"partId": {
"type": "string",
"description": "partId. String."
},
"batchId": {
"type": "string",
"description": "batchId. String."
},
"matched": {
"type": "string",
"description": "matched. String."
},
"confidence": {
"type": "string",
"description": "confidence. String."
},
"defectCode": {
"type": "string",
"description": "defectCode. String."
},
"defectText": {
"type": "string",
"description": "defectText. String."
},
"productCertified": {
"type": "boolean",
"description": "productCertified. Boolean."
},
"regulatoryComplianceClaimed": {
"type": "boolean",
"description": "regulatoryComplianceClaimed. Boolean."
}
},
"description": "item. Object.",
"additionalProperties": {}
},
"description": "items. Array."
},
"counts": {
"type": "array",
"items": {
"type": "object",
"properties": {
"kind": {
"type": "string",
"description": "kind. String."
},
"count": {
"type": "number",
"description": "count. Number."
}
},
"description": "item. Object.",
"additionalProperties": {}
},
"description": "counts. Array."
},
"status": {
"type": "string",
"description": "status. String."
},
"findings": {
"type": "array",
"items": {
"type": "string",
"description": "Item. String."
},
"description": "findings. Array."
},
"checkedAt": {
"type": "string",
"description": "checkedAt. String."
},
"limitations": {
"type": "array",
"items": {
"type": "string",
"description": "item. String."
},
"description": "limitations. Array."
},
"productCertified": {
"type": "boolean",
"description": "productCertified. Boolean."
},
"standardInvented": {
"type": "boolean",
"description": "standardInvented. Boolean."
},
"toleranceInvented": {
"type": "boolean",
"description": "toleranceInvented. Boolean."
},
"regulatoryComplianceClaimed": {
"type": "boolean",
"description": "regulatoryComplianceClaimed. Boolean."
}
},
"additionalProperties": {}
},
"annotations": {
"title": "Classify manufacturing defects",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}| array |
| inspections, array. Optional. |
| measurements | array | measurements, array. Optional. |
| spcMinSample | integer | spcMinSample, integer, from 2 to 100000. Optional. |
| defectRateThreshold | number | defectRateThreshold, number, from 0 to 1. Optional. |
{
"name": "manufacturing-quality_defect-rate-calculate",
"title": "Calculate defect rate",
"description": "Calculate defect rate from decided pass/fail inspections and compare it with an explicitly supplied threshold. Docs: https://www.brainiac.software/api/manufacturing-quality/defect-rate-calculate Keywords: when reviewing quality or a production issue, text, csv, file, inspections, measurements, standards, batches, evidence, thresholds, defectRateThreshold, minSample, spcMinSample, checkedAt, inspectedCount.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"csv": {
"type": "string",
"maxLength": 200000,
"description": "csv, string, length 0 to 200000. Optional."
},
"file": {
"type": "object",
"required": [
"mediaType",
"fileBase64"
],
"properties": {
"filename": {
"type": "string",
"maxLength": 180,
"minLength": 1,
"description": "filename, string, length 1 to 180. Optional."
},
"mediaType": {
"enum": [
"text/plain",
"text/csv",
"application/json"
],
"type": "string",
"description": "mediaType, string, one of text/plain, text/csv, application/json. Required."
},
"fileBase64": {
"type": "string",
"maxLength": 12000000,
"minLength": 1,
"description": "fileBase64, string, length 1 to 12000000. Required."
}
},
"description": "file, object. Optional."
},
"json": {
"type": "string",
"maxLength": 200000,
"description": "json, string, length 0 to 200000. Optional."
},
"text": {
"type": "string",
"maxLength": 200000,
"description": "text, string, length 0 to 200000. Optional."
},
"batches": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"maxLength": 80,
"description": "id, string, length 0 to 80. Optional."
},
"ended": {
"type": "string",
"maxLength": 40,
"description": "ended, string, length 0 to 40. Optional."
},
"product": {
"type": "string",
"maxLength": 160,
"description": "product, string, length 0 to 160. Optional."
},
"started": {
"type": "string",
"maxLength": 40,
"description": "started, string, length 0 to 40. Optional."
},
"produced": {
"type": "number",
"maximum": 1000000000,
"minimum": 0,
"description": "produced, number, from 0 to 1000000000. Optional."
}
},
"description": "item, object. Required."
},
"description": "batches, array. Optional."
},
"evidence": {
"type": "array",
"items": {
"type": "object",
"properties": {
"at": {
"type": "string",
"maxLength": 40,
"description": "at, string, length 0 to 40. Optional."
},
"id": {
"type": "string",
"maxLength": 80,
"description": "id, string, length 0 to 80. Optional."
},
"kind": {
"type": "string",
"maxLength": 80,
"description": "kind, string, length 0 to 80. Optional."
},
"text": {
"type": "string",
"maxLength": 1000,
"description": "text, string, length 0 to 1000. Optional."
},
"batchId": {
"type": "string",
"maxLength": 80,
"description": "batchId, string, length 0 to 80. Optional."
},
"inspectionId": {
"type": "string",
"maxLength": 80,
"description": "inspectionId, string, length 0 to 80. Optional."
}
},
"description": "item, object. Required."
},
"description": "evidence, array. Optional."
},
"minSample": {
"type": "integer",
"maximum": 100000,
"minimum": 1,
"description": "minSample, integer, from 1 to 100000. Optional."
},
"standards": {
"type": "array",
"items": {
"type": "object",
"required": [
"characteristic"
],
"properties": {
"unit": {
"type": "string",
"maxLength": 40,
"description": "unit, string, length 0 to 40. Optional."
},
"lower": {
"type": "number",
"maximum": 1000000000,
"minimum": -1000000000,
"description": "lower, number, from -1000000000 to 1000000000. Optional."
},
"upper": {
"type": "number",
"maximum": 1000000000,
"minimum": -1000000000,
"description": "upper, number, from -1000000000 to 1000000000. Optional."
},
"target": {
"type": "number",
"maximum": 1000000000,
"minimum": -1000000000,
"description": "target, number, from -1000000000 to 1000000000. Optional."
},
"characteristic": {
"type": "string",
"maxLength": 120,
"minLength": 1,
"description": "characteristic, string, length 1 to 120. Required."
}
},
"description": "item, object. Required."
},
"description": "standards, array. Optional."
},
"thresholds": {
"type": "array",
"items": {
"type": "object",
"required": [
"name"
],
"properties": {
"name": {
"type": "string",
"maxLength": 80,
"minLength": 1,
"description": "name, string, length 1 to 80. Required."
},
"value": {
"type": "number",
"maximum": 1,
"minimum": 0,
"description": "value, number, from 0 to 1. Optional."
}
},
"description": "item, object. Required."
},
"description": "thresholds, array. Optional."
},
"inspections": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"maxLength": 80,
"description": "id, string, length 0 to 80. Optional."
},
"partId": {
"type": "string",
"maxLength": 80,
"description": "partId, string, length 0 to 80. Optional."
},
"result": {
"type": "string",
"maxLength": 80,
"description": "result, string, length 0 to 80. Optional."
},
"batchId": {
"type": "string",
"maxLength": 80,
"description": "batchId, string, length 0 to 80. Optional."
},
"inspector": {
"type": "string",
"maxLength": 120,
"description": "inspector, string, length 0 to 120. Optional."
},
"defectCode": {
"type": "string",
"maxLength": 80,
"description": "defectCode, string, length 0 to 80. Optional."
},
"defectText": {
"type": "string",
"maxLength": 500,
"description": "defectText, string, length 0 to 500. Optional."
},
"inspectedAt": {
"type": "string",
"maxLength": 40,
"description": "inspectedAt, string, length 0 to 40. Optional."
}
},
"description": "item, object. Required."
},
"description": "inspections, array. Optional."
},
"measurements": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"maxLength": 80,
"description": "id, string, length 0 to 80. Optional."
},
"unit": {
"type": "string",
"maxLength": 40,
"description": "unit, string, length 0 to 40. Optional."
},
"value": {
"type": "number",
"maximum": 1000000000,
"minimum": -1000000000,
"description": "value, number, from -1000000000 to 1000000000. Optional."
},
"batchId": {
"type": "string",
"maxLength": 80,
"description": "batchId, string, length 0 to 80. Optional."
},
"measuredAt": {
"type": "string",
"maxLength": 40,
"description": "measuredAt, string, length 0 to 40. Optional."
},
"inspectionId": {
"type": "string",
"maxLength": 80,
"description": "inspectionId, string, length 0 to 80. Optional."
},
"characteristic": {
"type": "string",
"maxLength": 120,
"description": "characteristic, string, length 0 to 120. Optional."
}
},
"description": "item, object. Required."
},
"description": "measurements, array. Optional."
},
"spcMinSample": {
"type": "integer",
"maximum": 100000,
"minimum": 2,
"description": "spcMinSample, integer, from 2 to 100000. Optional."
},
"defectRateThreshold": {
"type": "number",
"maximum": 1,
"minimum": 0,
"description": "defectRateThreshold, number, from 0 to 1. Optional."
}
}
},
"outputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"status": {
"type": "string",
"description": "status. String."
},
"findings": {
"type": "array",
"items": {
"type": "string",
"description": "Item. String."
},
"description": "findings. Array."
},
"checkedAt": {
"type": "string",
"description": "checkedAt. String."
},
"failCount": {
"type": "number",
"description": "failCount. Number."
},
"minSample": {
"type": "number",
"description": "minSample. Number."
},
"threshold": {
"type": "number",
"description": "threshold. Number."
},
"defectRate": {
"type": "number",
"description": "defectRate. Number."
},
"limitations": {
"type": "array",
"items": {
"type": "string",
"description": "item. String."
},
"description": "limitations. Array."
},
"uncertainty": {
"type": "string",
"description": "uncertainty. String."
},
"decidedCount": {
"type": "number",
"description": "decidedCount. Number."
},
"overThreshold": {
"type": "boolean",
"description": "overThreshold. Boolean."
},
"inspectedCount": {
"type": "number",
"description": "inspectedCount. Number."
},
"productCertified": {
"type": "boolean",
"description": "productCertified. Boolean."
},
"sampleSufficient": {
"type": "boolean",
"description": "sampleSufficient. Boolean."
},
"standardInvented": {
"type": "boolean",
"description": "standardInvented. Boolean."
},
"thresholdSupplied": {
"type": "boolean",
"description": "thresholdSupplied. Boolean."
},
"toleranceInvented": {
"type": "boolean",
"description": "toleranceInvented. Boolean."
},
"defectRateSupplied": {
"type": "boolean",
"description": "defectRateSupplied. Boolean."
},
"regulatoryComplianceClaimed": {
"type": "boolean",
"description": "regulatoryComplianceClaimed. Boolean."
}
},
"additionalProperties": {}
},
"annotations": {
"title": "Calculate defect rate",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}| array |
| inspections, array. Optional. |
| measurements | array | measurements, array. Optional. |
| spcMinSample | integer | spcMinSample, integer, from 2 to 100000. Optional. |
| defectRateThreshold | number | defectRateThreshold, number, from 0 to 1. Optional. |
{
"name": "manufacturing-quality_batch-compare",
"title": "Compare batch quality",
"description": "Compare batch defect rates only when each batch meets the disclosed sample minimum. Docs: https://www.brainiac.software/api/manufacturing-quality/batch-compare Keywords: when reviewing quality or a production issue, text, csv, file, inspections, measurements, standards, batches, evidence, thresholds, defectRateThreshold, minSample, spcMinSample, checkedAt, comparisons.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"csv": {
"type": "string",
"maxLength": 200000,
"description": "csv, string, length 0 to 200000. Optional."
},
"file": {
"type": "object",
"required": [
"mediaType",
"fileBase64"
],
"properties": {
"filename": {
"type": "string",
"maxLength": 180,
"minLength": 1,
"description": "filename, string, length 1 to 180. Optional."
},
"mediaType": {
"enum": [
"text/plain",
"text/csv",
"application/json"
],
"type": "string",
"description": "mediaType, string, one of text/plain, text/csv, application/json. Required."
},
"fileBase64": {
"type": "string",
"maxLength": 12000000,
"minLength": 1,
"description": "fileBase64, string, length 1 to 12000000. Required."
}
},
"description": "file, object. Optional."
},
"json": {
"type": "string",
"maxLength": 200000,
"description": "json, string, length 0 to 200000. Optional."
},
"text": {
"type": "string",
"maxLength": 200000,
"description": "text, string, length 0 to 200000. Optional."
},
"batches": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"maxLength": 80,
"description": "id, string, length 0 to 80. Optional."
},
"ended": {
"type": "string",
"maxLength": 40,
"description": "ended, string, length 0 to 40. Optional."
},
"product": {
"type": "string",
"maxLength": 160,
"description": "product, string, length 0 to 160. Optional."
},
"started": {
"type": "string",
"maxLength": 40,
"description": "started, string, length 0 to 40. Optional."
},
"produced": {
"type": "number",
"maximum": 1000000000,
"minimum": 0,
"description": "produced, number, from 0 to 1000000000. Optional."
}
},
"description": "item, object. Required."
},
"description": "batches, array. Optional."
},
"evidence": {
"type": "array",
"items": {
"type": "object",
"properties": {
"at": {
"type": "string",
"maxLength": 40,
"description": "at, string, length 0 to 40. Optional."
},
"id": {
"type": "string",
"maxLength": 80,
"description": "id, string, length 0 to 80. Optional."
},
"kind": {
"type": "string",
"maxLength": 80,
"description": "kind, string, length 0 to 80. Optional."
},
"text": {
"type": "string",
"maxLength": 1000,
"description": "text, string, length 0 to 1000. Optional."
},
"batchId": {
"type": "string",
"maxLength": 80,
"description": "batchId, string, length 0 to 80. Optional."
},
"inspectionId": {
"type": "string",
"maxLength": 80,
"description": "inspectionId, string, length 0 to 80. Optional."
}
},
"description": "item, object. Required."
},
"description": "evidence, array. Optional."
},
"minSample": {
"type": "integer",
"maximum": 100000,
"minimum": 1,
"description": "minSample, integer, from 1 to 100000. Optional."
},
"standards": {
"type": "array",
"items": {
"type": "object",
"required": [
"characteristic"
],
"properties": {
"unit": {
"type": "string",
"maxLength": 40,
"description": "unit, string, length 0 to 40. Optional."
},
"lower": {
"type": "number",
"maximum": 1000000000,
"minimum": -1000000000,
"description": "lower, number, from -1000000000 to 1000000000. Optional."
},
"upper": {
"type": "number",
"maximum": 1000000000,
"minimum": -1000000000,
"description": "upper, number, from -1000000000 to 1000000000. Optional."
},
"target": {
"type": "number",
"maximum": 1000000000,
"minimum": -1000000000,
"description": "target, number, from -1000000000 to 1000000000. Optional."
},
"characteristic": {
"type": "string",
"maxLength": 120,
"minLength": 1,
"description": "characteristic, string, length 1 to 120. Required."
}
},
"description": "item, object. Required."
},
"description": "standards, array. Optional."
},
"thresholds": {
"type": "array",
"items": {
"type": "object",
"required": [
"name"
],
"properties": {
"name": {
"type": "string",
"maxLength": 80,
"minLength": 1,
"description": "name, string, length 1 to 80. Required."
},
"value": {
"type": "number",
"maximum": 1,
"minimum": 0,
"description": "value, number, from 0 to 1. Optional."
}
},
"description": "item, object. Required."
},
"description": "thresholds, array. Optional."
},
"inspections": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"maxLength": 80,
"description": "id, string, length 0 to 80. Optional."
},
"partId": {
"type": "string",
"maxLength": 80,
"description": "partId, string, length 0 to 80. Optional."
},
"result": {
"type": "string",
"maxLength": 80,
"description": "result, string, length 0 to 80. Optional."
},
"batchId": {
"type": "string",
"maxLength": 80,
"description": "batchId, string, length 0 to 80. Optional."
},
"inspector": {
"type": "string",
"maxLength": 120,
"description": "inspector, string, length 0 to 120. Optional."
},
"defectCode": {
"type": "string",
"maxLength": 80,
"description": "defectCode, string, length 0 to 80. Optional."
},
"defectText": {
"type": "string",
"maxLength": 500,
"description": "defectText, string, length 0 to 500. Optional."
},
"inspectedAt": {
"type": "string",
"maxLength": 40,
"description": "inspectedAt, string, length 0 to 40. Optional."
}
},
"description": "item, object. Required."
},
"description": "inspections, array. Optional."
},
"measurements": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"maxLength": 80,
"description": "id, string, length 0 to 80. Optional."
},
"unit": {
"type": "string",
"maxLength": 40,
"description": "unit, string, length 0 to 40. Optional."
},
"value": {
"type": "number",
"maximum": 1000000000,
"minimum": -1000000000,
"description": "value, number, from -1000000000 to 1000000000. Optional."
},
"batchId": {
"type": "string",
"maxLength": 80,
"description": "batchId, string, length 0 to 80. Optional."
},
"measuredAt": {
"type": "string",
"maxLength": 40,
"description": "measuredAt, string, length 0 to 40. Optional."
},
"inspectionId": {
"type": "string",
"maxLength": 80,
"description": "inspectionId, string, length 0 to 80. Optional."
},
"characteristic": {
"type": "string",
"maxLength": 120,
"description": "characteristic, string, length 0 to 120. Optional."
}
},
"description": "item, object. Required."
},
"description": "measurements, array. Optional."
},
"spcMinSample": {
"type": "integer",
"maximum": 100000,
"minimum": 2,
"description": "spcMinSample, integer, from 2 to 100000. Optional."
},
"defectRateThreshold": {
"type": "number",
"maximum": 1,
"minimum": 0,
"description": "defectRateThreshold, number, from 0 to 1. Optional."
}
}
},
"outputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"status": {
"type": "string",
"description": "status. String."
},
"batches": {
"type": "array",
"items": {
"type": "object",
"properties": {
"batchId": {
"type": "string",
"description": "batchId. String."
},
"product": {
"type": "string",
"description": "product. String."
},
"produced": {
"type": "number",
"description": "produced. Number."
},
"failCount": {
"type": "number",
"description": "failCount. Number."
},
"threshold": {
"type": "number",
"description": "threshold. Number."
},
"defectRate": {
"type": "number",
"description": "defectRate. Number."
},
"uncertainty": {
"type": "string",
"description": "uncertainty. String."
},
"decidedCount": {
"type": "number",
"description": "decidedCount. Number."
},
"overThreshold": {
"type": "boolean",
"description": "overThreshold. Boolean."
},
"inspectedCount": {
"type": "number",
"description": "inspectedCount. Number."
},
"producedSupplied": {
"type": "boolean",
"description": "producedSupplied. Boolean."
},
"productCertified": {
"type": "boolean",
"description": "productCertified. Boolean."
},
"sampleSufficient": {
"type": "boolean",
"description": "sampleSufficient. Boolean."
},
"thresholdSupplied": {
"type": "boolean",
"description": "thresholdSupplied. Boolean."
},
"defectRateSupplied": {
"type": "boolean",
"description": "defectRateSupplied. Boolean."
},
"regulatoryComplianceClaimed": {
"type": "boolean",
"description": "regulatoryComplianceClaimed. Boolean."
}
},
"description": "item. Object.",
"additionalProperties": {}
},
"description": "batches. Array."
},
"findings": {
"type": "array",
"items": {
"type": "string",
"description": "Item. String."
},
"description": "findings. Array."
},
"checkedAt": {
"type": "string",
"description": "checkedAt. String."
},
"minSample": {
"type": "number",
"description": "minSample. Number."
},
"comparisons": {
"type": "array",
"items": {
"type": "object",
"properties": {
"compared": {
"type": "boolean",
"description": "compared. Boolean."
},
"leftRate": {
"type": "number",
"description": "leftRate. Number."
},
"minSample": {
"type": "number",
"description": "minSample. Number."
},
"rightRate": {
"type": "number",
"description": "rightRate. Number."
},
"leftBatchId": {
"type": "string",
"description": "leftBatchId. String."
},
"rightBatchId": {
"type": "string",
"description": "rightBatchId. String."
},
"rateDifference": {
"type": "number",
"description": "rateDifference. Number."
}
},
"description": "item. Object.",
"additionalProperties": {}
},
"description": "comparisons. Array."
},
"limitations": {
"type": "array",
"items": {
"type": "string",
"description": "item. String."
},
"description": "limitations. Array."
},
"productCertified": {
"type": "boolean",
"description": "productCertified. Boolean."
},
"standardInvented": {
"type": "boolean",
"description": "standardInvented. Boolean."
},
"toleranceInvented": {
"type": "boolean",
"description": "toleranceInvented. Boolean."
},
"regulatoryComplianceClaimed": {
"type": "boolean",
"description": "regulatoryComplianceClaimed. Boolean."
}
},
"additionalProperties": {}
},
"annotations": {
"title": "Compare batch quality",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}| inspections |
| array |
| inspections, array. Optional. |
| measurements | array | measurements, array. Optional. |
| spcMinSample | integer | spcMinSample, integer, from 2 to 100000. Optional. |
| defectRateThreshold | number | defectRateThreshold, number, from 0 to 1. Optional. |
{
"name": "manufacturing-quality_nonconformance-report-generate",
"title": "Generate nonconformance reports",
"description": "Assemble structured nonconformance rows from failed inspections with linked measurements and evidence ids. Docs: https://www.brainiac.software/api/manufacturing-quality/nonconformance-report-generate Keywords: when reviewing quality or a production issue, text, csv, file, inspections, measurements, standards, batches, evidence, thresholds, defectRateThreshold, minSample, spcMinSample, checkedAt, reportCount.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"csv": {
"type": "string",
"maxLength": 200000,
"description": "csv, string, length 0 to 200000. Optional."
},
"file": {
"type": "object",
"required": [
"mediaType",
"fileBase64"
],
"properties": {
"filename": {
"type": "string",
"maxLength": 180,
"minLength": 1,
"description": "filename, string, length 1 to 180. Optional."
},
"mediaType": {
"enum": [
"text/plain",
"text/csv",
"application/json"
],
"type": "string",
"description": "mediaType, string, one of text/plain, text/csv, application/json. Required."
},
"fileBase64": {
"type": "string",
"maxLength": 12000000,
"minLength": 1,
"description": "fileBase64, string, length 1 to 12000000. Required."
}
},
"description": "file, object. Optional."
},
"json": {
"type": "string",
"maxLength": 200000,
"description": "json, string, length 0 to 200000. Optional."
},
"text": {
"type": "string",
"maxLength": 200000,
"description": "text, string, length 0 to 200000. Optional."
},
"batches": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"maxLength": 80,
"description": "id, string, length 0 to 80. Optional."
},
"ended": {
"type": "string",
"maxLength": 40,
"description": "ended, string, length 0 to 40. Optional."
},
"product": {
"type": "string",
"maxLength": 160,
"description": "product, string, length 0 to 160. Optional."
},
"started": {
"type": "string",
"maxLength": 40,
"description": "started, string, length 0 to 40. Optional."
},
"produced": {
"type": "number",
"maximum": 1000000000,
"minimum": 0,
"description": "produced, number, from 0 to 1000000000. Optional."
}
},
"description": "item, object. Required."
},
"description": "batches, array. Optional."
},
"evidence": {
"type": "array",
"items": {
"type": "object",
"properties": {
"at": {
"type": "string",
"maxLength": 40,
"description": "at, string, length 0 to 40. Optional."
},
"id": {
"type": "string",
"maxLength": 80,
"description": "id, string, length 0 to 80. Optional."
},
"kind": {
"type": "string",
"maxLength": 80,
"description": "kind, string, length 0 to 80. Optional."
},
"text": {
"type": "string",
"maxLength": 1000,
"description": "text, string, length 0 to 1000. Optional."
},
"batchId": {
"type": "string",
"maxLength": 80,
"description": "batchId, string, length 0 to 80. Optional."
},
"inspectionId": {
"type": "string",
"maxLength": 80,
"description": "inspectionId, string, length 0 to 80. Optional."
}
},
"description": "item, object. Required."
},
"description": "evidence, array. Optional."
},
"minSample": {
"type": "integer",
"maximum": 100000,
"minimum": 1,
"description": "minSample, integer, from 1 to 100000. Optional."
},
"standards": {
"type": "array",
"items": {
"type": "object",
"required": [
"characteristic"
],
"properties": {
"unit": {
"type": "string",
"maxLength": 40,
"description": "unit, string, length 0 to 40. Optional."
},
"lower": {
"type": "number",
"maximum": 1000000000,
"minimum": -1000000000,
"description": "lower, number, from -1000000000 to 1000000000. Optional."
},
"upper": {
"type": "number",
"maximum": 1000000000,
"minimum": -1000000000,
"description": "upper, number, from -1000000000 to 1000000000. Optional."
},
"target": {
"type": "number",
"maximum": 1000000000,
"minimum": -1000000000,
"description": "target, number, from -1000000000 to 1000000000. Optional."
},
"characteristic": {
"type": "string",
"maxLength": 120,
"minLength": 1,
"description": "characteristic, string, length 1 to 120. Required."
}
},
"description": "item, object. Required."
},
"description": "standards, array. Optional."
},
"thresholds": {
"type": "array",
"items": {
"type": "object",
"required": [
"name"
],
"properties": {
"name": {
"type": "string",
"maxLength": 80,
"minLength": 1,
"description": "name, string, length 1 to 80. Required."
},
"value": {
"type": "number",
"maximum": 1,
"minimum": 0,
"description": "value, number, from 0 to 1. Optional."
}
},
"description": "item, object. Required."
},
"description": "thresholds, array. Optional."
},
"inspections": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"maxLength": 80,
"description": "id, string, length 0 to 80. Optional."
},
"partId": {
"type": "string",
"maxLength": 80,
"description": "partId, string, length 0 to 80. Optional."
},
"result": {
"type": "string",
"maxLength": 80,
"description": "result, string, length 0 to 80. Optional."
},
"batchId": {
"type": "string",
"maxLength": 80,
"description": "batchId, string, length 0 to 80. Optional."
},
"inspector": {
"type": "string",
"maxLength": 120,
"description": "inspector, string, length 0 to 120. Optional."
},
"defectCode": {
"type": "string",
"maxLength": 80,
"description": "defectCode, string, length 0 to 80. Optional."
},
"defectText": {
"type": "string",
"maxLength": 500,
"description": "defectText, string, length 0 to 500. Optional."
},
"inspectedAt": {
"type": "string",
"maxLength": 40,
"description": "inspectedAt, string, length 0 to 40. Optional."
}
},
"description": "item, object. Required."
},
"description": "inspections, array. Optional."
},
"measurements": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"maxLength": 80,
"description": "id, string, length 0 to 80. Optional."
},
"unit": {
"type": "string",
"maxLength": 40,
"description": "unit, string, length 0 to 40. Optional."
},
"value": {
"type": "number",
"maximum": 1000000000,
"minimum": -1000000000,
"description": "value, number, from -1000000000 to 1000000000. Optional."
},
"batchId": {
"type": "string",
"maxLength": 80,
"description": "batchId, string, length 0 to 80. Optional."
},
"measuredAt": {
"type": "string",
"maxLength": 40,
"description": "measuredAt, string, length 0 to 40. Optional."
},
"inspectionId": {
"type": "string",
"maxLength": 80,
"description": "inspectionId, string, length 0 to 80. Optional."
},
"characteristic": {
"type": "string",
"maxLength": 120,
"description": "characteristic, string, length 0 to 120. Optional."
}
},
"description": "item, object. Required."
},
"description": "measurements, array. Optional."
},
"spcMinSample": {
"type": "integer",
"maximum": 100000,
"minimum": 2,
"description": "spcMinSample, integer, from 2 to 100000. Optional."
},
"defectRateThreshold": {
"type": "number",
"maximum": 1,
"minimum": 0,
"description": "defectRateThreshold, number, from 0 to 1. Optional."
}
}
},
"outputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"status": {
"type": "string",
"description": "status. String."
},
"reports": {
"type": "array",
"items": {
"type": "object",
"properties": {
"ncrId": {
"type": "string",
"description": "ncrId. String."
},
"partId": {
"type": "string",
"description": "partId. String."
},
"batchId": {
"type": "string",
"description": "batchId. String."
},
"summary": {
"type": "string",
"description": "summary. String."
},
"defectCode": {
"type": "string",
"description": "defectCode. String."
},
"defectKind": {
"type": "string",
"description": "defectKind. String."
},
"defectText": {
"type": "string",
"description": "defectText. String."
},
"evidenceIds": {
"type": "array",
"items": {
"type": "string",
"description": "item. String."
},
"description": "evidenceIds. Array."
},
"inspectedAt": {
"type": "string",
"description": "inspectedAt. String."
},
"inspectionId": {
"type": "string",
"description": "inspectionId. String."
},
"evidenceCount": {
"type": "number",
"description": "evidenceCount. Number."
},
"measurementIds": {
"type": "array",
"items": {
"type": "string",
"description": "item. String."
},
"description": "measurementIds. Array."
},
"productCertified": {
"type": "boolean",
"description": "productCertified. Boolean."
},
"standardInvented": {
"type": "boolean",
"description": "standardInvented. Boolean."
},
"toleranceInvented": {
"type": "boolean",
"description": "toleranceInvented. Boolean."
},
"outOfToleranceCount": {
"type": "number",
"description": "outOfToleranceCount. Number."
},
"regulatoryComplianceClaimed": {
"type": "boolean",
"description": "regulatoryComplianceClaimed. Boolean."
}
},
"description": "item. Object.",
"additionalProperties": {}
},
"description": "reports. Array."
},
"findings": {
"type": "array",
"items": {
"type": "object",
"properties": {
"code": {
"type": "string",
"description": "code. String."
},
"kind": {
"type": "string",
"description": "kind. String."
},
"detail": {
"type": "string",
"description": "detail. String."
},
"subject": {
"type": "string",
"description": "subject. String."
}
},
"description": "item. Object.",
"additionalProperties": {}
},
"description": "findings. Array."
},
"checkedAt": {
"type": "string",
"description": "checkedAt. String."
},
"defectRate": {
"type": "number",
"description": "defectRate. Number."
},
"limitations": {
"type": "array",
"items": {
"type": "string",
"description": "item. String."
},
"description": "limitations. Array."
},
"reportCount": {
"type": "number",
"description": "reportCount. Number."
},
"productCertified": {
"type": "boolean",
"description": "productCertified. Boolean."
},
"standardInvented": {
"type": "boolean",
"description": "standardInvented. Boolean."
},
"toleranceInvented": {
"type": "boolean",
"description": "toleranceInvented. Boolean."
},
"defectRateSupplied": {
"type": "boolean",
"description": "defectRateSupplied. Boolean."
},
"regulatoryComplianceClaimed": {
"type": "boolean",
"description": "regulatoryComplianceClaimed. Boolean."
}
},
"additionalProperties": {}
},
"annotations": {
"title": "Generate nonconformance reports",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}| array |
| inspections, array. Optional. |
| measurements | array | measurements, array. Optional. |
| spcMinSample | integer | spcMinSample, integer, from 2 to 100000. Optional. |
| defectRateThreshold | number | defectRateThreshold, number, from 0 to 1. Optional. |
{
"name": "manufacturing-quality_production-tolerance-check",
"title": "Check production tolerances",
"description": "Compare supplied measurements with caller-supplied lower and upper limits. Docs: https://www.brainiac.software/api/manufacturing-quality/production-tolerance-check Keywords: when reviewing quality or a production issue, text, csv, file, inspections, measurements, standards, batches, evidence, thresholds, defectRateThreshold, minSample, spcMinSample, checkedAt, outOfToleranceCount.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"csv": {
"type": "string",
"maxLength": 200000,
"description": "csv, string, length 0 to 200000. Optional."
},
"file": {
"type": "object",
"required": [
"mediaType",
"fileBase64"
],
"properties": {
"filename": {
"type": "string",
"maxLength": 180,
"minLength": 1,
"description": "filename, string, length 1 to 180. Optional."
},
"mediaType": {
"enum": [
"text/plain",
"text/csv",
"application/json"
],
"type": "string",
"description": "mediaType, string, one of text/plain, text/csv, application/json. Required."
},
"fileBase64": {
"type": "string",
"maxLength": 12000000,
"minLength": 1,
"description": "fileBase64, string, length 1 to 12000000. Required."
}
},
"description": "file, object. Optional."
},
"json": {
"type": "string",
"maxLength": 200000,
"description": "json, string, length 0 to 200000. Optional."
},
"text": {
"type": "string",
"maxLength": 200000,
"description": "text, string, length 0 to 200000. Optional."
},
"batches": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"maxLength": 80,
"description": "id, string, length 0 to 80. Optional."
},
"ended": {
"type": "string",
"maxLength": 40,
"description": "ended, string, length 0 to 40. Optional."
},
"product": {
"type": "string",
"maxLength": 160,
"description": "product, string, length 0 to 160. Optional."
},
"started": {
"type": "string",
"maxLength": 40,
"description": "started, string, length 0 to 40. Optional."
},
"produced": {
"type": "number",
"maximum": 1000000000,
"minimum": 0,
"description": "produced, number, from 0 to 1000000000. Optional."
}
},
"description": "item, object. Required."
},
"description": "batches, array. Optional."
},
"evidence": {
"type": "array",
"items": {
"type": "object",
"properties": {
"at": {
"type": "string",
"maxLength": 40,
"description": "at, string, length 0 to 40. Optional."
},
"id": {
"type": "string",
"maxLength": 80,
"description": "id, string, length 0 to 80. Optional."
},
"kind": {
"type": "string",
"maxLength": 80,
"description": "kind, string, length 0 to 80. Optional."
},
"text": {
"type": "string",
"maxLength": 1000,
"description": "text, string, length 0 to 1000. Optional."
},
"batchId": {
"type": "string",
"maxLength": 80,
"description": "batchId, string, length 0 to 80. Optional."
},
"inspectionId": {
"type": "string",
"maxLength": 80,
"description": "inspectionId, string, length 0 to 80. Optional."
}
},
"description": "item, object. Required."
},
"description": "evidence, array. Optional."
},
"minSample": {
"type": "integer",
"maximum": 100000,
"minimum": 1,
"description": "minSample, integer, from 1 to 100000. Optional."
},
"standards": {
"type": "array",
"items": {
"type": "object",
"required": [
"characteristic"
],
"properties": {
"unit": {
"type": "string",
"maxLength": 40,
"description": "unit, string, length 0 to 40. Optional."
},
"lower": {
"type": "number",
"maximum": 1000000000,
"minimum": -1000000000,
"description": "lower, number, from -1000000000 to 1000000000. Optional."
},
"upper": {
"type": "number",
"maximum": 1000000000,
"minimum": -1000000000,
"description": "upper, number, from -1000000000 to 1000000000. Optional."
},
"target": {
"type": "number",
"maximum": 1000000000,
"minimum": -1000000000,
"description": "target, number, from -1000000000 to 1000000000. Optional."
},
"characteristic": {
"type": "string",
"maxLength": 120,
"minLength": 1,
"description": "characteristic, string, length 1 to 120. Required."
}
},
"description": "item, object. Required."
},
"description": "standards, array. Optional."
},
"thresholds": {
"type": "array",
"items": {
"type": "object",
"required": [
"name"
],
"properties": {
"name": {
"type": "string",
"maxLength": 80,
"minLength": 1,
"description": "name, string, length 1 to 80. Required."
},
"value": {
"type": "number",
"maximum": 1,
"minimum": 0,
"description": "value, number, from 0 to 1. Optional."
}
},
"description": "item, object. Required."
},
"description": "thresholds, array. Optional."
},
"inspections": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"maxLength": 80,
"description": "id, string, length 0 to 80. Optional."
},
"partId": {
"type": "string",
"maxLength": 80,
"description": "partId, string, length 0 to 80. Optional."
},
"result": {
"type": "string",
"maxLength": 80,
"description": "result, string, length 0 to 80. Optional."
},
"batchId": {
"type": "string",
"maxLength": 80,
"description": "batchId, string, length 0 to 80. Optional."
},
"inspector": {
"type": "string",
"maxLength": 120,
"description": "inspector, string, length 0 to 120. Optional."
},
"defectCode": {
"type": "string",
"maxLength": 80,
"description": "defectCode, string, length 0 to 80. Optional."
},
"defectText": {
"type": "string",
"maxLength": 500,
"description": "defectText, string, length 0 to 500. Optional."
},
"inspectedAt": {
"type": "string",
"maxLength": 40,
"description": "inspectedAt, string, length 0 to 40. Optional."
}
},
"description": "item, object. Required."
},
"description": "inspections, array. Optional."
},
"measurements": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"maxLength": 80,
"description": "id, string, length 0 to 80. Optional."
},
"unit": {
"type": "string",
"maxLength": 40,
"description": "unit, string, length 0 to 40. Optional."
},
"value": {
"type": "number",
"maximum": 1000000000,
"minimum": -1000000000,
"description": "value, number, from -1000000000 to 1000000000. Optional."
},
"batchId": {
"type": "string",
"maxLength": 80,
"description": "batchId, string, length 0 to 80. Optional."
},
"measuredAt": {
"type": "string",
"maxLength": 40,
"description": "measuredAt, string, length 0 to 40. Optional."
},
"inspectionId": {
"type": "string",
"maxLength": 80,
"description": "inspectionId, string, length 0 to 80. Optional."
},
"characteristic": {
"type": "string",
"maxLength": 120,
"description": "characteristic, string, length 0 to 120. Optional."
}
},
"description": "item, object. Required."
},
"description": "measurements, array. Optional."
},
"spcMinSample": {
"type": "integer",
"maximum": 100000,
"minimum": 2,
"description": "spcMinSample, integer, from 2 to 100000. Optional."
},
"defectRateThreshold": {
"type": "number",
"maximum": 1,
"minimum": 0,
"description": "defectRateThreshold, number, from 0 to 1. Optional."
}
}
},
"outputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"spc": {
"type": "array",
"items": {
"type": "object",
"properties": {
"lcl": {
"type": "number",
"description": "lcl. Number."
},
"ucl": {
"type": "number",
"description": "ucl. Number."
},
"mean": {
"type": "number",
"description": "mean. Number."
},
"stdev": {
"type": "number",
"description": "stdev. Number."
},
"spcComputed": {
"type": "boolean",
"description": "spcComputed. Boolean."
},
"uncertainty": {
"type": "string",
"description": "uncertainty. String."
},
"spcMinSample": {
"type": "number",
"description": "spcMinSample. Number."
},
"characteristic": {
"type": "string",
"description": "characteristic. String."
},
"observationCount": {
"type": "number",
"description": "observationCount. Number."
},
"outOfControlCount": {
"type": "number",
"description": "outOfControlCount. Number."
}
},
"description": "item. Object.",
"additionalProperties": {}
},
"description": "spc. Array."
},
"items": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "id. String."
},
"unit": {
"type": "string",
"description": "unit. String."
},
"lower": {
"type": "number",
"description": "lower. Number."
},
"upper": {
"type": "number",
"description": "upper. Number."
},
"value": {
"type": "number",
"description": "value. Number."
},
"status": {
"type": "string",
"description": "status. String."
},
"target": {
"type": "number",
"description": "target. Number."
},
"batchId": {
"type": "string",
"description": "batchId. String."
},
"inspectionId": {
"type": "string",
"description": "inspectionId. String."
},
"lowerSupplied": {
"type": "boolean",
"description": "lowerSupplied. Boolean."
},
"upperSupplied": {
"type": "boolean",
"description": "upperSupplied. Boolean."
},
"valueSupplied": {
"type": "boolean",
"description": "valueSupplied. Boolean."
},
"characteristic": {
"type": "string",
"description": "characteristic. String."
},
"targetSupplied": {
"type": "boolean",
"description": "targetSupplied. Boolean."
},
"withinTolerance": {
"type": "boolean",
"description": "withinTolerance. Boolean."
},
"standardInvented": {
"type": "boolean",
"description": "standardInvented. Boolean."
},
"toleranceChecked": {
"type": "boolean",
"description": "toleranceChecked. Boolean."
},
"toleranceInvented": {
"type": "boolean",
"description": "toleranceInvented. Boolean."
}
},
"description": "item. Object.",
"additionalProperties": {}
},
"description": "items. Array."
},
"status": {
"type": "string",
"description": "status. String."
},
"findings": {
"type": "array",
"items": {
"type": "string",
"description": "Item. String."
},
"description": "findings. Array."
},
"checkedAt": {
"type": "string",
"description": "checkedAt. String."
},
"limitations": {
"type": "array",
"items": {
"type": "string",
"description": "item. String."
},
"description": "limitations. Array."
},
"checkedCount": {
"type": "number",
"description": "checkedCount. Number."
},
"spcMinSample": {
"type": "number",
"description": "spcMinSample. Number."
},
"productCertified": {
"type": "boolean",
"description": "productCertified. Boolean."
},
"standardInvented": {
"type": "boolean",
"description": "standardInvented. Boolean."
},
"toleranceInvented": {
"type": "boolean",
"description": "toleranceInvented. Boolean."
},
"outOfToleranceCount": {
"type": "number",
"description": "outOfToleranceCount. Number."
},
"regulatoryComplianceClaimed": {
"type": "boolean",
"description": "regulatoryComplianceClaimed. Boolean."
}
},
"additionalProperties": {}
},
"annotations": {
"title": "Check production tolerances",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}| array |
| inspections, array. Optional. |
| measurements | array | measurements, array. Optional. |
| spcMinSample | integer | spcMinSample, integer, from 2 to 100000. Optional. |
| defectRateThreshold | number | defectRateThreshold, number, from 0 to 1. Optional. |
{
"name": "manufacturing-quality_root-cause-evidence-analyze",
"title": "Analyze root-cause evidence",
"description": "Link supplied evidence rows to failed inspections by id and summarize evidence kinds. Docs: https://www.brainiac.software/api/manufacturing-quality/root-cause-evidence-analyze Keywords: when reviewing quality or a production issue, text, csv, file, inspections, measurements, standards, batches, evidence, thresholds, defectRateThreshold, minSample, spcMinSample, checkedAt, evidenceCount.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"csv": {
"type": "string",
"maxLength": 200000,
"description": "csv, string, length 0 to 200000. Optional."
},
"file": {
"type": "object",
"required": [
"mediaType",
"fileBase64"
],
"properties": {
"filename": {
"type": "string",
"maxLength": 180,
"minLength": 1,
"description": "filename, string, length 1 to 180. Optional."
},
"mediaType": {
"enum": [
"text/plain",
"text/csv",
"application/json"
],
"type": "string",
"description": "mediaType, string, one of text/plain, text/csv, application/json. Required."
},
"fileBase64": {
"type": "string",
"maxLength": 12000000,
"minLength": 1,
"description": "fileBase64, string, length 1 to 12000000. Required."
}
},
"description": "file, object. Optional."
},
"json": {
"type": "string",
"maxLength": 200000,
"description": "json, string, length 0 to 200000. Optional."
},
"text": {
"type": "string",
"maxLength": 200000,
"description": "text, string, length 0 to 200000. Optional."
},
"batches": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"maxLength": 80,
"description": "id, string, length 0 to 80. Optional."
},
"ended": {
"type": "string",
"maxLength": 40,
"description": "ended, string, length 0 to 40. Optional."
},
"product": {
"type": "string",
"maxLength": 160,
"description": "product, string, length 0 to 160. Optional."
},
"started": {
"type": "string",
"maxLength": 40,
"description": "started, string, length 0 to 40. Optional."
},
"produced": {
"type": "number",
"maximum": 1000000000,
"minimum": 0,
"description": "produced, number, from 0 to 1000000000. Optional."
}
},
"description": "item, object. Required."
},
"description": "batches, array. Optional."
},
"evidence": {
"type": "array",
"items": {
"type": "object",
"properties": {
"at": {
"type": "string",
"maxLength": 40,
"description": "at, string, length 0 to 40. Optional."
},
"id": {
"type": "string",
"maxLength": 80,
"description": "id, string, length 0 to 80. Optional."
},
"kind": {
"type": "string",
"maxLength": 80,
"description": "kind, string, length 0 to 80. Optional."
},
"text": {
"type": "string",
"maxLength": 1000,
"description": "text, string, length 0 to 1000. Optional."
},
"batchId": {
"type": "string",
"maxLength": 80,
"description": "batchId, string, length 0 to 80. Optional."
},
"inspectionId": {
"type": "string",
"maxLength": 80,
"description": "inspectionId, string, length 0 to 80. Optional."
}
},
"description": "item, object. Required."
},
"description": "evidence, array. Optional."
},
"minSample": {
"type": "integer",
"maximum": 100000,
"minimum": 1,
"description": "minSample, integer, from 1 to 100000. Optional."
},
"standards": {
"type": "array",
"items": {
"type": "object",
"required": [
"characteristic"
],
"properties": {
"unit": {
"type": "string",
"maxLength": 40,
"description": "unit, string, length 0 to 40. Optional."
},
"lower": {
"type": "number",
"maximum": 1000000000,
"minimum": -1000000000,
"description": "lower, number, from -1000000000 to 1000000000. Optional."
},
"upper": {
"type": "number",
"maximum": 1000000000,
"minimum": -1000000000,
"description": "upper, number, from -1000000000 to 1000000000. Optional."
},
"target": {
"type": "number",
"maximum": 1000000000,
"minimum": -1000000000,
"description": "target, number, from -1000000000 to 1000000000. Optional."
},
"characteristic": {
"type": "string",
"maxLength": 120,
"minLength": 1,
"description": "characteristic, string, length 1 to 120. Required."
}
},
"description": "item, object. Required."
},
"description": "standards, array. Optional."
},
"thresholds": {
"type": "array",
"items": {
"type": "object",
"required": [
"name"
],
"properties": {
"name": {
"type": "string",
"maxLength": 80,
"minLength": 1,
"description": "name, string, length 1 to 80. Required."
},
"value": {
"type": "number",
"maximum": 1,
"minimum": 0,
"description": "value, number, from 0 to 1. Optional."
}
},
"description": "item, object. Required."
},
"description": "thresholds, array. Optional."
},
"inspections": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"maxLength": 80,
"description": "id, string, length 0 to 80. Optional."
},
"partId": {
"type": "string",
"maxLength": 80,
"description": "partId, string, length 0 to 80. Optional."
},
"result": {
"type": "string",
"maxLength": 80,
"description": "result, string, length 0 to 80. Optional."
},
"batchId": {
"type": "string",
"maxLength": 80,
"description": "batchId, string, length 0 to 80. Optional."
},
"inspector": {
"type": "string",
"maxLength": 120,
"description": "inspector, string, length 0 to 120. Optional."
},
"defectCode": {
"type": "string",
"maxLength": 80,
"description": "defectCode, string, length 0 to 80. Optional."
},
"defectText": {
"type": "string",
"maxLength": 500,
"description": "defectText, string, length 0 to 500. Optional."
},
"inspectedAt": {
"type": "string",
"maxLength": 40,
"description": "inspectedAt, string, length 0 to 40. Optional."
}
},
"description": "item, object. Required."
},
"description": "inspections, array. Optional."
},
"measurements": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"maxLength": 80,
"description": "id, string, length 0 to 80. Optional."
},
"unit": {
"type": "string",
"maxLength": 40,
"description": "unit, string, length 0 to 40. Optional."
},
"value": {
"type": "number",
"maximum": 1000000000,
"minimum": -1000000000,
"description": "value, number, from -1000000000 to 1000000000. Optional."
},
"batchId": {
"type": "string",
"maxLength": 80,
"description": "batchId, string, length 0 to 80. Optional."
},
"measuredAt": {
"type": "string",
"maxLength": 40,
"description": "measuredAt, string, length 0 to 40. Optional."
},
"inspectionId": {
"type": "string",
"maxLength": 80,
"description": "inspectionId, string, length 0 to 80. Optional."
},
"characteristic": {
"type": "string",
"maxLength": 120,
"description": "characteristic, string, length 0 to 120. Optional."
}
},
"description": "item, object. Required."
},
"description": "measurements, array. Optional."
},
"spcMinSample": {
"type": "integer",
"maximum": 100000,
"minimum": 2,
"description": "spcMinSample, integer, from 2 to 100000. Optional."
},
"defectRateThreshold": {
"type": "number",
"maximum": 1,
"minimum": 0,
"description": "defectRateThreshold, number, from 0 to 1. Optional."
}
}
},
"outputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"items": {
"type": "array",
"items": {
"type": "object",
"properties": {
"at": {
"type": "string",
"description": "at. String."
},
"id": {
"type": "string",
"description": "id. String."
},
"kind": {
"type": "string",
"description": "kind. String."
},
"text": {
"type": "string",
"description": "text. String."
},
"batchId": {
"type": "string",
"description": "batchId. String."
},
"linkedBatch": {
"type": "boolean",
"description": "linkedBatch. Boolean."
},
"inspectionId": {
"type": "string",
"description": "inspectionId. String."
},
"linkedInspection": {
"type": "boolean",
"description": "linkedInspection. Boolean."
}
},
"description": "item. Object.",
"additionalProperties": {}
},
"description": "items. Array."
},
"status": {
"type": "string",
"description": "status. String."
},
"signals": {
"type": "array",
"items": {
"type": "object",
"properties": {
"code": {
"type": "string",
"description": "code. String."
},
"kind": {
"type": "string",
"description": "kind. String."
},
"count": {
"type": "number",
"description": "count. Number."
},
"detail": {
"type": "string",
"description": "detail. String."
}
},
"description": "item. Object.",
"additionalProperties": {}
},
"description": "signals. Array."
},
"findings": {
"type": "array",
"items": {
"type": "string",
"description": "Item. String."
},
"description": "findings. Array."
},
"checkedAt": {
"type": "string",
"description": "checkedAt. String."
},
"limitations": {
"type": "array",
"items": {
"type": "string",
"description": "item. String."
},
"description": "limitations. Array."
},
"evidenceCount": {
"type": "number",
"description": "evidenceCount. Number."
},
"productCertified": {
"type": "boolean",
"description": "productCertified. Boolean."
},
"standardInvented": {
"type": "boolean",
"description": "standardInvented. Boolean."
},
"toleranceInvented": {
"type": "boolean",
"description": "toleranceInvented. Boolean."
},
"linkedFailureCount": {
"type": "number",
"description": "linkedFailureCount. Number."
},
"regulatoryComplianceClaimed": {
"type": "boolean",
"description": "regulatoryComplianceClaimed. Boolean."
}
},
"additionalProperties": {}
},
"annotations": {
"title": "Analyze root-cause evidence",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}| array |
| inspections, array. Optional. |
| measurements | array | measurements, array. Optional. |
| spcMinSample | integer | spcMinSample, integer, from 2 to 100000. Optional. |
| defectRateThreshold | number | defectRateThreshold, number, from 0 to 1. Optional. |
{
"name": "manufacturing-quality_report",
"title": "Report manufacturing quality",
"description": "Combine inspection parsing, defect classes, defect rates, batch comparisons, tolerances, NCR rows, and evidence links from supplied records. Docs: https://www.brainiac.software/api/manufacturing-quality/report Keywords: when reviewing quality or a production issue, text, csv, file, inspections, measurements, standards, batches, evidence, thresholds, defectRateThreshold, minSample, spcMinSample, checkedAt, inspectionCount.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"csv": {
"type": "string",
"maxLength": 200000,
"description": "csv, string, length 0 to 200000. Optional."
},
"file": {
"type": "object",
"required": [
"mediaType",
"fileBase64"
],
"properties": {
"filename": {
"type": "string",
"maxLength": 180,
"minLength": 1,
"description": "filename, string, length 1 to 180. Optional."
},
"mediaType": {
"enum": [
"text/plain",
"text/csv",
"application/json"
],
"type": "string",
"description": "mediaType, string, one of text/plain, text/csv, application/json. Required."
},
"fileBase64": {
"type": "string",
"maxLength": 12000000,
"minLength": 1,
"description": "fileBase64, string, length 1 to 12000000. Required."
}
},
"description": "file, object. Optional."
},
"json": {
"type": "string",
"maxLength": 200000,
"description": "json, string, length 0 to 200000. Optional."
},
"text": {
"type": "string",
"maxLength": 200000,
"description": "text, string, length 0 to 200000. Optional."
},
"batches": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"maxLength": 80,
"description": "id, string, length 0 to 80. Optional."
},
"ended": {
"type": "string",
"maxLength": 40,
"description": "ended, string, length 0 to 40. Optional."
},
"product": {
"type": "string",
"maxLength": 160,
"description": "product, string, length 0 to 160. Optional."
},
"started": {
"type": "string",
"maxLength": 40,
"description": "started, string, length 0 to 40. Optional."
},
"produced": {
"type": "number",
"maximum": 1000000000,
"minimum": 0,
"description": "produced, number, from 0 to 1000000000. Optional."
}
},
"description": "item, object. Required."
},
"description": "batches, array. Optional."
},
"evidence": {
"type": "array",
"items": {
"type": "object",
"properties": {
"at": {
"type": "string",
"maxLength": 40,
"description": "at, string, length 0 to 40. Optional."
},
"id": {
"type": "string",
"maxLength": 80,
"description": "id, string, length 0 to 80. Optional."
},
"kind": {
"type": "string",
"maxLength": 80,
"description": "kind, string, length 0 to 80. Optional."
},
"text": {
"type": "string",
"maxLength": 1000,
"description": "text, string, length 0 to 1000. Optional."
},
"batchId": {
"type": "string",
"maxLength": 80,
"description": "batchId, string, length 0 to 80. Optional."
},
"inspectionId": {
"type": "string",
"maxLength": 80,
"description": "inspectionId, string, length 0 to 80. Optional."
}
},
"description": "item, object. Required."
},
"description": "evidence, array. Optional."
},
"minSample": {
"type": "integer",
"maximum": 100000,
"minimum": 1,
"description": "minSample, integer, from 1 to 100000. Optional."
},
"standards": {
"type": "array",
"items": {
"type": "object",
"required": [
"characteristic"
],
"properties": {
"unit": {
"type": "string",
"maxLength": 40,
"description": "unit, string, length 0 to 40. Optional."
},
"lower": {
"type": "number",
"maximum": 1000000000,
"minimum": -1000000000,
"description": "lower, number, from -1000000000 to 1000000000. Optional."
},
"upper": {
"type": "number",
"maximum": 1000000000,
"minimum": -1000000000,
"description": "upper, number, from -1000000000 to 1000000000. Optional."
},
"target": {
"type": "number",
"maximum": 1000000000,
"minimum": -1000000000,
"description": "target, number, from -1000000000 to 1000000000. Optional."
},
"characteristic": {
"type": "string",
"maxLength": 120,
"minLength": 1,
"description": "characteristic, string, length 1 to 120. Required."
}
},
"description": "item, object. Required."
},
"description": "standards, array. Optional."
},
"thresholds": {
"type": "array",
"items": {
"type": "object",
"required": [
"name"
],
"properties": {
"name": {
"type": "string",
"maxLength": 80,
"minLength": 1,
"description": "name, string, length 1 to 80. Required."
},
"value": {
"type": "number",
"maximum": 1,
"minimum": 0,
"description": "value, number, from 0 to 1. Optional."
}
},
"description": "item, object. Required."
},
"description": "thresholds, array. Optional."
},
"inspections": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"maxLength": 80,
"description": "id, string, length 0 to 80. Optional."
},
"partId": {
"type": "string",
"maxLength": 80,
"description": "partId, string, length 0 to 80. Optional."
},
"result": {
"type": "string",
"maxLength": 80,
"description": "result, string, length 0 to 80. Optional."
},
"batchId": {
"type": "string",
"maxLength": 80,
"description": "batchId, string, length 0 to 80. Optional."
},
"inspector": {
"type": "string",
"maxLength": 120,
"description": "inspector, string, length 0 to 120. Optional."
},
"defectCode": {
"type": "string",
"maxLength": 80,
"description": "defectCode, string, length 0 to 80. Optional."
},
"defectText": {
"type": "string",
"maxLength": 500,
"description": "defectText, string, length 0 to 500. Optional."
},
"inspectedAt": {
"type": "string",
"maxLength": 40,
"description": "inspectedAt, string, length 0 to 40. Optional."
}
},
"description": "item, object. Required."
},
"description": "inspections, array. Optional."
},
"measurements": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"maxLength": 80,
"description": "id, string, length 0 to 80. Optional."
},
"unit": {
"type": "string",
"maxLength": 40,
"description": "unit, string, length 0 to 40. Optional."
},
"value": {
"type": "number",
"maximum": 1000000000,
"minimum": -1000000000,
"description": "value, number, from -1000000000 to 1000000000. Optional."
},
"batchId": {
"type": "string",
"maxLength": 80,
"description": "batchId, string, length 0 to 80. Optional."
},
"measuredAt": {
"type": "string",
"maxLength": 40,
"description": "measuredAt, string, length 0 to 40. Optional."
},
"inspectionId": {
"type": "string",
"maxLength": 80,
"description": "inspectionId, string, length 0 to 80. Optional."
},
"characteristic": {
"type": "string",
"maxLength": 120,
"description": "characteristic, string, length 0 to 120. Optional."
}
},
"description": "item, object. Required."
},
"description": "measurements, array. Optional."
},
"spcMinSample": {
"type": "integer",
"maximum": 100000,
"minimum": 2,
"description": "spcMinSample, integer, from 2 to 100000. Optional."
},
"defectRateThreshold": {
"type": "number",
"maximum": 1,
"minimum": 0,
"description": "defectRateThreshold, number, from 0 to 1. Optional."
}
}
},
"outputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"ncr": {
"type": "array",
"items": {
"type": "object",
"properties": {
"ncrId": {
"type": "string",
"description": "ncrId. String."
},
"partId": {
"type": "string",
"description": "partId. String."
},
"batchId": {
"type": "string",
"description": "batchId. String."
},
"summary": {
"type": "string",
"description": "summary. String."
},
"defectCode": {
"type": "string",
"description": "defectCode. String."
},
"defectKind": {
"type": "string",
"description": "defectKind. String."
},
"defectText": {
"type": "string",
"description": "defectText. String."
},
"evidenceIds": {
"type": "array",
"items": {
"type": "string",
"description": "item. String."
},
"description": "evidenceIds. Array."
},
"inspectedAt": {
"type": "string",
"description": "inspectedAt. String."
},
"inspectionId": {
"type": "string",
"description": "inspectionId. String."
},
"evidenceCount": {
"type": "number",
"description": "evidenceCount. Number."
},
"measurementIds": {
"type": "array",
"items": {
"type": "string",
"description": "item. String."
},
"description": "measurementIds. Array."
},
"productCertified": {
"type": "boolean",
"description": "productCertified. Boolean."
},
"standardInvented": {
"type": "boolean",
"description": "standardInvented. Boolean."
},
"toleranceInvented": {
"type": "boolean",
"description": "toleranceInvented. Boolean."
},
"outOfToleranceCount": {
"type": "number",
"description": "outOfToleranceCount. Number."
},
"regulatoryComplianceClaimed": {
"type": "boolean",
"description": "regulatoryComplianceClaimed. Boolean."
}
},
"description": "item. Object.",
"additionalProperties": {}
},
"description": "ncr. Array."
},
"spc": {
"type": "array",
"items": {
"type": "object",
"properties": {
"lcl": {
"type": "number",
"description": "lcl. Number."
},
"ucl": {
"type": "number",
"description": "ucl. Number."
},
"mean": {
"type": "number",
"description": "mean. Number."
},
"stdev": {
"type": "number",
"description": "stdev. Number."
},
"spcComputed": {
"type": "boolean",
"description": "spcComputed. Boolean."
},
"uncertainty": {
"type": "string",
"description": "uncertainty. String."
},
"spcMinSample": {
"type": "number",
"description": "spcMinSample. Number."
},
"characteristic": {
"type": "string",
"description": "characteristic. String."
},
"observationCount": {
"type": "number",
"description": "observationCount. Number."
},
"outOfControlCount": {
"type": "number",
"description": "outOfControlCount. Number."
}
},
"description": "item. Object.",
"additionalProperties": {}
},
"description": "spc. Array."
},
"status": {
"type": "string",
"description": "status. String."
},
"batches": {
"type": "array",
"items": {
"type": "object",
"properties": {
"batchId": {
"type": "string",
"description": "batchId. String."
},
"product": {
"type": "string",
"description": "product. String."
},
"produced": {
"type": "number",
"description": "produced. Number."
},
"failCount": {
"type": "number",
"description": "failCount. Number."
},
"threshold": {
"type": "number",
"description": "threshold. Number."
},
"defectRate": {
"type": "number",
"description": "defectRate. Number."
},
"uncertainty": {
"type": "string",
"description": "uncertainty. String."
},
"decidedCount": {
"type": "number",
"description": "decidedCount. Number."
},
"overThreshold": {
"type": "boolean",
"description": "overThreshold. Boolean."
},
"inspectedCount": {
"type": "number",
"description": "inspectedCount. Number."
},
"producedSupplied": {
"type": "boolean",
"description": "producedSupplied. Boolean."
},
"productCertified": {
"type": "boolean",
"description": "productCertified. Boolean."
},
"sampleSufficient": {
"type": "boolean",
"description": "sampleSufficient. Boolean."
},
"thresholdSupplied": {
"type": "boolean",
"description": "thresholdSupplied. Boolean."
},
"defectRateSupplied": {
"type": "boolean",
"description": "defectRateSupplied. Boolean."
},
"regulatoryComplianceClaimed": {
"type": "boolean",
"description": "regulatoryComplianceClaimed. Boolean."
}
},
"description": "item. Object.",
"additionalProperties": {}
},
"description": "batches. Array."
},
"signals": {
"type": "array",
"items": {
"type": "object",
"properties": {
"code": {
"type": "string",
"description": "code. String."
},
"kind": {
"type": "string",
"description": "kind. String."
},
"count": {
"type": "number",
"description": "count. Number."
},
"detail": {
"type": "string",
"description": "detail. String."
}
},
"description": "item. Object.",
"additionalProperties": {}
},
"description": "signals. Array."
},
"evidence": {
"type": "array",
"items": {
"type": "object",
"properties": {
"at": {
"type": "string",
"description": "at. String."
},
"id": {
"type": "string",
"description": "id. String."
},
"kind": {
"type": "string",
"description": "kind. String."
},
"text": {
"type": "string",
"description": "text. String."
},
"batchId": {
"type": "string",
"description": "batchId. String."
},
"linkedBatch": {
"type": "boolean",
"description": "linkedBatch. Boolean."
},
"inspectionId": {
"type": "string",
"description": "inspectionId. String."
},
"linkedInspection": {
"type": "boolean",
"description": "linkedInspection. Boolean."
}
},
"description": "item. Object.",
"additionalProperties": {}
},
"description": "evidence. Array."
},
"findings": {
"type": "array",
"items": {
"type": "string",
"description": "Item. String."
},
"description": "findings. Array."
},
"ncrCount": {
"type": "number",
"description": "ncrCount. Number."
},
"checkedAt": {
"type": "string",
"description": "checkedAt. String."
},
"failCount": {
"type": "number",
"description": "failCount. Number."
},
"defectRate": {
"type": "number",
"description": "defectRate. Number."
},
"tolerances": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "id. String."
},
"unit": {
"type": "string",
"description": "unit. String."
},
"lower": {
"type": "number",
"description": "lower. Number."
},
"upper": {
"type": "number",
"description": "upper. Number."
},
"value": {
"type": "number",
"description": "value. Number."
},
"status": {
"type": "string",
"description": "status. String."
},
"target": {
"type": "number",
"description": "target. Number."
},
"batchId": {
"type": "string",
"description": "batchId. String."
},
"inspectionId": {
"type": "string",
"description": "inspectionId. String."
},
"lowerSupplied": {
"type": "boolean",
"description": "lowerSupplied. Boolean."
},
"upperSupplied": {
"type": "boolean",
"description": "upperSupplied. Boolean."
},
"valueSupplied": {
"type": "boolean",
"description": "valueSupplied. Boolean."
},
"characteristic": {
"type": "string",
"description": "characteristic. String."
},
"targetSupplied": {
"type": "boolean",
"description": "targetSupplied. Boolean."
},
"withinTolerance": {
"type": "boolean",
"description": "withinTolerance. Boolean."
},
"standardInvented": {
"type": "boolean",
"description": "standardInvented. Boolean."
},
"toleranceChecked": {
"type": "boolean",
"description": "toleranceChecked. Boolean."
},
"toleranceInvented": {
"type": "boolean",
"description": "toleranceInvented. Boolean."
}
},
"description": "item. Object.",
"additionalProperties": {}
},
"description": "tolerances. Array."
},
"comparisons": {
"type": "array",
"items": {
"type": "object",
"properties": {
"compared": {
"type": "boolean",
"description": "compared. Boolean."
},
"leftRate": {
"type": "number",
"description": "leftRate. Number."
},
"minSample": {
"type": "number",
"description": "minSample. Number."
},
"rightRate": {
"type": "number",
"description": "rightRate. Number."
},
"leftBatchId": {
"type": "string",
"description": "leftBatchId. String."
},
"rightBatchId": {
"type": "string",
"description": "rightBatchId. String."
},
"rateDifference": {
"type": "number",
"description": "rateDifference. Number."
}
},
"description": "item. Object.",
"additionalProperties": {}
},
"description": "comparisons. Array."
},
"inspections": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "id. String."
},
"partId": {
"type": "string",
"description": "partId. String."
},
"result": {
"type": "string",
"description": "result. String."
},
"batchId": {
"type": "string",
"description": "batchId. String."
},
"outcome": {
"type": "string",
"description": "outcome. String."
},
"inspector": {
"type": "string",
"description": "inspector. String."
},
"defectCode": {
"type": "string",
"description": "defectCode. String."
},
"defectText": {
"type": "string",
"description": "defectText. String."
},
"inspectedAt": {
"type": "string",
"description": "inspectedAt. String."
},
"measurementCount": {
"type": "number",
"description": "measurementCount. Number."
}
},
"description": "item. Object.",
"additionalProperties": {}
},
"description": "inspections. Array."
},
"limitations": {
"type": "array",
"items": {
"type": "string",
"description": "item. String."
},
"description": "limitations. Array."
},
"uncertainty": {
"type": "string",
"description": "uncertainty. String."
},
"defectClasses": {
"type": "array",
"items": {
"type": "object",
"properties": {
"kind": {
"type": "string",
"description": "kind. String."
},
"count": {
"type": "number",
"description": "count. Number."
}
},
"description": "item. Object.",
"additionalProperties": {}
},
"description": "defectClasses. Array."
},
"overThreshold": {
"type": "boolean",
"description": "overThreshold. Boolean."
},
"inspectionCount": {
"type": "number",
"description": "inspectionCount. Number."
},
"productCertified": {
"type": "boolean",
"description": "productCertified. Boolean."
},
"sampleSufficient": {
"type": "boolean",
"description": "sampleSufficient. Boolean."
},
"standardInvented": {
"type": "boolean",
"description": "standardInvented. Boolean."
},
"toleranceInvented": {
"type": "boolean",
"description": "toleranceInvented. Boolean."
},
"defectRateSupplied": {
"type": "boolean",
"description": "defectRateSupplied. Boolean."
},
"outOfToleranceCount": {
"type": "number",
"description": "outOfToleranceCount. Number."
},
"regulatoryComplianceClaimed": {
"type": "boolean",
"description": "regulatoryComplianceClaimed. Boolean."
}
},
"additionalProperties": {}
},
"annotations": {
"title": "Report manufacturing quality",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}