Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

web-manifest.json icons purpose #890

Closed
5im0n opened this issue Dec 30, 2019 · 1 comment · Fixed by #1294
Closed

web-manifest.json icons purpose #890

5im0n opened this issue Dec 30, 2019 · 1 comment · Fixed by #1294

Comments

@5im0n
Copy link

5im0n commented Dec 30, 2019

The W3C documentation specify that the purpose attribute of an icon should be:

an unordered set of unique space-separated tokens that are ASCII case-insensitive

https://www.w3.org/TR/appmanifest/#purpose-member

Currently the JSON schema is :

"purpose": {
  "type": "string",
  "enum": [ "badge", "maskable", "any" ],
  "default": "any"
},

which don't allow value like "purpose": "maskable any"

@aotd1 Is there a way to specify this kind of rule in the schema ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants