public interface SchemaValidator
| Modifier and Type | Field and Description |
|---|---|
static String |
DEFINITION_SCHEMA_PATH |
| Modifier and Type | Method and Description |
|---|---|
void |
validateObject(org.json.JSONObject modelObject,
org.json.JSONObject schemaObject)
Perform JSON Schema validation for the input model against the specified
schema
|
static final String DEFINITION_SCHEMA_PATH
void validateObject(org.json.JSONObject modelObject,
org.json.JSONObject schemaObject)
throws ValidationException
modelObject - JSON-encoded resource modelschemaObject - The JSON schema object to validate the model againstValidationException - Thrown for any schema validation errorsCopyright © 2019 Amazon Web Services, Inc. All Rights Reserved.