This should make adding new damage types a little easier.
I guess getting both of these (schema, and available types) from some helper would be a possible extension (similar to how we handle resources now (after @s0600204's resources work was merged).