Labguru · Schema

createMaintenance

Electronic Lab NotebookELNLIMSLaboratory Information ManagementBiotechLife SciencesResearch Data ManagementInventory ManagementExperiment ManagementREST APIGraphQL

Properties

Name Type Description
token string
item object
View JSON Schema on GitHub

JSON Schema

createMaintenance.json Raw ↑
{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/labguru/main/json-schema/createMaintenance.json",
  "title": "createMaintenance",
  "type": "object",
  "required": [
    "token"
  ],
  "properties": {
    "token": {
      "type": "string",
      "example": "YOUR TOKEN IS HERE"
    },
    "item": {
      "type": "object",
      "required": [
        "item_id",
        "item_type",
        "maintenance_type_id",
        "frequency_period",
        "frequency_frame"
      ],
      "properties": {
        "item_id": {
          "type": "integer",
          "description": "the id of the equipment"
        },
        "item_type": {
          "type": "string",
          "description": "the class of the item (System::Instrument)",
          "example": "System::Instrument"
        },
        "maintenance_type_id": {
          "type": "integer",
          "description": "the id of the maintenance type"
        },
        "frequency_period": {
          "type": "integer",
          "description": "the time period in numbers",
          "example": "1"
        },
        "frequency_frame": {
          "type": "string",
          "description": "one of the following time frames - hour/day/week/month/year",
          "example": "year"
        }
      }
    }
  }
}