N1Developer docsv1

TYPE REFERENCE

MachineEdge

Referenced by 1 generated operations.

Documented fields

  • cursorString!Required

    Opaque position of this row in the list.

    Example: "WyJkcmlsbCBwcmVzcyAxIiwiMDE5MmYwYzEtMDAwMC03MDAwLTgwMDAtMDAwMDAwZDQwMDA2Il0"

  • nodeMachine!Required

    The Machine.

    Example: {"id":"0192f0c1-0000-7000-8000-000000d40006","name":"Drill Press 1","kind":"Drill press","status":"IDLE","currentAssignment":null}

    Show children
    • codeString!Required

      code machine detail.

    • createdAtString!Required

      UTC time the machine was added.

    • currentAssignmentMachineAssignmentOptional

      The open assignment, or null when the machine is not running a job.

      Example: null

      Show children
      • idID!Required

        Stable id (UUIDv7).

      • jobCardIdID!Required

        The job card it belongs to.

      • jobOperationIdID!Required

        The step being run (JobOperation.id).

      • operationNameString!Required

        What the step does.

      • qrValueString!Required

        That job card’s QR text.

      • startedAtString!Required

        UTC time the machine was assigned.

    • currentWorkMachineWorkOptional

      Current work, or null.

      Show children
      • operatorString!Required

        Operator name.

      • titleString!Required

        Job title.

      • workOrderIdID!Required

        Order id.

    • idID!Required

      Stable id (UUIDv7).

      Example: "0192f0c1-0000-7000-8000-000000d40006"

    • kindString!Required

      What sort of machine it is, such as “CNC lathe”.

      Example: "Drill press"

    • locationString!Required

      location machine detail.

    • modelString!Required

      model machine detail.

    • nameString!Required

      The name the shop calls it, such as “Lathe 3”.

      Example: "Drill Press 1"

    • notesString!Required

      notes machine detail.

    • statusMachineStatus!Required

      What it is doing.

      Example: "IDLE"

      • IDLEFree to take a job operation.
      • MAINTENANCEOut of service. It cannot be assigned work.
      • RUNNINGHas an open assignment. Set by assignMachine and releaseMachine, never by hand.
    • typeMachineType!Required

      Machine category.

      • CNC_LATHECNC lathe.
      • CNC_MILLCNC mill.
      • INSPECTIONInspection.
      • LATHELathe.
      • PACKINGPacking.
      • WELDINGWelding.
    • updatedAtString!Required

      UTC time of the last change.

Used by

Search documentation

Search operations, types and errors from the generated contract.