{
  "$schema": "http://json-schema.org/draft-07/schema",
  "$id": "blockception.minecraft.behavior.entities",
  "defaultSnippets": [
    {
      "label": "New entity",
      "body": {
        "format_version": "${1:1.20.80}",
        "minecraft:entity": {
          "description": {
            "identifier": "$2:${3:${TM_FILENAME/[\\.].*//}}",
            "is_spawnable": "^{4:true}",
            "is_summonable": "^{5:true}",
            "is_experimental": "^{6:false}"
          },
          "components": "^{$7}"
        }
      }
    }
  ],
  "examples": [
    {
      "format_version": "1.20.80",
      "minecraft:entity": {
        "description": { "identifier": "namespace:entity", "is_spawnable": true, "is_summonable": true },
        "component_groups": {},
        "components": {},
        "events": {}
      }
    }
  ],
  "type": "object",
  "title": "Entity Behavior",
  "description": "The minecraft entity behavior specification.",
  "required": ["format_version", "minecraft:entity"],
  "additionalProperties": false,
  "properties": {
    "format_version": { "$ref": "../../general/format_version.json" },
    "minecraft:entity": { "$ref": "./format/minecraft.entity.json" }
  }
}
