LumifyProperties.CONFIDENCE.setMetadata(propertyMetadata, SET_PROPERTY_CONFIDENCE);
lumifyVisibility = visibilityTranslator.toVisibility(visibilityJson);
if (justificationText != null) {
PropertyJustificationMetadata propertyJustificationMetadata = new PropertyJustificationMetadata(justificationText);
if (propertyMetadata.containsKey(PropertySourceMetadata.PROPERTY_SOURCE_METADATA)) {
propertyMetadata.remove(PropertySourceMetadata.PROPERTY_SOURCE_METADATA);
}
propertyMetadata.put(PropertyJustificationMetadata.PROPERTY_JUSTIFICATION, propertyJustificationMetadata);
} else if (sourceObject.length() > 0) {