com.github.fge.jsonschema.keyword.digest.helpers
Class DraftV3TypeKeywordDigester
java.lang.Object
com.github.fge.jsonschema.keyword.digest.AbstractDigester
com.github.fge.jsonschema.keyword.digest.helpers.DraftV3TypeKeywordDigester
- All Implemented Interfaces:
- Digester
public final class DraftV3TypeKeywordDigester
- extends AbstractDigester
Digester for draft v3's type and disallow
These keywords are quite complex, but fortunately they share the same
fundamental structure. Simple types and schema dependencies are stored
separately.
DraftV3TypeKeywordDigester
public DraftV3TypeKeywordDigester(String keyword)
digest
public JsonNode digest(JsonNode schema)
- Description copied from interface:
Digester
- Digest a schema into a simplified form
- Parameters:
schema - the schema to digest
- Returns:
- the digested form