if (precision != null) {
result.put(JSON_PROPERTY_TYPE_PRECISION, precision.value());
}
} else if (propertyDefinition instanceof PropertyBooleanDefinition) {
} else if (propertyDefinition instanceof PropertyDateTimeDefinition) {
DateTimeResolution resolution = ((PropertyDateTimeDefinition) propertyDefinition).getDateTimeResolution();
if (resolution != null) {
result.put(JSON_PROPERTY_TYPE_RESOLUTION, resolution.value());
}
} else if (propertyDefinition instanceof PropertyHtmlDefinition) {
} else if (propertyDefinition instanceof PropertyUriDefinition) {
}