export default class OathHammerClass extends foundry.abstract.TypeDataModel { static defineSchema() { const fields = foundry.data.fields const schema = {} schema.description = new fields.HTMLField({ required: true, textSearch: true }) // Class features, starting abilities, advancement options (rich text) schema.features = new fields.HTMLField({ required: true, textSearch: true }) // Armor proficiencies (e.g. "Light, Medium, Heavy") schema.armorProficiency = new fields.StringField({ required: true, nullable: false, initial: "" }) // Weapon proficiencies (e.g. "Common, Dueling, Heavy, Throwing") schema.weaponProficiency = new fields.StringField({ required: true, nullable: false, initial: "" }) return schema } static LOCALIZATION_PREFIXES = ["OATHHAMMER.Class"] }