{
  "$id": "https://json.schemastore.org/minecraft-pack-mcmeta.json",
  "$schema": "http://json-schema.org/draft-07/schema#",
  "additionalProperties": false,
  "description": "Minecraft Resource/Data Pack Metadata\nhttps://minecraft.wiki/w/Resource_pack\nhttps://minecraft.wiki/w/Data_pack",
  "properties": {
    "pack": {
      "title": "pack options",
      "description": "Options for the current pack\nhttps://minecraft.wiki/w/Data_pack#Contents",
      "type": "object",
      "properties": {
        "description": {
          "title": "description",
          "description": "A description for the current pack\nhttps://minecraft.wiki/w/Data_pack#Contents"
        },
        "pack_format": {
          "description": "A version for the current pack\nhttps://minecraft.wiki/w/Data_pack#Contents",
          "type": "integer",
          "minimum": 1,
          "maximum": 18,
          "default": 4
        }
      },
      "additionalProperties": false
    },
    "filter": {
      "title": "filter options",
      "description": "Filter options for the current pack\nhttps://minecraft.wiki/w/Data_pack",
      "type": "object",
      "additionalProperties": {
        "title": "pattern",
        "description": "A pattern for the current pack\nhttps://minecraft.wiki/w/Data_pack",
        "type": "object",
        "properties": {
          "namespace": {
            "description": "A namespace regular expression for the current pack\nhttps://minecraft.wiki/w/Data_pack",
            "type": "string"
          },
          "path": {
            "description": "A path regular expression for the current pack\nhttps://minecraft.wiki/w/Data_pack",
            "type": "string"
          }
        },
        "additionalProperties": false
      }
    }
  },
  "title": "pack metadata",
  "type": "object"
}
