SemanticWeb-Schema/lib/SemanticWeb/Schema/PublicationEvent.pm
use utf8;
package SemanticWeb::Schema::PublicationEvent;
# ABSTRACT: A PublicationEvent corresponds indifferently to the event of publication for a CreativeWork of any type
use v5.14;
use Moo;
extends qw/ SemanticWeb::Schema::Event /;
use MooX::JSON_LD 'PublicationEvent';
use Ref::Util qw/ is_plain_hashref /;
# RECOMMEND PREREQ: Ref::Util::XS
use namespace::autoclean;
our $VERSION = 'v23.0.0';
has free => (
is => 'rw',
predicate => '_has_free',
json_ld => 'free',
);
has published_by => (
is => 'rw',
predicate => '_has_published_by',
json_ld => 'publishedBy',
);
has published_on => (
is => 'rw',
predicate => '_has_published_on',
json_ld => 'publishedOn',
);
1;
__END__
=pod
=encoding UTF-8
=head1 NAME
SemanticWeb::Schema::PublicationEvent - A PublicationEvent corresponds indifferently to the event of publication for a CreativeWork of any type
=head1 VERSION
version v23.0.0
=head1 DESCRIPTION
A PublicationEvent corresponds indifferently to the event of publication
for a CreativeWork of any type, e.g. a broadcast event, an on-demand event,
a book/journal publication via a variety of delivery media.
=head1 ATTRIBUTES
=head2 C<free>
A flag to signal that the item, event, or place is accessible for free.
A free should be one of the following types:
=over
=item C<Bool>
=back
=head2 C<_has_free>
A predicate for the L</free> attribute.
=head2 C<published_by>
C<publishedBy>
An agent associated with the publication event.
A published_by should be one of the following types:
=over
=item C<InstanceOf['SemanticWeb::Schema::Organization']>
=item C<InstanceOf['SemanticWeb::Schema::Person']>
=back
=head2 C<_has_published_by>
A predicate for the L</published_by> attribute.
=head2 C<published_on>
C<publishedOn>
A broadcast service associated with the publication event.
A published_on should be one of the following types:
=over
=item C<InstanceOf['SemanticWeb::Schema::BroadcastService']>
=back
=head2 C<_has_published_on>
A predicate for the L</published_on> attribute.
=head1 SEE ALSO
L<SemanticWeb::Schema::Event>
=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-2023 by Robert Rothenberg.
This is free software, licensed under:
The Artistic License 2.0 (GPL Compatible)
=cut