Change "optional" to be specified as a boolean field instead of a string.