From d1a9140ad37960cda02ffee446d2a0c49ade44df Mon Sep 17 00:00:00 2001 From: Jonas Schulte Date: Thu, 10 Dec 2015 11:52:51 +0100 Subject: [PATCH] (#12) Expanded the widget definition --- CHANGELOG.md | 1 + widget.json | 6 ++++++ 2 files changed, 7 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index b9b8bc5..0738548 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,7 @@ ## Last Changes +- [#12](https://github.com/LaxarJS/ax-media-widget/issues/12): Expanded the widget definition - [#11](https://github.com/LaxarJS/ax-media-widget/issues/11): Fixed AMD import of template in spec diff --git a/widget.json b/widget.json index cdce777..ca5d5b5 100644 --- a/widget.json +++ b/widget.json @@ -26,6 +26,8 @@ "properties": { "resource": { "type": "string", + "format": "topic", + "axRole": "inlet", "description": "A resource topic under which a document resource can be obtained." }, "showTitle": { @@ -46,6 +48,8 @@ "description": "List of actions, any of which triggers loading media content. If omitted, content is loaded immediately. Using a string is DEPRECATED. An array should be used.", "items": { "type": "string", + "format": "topic", + "axRole": "inlet", "description": "An action that triggers loading media content." } } @@ -103,6 +107,8 @@ "properties": { "locale": { "type": "string", + "format": "topic", + "axRole": "inlet", "description": "The topic under which to expect the locale for this widget.", "default": "default" }