Type "flag" for inputs

I’m currently developing Zabbix node and the API accepts “flag” parameters (meaning null or a value). I use a function to convert booleans to flags for every flag parameter.
For such cases it will be very useful to have “flag” as an input type. Maybe as a checkbox?