From 8bdf68c1753db765f16ef1d8822f566eee0354f5 Mon Sep 17 00:00:00 2001 From: Ludeeus Date: Mon, 8 Feb 2021 17:45:38 +0000 Subject: [PATCH] Make schema required --- docs/add-ons/configuration.md | 2 +- docs/api/supervisor/endpoints.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/add-ons/configuration.md b/docs/add-ons/configuration.md index 2bf94d37..82da174e 100644 --- a/docs/add-ons/configuration.md +++ b/docs/add-ons/configuration.md @@ -147,7 +147,7 @@ The configuration for an add-on is stored in `config.json`. | stdin | bool | no | Boolean. If enabled, you can use the STDIN with Home Assistant API. | legacy | bool | no | Boolean. If the Docker image has no `hass.io` labels, you can enable the legacy mode to use the config data. | options | dict | no | Default options value of the add-on. -| schema | dict | no | Schema for options value of the add-on. It can be `false` to disable schema validation and use custom options. +| schema | dict | true | Schema for options value of the add-on. | image | string | no | For use with Docker Hub and other container registries. | timeout | integer | no | Default 10 (seconds). The timeout to wait until the Docker daemon is done or will be killed. | tmpfs | bool | no | Is this True, the containers `/tmp` is using tmpfs, an memory file system. diff --git a/docs/api/supervisor/endpoints.md b/docs/api/supervisor/endpoints.md index 2a622227..96b5c772 100644 --- a/docs/api/supervisor/endpoints.md +++ b/docs/api/supervisor/endpoints.md @@ -138,7 +138,7 @@ Get details about a add-on | protected | boolean | `true` if protection mode is enabled | | rating | int | The addon rating | | repository | string | The URL to the add-on repository | -| schema | dictionary or null | The schema for the add-on configuration | +| schema | dictionary | The schema for the add-on configuration | | services_role | list | A list of services and the add-ons role for that service | | slug | string | The add-on slug | | stage | string | The add-on stage (stable, experimental, deprecated) |