NAME

SemanticWeb::Schema::OpeningHoursSpecification - A structured value providing information about the opening hours of a place or a certain service inside a place

VERSION

version v21.0.1

DESCRIPTION

A structured value providing information about the opening hours of a place or a certain service inside a place.

The place is open if the [[opens]] property is specified, and closed otherwise.

If the value for the [[closes]] property is less than the value for the [[opens]] property then the hour range is assumed to span over the next day.

ATTRIBUTES

closes

The closing hour of the place or service on the given day(s) of the week.

A closes should be one of the following types:

Str

_has_closes

A predicate for the "closes" attribute.

day_of_week

dayOfWeek

The day of the week for which these opening hours are valid.

A day_of_week should be one of the following types:

InstanceOf['SemanticWeb::Schema::DayOfWeek']

_has_day_of_week

A predicate for the "day_of_week" attribute.

opens

The opening hour of the place or service on the given day(s) of the week.

A opens should be one of the following types:

Str

_has_opens

A predicate for the "opens" attribute.

valid_from

validFrom

The date when the item becomes valid.

A valid_from should be one of the following types:

Str

_has_valid_from

A predicate for the "valid_from" attribute.

valid_through

validThrough

The date after when the item is not valid. For example the end of an offer, salary period, or a period of opening hours.

A valid_through should be one of the following types:

Str

_has_valid_through

A predicate for the "valid_through" attribute.

SEE ALSO

SemanticWeb::Schema::StructuredValue

SOURCE

The development version is on github at https://github.com/robrwo/SemanticWeb-Schema and may be cloned from git://github.com/robrwo/SemanticWeb-Schema.git

BUGS

Please report any bugs or feature requests on the bugtracker website 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.

AUTHOR

Robert Rothenberg <rrwo@cpan.org>

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)