NAME

SemanticWeb::Schema::Trip - A trip or journey

VERSION

version v14.0.0

DESCRIPTION

A trip or journey. An itinerary of visits to one or more places.

ATTRIBUTES

arrival_time

arrivalTime

The expected arrival time.

A arrival_time should be one of the following types:

Str

_has_arrival_time

A predicate for the "arrival_time" attribute.

departure_time

departureTime

The expected departure time.

A departure_time should be one of the following types:

Str

_has_departure_time

A predicate for the "departure_time" attribute.

itinerary

Destination(s) ( SemanticWeb::Schema::Place ) that make up a trip. For a trip where destination order is important use SemanticWeb::Schema::ItemList to specify that order (see examples).

A itinerary should be one of the following types:

InstanceOf['SemanticWeb::Schema::ItemList']
InstanceOf['SemanticWeb::Schema::Place']

_has_itinerary

A predicate for the "itinerary" attribute.

offers

An offer to provide this item-- for example, an offer to sell a product, rent the DVD of a movie, perform a service, or give away tickets to an event. Use [[businessFunction]] to indicate the kind of transaction offered, i.e. sell, lease, etc. This property can also be used to describe a SemanticWeb::Schema::Demand. While this property is listed as expected on a number of common types, it can be used in others. In that case, using a second type, such as Product or a subtype of Product, can clarify the nature of the offer.

A offers should be one of the following types:

InstanceOf['SemanticWeb::Schema::Demand']
InstanceOf['SemanticWeb::Schema::Offer']

_has_offers

A predicate for the "offers" attribute.

part_of_trip

partOfTrip

Identifies that this SemanticWeb::Schema::Trip is a subTrip of another Trip. For example Day 1, Day 2, etc. of a multi-day trip.

A part_of_trip should be one of the following types:

InstanceOf['SemanticWeb::Schema::Trip']

_has_part_of_trip

A predicate for the "part_of_trip" attribute.

provider

The service provider, service operator, or service performer; the goods producer. Another party (a seller) may offer those services or goods on behalf of the provider. A provider may also serve as the seller.

A provider should be one of the following types:

InstanceOf['SemanticWeb::Schema::Organization']
InstanceOf['SemanticWeb::Schema::Person']

_has_provider

A predicate for the "provider" attribute.

sub_trip

subTrip

Identifies a SemanticWeb::Schema::Trip that is a subTrip of this Trip. For example Day 1, Day 2, etc. of a multi-day trip.

A sub_trip should be one of the following types:

InstanceOf['SemanticWeb::Schema::Trip']

_has_sub_trip

A predicate for the "sub_trip" attribute.

SEE ALSO

SemanticWeb::Schema::Intangible

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-2022 by Robert Rothenberg.

This is free software, licensed under:

The Artistic License 2.0 (GPL Compatible)