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

NAME

SemanticWeb::Schema::PropertyValue - A property-value pair, e

VERSION

version v3.8.0

DESCRIPTION

A property-value pair, e.g. representing a feature of a product or place. Use the 'name' property for the name of the property. If there is an additional human-readable version of the value, put that into the 'description' property.

Always use specific schema.org properties when a) they exist and b) you can populate them. Using PropertyValue as a substitute will typically not trigger the same effect as using the original, specific property.

ATTRIBUTES

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

property_id

propertyID

A commonly used identifier for the characteristic represented by the property, e.g. a manufacturer or a standard code for a property. propertyID can be (1) a prefixed string, mainly meant to be used with standards for product properties; (2) a site-specific, non-prefixed string (e.g. the primary key of the property or the vendor-specific id of the property), or (3) a URL indicating the type of the property, either pointing to an external vocabulary, or a Web resource that describes the property (e.g. a glossary entry). Standards bodies should promote a standard prefix for the identifiers of properties from their standards.

A property_id should be one of the following types:

Str

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:

Num
InstanceOf['SemanticWeb::Schema::StructuredValue']
Bool
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::StructuredValue']
InstanceOf['SemanticWeb::Schema::QuantitativeValue']
InstanceOf['SemanticWeb::Schema::Enumeration']
InstanceOf['SemanticWeb::Schema::PropertyValue']
InstanceOf['SemanticWeb::Schema::QualitativeValue']

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)