use utf8;
package SemanticWeb::Schema::HowTo;
# ABSTRACT: Instructions that explain how to achieve a result by performing a sequence of steps.
use v5.14;
use Moo;
extends qw/ SemanticWeb::Schema::CreativeWork /;
use MooX::JSON_LD 'HowTo';
use Ref::Util qw/ is_plain_hashref /;
# RECOMMEND PREREQ: Ref::Util::XS
use namespace::autoclean;
our $VERSION = 'v21.0.0';
has estimated_cost => (
is => 'rw',
predicate => '_has_estimated_cost',
json_ld => 'estimatedCost',
);
has perform_time => (
is => 'rw',
predicate => '_has_perform_time',
json_ld => 'performTime',
);
has prep_time => (
is => 'rw',
predicate => '_has_prep_time',
json_ld => 'prepTime',
);
has step => (
is => 'rw',
predicate => '_has_step',
json_ld => 'step',
);
has steps => (
is => 'rw',
predicate => '_has_steps',
json_ld => 'steps',
);
has supply => (
is => 'rw',
predicate => '_has_supply',
json_ld => 'supply',
);
has tool => (
is => 'rw',
predicate => '_has_tool',
json_ld => 'tool',
);
has total_time => (
is => 'rw',
predicate => '_has_total_time',
json_ld => 'totalTime',
);
has yield => (
is => 'rw',
predicate => '_has_yield',
json_ld => 'yield',
);
1;
__END__
=pod
=encoding UTF-8
=head1 NAME
SemanticWeb::Schema::HowTo - Instructions that explain how to achieve a result by performing a sequence of steps.
=head1 VERSION
version v21.0.0
=head1 DESCRIPTION
Instructions that explain how to achieve a result by performing a sequence
of steps.
=head1 ATTRIBUTES
=head2 C
C
The estimated cost of the supply or supplies consumed when performing
instructions.
A estimated_cost should be one of the following types:
=over
=item C
=item C
=back
=head2 C<_has_estimated_cost>
A predicate for the L attribute.
=head2 C
C
The length of time it takes to perform instructions or a direction (not
including time to prepare the supplies), in [ISO 8601 duration
format](http://en.wikipedia.org/wiki/ISO_8601).
A perform_time should be one of the following types:
=over
=item C
=back
=head2 C<_has_perform_time>
A predicate for the L attribute.
=head2 C
C
The length of time it takes to prepare the items to be used in instructions
or a direction, in [ISO 8601 duration
format](http://en.wikipedia.org/wiki/ISO_8601).
A prep_time should be one of the following types:
=over
=item C
=back
=head2 C<_has_prep_time>
A predicate for the L attribute.
=head2 C
A single step item (as HowToStep, text, document, video, etc.) or a
HowToSection.
A step should be one of the following types:
=over
=item C
=item C
=item C
=item C
=back
=head2 C<_has_step>
A predicate for the L attribute.
=head2 C
A single step item (as HowToStep, text, document, video, etc.) or a
HowToSection (originally misnamed 'steps'; 'step' is preferred).
A steps should be one of the following types:
=over
=item C
=item C
=item C
=back
=head2 C<_has_steps>
A predicate for the L attribute.
=head2 C
A sub-property of instrument. A supply consumed when performing
instructions or a direction.
A supply should be one of the following types:
=over
=item C
=item C
=back
=head2 C<_has_supply>
A predicate for the L attribute.
=head2 C
A sub property of instrument. An object used (but not consumed) when
performing instructions or a direction.
A tool should be one of the following types:
=over
=item C
=item C
=back
=head2 C<_has_tool>
A predicate for the L attribute.
=head2 C
C
The total time required to perform instructions or a direction (including
time to prepare the supplies), in [ISO 8601 duration
format](http://en.wikipedia.org/wiki/ISO_8601).
A total_time should be one of the following types:
=over
=item C
=back
=head2 C<_has_total_time>
A predicate for the L attribute.
=head2 C
The quantity that results by performing instructions. For example, a paper
airplane, 10 personalized candles.
A yield should be one of the following types:
=over
=item C
=item C
=back
=head2 C<_has_yield>
A predicate for the L attribute.
=head1 SEE ALSO
L
=head1 SOURCE
The development version is on github at L
and may be cloned from L
=head1 BUGS
Please report any bugs or feature requests on the bugtracker website
L
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
=head1 COPYRIGHT AND LICENSE
This software is Copyright (c) 2018-2022 by Robert Rothenberg.
This is free software, licensed under:
The Artistic License 2.0 (GPL Compatible)
=cut