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": {