Update in schema and template for elements

Updates in schema to handle when its different occurances. Update in
example to sshow how its done.
Updated elements

Some more elements updated but also a change in how to describe
occurances.