@Internal public class JsonValidator extends FormatDescriptorValidator
Json
.Modifier and Type | Field and Description |
---|---|
static String |
FORMAT_FAIL_ON_MISSING_FIELD |
static String |
FORMAT_JSON_SCHEMA |
static String |
FORMAT_SCHEMA |
static String |
FORMAT_TYPE_VALUE |
FORMAT, FORMAT_DERIVE_SCHEMA, FORMAT_PROPERTY_VERSION, FORMAT_TYPE, FORMAT_VERSION
Constructor and Description |
---|
JsonValidator() |
Modifier and Type | Method and Description |
---|---|
void |
validate(DescriptorProperties properties)
Performs basic validation such as completeness tests.
|
public static final String FORMAT_TYPE_VALUE
public static final String FORMAT_SCHEMA
public static final String FORMAT_JSON_SCHEMA
public static final String FORMAT_FAIL_ON_MISSING_FIELD
public void validate(DescriptorProperties properties)
DescriptorValidator
validate
in interface DescriptorValidator
validate
in class FormatDescriptorValidator
Copyright © 2014–2020 The Apache Software Foundation. All rights reserved.