in the schema object there is a type property. json schema wants them to be string or an array of strings. We don't support the array version of this so the spec should make this clear.