From 63fdf21386d178c5ce42a63bf431b2ab59a1b3da Mon Sep 17 00:00:00 2001 From: Denys Vuika Date: Wed, 12 Aug 2020 12:05:13 +0100 Subject: [PATCH] update docs and schema --- docs/extending/redistributable-libraries.md | 5 ++++- extension.schema.json | 4 ++-- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/docs/extending/redistributable-libraries.md b/docs/extending/redistributable-libraries.md index 2df2b0816..6c484076f 100644 --- a/docs/extending/redistributable-libraries.md +++ b/docs/extending/redistributable-libraries.md @@ -65,9 +65,12 @@ Create a new `assets/my-extension.json` file in the library project root folder ```json { "$schema": "../../../extension.schema.json", + "$id": "my-extension", "$version": "1.0.0", + "$vendor": "Your name or company name", "$name": "plugin1", "$description": "demo plugin", + "$license": "MIT", "routes": [ { @@ -186,7 +189,7 @@ export class AppExtensionsModule {} ### Register plugin -Finally, update the `assets/app.extensions.json` file and add a reference to the new plugin: +Finally, update the `src/assets/app.extensions.json` file and add a reference to the new plugin: ```json { diff --git a/extension.schema.json b/extension.schema.json index 453b53b8b..a38b8136f 100644 --- a/extension.schema.json +++ b/extension.schema.json @@ -674,7 +674,7 @@ }, "type": "object", - "required": ["$id", "$name", "$version", "$vendor", "$license", "$runtime"], + "required": ["$id", "$name", "$version", "$vendor", "$license"], "properties": { "$id": { "description": "Unique identifier", @@ -697,7 +697,7 @@ "type": "string" }, "$runtime": { - "description": "Minimal extension runtime supported by extension", + "description": "(deprecated) Minimal extension runtime supported by extension", "type": "string" }, "$description": {