Jargon::Schema
A parsed JSON Schema describing one command: its root property (the
object whose properties are the command's options), the named positional
arguments, and any reusable definitions ($defs/definitions) that
$ref resolves against.
Constructors
Build a Schema from an already-parsed JSON document. The whole document
is the root property; positional and definitions/$defs are lifted
out alongside it.
Instance methods
definitions
Sourcepositional
SourceResolve a local $ref pointer (e.g. #/$defs/Name) to its definition,
or nil if the pointer is non-local or unknown.
root
Source