Losant · Schema

Losant Notebook

Schema for a single Notebook

IoTInternet of ThingsDevicesEdge ComputeEmbeddedMQTTIndustrial IoTTelemetryWorkflow-AutomationVisual Workflow EngineDashboardsTime SeriesConnected ProductsEnterprise

Properties

Name Type Description
id object
notebookId object
applicationId object
creationDate object
lastUpdated object
name object
description object
jupyterFileName object
jupyterFileUrl string
imageVersion object
inputs array
outputs array
stats object
View JSON Schema on GitHub

JSON Schema

losant-notebook-schema.json Raw ↑
{
  "title": "Losant Notebook",
  "description": "Schema for a single Notebook",
  "type": "object",
  "properties": {
    "id": {
      "$ref": "#/$defs/common/objectId"
    },
    "notebookId": {
      "$ref": "#/$defs/common/objectId"
    },
    "applicationId": {
      "$ref": "#/$defs/common/objectId"
    },
    "creationDate": {
      "$ref": "#/$defs/common/date"
    },
    "lastUpdated": {
      "$ref": "#/$defs/common/date"
    },
    "name": {
      "$ref": "#/$defs/common/reqMedStr"
    },
    "description": {
      "$ref": "#/$defs/common/description"
    },
    "jupyterFileName": {
      "$ref": "#/$defs/common/reqMedStr"
    },
    "jupyterFileUrl": {
      "type": "string"
    },
    "imageVersion": {
      "$ref": "#/$defs/common/notebookImageVersion"
    },
    "inputs": {
      "type": "array",
      "items": {
        "maxItems": 100,
        "oneOf": [
          {
            "type": "object",
            "properties": {
              "inputType": {
                "type": "string",
                "enum": [
                  "deviceData"
                ]
              },
              "fileName": {
                "$ref": "#/$defs/common/templateOrSafeFileName"
              },
              "deviceTags": {
                "$ref": "#/$defs/common/templateTags"
              },
              "deviceIds": {
                "$ref": "#/$defs/common/templatesOrObjectIds"
              },
              "queryJson": {
                "$ref": "#/$defs/common/queryJson"
              },
              "attributes": {
                "type": "array",
                "maxItems": 100,
                "items": {
                  "$ref": "#/$defs/common/key"
                }
              },
              "start": {
                "type": "number"
              },
              "end": {
                "type": "number"
              }
            },
            "required": [
              "inputType",
              "fileName",
              "start",
              "end"
            ],
            "additionalProperties": false
          },
          {
            "type": "object",
            "properties": {
              "inputType": {
                "type": "string",
                "enum": [
                  "deviceConnectionHistory"
                ]
              },
              "fileName": {
                "$ref": "#/$defs/common/templateOrSafeFileName"
              },
              "deviceTags": {
                "$ref": "#/$defs/common/templateTags"
              },
              "deviceIds": {
                "$ref": "#/$defs/common/templatesOrObjectIds"
              },
              "queryJson": {
                "$ref": "#/$defs/common/queryJson"
              },
              "start": {
                "type": "number"
              },
              "end": {
                "type": "number"
              }
            },
            "required": [
              "inputType",
              "fileName",
              "start",
              "end"
            ],
            "additionalProperties": false
          },
          {
            "type": "object",
            "properties": {
              "inputType": {
                "type": "string",
                "enum": [
                  "deviceMetadata"
                ]
              },
              "fileName": {
                "$ref": "#/$defs/common/templateOrSafeFileName"
              },
              "deviceTags": {
                "$ref": "#/$defs/common/templateTags"
              },
              "deviceIds": {
                "$ref": "#/$defs/common/templatesOrObjectIds"
              },
              "queryJson": {
                "$ref": "#/$defs/common/queryJson"
              },
              "format": {
                "type": "string",
                "enum": [
                  "csv",
                  "json"
                ],
                "default": "csv"
              }
            },
            "required": [
              "inputType",
              "fileName"
            ],
            "additionalProperties": false
          },
          {
            "type": "object",
            "properties": {
              "inputType": {
                "type": "string",
                "enum": [
                  "dataTable"
                ]
              },
              "fileName": {
                "$ref": "#/$defs/common/templateOrSafeFileName"
              },
              "dataTableId": {
                "$ref": "#/$defs/common/templateOrObjectId"
              },
              "queryJson": {
                "$ref": "#/$defs/common/queryJson"
              }
            },
            "required": [
              "inputType",
              "fileName",
              "dataTableId"
            ],
            "additionalProperties": false
          },
          {
            "type": "object",
            "properties": {
              "inputType": {
                "type": "string",
                "enum": [
                  "eventData"
                ]
              },
              "fileName": {
                "$ref": "#/$defs/common/templateOrSafeFileName"
              },
              "queryJson": {
                "$ref": "#/$defs/common/queryJson"
              },
              "format": {
                "type": "string",
                "enum": [
                  "csv",
                  "json"
                ],
                "default": "csv"
              }
            },
            "required": [
              "inputType",
              "fileName"
            ],
            "additionalProperties": false
          },
          {
            "type": "object",
            "properties": {
              "inputType": {
                "type": "string",
                "enum": [
                  "externalUrl"
                ]
              },
              "fileName": {
                "$ref": "#/$defs/common/templateOrSafeFileName"
              },
              "sourceUrl": {
                "type": "string",
                "minLength": 1,
                "maxLength": 1024
              }
            },
            "required": [
              "inputType",
              "fileName",
              "sourceUrl"
            ],
            "additionalProperties": false
          },
          {
            "type": "object",
            "properties": {
              "inputType": {
                "type": "string",
                "enum": [
                  "applicationFile"
                ]
              },
              "fileName": {
                "$ref": "#/$defs/common/templateOrSafeFileName"
              },
              "filePath": {
                "type": "string",
                "minLength": 1,
                "maxLength": 2048
              },
              "private": {
                "type": "boolean"
              }
            },
            "required": [
              "inputType",
              "fileName",
              "filePath"
            ],
            "additionalProperties": false
          }
        ]
      }
    },
    "outputs": {
      "type": "array",
      "items": {
        "maxItems": 100,
        "oneOf": [
          {
            "type": "object",
            "properties": {
              "outputType": {
                "type": "string",
                "enum": [
                  "dataTable"
                ]
              },
              "fileName": {
                "$ref": "#/$defs/common/templateOrSafeFileName"
              },
              "dataTableId": {
                "$ref": "#/$defs/common/templateOrObjectId"
              },
              "createMissingColumns": {
                "type": "boolean"
              },
              "truncateExistingTable": {
                "type": "boolean"
              }
            },
            "required": [
              "fileName",
              "outputType",
              "dataTableId"
            ],
            "additionalProperties": false
          },
          {
            "type": "object",
            "properties": {
              "outputType": {
                "type": "string",
                "enum": [
                  "file"
                ]
              },
              "fileName": {
                "$ref": "#/$defs/common/templateOrSafeFileName"
              },
              "destinationDirectoryTemplate": {
                "type": "string",
                "minLength": 1,
                "maxLength": 1024
              },
              "destinationFileNameTemplate": {
                "type": "string",
                "minLength": 1,
                "maxLength": 1024
              },
              "destinationPrivate": {
                "type": "boolean"
              }
            },
            "required": [
              "fileName",
              "outputType",
              "destinationFileNameTemplate"
            ],
            "additionalProperties": false
          },
          {
            "type": "object",
            "properties": {
              "outputType": {
                "type": "string",
                "enum": [
                  "directory"
                ]
              },
              "directoryName": {
                "$ref": "#/$defs/common/templateOrSafeFileName"
              },
              "destinationDirectoryTemplate": {
                "type": "string",
                "minLength": 1,
                "maxLength": 1024
              },
              "destinationPrivate": {
                "type": "boolean"
              }
            },
            "required": [
              "directoryName",
              "outputType",
              "destinationDirectoryTemplate"
            ],
            "additionalProperties": false
          },
          {
            "type": "object",
            "properties": {
              "outputType": {
                "type": "string",
                "enum": [
                  "executionResult"
                ]
              },
              "fileName": {
                "type": "string",
                "enum": [
                  "result.html",
                  "result.pdf",
                  "result.ipynb",
                  "result.error.log",
                  "result.log"
                ]
              },
              "destinationDirectoryTemplate": {
                "type": "string",
                "minLength": 1,
                "maxLength": 1024
              },
              "destinationFileNameTemplate": {
                "type": "string",
                "minLength": 1,
                "maxLength": 1024
              },
              "destinationPrivate": {
                "type": "boolean"
              }
            },
            "required": [
              "fileName",
              "outputType"
            ],
            "additionalProperties": false
          },
          {
            "type": "object",
            "properties": {
              "outputType": {
                "type": "string",
                "enum": [
                  "temporaryUrl"
                ]
              },
              "fileName": {
                "$ref": "#/$defs/common/templateOrSafeFileName"
              }
            },
            "required": [
              "fileName",
              "outputType"
            ],
            "additionalProperties": false
          }
        ]
      }
    },
    "stats": {
      "type": "object",
      "properties": {
        "minutesThisPeriod": {
          "type": "number"
        },
        "runsThisPeriod": {
          "type": "number"
        },
        "errorsThisPeriod": {
          "type": "number"
        }
      },
      "additionalProperties": false
    }
  },
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/losant/main/json-schema/losant-notebook-schema.json"
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/losant-notebook"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no email required.

A second provider on the same verified email joins the account you already have.