NAME

SemanticWeb::Schema::Rating - A rating is an evaluation on a numeric scale

VERSION

version v5.0.0

DESCRIPTION

A rating is an evaluation on a numeric scale, such as 1 to 5 stars.

ATTRIBUTES

author

The author of this content or rating. Please note that author is special in that HTML 5 provides a special mechanism for indicating authorship via the rel tag. That is equivalent to this and may be used interchangeably.

A author should be one of the following types:

InstanceOf['SemanticWeb::Schema::Organization']
InstanceOf['SemanticWeb::Schema::Person']

best_rating

bestRating

The highest value allowed in this rating system. If bestRating is omitted, 5 is assumed.

A best_rating should be one of the following types:

Num
Str

rating_explanation

ratingExplanation

A short explanation (e.g. one to two sentences) providing background context and other information that led to the conclusion expressed in the rating. This is particularly applicable to ratings associated with "fact check" markup using ClaimReview.

A rating_explanation should be one of the following types:

Str

rating_value

ratingValue

The rating for the content. Usage guidelines:

  • 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 rating_value should be one of the following types:

Num
Str

review_aspect

reviewAspect

This Review or Rating is relevant to this part or facet of the itemReviewed.

A review_aspect should be one of the following types:

Str

worst_rating

worstRating

The lowest value allowed in this rating system. If worstRating is omitted, 1 is assumed.

A worst_rating should be one of the following types:

Num
Str

SEE ALSO

SemanticWeb::Schema::Intangible

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)