Package dev.harrel.jsonschema
Interface SchemaResolver
- All Known Implementing Classes:
CompositeSchemaResolver
public interface SchemaResolver
SchemaResolver interface is the main abstraction for external schemas' resolution.-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classResultclass represents schema resolution outcome. -
Method Summary
Modifier and TypeMethodDescriptionResolves URI string to schema representation
-
Method Details
-
resolve
Resolves URI string to schema representation- Parameters:
uri- URI to be used for resolution- Returns:
SchemaResolver.Resultwhich contains resolved schema orResult.empty
-