added some basic schema generation from parent elements