Add integer constraint on code (status/:code)