I didn’t notice the ? syntax on the variable names. That fixed it!
Notes to the Figma team:
Why are properties like visible and blendMode not given very obvious defaults of true and NORMAL respectively? The blendMode description even says, "The typical default value is “NORMAL”.
Showing an error for what’s missing would be amazing!
Stating required in plain text in the description would be way harder to miss.