I have the same question, but neither "string" or "integer" are working. I'm creating a feature layer from client side graphics. The data is json.
I'm getting and error: "Value true is not a valid value for the field type - field: IsTriggerGauge, type: esriFieldTypeString, nullable: true"
Is there anything else I can try?