final Object constraint = inputConstraints.get(keyToPrependValue);
if (constraint != null) {
jgen.writeFieldName(getPropertyOrClassNameInVocab(currentVocab, "value" + StringUtils.capitalize
(keyToPrependValue),
LdContextFactory.HTTP_SCHEMA_ORG, "schema:"));
<BUG>if (ActionInputParameter.PATTERN.equals(keyToPrependValue)) {
jgen.writeString(constraint.toString());</BUG>
} else {
jgen.writeNumber(constraint
.toString());

final Object constraint = inputConstraints.get(keyToPrependValue);
if (constraint != null) {
jgen.writeFieldName(getPropertyOrClassNameInVocab(currentVocab, "value" + StringUtils.capitalize
(keyToPrependValue),
LdContextFactory.HTTP_SCHEMA_ORG, "schema:"));
if (Input.PATTERN.equals(keyToPrependValue)) {
jgen.writeString(constraint.toString());
} else {
jgen.writeNumber(constraint
.toString());
