removing required from schema since json validation will fail with it