The Perl and Raku Conference 2025: Greenville, South Carolina - June 27-29 Learn more

use utf8;
# ABSTRACT: An item used as either a tool or supply when performing the instructions for how to achieve a result.
use v5.14;
use Moo;
use MooX::JSON_LD 'HowToItem';
use Ref::Util qw/ is_plain_hashref /;
# RECOMMEND PREREQ: Ref::Util::XS
our $VERSION = 'v22.0.0';
has required_quantity => (
is => 'rw',
predicate => '_has_required_quantity',
json_ld => 'requiredQuantity',
);
1;
__END__
=pod
=encoding UTF-8
=head1 NAME
SemanticWeb::Schema::HowToItem - An item used as either a tool or supply when performing the instructions for how to achieve a result.
=head1 VERSION
version v22.0.0
=head1 DESCRIPTION
An item used as either a tool or supply when performing the instructions
for how to achieve a result.
=head1 ATTRIBUTES
=head2 C<required_quantity>
C<requiredQuantity>
The required quantity of the item(s).
A required_quantity should be one of the following types:
=over
=item C<InstanceOf['SemanticWeb::Schema::QuantitativeValue']>
=item C<Num>
=item C<Str>
=back
=head2 C<_has_required_quantity>
A predicate for the L</required_quantity> attribute.
=head1 SEE ALSO
L<SemanticWeb::Schema::ListItem>
=head1 SOURCE
The development version is on github at L<https://github.com/robrwo/SemanticWeb-Schema>
=head1 BUGS
Please report any bugs or feature requests on the bugtracker website
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-2023 by Robert Rothenberg.
This is free software, licensed under:
The Artistic License 2.0 (GPL Compatible)
=cut