If you need checklist in YAML format for automation purposes, then use "Copy checklist as YAML" option from the checklist "..." menu.
Here is the example YAML copied to clipboard (use Ctrl+P to paste it):
items: - text: '--- Optional checklist header/title' checked: false - text: item 1 checked: false - text: item 2 with **description** checked: false description: example description