Added the type property to the required property of properties schema.