NAME

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

VERSION

version v23.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']

_has_author

A predicate for the "author" attribute.

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

_has_best_rating

A predicate for the "best_rating" attribute.

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 SemanticWeb::Schema::ClaimReview.

A rating_explanation should be one of the following types:

Str

_has_rating_explanation

A predicate for the "rating_explanation" attribute.

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 similar 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

_has_rating_value

A predicate for the "rating_value" attribute.

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

_has_review_aspect

A predicate for the "review_aspect" attribute.

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

_has_worst_rating

A predicate for the "worst_rating" attribute.

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

This is free software, licensed under:

The Artistic License 2.0 (GPL Compatible)