SharePoint 2013: Enable versioning in list definition

Scenario: Enable versioning in list definition. Versioning should be major versions only (no minor or draft versions), should retain a history of 15 versions, and should not require check in and check out.Solution: Open the scemal.xml file of the list definition and add following properties to List tag: