se strict;
use Moose::Role;
use namespace::autoclean;
use JSV::Validator;
use Path::Class ();
use JSON::MaybeXS ();
our $VERSION = '0.03';
our $JSV;
our %SCHEMA = ();
after BUILD => sub {
$JSV
$json_file = $self->attributes->{JSONSchema}->[0];
if (exists $SCHEMA{ $json_file } ) {
$request_schema = $SCHEMA{ $json_file };
$c->log->debug("load memory json schema: ".$json_
my $load_schema_json = Path::Class::file($c->config->{home}, $json_file);
$request_schema = JSON::MaybeXS::decode_json($load_schema_json->slurp);
$SCHEMA{ $json_file } = $request_s