As a new custom $vocabulary extension, it would be useful to have the keyword isa, which would check that the indicated instance data is blessed into the indicated class. This isn't compatible with JSON, but JSON Schema is useful in validating other data as well. It can also help facilitate translation back and forth between JSON Schema and Type::Tiny constructs, or embedding a JSON Schema into a Test::Deep#cmp_deeply check.
As a new custom $vocabulary extension, it would be useful to have the keyword
isa
, which would check that the indicated instance data is blessed into the indicated class. This isn't compatible with JSON, but JSON Schema is useful in validating other data as well. It can also help facilitate translation back and forth between JSON Schema and Type::Tiny constructs, or embedding a JSON Schema into a Test::Deep#cmp_deeply check.