scripts.json
Schema for Mudlet scripts described in scripts.json.
Schema URL
{ "$schema": "https://schema.gesslar.dev/muddler/v1/scripts.json"}Array Items
This schema defines an array where each item references: #/definitions/script
Definitions
This schema includes 1 reusable definition(s): script
Full Schema
{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://schema.gesslar.dev/muddler/v1/scripts.json", "title": "Muddler Scripts Schema", "description": "Schema for Mudlet scripts described in scripts.json.", "type": "array", "items": { "$ref": "#/definitions/script" }, "definitions": { "script": { "allOf": [ { "$ref": "https://schema.gesslar.dev/muddler/v1/common.json#/$defs/nodeBase" }, { "type": "object", "properties": { "isActive": { "description": "Yes if this script will automatically load, no otherwise." }, "isFolder": { "description": "Yes if this is a folder, no otherwise." }, "eventHandlerList": { "type": "array", "description": "List of Mudlet events this script handles (e.g. sysInstall).", "items": { "type": "string" } }, "children": { "type": "array", "description": "Nested scripts when used as a folder (isFolder=yes).", "items": { "$ref": "#/definitions/script" } } } } ], "unevaluatedProperties": false } }}