public interface IJsonType
Modifier and Type | Method and Description |
---|---|
IJsonType |
copyWithAttributes(TypeAttributes attributes) |
default boolean |
equalsStructurally(IJsonType type2)
JSon Schema types normally compare by identity, however for
some use-cases we still need to compare them structurally e.g.,
for merging types.
|
default List<IJsonType> |
getDefinitions() |
String |
getIdentifier() |
String |
getName() |
IJsonParentType |
getParent() |
TypeAttributes |
getTypeAttributes() |
IJsonType |
merge(IJsonType type) |
default void |
setDefinitions(List<IJsonType> definitions) |
String getName()
String getIdentifier()
IJsonParentType getParent()
TypeAttributes getTypeAttributes()
IJsonType copyWithAttributes(TypeAttributes attributes)
default boolean equalsStructurally(IJsonType type2)
Copyright © 2024. All rights reserved.