{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://catalog.lintel.tools/schemas/schemastore/minecraft-data-pack-damage-type/latest.json",
  "title": "Minecraft Data Pack Damage Type",
  "description": "A damage type's for a Minecraft data pack config schema",
  "x-lintel": {
    "source": "https://www.schemastore.org/minecraft-damage-type.json",
    "sourceSha256": "00d44c67921889da3b441e37d02caedeb97cf49e455026e76b564336d6a455a8",
    "fileMatch": [
      "**/data/*/damage_type/*.json"
    ],
    "parsers": [
      "json"
    ]
  },
  "type": "object",
  "properties": {
    "message_id": {
      "type": "string"
    },
    "scaling": {
      "type": "string",
      "enum": [
        "never",
        "always",
        "when_caused_by_living_non_player"
      ]
    },
    "exhaustion": {
      "type": "number"
    },
    "effects": {
      "type": "string",
      "enum": [
        "hurt",
        "thorns",
        "drowning",
        "burning",
        "poking",
        "freezing"
      ]
    },
    "death_message_type": {
      "type": "string",
      "enum": [
        "default",
        "fall_variants",
        "intentional_game_design"
      ]
    }
  },
  "$comment": "https://minecraft.wiki/w/Data_Pack",
  "required": [
    "message_id",
    "scaling",
    "exhaustion"
  ]
}
