# rating

> The rating Liquid object, which a rating metafield returns in a Shoplazza theme and which is read through the metafield's value property.

Information for a rating type metafield.

| Properties  | Type                                | Description                            |
| :---------- | :---------------------------------- | :------------------------------------- |
| `scale_max` | [string](../basics/liquid-types#string) | The maximum value of the rating scale. |
| `scale_min` | [string](../basics/liquid-types#string) | The minimum value of the rating scale. |
| `value`     | [number](../basics/liquid-types#number) | The rating value.                      |

```json title="Object"
{
  "scale_max": "10.0",
  "scale_min": "0.0",
  "value": 4.5
}
```

This object is returned by a `rating` [metafield](./metafield). Access it through the metafield's `value`:

```liquid title="Code"
{{ product.metafields.custom.review_score.value.value }} / {{ product.metafields.custom.review_score.value.scale_max }}
```

```html title="Output"
4 / 10.0
```
