Skip to content

Commit

Permalink
Merge pull request #480 from ow-mods/update-schema
Browse files Browse the repository at this point in the history
Update schema
  • Loading branch information
misternebula authored Sep 10, 2022
2 parents 9b11ef0 + 9d4bd78 commit 011d598
Show file tree
Hide file tree
Showing 6 changed files with 20 additions and 2 deletions.
17 changes: 15 additions & 2 deletions schemas/manifest_schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@
"minGameVersion": {
"type": "string",
"description": "The minimum version of the game that this mod is compatible with",
"pattern": "^\\d+\\.\\d+\\.\\d+$",
"pattern": "^\\d+\\.\\d+\\.\\d+\\.\\d+$",
"examples": [
"1.0.0",
"2.0.1",
Expand All @@ -101,13 +101,26 @@
"maxGameVersion": {
"type": "string",
"description": "The maximum version of the game that this mod is compatible with",
"pattern": "^\\d+\\.\\d+\\.\\d+$",
"pattern": "^\\d+\\.\\d+\\.\\d+\\.\\d+$",
"examples": [
"1.0.0",
"2.0.1",
"0.1.4"
]
},
"requireLatestVersion": {
"type": "boolean",
"description": "Whether this mod needs the very latest game version",
"default": false
},
"incompatibleVendors": {
"type": "array",
"description": "The vendors this mod does not work on",
"items": {
"type": "string",
"enum": ["Steam", "Epic", "Gamepass"]
}
},
"pathsToPreserve": {
"type": "array",
"description": "The paths to preserve when updating the mod",
Expand Down
1 change: 1 addition & 0 deletions src/OWML.Launcher/OWML.Manifest.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"$schema": "https://raw.githubusercontent.com/ow-mods/owml/dev/schemas/manifest_schema.json",
"author": "Alek",
"name": "OWML",
"uniqueName": "Alek.OWML",
Expand Down
1 change: 1 addition & 0 deletions src/SampleMods/OWML.EnableDebugMode/manifest.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"$schema": "https://raw.githubusercontent.com/ow-mods/owml/dev/schemas/manifest_schema.json",
"filename": "OWML.EnableDebugMode.dll",
"author": "Alek",
"name": "EnableDebugMode",
Expand Down
1 change: 1 addition & 0 deletions src/SampleMods/OWML.EnumExample/manifest.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"$schema": "https://raw.githubusercontent.com/ow-mods/owml/dev/schemas/manifest_schema.json",
"filename": "OWML.EnumExample.dll",
"author": "MegaPiggy",
"name": "Enum Example",
Expand Down
1 change: 1 addition & 0 deletions src/SampleMods/OWML.ExampleAPI/manifest.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"$schema": "https://raw.githubusercontent.com/ow-mods/owml/dev/schemas/manifest_schema.json",
"filename": "OWML.ExampleAPI.dll",
"author": "_nebula",
"name": "ExampleAPI",
Expand Down
1 change: 1 addition & 0 deletions src/SampleMods/OWML.LoadCustomAssets/manifest.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"$schema": "https://raw.githubusercontent.com/ow-mods/owml/dev/schemas/manifest_schema.json",
"filename": "OWML.LoadCustomAssets.dll",
"author": "Alek",
"name": "LoadCustomAssets",
Expand Down

0 comments on commit 011d598

Please sign in to comment.