add required property to json schema