KD
유형 이름: Rating
Intangible 확장
이름 |
유형 |
설명 |
최고 평점 |
Number 또는 Text |
이 평가 시스템에서 허용되는 가장 높은 값입니다. bestRating을 생략하면 5로 간주됩니다. |
평점 값 |
텍스트 |
콘텐츠 등급입니다. |
최저 평점 |
Number 또는 Text |
이 평가 시스템에서 허용되는 가장 낮은 값입니다. worstRating을 생략하면 1로 가정됩니다. |
달리 명시되지 않는 한 이 페이지의 콘텐츠에는 Creative Commons Attribution 4.0 라이선스에 따라 라이선스가 부여되며, 코드 샘플에는 Apache 2.0 라이선스에 따라 라이선스가 부여됩니다. 자세한 내용은 Google Developers 사이트 정책을 참조하세요. 자바는 Oracle 및/또는 Oracle 계열사의 등록 상표입니다.
최종 업데이트: 2024-09-03(UTC)
[null,null,["최종 업데이트: 2024-09-03(UTC)"],[[["`Rating` is a structured data type used to specify the rating of an item, inheriting properties from the `Intangible` type."],["It includes fields like `ratingValue` for the actual rating, and `bestRating` and `worstRating` to define the rating scale, defaulting to 5 and 1 respectively if omitted."],["The values for `bestRating`, `ratingValue`, and `worstRating` can be represented using either `Number` or `Text` types."]]],["The `Rating` type, extending `Intangible`, defines a rating system with three properties: `bestRating`, `ratingValue`, and `worstRating`. `bestRating` and `worstRating` establish the upper and lower bounds of the rating scale, defaulting to 5 and 1, respectively, if omitted. `ratingValue` represents the actual rating given to the content using `Text` format. `bestRating` and `worstRating` can be set using either `Number` or `Text`.\n"]]