diff --git a/README.md b/README.md index f091f00e..54878a3c 100644 --- a/README.md +++ b/README.md @@ -31,7 +31,7 @@ This file stores essential metadata in JSON format. **Make sure you adhere to th { "title": "Extended Cards", "requires-steamodded": true, - "category": "Content", + "categories": ["Content"], "author": "Joe Mama", "repo": "https://github.com/joemama/extended-cards", "downloadURL": "https://github.com/joemama/extended-cards/releases/latest/extended-cards.tar.gz" @@ -40,7 +40,7 @@ This file stores essential metadata in JSON format. **Make sure you adhere to th - **title**: The name of your mod. - **requires-steamodded**: If your mod requires the Steamodded mod loader, set this to `true`. -- **category**: Must be one of `Content`, `Joker`, `Quality of Life`, `Technical`, `Miscellaneous`, `Resource Packs` or `API`. +- **categories**: Must be of `Content`, `Joker`, `Quality of Life`, `Technical`, `Miscellaneous`, `Resource Packs` or `API`. - **author**: Your chosen username or handle. - **repo**: A link to your mod’s repository. - **downloadURL**: A direct link to the latest version of your released mod. (Can be same as `repo` if no separate download link exists.) diff --git a/mods/InertSteak@Pokermon/meta.json b/mods/InertSteak@Pokermon/meta.json index 23ed4c45..fff19c58 100644 --- a/mods/InertSteak@Pokermon/meta.json +++ b/mods/InertSteak@Pokermon/meta.json @@ -1,7 +1,7 @@ { "title": "Pokermon", "requires-steamodded": true, - "category": "Content", + "category": ["Content"], "author": "InertSteak", "repo":"https://github.com/InertSteak/Pokermon", "downloadURL": "https://github.com/InertSteak/Pokermon/archive/refs/tags/2.1.0b.tar.gz" diff --git a/schema/meta.schema.json b/schema/meta.schema.json index d52e42b2..97a071c4 100644 --- a/schema/meta.schema.json +++ b/schema/meta.schema.json @@ -9,9 +9,14 @@ "requires-steamodded": { "type": "boolean" }, - "category": { - "type": "string", - "enum": ["Content", "Joker", "Quality of Life", "Technical", "Miscellaneous", "Resource Packs", "API"] + "categories": { + "type": "array", + "items": { + "type": "string", + "enum": ["Content", "Joker", "Quality of Life", "Technical", "Miscellaneous", "Resource Packs", "API"] + }, + "minItems": 1, + "uniqueItems": true }, "author": { "type": "string"