{
  "$id": "blockception.minecraft.behavior.entities.filters.has_damaged_equipment",
  "type": "object",
  "title": "Has Damaged Equipment",
  "description": "Tests for the presence of a damaged named item in the designated slot of the subject entity.",
  "required": ["value"],
  "properties": {
    "test": {
      "type": "string",
      "const": "has_damaged_equipment",
      "description": "Tests for the presence of a damaged named item in the designated slot of the subject entity.",
      "title": "Test"
    },
    "domain": {
      "description": "The equipment location to test.",
      "default": "any",
      "enum": ["any", "inventory", "armor", "feet", "hand", "head", "leg", "torso"],
      "title": "Domain"
    },
    "operator": {
      "$ref": "./types/operator.json"
    },
    "subject": {
      "$ref": "./types/subject.json"
    },
    "value": {
      "description": "The item name to look for.",
      "type": "string",
      "$ref": "../../../../general/item/identifier.json",
      "title": "Value"
    }
  },
  "examples": [
    {
      "test": "has_damaged_equipment",
      "value": "example"
    }
  ]
}
