Minimum foam layer
Table R806.5 sets the minimum for the air-impermeable layer when air-permeable insulation is added beneath it: R-5 in zones 1, 2 and 3; R-10 in zone 4C; R-15 in zones 4A and 4B; R-20 in zone 5; R-25 in zone 6; R-30 in zone 7; R-35 in zone 8. Verify against the edition your jurisdiction adopted.