package JSON::TinyValidatorV4;
$JSON::TinyValidatorV4::VERSION = '0.003';
use File::ShareDir 'dist_file';
use JavaScript::V8;
use Moo;
use strict;
use warnings;
has 'cx' => ( is => 'lazy' );
=head1
NAME
JSON::TinyValidatorV4 - JSON Validator for v4 JSON Schema
=head1 SYNOPSIS
use JSON::TinyValidatorV4;
use Data::Dumper;
my $schema = {
type => 'object',
properties => {
my $data = { longitude => -128.323746, latitude => -24.375870, elevation=> 23.1 };
my $tv4 = JSON::TinyValidatorV4->new;
print $tv4->validate( $data, $schema ), "\n"; # prints "1"
print