class ThingsModelFactory {

    public static FeatureDefinition newFeatureDefinition(final JsonArray jsonArray) {
        checkNotNull(jsonArray, "JSON array");
        if (!jsonArray.isNull()) {
            return ImmutableFeatureDefinition.fromJson(jsonArray);
        }
        return nullFeatureDefinition();
    }

    private  ThingsModelFactory();

}