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

NAME

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

VERSION

version v5.0.0

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']

max_value

maxValue

The upper value of some characteristic or property.

A max_value should be one of the following types:

Num

min_value

minValue

The lower value of some characteristic or property.

A min_value should be one of the following types:

Num

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

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

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

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']

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

This is free software, licensed under:

  The Artistic License 2.0 (GPL Compatible)