diff --git a/src/commands/exportJsonSchemas.ts b/src/commands/exportJsonSchemas.ts index 2e19ecf..7e8ab62 100644 --- a/src/commands/exportJsonSchemas.ts +++ b/src/commands/exportJsonSchemas.ts @@ -11,12 +11,14 @@ export const exportJsonSchemasCommand = new Command("export-json-schemas") await fs.writeJson(path + "/manifest.schema.json", { title: "Horizr pack manifest", $id: "https://horizr.moritzruth.de/schemas/pack/manifest.schema.json", - ...zodToJsonSchema(packManifestFileSchema) + ...zodToJsonSchema(packManifestFileSchema), + $schema: "https://json-schema.org/draft-07/schema" // HTTPS }, { spaces: 2 }) await fs.writeJson(path + "/meta-file.schema.json", { title: "Horizr pack meta-file", $id: "https://horizr.moritzruth.de/schemas/pack/meta-file.schema.json", - ...zodToJsonSchema(metaFileContentSchema) + ...zodToJsonSchema(metaFileContentSchema), + $schema: "https://json-schema.org/draft-07/schema" // HTTPS }, { spaces: 2 }) }) diff --git a/test-pack/src/client/resourcepacks/better-leaves.hm.json b/test-pack/src/client/resourcepacks/better-leaves.hm.json index 417041e..c832104 100644 --- a/test-pack/src/client/resourcepacks/better-leaves.hm.json +++ b/test-pack/src/client/resourcepacks/better-leaves.hm.json @@ -2,7 +2,6 @@ "formatVersion": 1, "displayName": "Better Leaves", "enabled": true, - "side": "client-server", "version": { "name": "7.0.0", "fileName": "Better-Leaves.zip",