diff --git a/plugins/specification/1.0/README.md b/plugins/specification/1.0/README.md index bd69a57..776ee51 100644 --- a/plugins/specification/1.0/README.md +++ b/plugins/specification/1.0/README.md @@ -55,7 +55,6 @@ This specification allows for the standardization of metadata for WordPress plug "screenshots": "" }, "short_description": "A WordPress plugin for drag and drop 3D content creation compatible with most XR devices.", - "description": "A WordPress plugin for publishing XR content with support for WebXR and popular glTF Extensions.", "download_link": "https://updater.sxp.digital/xr-publisher.zip", "screenshots": [], "tags": { @@ -87,8 +86,8 @@ This specification allows for the standardization of metadata for WordPress plug "preview_link": "https://xrpublisher.com/demo", "repository_url": "https://github.com/antpb/xr-publisher", "spec_meta": { - "specification-version": "1.0", - "specification-source": "aspiprepress" + "specification_version": "1.0", + "specification_source": "aspiprepress" } } ``` diff --git a/plugins/specification/1.0/examples/full.json b/plugins/specification/1.0/examples/full.json index 654b329..d0cd7f3 100644 --- a/plugins/specification/1.0/examples/full.json +++ b/plugins/specification/1.0/examples/full.json @@ -33,13 +33,16 @@ "screenshots": "" }, "short_description": "A WordPress plugin for drag and drop 3D content creation compatible with most XR devices.", - "description": "A WordPress plugin for publishing XR content with support for WebXR and popular glTF Extensions.", "download_link": "https://updater.sxp.digital/xr-publisher.zip", "screenshots": [], "tags": { "tag1": "metaverse", "tag2": "virtual reality" }, + "banners": { + "high": "https://pub-2ef6bc2ae372488daf94a858e2b752ac.r2.dev/antpb/xr-chess-block/banner-1500x620.jpg", + "low": "https://pub-2ef6bc2ae372488daf94a858e2b752ac.r2.dev/antpb/xr-chess-block/banner-1500x620.jpg" + }, "versions": { "2.0-alpha": "https://updater.sxp.digital/xr-publisher.zip" }, @@ -65,7 +68,7 @@ "preview_link": "https://xrpublisher.com/demo", "repository_url": "https://github.com/antpb/xr-publisher", "spec_meta": { - "specification-version": "1.0", - "specification-source": "aspiprepress" + "specification_version": "1.0", + "specification_source": "aspirepress" } } \ No newline at end of file diff --git a/plugins/specification/1.0/examples/minimal.json b/plugins/specification/1.0/examples/minimal.json index 1d1a111..2869b95 100644 --- a/plugins/specification/1.0/examples/minimal.json +++ b/plugins/specification/1.0/examples/minimal.json @@ -9,10 +9,16 @@ "last_updated": "2024-10-09 12:00pm GMT", "added": "2024-10-09", "short_description": "A WordPress plugin for drag and drop 3D content creation compatible with most XR devices.", - "description": "A WordPress plugin for publishing XR content with support for WebXR and popular glTF Extensions.", + "sections": { + "description": "A WordPress plugin for publishing XR content with support for WebXR and popular glTF Extensions.", + "installation": "", + "changelog": "", + "faq": "", + "screenshots": "" + }, "download_link": "https://updater.sxp.digital/xr-publisher.zip", "spec_meta": { - "specification-version": "1.0", - "specification-source": "aspiprepress" + "specification_version": "1.0", + "specification_source": "aspiprepress" } } \ No newline at end of file diff --git a/plugins/specification/1.0/schema/plugin.schema.json b/plugins/specification/1.0/schema/plugin.schema.json index fea5eaf..49ba806 100644 --- a/plugins/specification/1.0/schema/plugin.schema.json +++ b/plugins/specification/1.0/schema/plugin.schema.json @@ -116,10 +116,6 @@ "type": "string", "maxLength": 150 }, - "description": { - "type": "string", - "contentMediaType": "text/html" - }, "download_link": { "$ref": "#/$defs/uriString" }, @@ -242,19 +238,19 @@ "spec_meta": { "type": "object", "properties": { - "specification-version": { + "specification_version": { "type": "string", "pattern": "^\\d+\\.\\d+(\\.\\d+)?$", "default": "1.0" }, - "specification-source": { + "specification_source": { "type": "string", - "const": "aspiprepress" + "const": "aspirepress" } }, "required": [ - "specification-version", - "specification-source" + "specification_version", + "specification_source" ], "additionalProperties": false } @@ -270,8 +266,8 @@ "last_updated", "added", "short_description", - "description", - "download_link" + "download_link", + "sections" ], "additionalProperties": false } \ No newline at end of file diff --git a/plugins/specification/1.0/schema/plugin.sections.schema.json b/plugins/specification/1.0/schema/plugin.sections.schema.json index 9d2c23a..6d89b25 100644 --- a/plugins/specification/1.0/schema/plugin.sections.schema.json +++ b/plugins/specification/1.0/schema/plugin.sections.schema.json @@ -29,5 +29,8 @@ "contentMediaType": "text/html" } }, + "required": [ + "description" + ], "additionalProperties": false } \ No newline at end of file