From 989e742b595e1c4fb3cbfde35f1c4f29968af71b Mon Sep 17 00:00:00 2001 From: squidfunk Date: Mon, 6 Feb 2023 17:14:19 +0100 Subject: [PATCH] Updated JSON schema --- docs/schema/plugins.json | 8 ++++---- docs/schema/plugins/privacy.json | 3 +-- 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/docs/schema/plugins.json b/docs/schema/plugins.json index 4b826dc10..cc73450a5 100644 --- a/docs/schema/plugins.json +++ b/docs/schema/plugins.json @@ -4,7 +4,7 @@ "markdownDescription": "https://www.mkdocs.org/dev-guide/plugins/", "type": "array", "items": { - "oneOf": [ + "anyOf": [ { "$ref": "#/definitions/built-in" }, @@ -21,7 +21,7 @@ "definitions": { "built-in": { "description": "Built-in plugins", - "oneOf": [ + "anyOf": [ { "$ref": "plugins/blog.json" }, @@ -50,7 +50,7 @@ }, "external": { "description": "External plugins, schema provided by us", - "oneOf": [ + "anyOf": [ { "$ref": "plugins/external/gen-files.json" }, @@ -82,7 +82,7 @@ }, "external-community": { "description": "External plugins, schema provided by the community", - "oneOf": [ + "anyOf": [ { "$ref": "https://raw.githubusercontent.com/mondeja/mkdocs-include-markdown-plugin/master/schema.json" }, diff --git a/docs/schema/plugins/privacy.json b/docs/schema/plugins/privacy.json index ce1abd1b4..4afa6559f 100644 --- a/docs/schema/plugins/privacy.json +++ b/docs/schema/plugins/privacy.json @@ -24,8 +24,7 @@ "concurrency": { "title": "Concurrency (number of CPUs)", "markdownDescription": "https://squidfunk.github.io/mkdocs-material/setup/ensuring-data-privacy/#+privacy.concurrency", - "type": "number", - "default": 1 + "type": "number" }, "external_assets": { "title": "External assets",