{ "$schema": "https://json-schema.org/draft/2020-12/schema", "title": "LappSettings", "type": "object", "properties": { "availableModels": { "type": "array", "default": [], "items": { "$ref": "#/$defs/LappModelOption" } }, "mode": { "$ref": "#/$defs/LappMode" }, "selectedModelId": { "type": [ "string", "null" ] }, "selectedProviderId": { "type": [ "string", "null" ] }, "statusMessage": { "type": "string" } }, "required": [ "mode", "statusMessage" ], "$defs": { "LappMode": { "type": "string", "enum": [ "lapp", "demo", "unavailable" ] }, "LappModelOption": { "type": "object", "properties": { "modelId": { "type": "string" }, "modelName": { "type": [ "string", "null" ] }, "providerId": { "type": "string" }, "providerName": { "type": [ "string", "null" ] } }, "required": [ "providerId", "modelId" ] } } }