Interface SchemaDefinition
- All Known Implementing Classes:
StandardSchemaDefinition
public interface SchemaDefinition
This acts as a data container for schema information retrieved from various schema registries.
-
Nested Class Summary
Nested Classes -
Method Summary
-
Method Details
-
getSchemaType
SchemaDefinition.SchemaType getSchemaType()- Returns:
- the type of schema (e.g., AVRO, PROTOBUF, JSON, XML, OTHER)
-
getIdentifier
SchemaIdentifier getIdentifier()- Returns:
- the unique identifier for this schema
-
getText
String getText()- Returns:
- the textual representation of the schema (e.g., Avro schema JSON, Protobuf definition)
-
getReferences
- Returns:
- a map of schema references where the key is the name by which the schema is referenced from its parent, and the value is the referenced schema definition
-