From 76d1706bced927b19ec4efcceb92e14ef3103f68 Mon Sep 17 00:00:00 2001
From: Aaron Gustafson
"lang": "en",
"dir": "ltr",
"name": "Super Racer 3000",
+ "description": "The ultimate futuristic racing game from the future!",
"short_name": "Racer3K",
"icons": [{
"src": "icon/lowres.webp",
@@ -195,7 +196,16 @@
"display": "fullscreen",
"orientation": "landscape",
"theme_color": "aliceblue",
- "background_color": "red"
+ "background_color": "red",
+ "screenshots": [{
+ "src": "screenshots/in-game-1x.jpg",
+ "sizes": "640x480",
+ "type": "image/jpeg"
+ },{
+ "src": "screenshots/in-game-2x.jpg",
+ "sizes": "1280x920",
+ "type": "image/jpeg"
+ }]
}
@@ -897,10 +907,18 @@
of running processing a color member given
json["background_color"].
+
categories
member given
+ json["categories"].
+ related_applications
member given json["related_applications"].
@@ -1019,7 +1037,11 @@
DOMString lang;
USVString name;
USVString short_name;
+ USVString description;
sequence<ManifestImageResource> icons;
+ sequence<ManifestImageResource> screenshots;
+ sequence<USVString> categories;
+ DOMString iarc_rating_id;
USVString start_url;
DisplayModeType display = "browser";
OrientationLockType orientation;
@@ -1202,6 +1224,15 @@
the web application.
description
member
+ + The description member allows the developer to describe + the purpose of the web application. +
+scope
member
@@ -1596,6 +1627,112 @@ categories
member
+ + The categories member describes the expected application + categories to which the web application belongs. +
++ The categories member is only meant as a hint to catalogs or + stores listing web applications and it is expected that these will + make a best effort to find appropriate categories (or category) under + which to list the web application. Like search engines and meta + keywords, catalogs and stores are not required to honor this hint. +
+
+ The steps for processing the categories
+ member are given by the following algorithm. The algorithm
+ takes a sequence<USVString> categories as an
+ argument. This algorithm returns an
+ Array<USVString>
.
+
+ The categories string array is case insensitive and converted
+ to lower-case by following the processing algorithm. Thus,
+ sports
, Sports
, SPORTS
, and
+ SpOrTs
are all equivalent.
+
+ Manifest authors are encouraged to use lower-case. +
++ This specification does not define the particular values for + USVStrings for the categories member. However, the + working group maintains a list of known + values in our wiki. +
+screenshots
member
+ + The screenshots member is an array of + {{ManifestImageResource}}s, representing the web application in + common usage scenarios. +
+iarc_rating_id
member
+ + The iarc_rating_id member is a string that + represents the International + Age Rating Coalition (IARC) certification code of the web + application. It is intended to be used to determine which ages the + web application is appropriate for. +
++ An IARC certificate can be obtained via participating storefronts, + intended to be used for distributing the web app. The + iarc_rating_id member only takes a single certification code. + The same code can be shared across participating storefronts, as long + as the distributed product remains the same (i.e., doesn’t serve + totally different code paths depending on user agent sniffing and the + like) and the other storefronts support it. +
+
+ The following shows a very simple manifest with the
+ iarc_rating_id
member.
+
+ { + "name": "Donate App", + "description": "This app helps you donate to worthy causes.", + "iarc_rating_id": "e84b072d-71b3-4d3e-86ae-31a8ce4e53b7", + "icons": [{ + "src": "images/icon.png", + "sizes": "192x192" + }] + } ++
+ More information on the IARC can be found at: How IARC + Works and How developers + can get their games and apps rated with IARC. +
+shortcuts
member
@@ -2651,7 +2788,7 @@ - To allow the community to easily find extensions, please add your + To allow the community can easily find extensions, please add your extensions to the Extensions Registry. @@ -2745,29 +2882,6 @@
- Several members of the Web App Manifest provide additional metadata - related to how the web application may be presented in the context of a - digital storefront, installation dialog, or other surfaces where this - web application may be marketed or distributed. In an effort to support - these use cases better, the following members have been moved into - {{WebAppManifestAppInfo}}: -
-link
and meta
elements