diff --git a/source/behavior/entities/format/components/health.json b/source/behavior/entities/format/components/health.json index d9792955..21af1bef 100644 --- a/source/behavior/entities/format/components/health.json +++ b/source/behavior/entities/format/components/health.json @@ -19,9 +19,7 @@ "description": "Current health of the entity", "title": "Value", "oneOf": [ - { - "type": "integer" - }, + { "type": "integer", "default": 1 }, { "type": "object", "additionalProperties": false, @@ -44,9 +42,5 @@ ] } }, - "examples": [ - { - "max": 0 - } - ] + "examples": [{ "value": 1, "max": 0 }] }