NAME

SemanticWeb::Schema::TypeAndQuantityNode - A structured value indicating the quantity

VERSION

version v22.0.0

DESCRIPTION

A structured value indicating the quantity, unit of measurement, and business function of goods included in a bundle offer.

ATTRIBUTES

amount_of_this_good

amountOfThisGood

The quantity of the goods included in the offer.

A amount_of_this_good should be one of the following types:

Num

_has_amount_of_this_good

A predicate for the "amount_of_this_good" attribute.

business_function

businessFunction

The business function (e.g. sell, lease, repair, dispose) of the offer or component of a bundle (TypeAndQuantityNode). The default is http://purl.org/goodrelations/v1#Sell.

A business_function should be one of the following types:

InstanceOf['SemanticWeb::Schema::BusinessFunction']

_has_business_function

A predicate for the "business_function" attribute.

type_of_good

typeOfGood

The product that this structured value is referring to.

A type_of_good should be one of the following types:

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

_has_type_of_good

A predicate for the "type_of_good" attribute.

unit_code

unitCode

The unit of measurement given using the UN/CEFACT Common Code (3 characters) or a URL. Other codes than the UN/CEFACT Common Code may be used with a prefix followed by a colon.

A unit_code should be one of the following types:

Str

_has_unit_code

A predicate for the "unit_code" attribute.

unit_text

unitText

A string or text indicating the unit of measurement. Useful if you cannot provide a standard unit code for unitCode.

A unit_text should be one of the following types:

Str

_has_unit_text

A predicate for the "unit_text" 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)