---
schema_version: "1"
id: cea1cae4c4e817d4ea97c364fb634853ebe083ac6ad77a46c3520b7934e436e1
title: JSON Grammar
collection: developer
version: current
locale: en-us
portal_url: https://docs.salesforce.com/developer/current/en-us/lwc/utam/references/grammar.md
canonical_url: https://developer.salesforce.com/docs/platform/utam/references/utam-grammar/grammar.html
source_site: developer.salesforce.com
content_type: documentation
content_hash: 29f803a29567f50120ecf43b22b1eabc810f4d64ef193141c40bb30ab3bb0f38
products:
  - UI Test Automation Model
  - lwc
---
# JSON Grammar

The JSON grammar describes the elements that you can use in a JSON page object.

Here's a sample outline of a page object.

```json
{
  "elements": [],
  "methods": [],
  "shadow": {
    "elements": []
  },
  "root": true,
  "selector": {
    "css": "one-record-home"
  }
}
```

For more details, start with [Root Elements](https://developer.salesforce.com/docs/platform/utam/references/utam-grammar/root-elements.md).
