Module: J2119

Defined in:
lib/j2119/deduce.rb,
lib/j2119.rb,
lib/j2119/oxford.rb,
lib/j2119/parser.rb,
lib/j2119/matcher.rb,
lib/j2119/assigner.rb,
lib/j2119/conditional.rb,
lib/j2119/constraints.rb,
lib/j2119/role_finder.rb,
lib/j2119/allowed_fields.rb,
lib/j2119/node_validator.rb,
lib/j2119/role_constraints.rb,
lib/j2119/json_path_checker.rb

Overview

Examines fields which are supposed to be JSONPath expressions or Reference

Paths, which are JSONPaths that are singular, i.e. don't produce array
results

Defined Under Namespace

Classes: AllowedFields, Assigner, Constraint, Deduce, DoesNotHaveFieldConstraint, FieldTypeConstraint, FieldValueConstraint, HasFieldConstraint, JSONPathChecker, Matcher, NodeValidator, NonEmptyConstraint, OnlyOneOfConstraint, Oxford, Parser, RoleConstraints, RoleFinder, RoleNotPresentCondition, Validator

Constant Summary collapse

INITIAL_NAME_CLASSES =
[ 'Lu', 'Ll', 'Lt', 'Lm', 'Lo', 'Nl' ]
NON_INITIAL_NAME_CLASSES =
[ 'Mn', 'Mc', 'Nd', 'Pc' ]
FOLLOWING_NAME_CLASSES =
INITIAL_NAME_CLASSES | NON_INITIAL_NAME_CLASSES
DOT_SEPARATOR =
'\.\.?'