Interface SchemaLoader
- All Known Implementing Classes:
FileLoader,StreamLoader,UrlLoader
public interface SchemaLoader
Interface for loading a JSON schema from various sources.
- Author:
- Elif Kurtay
-
Field Summary
Fields -
Method Summary
-
Field Details
-
JSON_MAPPER
static final tools.jackson.databind.ObjectMapper JSON_MAPPER
-
-
Method Details
-
load
Schema load()Loads a JSON schema.- Returns:
- a
Schemaobject representing the loaded JSON schema - Throws:
RuntimeException- if no valid source is found or if there is an error loading the schema
-