Klaviyo · Schema

PatchImageResponse

MarketingEmailSMSCustomer DataEcommerceAutomation

Properties

Name Type Description
data object
links object
View JSON Schema on GitHub

JSON Schema

klaviyo-patchimageresponse-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/PatchImageResponse",
  "title": "PatchImageResponse",
  "type": "object",
  "properties": {
    "data": {
      "type": "object",
      "properties": {
        "type": {
          "$ref": "#/components/schemas/ImageEnum"
        },
        "id": {
          "description": "The ID of the image",
          "type": "string",
          "example": "7"
        },
        "attributes": {
          "type": "object",
          "properties": {
            "name": {
              "type": "string"
            },
            "image_url": {
              "type": "string"
            },
            "format": {
              "type": "string"
            },
            "size": {
              "type": "integer"
            },
            "hidden": {
              "type": "boolean"
            },
            "updated_at": {
              "type": "string",
              "format": "date-time",
              "example": "2022-11-08T00:00:00+00:00"
            }
          },
          "required": [
            "name",
            "image_url",
            "format",
            "size",
            "hidden",
            "updated_at"
          ]
        },
        "links": {
          "$ref": "#/components/schemas/ObjectLinks"
        }
      },
      "required": [
        "type",
        "id",
        "attributes",
        "links"
      ]
    },
    "links": {
      "$ref": "#/components/schemas/ObjectLinks"
    }
  },
  "required": [
    "data"
  ]
}