The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

JSON::Validator::Ref - JSON::Validator $ref representation

SYNOPSIS

  use JSON::Validator::Ref;
  my $ref = JSON::Validator::Ref->new({ref => "...", schema => {...});

DESCRIPTION

JSON::Validator::Ref is a class representing a $ref inside a JSON Schema.

Note that this module should be considered internal to the JSON::Validator project and the API is subject to change.

This class is currently EXPERIMENTAL and can be replaced if a bug is discovered, without any warning.

ATTRIBUTES

fqn

  $str = $self->fqn;

The fully qualified version of "ref".

ref

  $str = $self->ref;

The original $ref from the document.

schema

  $hash_ref = $self->schema;

A reference to the schema that the /fqn points to.

SEE ALSO

JSON::Validator.