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 => {...});

or:

  tie my %ref, 'JSON::Validator::Ref', $schema, $path;

DESCRIPTION

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

This module SHOULD be considered internal to the JSON::Validator project and the API is subject to change.

ATTRIBUTES

fqn

  $str = $ref->fqn;

The fully qualified version of "ref".

ref

  $str = $ref->ref;

The original $ref from the document.

schema

  $hash_ref = $ref->schema;

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

SEE ALSO

JSON::Validator.