{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/thanks-io/json-schema/thanks-io-image-template-schema.json",
  "title": "image-template",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/thanks-io-image-templates-api-openapi.yml#/components/schemas/image-template",
  "type": "object",
  "properties": {
    "id": {
      "type": "integer"
    },
    "user_id": {
      "type": "integer"
    },
    "sub_account_id": {
      "type": "integer"
    },
    "type": {
      "type": "string",
      "enum": [
        "postcard",
        "postcard6x9",
        "postcard6x11",
        "letter",
        "notecard",
        "giftcard",
        "windowlessletter",
        "magnacard"
      ]
    },
    "name": {
      "type": "string"
    },
    "image": {
      "type": "string",
      "description": "URL of the template image"
    },
    "canva_id": {
      "type": "string"
    },
    "created_at": {
      "type": "string"
    },
    "updated_at": {
      "type": "string"
    }
  }
}