use utf8; package SemanticWeb::Schema::SingleFamilyResidence; # ABSTRACT: Residence type: Single-family home. use v5.14; use Moo; extends qw/ SemanticWeb::Schema::House /; use MooX::JSON_LD 'SingleFamilyResidence'; use Ref::Util qw/ is_plain_hashref /; # RECOMMEND PREREQ: Ref::Util::XS use namespace::autoclean; our $VERSION = 'v21.0.0'; has number_of_rooms => ( is => 'rw', predicate => '_has_number_of_rooms', json_ld => 'numberOfRooms', ); has occupancy => ( is => 'rw', predicate => '_has_occupancy', json_ld => 'occupancy', ); 1; __END__ =pod =encoding UTF-8 =head1 NAME SemanticWeb::Schema::SingleFamilyResidence - Residence type: Single-family home. =head1 VERSION version v21.0.0 =head1 DESCRIPTION Residence type: Single-family home. =head1 ATTRIBUTES =head2 C C The number of rooms (excluding bathrooms and closets) of the accommodation or lodging business. Typical unit code(s): ROM for room or C62 for no unit. The type of room can be put in the unitText property of the QuantitativeValue. A number_of_rooms should be one of the following types: =over =item C =item C =back =head2 C<_has_number_of_rooms> A predicate for the L attribute. =head2 C The allowed total occupancy for the accommodation in persons (including infants etc). For individual accommodations, this is not necessarily the legal maximum but defines the permitted usage as per the contractual agreement (e.g. a double room used by a single person). Typical unit code(s): C62 for person A occupancy should be one of the following types: =over =item C =back =head2 C<_has_occupancy> 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