fixing schema to get definitions working