1Factory · JSON Structure

1Factory Super Inspection Structure

SuperInspection schema from 1Factory API

Type: object Properties: 26
AnalyticsData CollectionManufacturingMonitoringQuality

SuperInspection is a JSON Structure definition published by 1Factory, describing 26 properties. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

ID insp_ident_1 insp_ident_2 insp_ident_3 part_number rev part_description operation customer_name supplier_name supplier_number project_identifier site created_by_name created_on in_spec_pct inspection_status inspected_by_name inspected_on review_status reviewed_by_name reviewed_on notes ncrs updated_on closed_on

Meta-schema: https://json-structure.org/meta/core/v0/#

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/1factory/refs/heads/main/json-structure/1factory-super-inspection-structure.json",
  "name": "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": "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": "datetime",
      "nullable": true,
      "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": "datetime",
      "nullable": true,
      "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"
    }
  }
}