public final class JSonSchemaHelper extends Object
public static List<Map<String,String>> parseJsonSchema(String group, String json, boolean parseProperties)
group
- the group to parse from such as component, componentProperties, or properties.json
- the jsonRuntimeException
- is thrown if error parsing the json datapublic static boolean isComponentLenientProperties(List<Map<String,String>> rows)
public static boolean isComponentConsumerOnly(List<Map<String,String>> rows)
public static boolean isComponentProducerOnly(List<Map<String,String>> rows)
public static boolean isPropertyConsumerOnly(List<Map<String,String>> rows, String name)
public static boolean isPropertyProducerOnly(List<Map<String,String>> rows, String name)
public static boolean isPropertyRequired(List<Map<String,String>> rows, String name)
public static boolean isPropertyDeprecated(List<Map<String,String>> rows, String name)
public static boolean isPropertyBoolean(List<Map<String,String>> rows, String name)
public static boolean isPropertyInteger(List<Map<String,String>> rows, String name)
public static String getPropertyDefaultValue(List<Map<String,String>> rows, String name)
public static String stripOptionalPrefixFromName(List<Map<String,String>> rows, String name)
public static String getPropertyPrefix(List<Map<String,String>> rows, String name)
public static boolean isPropertyMultiValue(List<Map<String,String>> rows, String name)
public static String getPropertyNameFromNameWithPrefix(List<Map<String,String>> rows, String name)
Apache Camel