1
0

changed category -> categories

This commit is contained in:
Ö. Efe D.
2025-01-02 02:41:20 +01:00
parent b766ea37d8
commit 791fc2ae64
3 changed files with 11 additions and 6 deletions

View File

@@ -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 mods repository.
- **downloadURL**: A direct link to the latest version of your released mod. (Can be same as `repo` if no separate download link exists.)

View File

@@ -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"

View File

@@ -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"