{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/customer-io/json-schema/customer-io-snippet-schema.json",
  "title": "snippet",
  "description": "describes a piece of reusable content. You must provide a name for the snippet and the `value`—the content that appears in messages that use the snippet.",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/customer-io-snippets-api-openapi.yml#/components/schemas/snippet",
  "x-scalar-ignore": true,
  "type": "object",
  "required": [
    "name",
    "value"
  ],
  "properties": {
    "name": {
      "type": "string",
      "description": "The name of the snippet, must be unique."
    },
    "value": {
      "type": "string",
      "description": "The contents of the snippet."
    },
    "updated_at": {
      "type": "integer",
      "format": "unix timestamp",
      "description": "The last date-time the snippet was updated.",
      "readOnly": true
    }
  }
}