NAME

SemanticWeb::Schema::QuantitativeValue - A point value or interval for product characteristics and other purposes.

VERSION

version v6.0.1

DESCRIPTION

A point value or interval for product characteristics and other purposes.

ATTRIBUTES

additional_property

additionalProperty

A property-value pair representing an additional characteristics of the entitity, e.g. a product feature or another characteristic for which there is no matching property in schema.org. Note: Publishers should be aware that applications designed to use specific schema.org properties (e.g. http://schema.org/width, http://schema.org/color, http://schema.org/gtin13, ...) will typically expect such data to be provided using those properties, rather than using the generic property/value mechanism.

A additional_property should be one of the following types:

InstanceOf['SemanticWeb::Schema::PropertyValue']

_has_additional_property

A predicate for the "additional_property" attribute.

max_value

maxValue

The upper value of some characteristic or property.

A max_value should be one of the following types:

Num

_has_max_value

A predicate for the "max_value" attribute.

min_value

minValue

The lower value of some characteristic or property.

A min_value should be one of the following types:

Num

_has_min_value

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

value

The value of the quantitative value or property value node.

  • For QuantitativeValue and MonetaryAmount, the recommended type for values is 'Number'.
  • For PropertyValue, it can be 'Text;', 'Number', 'Boolean', or 'StructuredValue'.
  • 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 value should be one of the following types:

Bool
InstanceOf['SemanticWeb::Schema::StructuredValue']
Num
Str

_has_value

A predicate for the "value" attribute.

value_reference

valueReference

A pointer to a secondary value that provides additional information on the original value, e.g. a reference temperature.

A value_reference should be one of the following types:

InstanceOf['SemanticWeb::Schema::Enumeration']
InstanceOf['SemanticWeb::Schema::PropertyValue']
InstanceOf['SemanticWeb::Schema::QualitativeValue']
InstanceOf['SemanticWeb::Schema::QuantitativeValue']
InstanceOf['SemanticWeb::Schema::StructuredValue']

_has_value_reference

A predicate for the "value_reference" 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-2020 by Robert Rothenberg.

This is free software, licensed under:

  The Artistic License 2.0 (GPL Compatible)