Wrote out the functionality for the population of sub-schemas

Signed-off-by: license2e <ilya@shindyapin.com>