Salta al contenuto
Nessun risultato
  • Account
  • Articoli e libri
  • bbpress template
  • Calcolatrice legge di Ohm
  • Calcolatrici e convertitori
  • Convertitore Farad condensatori
  • Convertitore Ohm resistenze
  • Convertitore sistema numerico
  • Datasheet
  • Download
  • GeXY… Idea!
  • Login
  • Password Reset
  • Privacy e condizioni
  • Progetti
  • Video list
GeXY
Login/registrati
  • Progetti
  • Forum
  • Risorse
    • Datasheets
    • Calcolatrici & convertitori
    • Libri & articoli
    • Video
GeXY

OpenLab Developer

9
  • Implementare un logger storage
  • Creare un plugin base

OpenLab Studio Developer

7
  • Gestore degli errori
  • Schemi validazione configurazione
  • Elenco eventi standard
  • Logger standard
  • Logger base
  • Gestore degli eventi
  • Gestore della UI
View Categories
  • Home
  • OpenLab Docs
  • OpenLab Developer
  • OpenLab Studio Developer
  • Schemi validazione configurazione

Schemi validazione configurazione

< 1 min read

Generale #

Di seguito sono riportati gli schemi di controllo del fileĀ config\config.json divisi per versioni di OpenLab Studio

0.16.0 #

{
  "type": "object",
  "required": [ "openlab" ],
  "properties": {
    "openlab": {
      "type": "object",
      "properties": {
        "logger": {
          "type": "object",
          "additionalProperties": false,
          "properties": {
            "enabled": {
              "type": "boolean",
              "default": true,
              "title": "Enable/disable logger"
            },
            "loadStoragesOnStart": {
              "type": "boolean",
              "default": true,
              "title": "Enable/disable load logger storages on start"
            },
            "storages": {
              "type": "array",
              "title": "List of logger storages"
            }
          }
        },
        "dock": {
          "type": "object",
          "additionalProperties": false,
          "properties": {
            "path": {
              "type": "string",
              "title": "Path of dll file with Dock drive"
            },
            "loadOnStart": {
              "type": "boolean",
              "default": true,
              "title": "Enable/disable load dock on start"
            },
            "connector": {
              "type": "object",
              "title": "Configuration of Dock connector",
              "additionalProperties": true
            },
            "modules": {
              "type": "array",
              "title": "List of hardware modules"
            }
          },
          "required": [ "path", "connector" ]
        },
        "plugins": {
          "type": "object",
          "additionalProperties": false,
          "properties": {
            "loadOnStart": {
              "type": "boolean",
              "default": true,
              "title": "Enable/disable load plugins on start"
            },
            "plugins": {
              "type": "array",
              "title": "List of plugins",
              "items": {
                "type": "object",
                "additionalProperties": false,
                "required": [ "path" ],
                "properties": {
                  "enabled": {
                    "type": "boolean",
                    "default": true,
                    "title": "Enable/disable plugin load"
                  },
                  "path": {
                    "type": "string",
                    "title": "path of dll file with plugin implementation"
                  },
                  "config": {
                    "type": "object",
                    "title": "Config for plugin",
                    "additionalProperties": true
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}

 

Updated on 10/09/2025

What are your Feelings

  • Happy
  • Normal
  • Sad

Share This Article :

  • Facebook
  • X
  • LinkedIn
  • Pinterest

Powered by BetterDocs

Table of Contents
  • Generale
  • 0.16.0
Copyright © 2025 - Tema WordPress sviluppato da CreativeThemes