class_name ProfessionDefinition
extends Resource

@export var profession_id: StringName
@export var display_name: String


func validate() -> Array[String]:
	var errors: Array[String] = []
	if profession_id.is_empty():
		errors.append("profession_id is empty")
	if display_name.is_empty():
		errors.append("display_name is empty for '%s'" % profession_id)
	return errors
