NAME

MooseX::JSONSchema::AttributeTrait - Trait for JSON Schema attributes

VERSION

version 0.001

SYNOPSIS

package OtherClass;

use Moose;
use MooseX::JSONSchema;

...

has something => (
  traits => [qw( MooseX::JSONSchema::AttributeTrait )],
  json_schema_description => $description,
  json_schema_type => 'string',
  predicate => 'has_something',
  is => 'ro',
  isa => 'Str',
);

SUPPORT

Repository

https://github.com/Getty/perl-moosex-jsonschema
Pull request and additional contributors are welcome

Issue Tracker

https://github.com/Getty/perl-moosex-jsonschema/issues

SUPPORT

Source Code

The code is open to the world, and available for you to hack on. Please feel free to browse it and play with it, or whatever. If you want to contribute patches, please send me a diff or prod me to pull from your repository :)

https://github.com/Getty/perl-moosex-jsonschema

git clone https://github.com/Getty/perl-moosex-jsonschema.git

AUTHOR

Torsten Raudssus <torsten@raudss.us>

COPYRIGHT AND LICENSE

This software is copyright (c) 2024 by Torsten Raudssus.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.