ch as speech
use v5.14;
use Moo;
extends qw/ SemanticWeb::Schema::InteractAction /;
use MooX::JSON_LD 'CommunicateAction';
use Ref::Util qw/ is_plain_hashref /;
# RECOMMEND PREREQ: Ref::Util::XS
'rw',
predicate => '_has_about',
json_ld => 'about',
);
has in_language => (
is => 'rw',
predicate => '_has_in_language',
json_ld => 'inLanguage',
);
has language
w',
predicate => '_has_language',
json_ld => 'language',
);
has recipient => (
is => 'rw',
predicate => '_has_recipient',
json_ld => 'recipient',
);
1;
__END__
such as an act
use v5.14;
use Moo;
extends qw/ SemanticWeb::Schema::CreativeWork /;
use MooX::JSON_LD 'Legislation';
use Ref::Util qw/ is_plain_hashref /;
# RECOMMEND PREREQ: Ref::Util::XS
use na
e => '_has_jurisdiction',
json_ld => 'jurisdiction',
);
has legislation_applies => (
is => 'rw',
predicate => '_has_legislation_applies',
json_ld => 'legislationApplies',
slation_changes',
json_ld => 'legislationChanges',
);
has legislation_consolidates => (
is => 'rw',
predicate => '_has_legislation_consolidates',
json_ld => 'legislationC
im]] in Schema
use v5.14;
use Moo;
extends qw/ SemanticWeb::Schema::CreativeWork /;
use MooX::JSON_LD 'Claim';
use Ref::Util qw/ is_plain_hashref /;
# RECOMMEND PREREQ: Ref::Util::XS
use namespac
dicate => '_has_appearance',
json_ld => 'appearance',
);
has claim_interpreter => (
is => 'rw',
predicate => '_has_claim_interpreter',
json_ld => 'claimInterpreter',
);
has first_appearance => (
is => 'rw',
predicate => '_has_first_appearance',
json_ld => 'firstAppearance',
);
1;
__END__
=pod
=encoding UTF-8
=head1 NAME
SemanticWeb::S
ype of bed
use v5.14;
use Moo;
extends qw/ SemanticWeb::Schema::QualitativeValue /;
use MooX::JSON_LD 'BedType';
use Ref::Util qw/ is_plain_hashref /;
# RECOMMEND PREREQ: Ref::Util::XS
use namesp
wnloadable form
use v5.14;
use Moo;
extends qw/ SemanticWeb::Schema::MediaObject /;
use MooX::JSON_LD 'DataDownload';
use Ref::Util qw/ is_plain_hashref /;
# RECOMMEND PREREQ: Ref::Util::XS
use n
_measurement_method',
json_ld => 'measurementMethod',
);
has measurement_technique => (
is => 'rw',
predicate => '_has_measurement_technique',
json_ld => 'measurementTech
c purposes
use v5.14;
use Moo;
extends qw/ SemanticWeb::Schema::MedicalProcedure /;
use MooX::JSON_LD 'TherapeuticProcedure';
use Ref::Util qw/ is_plain_hashref /;
# RECOMMEND PREREQ: Ref::Util::X
ate => '_has_adverse_outcome',
json_ld => 'adverseOutcome',
);
has dose_schedule => (
is => 'rw',
predicate => '_has_dose_schedule',
json_ld => 'doseSchedule',
);
has
drug => (
is => 'rw',
predicate => '_has_drug',
json_ld => 'drug',
);
1;
__END__
=pod
=encoding UTF-8
=head1 NAME
SemanticWeb::Schema::TherapeuticProcedure - A medical p
ng facility.
use v5.14;
use Moo;
extends qw/ SemanticWeb::Schema::CivicStructure /;
use MooX::JSON_LD 'ParkingFacility';
use Ref::Util qw/ is_plain_hashref /;
# RECOMMEND PREREQ: Ref::Util::XS
us
rently in the feed
use v5.14;
use Moo;
extends qw/ SemanticWeb::Schema::DataFeed /;
use MooX::JSON_LD 'CompleteDataFeed';
use Ref::Util qw/ is_plain_hashref /;
# RECOMMEND PREREQ: Ref::Util::XS
u
s [[CreativeWork]].
use v5.14;
use Moo;
extends qw/ SemanticWeb::Schema::Comment /;
use MooX::JSON_LD 'CorrectionComment';
use Ref::Util qw/ is_plain_hashref /;
# RECOMMEND PREREQ: Ref::Util::XS
[MediaReview]]
use v5.14;
use Moo;
extends qw/ SemanticWeb::Schema::CreativeWork /;
use MooX::JSON_LD 'MediaReviewItem';
use Ref::Util qw/ is_plain_hashref /;
# RECOMMEND PREREQ: Ref::Util::XS
us
ia_item_appearance => (
is => 'rw',
predicate => '_has_media_item_appearance',
json_ld => 'mediaItemAppearance',
);
1;
__END__
=pod
=encoding UTF-8
=head1 NAME
SemanticW
a [[VideoGame]]
use v5.14;
use Moo;
extends qw/ SemanticWeb::Schema::Enumeration /;
use MooX::JSON_LD 'GameAvailabilityEnumeration';
use Ref::Util qw/ is_plain_hashref /;
# RECOMMEND PREREQ: Ref::
lasses for http://schema.org/ classes
use v5.14;
use Moo;
use List::Util qw/ first /;
use MooX::JSON_LD 'base';
use Ref::Util qw/ is_blessed_ref is_plain_arrayref /;
use Types::Standard qw/ Str /;
Type::Tiny::XS
has id => (
is => 'rw',
isa => Str,
predicate => 1,
json_ld => '@id',
);
around _build_context => sub { return 'http://schema.org/' };
1;
__END__
h',
);
print $person->json_ld;
=head1 DESCRIPTION
This distribution contains Perl classes for L<https://schema.org>
semantic markup. These can be used to generate JSON-LD
to embed in websites.