Clarification Needed on Draft Node Types and Subtypes in DEV REST-API Wix Documentation

I am currently working on creating a draft that includes an image, text, and a headline. However, I have encountered a significant challenge due to the apparent lack of detailed documentation regarding the various draft node types and their corresponding subtypes. Specifically, I am referring to the following 30 supported node types:

  • PARAGRAPH
  • TEXT
  • HEADING
  • BULLETED_LIST
  • ORDERED_LIST
  • LIST_ITEM
  • BLOCKQUOTE
  • CODE_BLOCK
  • VIDEO
  • DIVIDER
  • FILE
  • GALLERY
  • GIF
  • HTML
  • IMAGE
  • LINK_PREVIEW
  • MAP
  • POLL
  • APP_EMBED
  • BUTTON
  • COLLAPSIBLE_LIST
  • TABLE
  • EMBED
  • COLLAPSIBLE_ITEM
  • COLLAPSIBLE_ITEM_TITLE
  • (and others)

While I understand these types, there seems to be no information on how to structure the JSON payload for each type, especially regarding their subdata like textData for TEXT or imageData.

"One of the primary challenges I’ve faced relates to the correct structuring of the IMAGE node. Based on the code I’ve managed to compile from various sources and issue tickets created by other users, I understand that an IMAGE node should be structured as follows:

{
    "type": "IMAGE",
    "id": "",
    "imageData": {
        "image": {
            "src": {
                "url": "https://i.ytimg.com/vi/RZeNYTCZ70s/maxresdefault.jpg"
            }
        }
    }
}

But this lack of detail creates confusion and hinders efficient use of the API and Right now I am having issue with HEADLINE node structuring am I missing something, some tutorial or general knowledge about richtextcontent?

Can you link to the doc?