1Factory · Schema

SuperInspection

SuperInspection schema from 1Factory API

AnalyticsData CollectionManufacturingMonitoringQuality

Properties

Name Type Description
ID object
insp_ident_1 object
insp_ident_2 object
insp_ident_3 object
part_number object
rev object
part_description object
operation object
customer_name object
supplier_name object
supplier_number object
project_identifier object
site string Location where inspection was performed, from your organization's Site LOV.
created_by_name object
created_on object
in_spec_pct number Percentage of in-spec parts for this inspection.
inspection_status string Current status of inspection.
inspected_by_name string Name of user that last set inspection status.
inspected_on string Date & time that inspection status set.
review_status string Current review status of inspection.
reviewed_by_name string Name of user that set review status.
reviewed_on string Date & time that review status was set.
notes string Comments on this inspection
ncrs array List of NCR #s associated with this inspection
updated_on object
closed_on object
View JSON Schema on GitHub

JSON Schema

1factory-super-inspection-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/1factory/refs/heads/main/json-schema/1factory-super-inspection-schema.json",
  "title": "SuperInspection",
  "description": "SuperInspection schema from 1Factory API",
  "type": "object",
  "properties": {
    "ID": {
      "$ref": "#/components/schemas/ID"
    },
    "insp_ident_1": {
      "$ref": "#/components/schemas/insp_ident_1"
    },
    "insp_ident_2": {
      "$ref": "#/components/schemas/insp_ident_2"
    },
    "insp_ident_3": {
      "$ref": "#/components/schemas/insp_ident_3"
    },
    "part_number": {
      "$ref": "#/components/schemas/part_number"
    },
    "rev": {
      "$ref": "#/components/schemas/rev"
    },
    "part_description": {
      "$ref": "#/components/schemas/part_description"
    },
    "operation": {
      "$ref": "#/components/schemas/operation"
    },
    "customer_name": {
      "$ref": "#/components/schemas/customer_name"
    },
    "supplier_name": {
      "$ref": "#/components/schemas/supplier_name"
    },
    "supplier_number": {
      "$ref": "#/components/schemas/supplier_number"
    },
    "project_identifier": {
      "$ref": "#/components/schemas/project_identifier"
    },
    "site": {
      "type": "string",
      "nullable": true,
      "description": "Location where inspection was performed, from your organization's Site LOV.",
      "example": "QC Lab"
    },
    "created_by_name": {
      "$ref": "#/components/schemas/created_by_username"
    },
    "created_on": {
      "$ref": "#/components/schemas/created_on"
    },
    "in_spec_pct": {
      "type": "number",
      "format": "double",
      "nullable": false,
      "description": "Percentage of in-spec parts for this inspection.",
      "readOnly": false,
      "minimum": 0.0,
      "maximum": 100.0,
      "example": 100.0
    },
    "inspection_status": {
      "type": "string",
      "enum": [
        "Pending",
        "Accepted",
        "Rejected"
      ],
      "description": "Current status of inspection.",
      "default": "Accepted"
    },
    "inspected_by_name": {
      "type": "string",
      "nullable": true,
      "description": "Name of user that last set inspection status.",
      "example": "Will Stallard"
    },
    "inspected_on": {
      "type": "string",
      "nullable": true,
      "format": "date-time",
      "description": "Date & time that inspection status set.",
      "example": "2021-07-16T17:42:31-08:00"
    },
    "review_status": {
      "type": "string",
      "enum": [
        "Pending",
        "Reviewed"
      ],
      "description": "Current review status of inspection.",
      "default": "Pending"
    },
    "reviewed_by_name": {
      "type": "string",
      "nullable": true,
      "description": "Name of user that set review status.",
      "example": "Nipun Girotra"
    },
    "reviewed_on": {
      "type": "string",
      "nullable": true,
      "format": "date-time",
      "description": "Date & time that review status was set.",
      "example": "2021-07-16T17:53:41-08:00"
    },
    "notes": {
      "type": "string",
      "nullable": true,
      "maxLength": 32000,
      "description": "Comments on this inspection",
      "example": "Parts are discolored."
    },
    "ncrs": {
      "type": "array",
      "minItems": 0,
      "items": {
        "type": "string",
        "nullable": false
      },
      "description": "List of NCR #s associated with this inspection",
      "example": [
        "NCR-123",
        "NCR-456"
      ]
    },
    "updated_on": {
      "$ref": "#/components/schemas/updated_on"
    },
    "closed_on": {
      "$ref": "#/components/schemas/closed_on"
    }
  }
}