| line | stmt | bran | cond | sub | pod | time | code | 
| 1 |  |  |  |  |  |  | package Net::PMP::Schema; | 
| 2 | 3 |  |  | 3 |  | 16 | use Moose; | 
|  | 3 |  |  |  |  | 6 |  | 
|  | 3 |  |  |  |  | 16 |  | 
| 3 | 3 |  |  | 3 |  | 16426 | use Carp; | 
|  | 3 |  |  |  |  | 7 |  | 
|  | 3 |  |  |  |  | 159 |  | 
| 4 | 3 |  |  | 3 |  | 17 | use Data::Dump qw( dump ); | 
|  | 3 |  |  |  |  | 5 |  | 
|  | 3 |  |  |  |  | 312 |  | 
| 5 |  |  |  |  |  |  |  | 
| 6 |  |  |  |  |  |  | our $VERSION = '0.006'; | 
| 7 |  |  |  |  |  |  |  | 
| 8 |  |  |  |  |  |  | has 'definitions' => ( is => 'ro', isa => 'HashRef', required => 1, ); | 
| 9 |  |  |  |  |  |  | has 'description' => ( is => 'ro', isa => 'Str',     required => 1, ); | 
| 10 |  |  |  |  |  |  | has 'id'          => ( is => 'ro', isa => 'Str',     required => 1, ); | 
| 11 |  |  |  |  |  |  | has 'properties'  => ( is => 'ro', isa => 'HashRef', required => 1, ); | 
| 12 |  |  |  |  |  |  | has 'type'        => ( is => 'ro', isa => 'Str',     required => 1, ); | 
| 13 |  |  |  |  |  |  |  | 
| 14 |  |  |  |  |  |  | =head1 NAME | 
| 15 |  |  |  |  |  |  |  | 
| 16 |  |  |  |  |  |  | Net::PMP::Schema - PMP schema object | 
| 17 |  |  |  |  |  |  |  | 
| 18 |  |  |  |  |  |  | =head1 SYNOPSIS | 
| 19 |  |  |  |  |  |  |  | 
| 20 |  |  |  |  |  |  | my $schema = $pmp_client->get_doc($pmp_client->host . '/schemas/user'); | 
| 21 |  |  |  |  |  |  |  | 
| 22 |  |  |  |  |  |  | =head1 DESCRIPTION | 
| 23 |  |  |  |  |  |  |  | 
| 24 |  |  |  |  |  |  | Net::PMP::Schema represents a PMP API schema object. | 
| 25 |  |  |  |  |  |  |  | 
| 26 |  |  |  |  |  |  | =head1 METHODS | 
| 27 |  |  |  |  |  |  |  | 
| 28 |  |  |  |  |  |  | =head2 definitions | 
| 29 |  |  |  |  |  |  |  | 
| 30 |  |  |  |  |  |  | =head2 description | 
| 31 |  |  |  |  |  |  |  | 
| 32 |  |  |  |  |  |  | =head2 id | 
| 33 |  |  |  |  |  |  |  | 
| 34 |  |  |  |  |  |  | =head2 properties | 
| 35 |  |  |  |  |  |  |  | 
| 36 |  |  |  |  |  |  | =head2 type | 
| 37 |  |  |  |  |  |  |  | 
| 38 |  |  |  |  |  |  | =cut | 
| 39 |  |  |  |  |  |  |  | 
| 40 |  |  |  |  |  |  | 1; | 
| 41 |  |  |  |  |  |  |  | 
| 42 |  |  |  |  |  |  | __END__ | 
| 43 |  |  |  |  |  |  |  | 
| 44 |  |  |  |  |  |  | =head1 AUTHOR | 
| 45 |  |  |  |  |  |  |  | 
| 46 |  |  |  |  |  |  | Peter Karman, C<< <karman at cpan.org> >> | 
| 47 |  |  |  |  |  |  |  | 
| 48 |  |  |  |  |  |  | =head1 BUGS | 
| 49 |  |  |  |  |  |  |  | 
| 50 |  |  |  |  |  |  | Please report any bugs or feature requests to C<bug-net-pmp at rt.cpan.org>, or through | 
| 51 |  |  |  |  |  |  | the web interface at L<http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Net-PMP>.  I will be notified, and then you'll | 
| 52 |  |  |  |  |  |  | automatically be notified of progress on your bug as I make changes. | 
| 53 |  |  |  |  |  |  |  | 
| 54 |  |  |  |  |  |  |  | 
| 55 |  |  |  |  |  |  | =head1 SUPPORT | 
| 56 |  |  |  |  |  |  |  | 
| 57 |  |  |  |  |  |  | You can find documentation for this module with the perldoc command. | 
| 58 |  |  |  |  |  |  |  | 
| 59 |  |  |  |  |  |  | perldoc Net::PMP::CollectionDoc | 
| 60 |  |  |  |  |  |  |  | 
| 61 |  |  |  |  |  |  |  | 
| 62 |  |  |  |  |  |  | You can also look for information at: | 
| 63 |  |  |  |  |  |  |  | 
| 64 |  |  |  |  |  |  | =over 4 | 
| 65 |  |  |  |  |  |  |  | 
| 66 |  |  |  |  |  |  | =item * RT: CPAN's request tracker (report bugs here) | 
| 67 |  |  |  |  |  |  |  | 
| 68 |  |  |  |  |  |  | L<http://rt.cpan.org/NoAuth/Bugs.html?Dist=Net-PMP> | 
| 69 |  |  |  |  |  |  |  | 
| 70 |  |  |  |  |  |  | =item * AnnoCPAN: Annotated CPAN documentation | 
| 71 |  |  |  |  |  |  |  | 
| 72 |  |  |  |  |  |  | L<http://annocpan.org/dist/Net-PMP> | 
| 73 |  |  |  |  |  |  |  | 
| 74 |  |  |  |  |  |  | =item * CPAN Ratings | 
| 75 |  |  |  |  |  |  |  | 
| 76 |  |  |  |  |  |  | L<http://cpanratings.perl.org/d/Net-PMP> | 
| 77 |  |  |  |  |  |  |  | 
| 78 |  |  |  |  |  |  | =item * Search CPAN | 
| 79 |  |  |  |  |  |  |  | 
| 80 |  |  |  |  |  |  | L<http://search.cpan.org/dist/Net-PMP/> | 
| 81 |  |  |  |  |  |  |  | 
| 82 |  |  |  |  |  |  | =back | 
| 83 |  |  |  |  |  |  |  | 
| 84 |  |  |  |  |  |  |  | 
| 85 |  |  |  |  |  |  | =head1 ACKNOWLEDGEMENTS | 
| 86 |  |  |  |  |  |  |  | 
| 87 |  |  |  |  |  |  | American Public Media and the Public Media Platform sponsored the development of this module. | 
| 88 |  |  |  |  |  |  |  | 
| 89 |  |  |  |  |  |  | =head1 LICENSE AND COPYRIGHT | 
| 90 |  |  |  |  |  |  |  | 
| 91 |  |  |  |  |  |  | Copyright 2013 American Public Media Group | 
| 92 |  |  |  |  |  |  |  | 
| 93 |  |  |  |  |  |  | See the LICENSE file that accompanies this module. | 
| 94 |  |  |  |  |  |  |  | 
| 95 |  |  |  |  |  |  | =cut |