BigCommerce · Schema

typeRaw

E-CommerceRetailCatalogOrdersCheckoutPaymentsSaaS
View JSON Schema on GitHub

JSON Schema

bigcommerce-typeraw-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/typeRaw",
  "title": "typeRaw",
  "description": "",
  "allOf": [
    {
      "$ref": "#/components/schemas/anyTypePage"
    },
    {
      "$ref": "#/components/schemas/searchKeywords"
    },
    {
      "properties": {
        "body": {
          "type": "string",
          "description": "HTML or variable that populates the element of this page, in default/desktop view. Required in a `POST` request if the page type is `raw`.\n",
          "example": "<div>Hello World!</div>",
          "nullable": true
        },
        "content_type": {
          "type": "string",
          "description": "The MIME type of the page body.",
          "example": "text/html"
        }
      },
      "required": [
        "body"
      ]
    }
  ]
}