{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/qrflow-codes/json-schema/qrflow-codes-update-code-schema.json",
  "title": "UpdateCode",
  "x-generated": "2026-11-22",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/qrflow-codes-openapi.yml#/components/schemas/UpdateCode",
  "type": "object",
  "properties": {
    "destination_data": {
      "type": "object",
      "additionalProperties": {
        "type": "string"
      }
    },
    "label": {
      "type": [
        "string",
        "null"
      ]
    },
    "paused": {
      "type": "boolean"
    },
    "expires_at": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time"
    },
    "slug": {
      "type": [
        "string",
        "null"
      ],
      "pattern": "^[a-z0-9][a-z0-9-]{1,38}[a-z0-9]$"
    },
    "domain_id": {
      "type": [
        "string",
        "null"
      ],
      "format": "uuid"
    },
    "fg_color": {
      "type": "string",
      "pattern": "^#[0-9a-fA-F]{6}$"
    },
    "bg_color": {
      "type": "string",
      "pattern": "^#[0-9a-fA-F]{6}$"
    },
    "frame_style": {
      "type": "string"
    },
    "frame_caption": {
      "type": [
        "string",
        "null"
      ]
    },
    "frame_caption2": {
      "type": [
        "string",
        "null"
      ]
    }
  }
}