ir shop.
use v5.14;
use Moo;
extends qw/ SemanticWeb::Schema::AutomotiveBusiness /;
use MooX::JSON_LD 'MotorcycleRepair';
use Ref::Util qw/ is_plain_hashref /;
# RECOMMEND PREREQ: Ref::Util::XS
u
ce lineup.
use v5.14;
use Moo;
extends qw/ SemanticWeb::Schema::BroadcastChannel /;
use MooX::JSON_LD 'RadioChannel';
use Ref::Util qw/ is_plain_hashref /;
# RECOMMEND PREREQ: Ref::Util::XS
use n
tionships.
use v5.14;
use Moo;
extends qw/ SemanticWeb::Schema::OrganizationRole /;
use MooX::JSON_LD 'EmployeeRole';
use Ref::Util qw/ is_plain_hashref /;
# RECOMMEND PREREQ: Ref::Util::XS
use n
edicate => '_has_base_salary',
json_ld => 'baseSalary',
);
has salary_currency => (
is => 'rw',
predicate => '_has_salary_currency',
json_ld => 'salaryCurrency',
);
the recipe.
use v5.14;
use Moo;
extends qw/ SemanticWeb::Schema::StructuredValue /;
use MooX::JSON_LD 'NutritionInformation';
use Ref::Util qw/ is_plain_hashref /;
# RECOMMEND PREREQ: Ref::Util::X
dicate => '_has_calories',
json_ld => 'calories',
);
has carbohydrate_content => (
is => 'rw',
predicate => '_has_carbohydrate_content',
json_ld => 'carbohydrateContent',
=> '_has_cholesterol_content',
json_ld => 'cholesterolContent',
);
has fat_content => (
is => 'rw',
predicate => '_has_fat_content',
json_ld => 'fatContent',
);
has fi
ng source code
use v5.14;
use Moo;
extends qw/ SemanticWeb::Schema::CreativeWork /;
use MooX::JSON_LD 'Code';
use Ref::Util qw/ is_plain_hashref /;
# RECOMMEND PREREQ: Ref::Util::XS
use namespace
Moo;
extends qw/ SemanticWeb::Schema::MedicalAudience SemanticWeb::Schema::Person /;
use MooX::JSON_LD 'Patient';
use Ref::Util qw/ is_plain_hashref /;
# RECOMMEND PREREQ: Ref::Util::XS
use namesp
> 'rw',
predicate => '_has_diagnosis',
json_ld => 'diagnosis',
);
has drug => (
is => 'rw',
predicate => '_has_drug',
json_ld => 'drug',
);
has health_condition =>
(
is => 'rw',
predicate => '_has_health_condition',
json_ld => 'healthCondition',
);
1;
__END__
=pod
=encoding UTF-8
=head1 NAME
SemanticWeb::Schema::Patient - A patien
ide a place
use v5.14;
use Moo;
extends qw/ SemanticWeb::Schema::StructuredValue /;
use MooX::JSON_LD 'OpeningHoursSpecification';
use Ref::Util qw/ is_plain_hashref /;
# RECOMMEND PREREQ: Ref::Ut
rw',
predicate => '_has_closes',
json_ld => 'closes',
);
has day_of_week => (
is => 'rw',
predicate => '_has_day_of_week',
json_ld => 'dayOfWeek',
);
has opens =>
> 'rw',
predicate => '_has_opens',
json_ld => 'opens',
);
has valid_from => (
is => 'rw',
predicate => '_has_valid_from',
json_ld => 'validFrom',
);
has valid_thro
est course of action
use v5.14;
use Moo;
extends qw/ SemanticWeb::Schema::Review /;
use MooX::JSON_LD 'Recommendation';
use Ref::Util qw/ is_plain_hashref /;
# RECOMMEND PREREQ: Ref::Util::XS
use
ION = 'v23.0.0';
has category => (
is => 'rw',
predicate => '_has_category',
json_ld => 'category',
);
1;
__END__
=pod
=encoding UTF-8
=head1 NAME
SemanticWeb::Schema:
BSTRACT: A tire shop.
use v5.14;
use Moo;
extends qw/ SemanticWeb::Schema::Store /;
use MooX::JSON_LD 'TireShop';
use Ref::Util qw/ is_plain_hashref /;
# RECOMMEND PREREQ: Ref::Util::XS
use names
STRACT: A mountain
use v5.14;
use Moo;
extends qw/ SemanticWeb::Schema::Landform /;
use MooX::JSON_LD 'Mountain';
use Ref::Util qw/ is_plain_hashref /;
# RECOMMEND PREREQ: Ref::Util::XS
use names
f a podcast series.
use v5.14;
use Moo;
extends qw/ SemanticWeb::Schema::Episode /;
use MooX::JSON_LD 'PodcastEpisode';
use Ref::Util qw/ is_plain_hashref /;
# RECOMMEND PREREQ: Ref::Util::XS
use
mercial service.
use v5.14;
use Moo;
extends qw/ SemanticWeb::Schema::Intangible /;
use MooX::JSON_LD 'ParcelDelivery';
use Ref::Util qw/ is_plain_hashref /;
# RECOMMEND PREREQ: Ref::Util::XS
use
predicate => '_has_carrier',
json_ld => 'carrier',
);
has delivery_address => (
is => 'rw',
predicate => '_has_delivery_address',
json_ld => 'deliveryAddress',
);
h
_has_delivery_status',
json_ld => 'deliveryStatus',
);
has expected_arrival_from => (
is => 'rw',
predicate => '_has_expected_arrival_from',
json_ld => 'expectedArrivalFr
A car is a wheeled
use v5.14;
use Moo;
extends qw/ SemanticWeb::Schema::Vehicle /;
use MooX::JSON_LD 'Car';
use Ref::Util qw/ is_plain_hashref /;
# RECOMMEND PREREQ: Ref::Util::XS
use namespace:
predicate => '_has_acriss_code',
json_ld => 'acrissCode',
);
has roof_load => (
is => 'rw',
predicate => '_has_roof_load',
json_ld => 'roofLoad',
);
1;
__END__
ces business.
use v5.14;
use Moo;
extends qw/ SemanticWeb::Schema::LocalBusiness /;
use MooX::JSON_LD 'FinancialService';
use Ref::Util qw/ is_plain_hashref /;
# RECOMMEND PREREQ: Ref::Util::XS
u
ation => (
is => 'rw',
predicate => '_has_fees_and_commissions_specification',
json_ld => 'feesAndCommissionsSpecification',
);
1;
__END__
=pod
=encoding UTF-8
=head1 NAM
level of endorsement
use v5.14;
use Moo;
extends qw/ SemanticWeb::Schema::Rating /;
use MooX::JSON_LD 'EndorsementRating';
use Ref::Util qw/ is_plain_hashref /;
# RECOMMEND PREREQ: Ref::Util::XS
of some kind.
use v5.14;
use Moo;
extends qw/ SemanticWeb::Schema::Organization /;
use MooX::JSON_LD 'SearchRescueOrganization';
use Ref::Util qw/ is_plain_hashref /;
# RECOMMEND PREREQ: Ref::Uti
: Exhibition event, e
use v5.14;
use Moo;
extends qw/ SemanticWeb::Schema::Event /;
use MooX::JSON_LD 'ExhibitionEvent';
use Ref::Util qw/ is_plain_hashref /;
# RECOMMEND PREREQ: Ref::Util::XS
us
provider
use v5.14;
use Moo;
extends qw/ SemanticWeb::Schema::CommunicateAction /;
use MooX::JSON_LD 'CheckOutAction';
use Ref::Util qw/ is_plain_hashref /;
# RECOMMEND PREREQ: Ref::Util::XS
use
nt type: Sales event.
use v5.14;
use Moo;
extends qw/ SemanticWeb::Schema::Event /;
use MooX::JSON_LD 'SaleEvent';
use Ref::Util qw/ is_plain_hashref /;
# RECOMMEND PREREQ: Ref::Util::XS
use name
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.