The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

SemanticWeb::Schema::AggregateOffer - When a single product is associated with multiple offers (for example

VERSION

version v14.0.0

DESCRIPTION

When a single product is associated with multiple offers (for example, the same pair of shoes is offered by different merchants), then AggregateOffer can be used.

Note: AggregateOffers are normally expected to associate multiple offers that all share the same defined [[businessFunction]] value, or default to http://purl.org/goodrelations/v1#Sell if businessFunction is not explicitly defined.

ATTRIBUTES

high_price

highPrice

The highest price of all offers available.

Usage guidelines:

  • Use values from 0123456789 (Unicode 'DIGIT ZERO' (U+0030) to 'DIGIT NINE' (U+0039)) rather than superficially similiar Unicode symbols.

  • Use '.' (Unicode 'FULL STOP' (U+002E)) rather than ',' to indicate a decimal point. Avoid using these symbols as a readability separator.

A high_price should be one of the following types:

Num
Str

_has_high_price

A predicate for the "high_price" attribute.

low_price

lowPrice

The lowest price of all offers available.

Usage guidelines:

  • Use values from 0123456789 (Unicode 'DIGIT ZERO' (U+0030) to 'DIGIT NINE' (U+0039)) rather than superficially similiar Unicode symbols.

  • Use '.' (Unicode 'FULL STOP' (U+002E)) rather than ',' to indicate a decimal point. Avoid using these symbols as a readability separator.

A low_price should be one of the following types:

Num
Str

_has_low_price

A predicate for the "low_price" attribute.

offer_count

offerCount

The number of offers for the product.

A offer_count should be one of the following types:

InstanceOf['SemanticWeb::Schema::Integer']

_has_offer_count

A predicate for the "offer_count" 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.

SEE ALSO

SemanticWeb::Schema::Offer

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)