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

NAME

SemanticWeb::Schema::ProductGroup - A ProductGroup represents a group of [[Product]]s that vary only in certain well-described ways

VERSION

version v12.0.0

DESCRIPTION

A ProductGroup represents a group of SemanticWeb::Schema::Products that vary only in certain well-described ways, such as by [[size]], [[color]], [[material]] etc.

While a ProductGroup itself is not directly offered for sale, the various varying products that it represents can be. The ProductGroup serves as a prototype or template, standing in for all of the products who have an [[isVariantOf]] relationship to it. As such, properties (including additional types) can be applied to the ProductGroup to represent characteristics shared by each of the (possibly very many) variants. Properties that reference a ProductGroup are not included in this mechanism; neither are the following specific properties [[variesBy]], [[hasVariant]], [[url]].

ATTRIBUTES

has_variant

hasVariant

Indicates a SemanticWeb::Schema::Product that is a member of this SemanticWeb::Schema::ProductGroup (or SemanticWeb::Schema::ProductModel).

A has_variant should be one of the following types:

InstanceOf['SemanticWeb::Schema::Product']

_has_has_variant

A predicate for the "has_variant" attribute.

product_group_id

productGroupID

Indicates a textual identifier for a ProductGroup.

A product_group_id should be one of the following types:

Str

_has_product_group_id

A predicate for the "product_group_id" attribute.

varies_by

variesBy

Indicates the property or properties by which the variants in a SemanticWeb::Schema::ProductGroup vary, e.g. their size, color etc. Schema.org properties can be referenced by their short name e.g. "color"; terms defined elsewhere can be referenced with their URIs.

A varies_by should be one of the following types:

InstanceOf['SemanticWeb::Schema::DefinedTerm']
Str

_has_varies_by

A predicate for the "varies_by" attribute.

SEE ALSO

SemanticWeb::Schema::Product

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

This is free software, licensed under:

  The Artistic License 2.0 (GPL Compatible)