{
  "$id": "https://json.schemastore.org/foundryvtt-world-manifest.json",
  "$schema": "http://json-schema.org/draft-07/schema#",
  "allOf": [
    {
      "$ref": "https://json.schemastore.org/foundryvtt-base-package-manifest.json#"
    }
  ],
  "properties": {
    "manifest": {
      "description": "A stable URL that describes the latest release version of your manifest file. This URL is used for automatic world installation in the Foundry VTT setup screen. This manifest URL is consulted during the module update check to see whether a new version is available for download. It is important that this address remain stable, otherwise updates will not be detected.",
      "$ref": "https://json.schemastore.org/foundryvtt-base-package-manifest.json#/definitions/URL",
      "pattern": ".*world\\.json",
      "examples": [
        "https://github.com/ForgeVTT/forgevtt-demo-world/releases/latest/download/world.json"
      ]
    },
    "system": {
      "description": "The game system name which this world relies upon",
      "$ref": "https://json.schemastore.org/foundryvtt-base-package-manifest.json#/definitions/Identifier",
      "examples": ["dnd5e"]
    },
    "background": {
      "description": "A web URL or local file path which provides a background banner image",
      "oneOf": [
        {
          "$ref": "https://json.schemastore.org/foundryvtt-base-package-manifest.json#/definitions/URL"
        },
        {
          "$ref": "https://json.schemastore.org/foundryvtt-base-package-manifest.json#/definitions/File"
        }
      ]
    },
    "coreVersion": {
      "description": "The version of the core software for which this world has been migrated",
      "$ref": "https://json.schemastore.org/foundryvtt-base-package-manifest.json#/definitions/Version"
    },
    "systemVersion": {
      "description": "The version of the game system for which this world has been migrated",
      "$ref": "https://json.schemastore.org/foundryvtt-base-package-manifest.json#/definitions/Version",
      "examples": ["2.0.3"]
    },
    "nextSession": {
      "description": "An ISO datetime string when the next game session is scheduled to occur",
      "type": ["string", "null"]
    },
    "resetKeys": {
      "description": "Should user access keys be reset as part of the next launch?",
      "type": "boolean"
    },
    "safeMode": {
      "description": "Should the world launch in safe mode?",
      "type": "boolean"
    }
  },
  "required": ["system", "coreVersion", "systemVersion"],
  "title": "JSON schema for Foundry VTT world manifest files - world.json.",
  "type": "object"
}
