Format as a schema URI, but the revision and addition may be replaced with "*" wildcards.
Format as a schema URI, but the revision and addition may be replaced with "*" wildcards.
the String representation of this criterion
Whether a SchemaKey is valid.
Whether a SchemaKey is valid.
It's valid if the vendor, name, format, and model all match and the supplied key's revision and addition do not exceed the criterion's revision and addition.
The SchemaKey to validate
whether the SchemaKey is valid
Filter sequence of entities by this SchemaCriterion It can be applied for getting only right JSON instances out of array with custom context
Filter sequence of entities by this SchemaCriterion It can be applied for getting only right JSON instances out of array with custom context
Usage:
// This will get best matching entity
criterion.takeFrom(_.schema)(entities).sort.getOption
type of Self-describing entity, having
an ExtractSchemaKey
instance in scope
list of Self-describing instances (or Schemas)
list of matching entities
Stringify version part of criterion
Class to filter Schemas by SchemaKey