use utf8;

package SemanticWeb::Schema::QuantitativeValueDistribution;

# ABSTRACT: A statistical distribution of values.

use Moo;

extends qw/ SemanticWeb::Schema::StructuredValue /;


use MooX::JSON_LD 'QuantitativeValueDistribution';
use Ref::Util qw/ is_plain_hashref /;
# RECOMMEND PREREQ: Ref::Util::XS

use namespace::autoclean;

our $VERSION = 'v11.01.0';


has duration => (
    is        => 'rw',
    predicate => '_has_duration',
    json_ld   => 'duration',
);



has median => (
    is        => 'rw',
    predicate => '_has_median',
    json_ld   => 'median',
);



has percentile10 => (
    is        => 'rw',
    predicate => '_has_percentile10',
    json_ld   => 'percentile10',
);



has percentile25 => (
    is        => 'rw',
    predicate => '_has_percentile25',
    json_ld   => 'percentile25',
);



has percentile75 => (
    is        => 'rw',
    predicate => '_has_percentile75',
    json_ld   => 'percentile75',
);



has percentile90 => (
    is        => 'rw',
    predicate => '_has_percentile90',
    json_ld   => 'percentile90',
);





1;

__END__

=pod

=encoding UTF-8

=head1 NAME

SemanticWeb::Schema::QuantitativeValueDistribution - A statistical distribution of values.

=head1 VERSION

version v11.01.0

=head1 DESCRIPTION

A statistical distribution of values.

=head1 ATTRIBUTES

=head2 C<duration>

The duration of the item (movie, audio recording, event, etc.) in [ISO 8601
date format](http://en.wikipedia.org/wiki/ISO_8601).

A duration should be one of the following types:

=over

=item C<InstanceOf['SemanticWeb::Schema::Duration']>

=back

=head2 C<_has_duration>

A predicate for the L</duration> attribute.

=head2 C<median>

The median value.

A median should be one of the following types:

=over

=item C<Num>

=back

=head2 C<_has_median>

A predicate for the L</median> attribute.

=head2 C<percentile10>

The 10th percentile value.

A percentile10 should be one of the following types:

=over

=item C<Num>

=back

=head2 C<_has_percentile10>

A predicate for the L</percentile10> attribute.

=head2 C<percentile25>

The 25th percentile value.

A percentile25 should be one of the following types:

=over

=item C<Num>

=back

=head2 C<_has_percentile25>

A predicate for the L</percentile25> attribute.

=head2 C<percentile75>

The 75th percentile value.

A percentile75 should be one of the following types:

=over

=item C<Num>

=back

=head2 C<_has_percentile75>

A predicate for the L</percentile75> attribute.

=head2 C<percentile90>

The 90th percentile value.

A percentile90 should be one of the following types:

=over

=item C<Num>

=back

=head2 C<_has_percentile90>

A predicate for the L</percentile90> attribute.

=head1 SEE ALSO

L<SemanticWeb::Schema::StructuredValue>

=head1 SOURCE

The development version is on github at L<https://github.com/robrwo/SemanticWeb-Schema>
and may be cloned from L<git://github.com/robrwo/SemanticWeb-Schema.git>

=head1 BUGS

Please report any bugs or feature requests on the bugtracker website
L<https://github.com/robrwo/SemanticWeb-Schema/issues>

When submitting a bug or request, please include a test-file or a
patch to an existing test-file that illustrates the bug or desired
feature.

=head1 AUTHOR

Robert Rothenberg <rrwo@cpan.org>

=head1 COPYRIGHT AND LICENSE

This software is Copyright (c) 2018-2020 by Robert Rothenberg.

This is free software, licensed under:

  The Artistic License 2.0 (GPL Compatible)

=cut