Changed the model schema to extend CoreSchema

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