{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/pinbridge-io/json-schema/pinbridge-io-schedule-update-schema.json",
  "title": "ScheduleUpdate",
  "description": "Request schema for editing a pending schedule.\n\nEvery field is optional; fields left out are unchanged. Only schedules in\n``scheduled`` status can be edited. ``description``, ``alt_text``,\n``link_url`` and the cover image can be cleared with ``null``; ``title``,\n``board_id`` and the media source cannot. Sending ``image_url`` replaces an\n``asset_id`` and vice versa.",
  "x-generated": "2026-11-21",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/pinbridge-io-openapi.json#/components/schemas/ScheduleUpdate",
  "properties": {
    "run_at": {
      "anyOf": [
        {
          "type": "string",
          "format": "date-time"
        },
        {
          "type": "null"
        }
      ],
      "title": "Run At",
      "description": "New publish time (ISO 8601, with tz)"
    },
    "board_id": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Board Id",
      "description": "Move the schedule to another board"
    },
    "title": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 100
        },
        {
          "type": "null"
        }
      ],
      "title": "Title",
      "description": "Pin title"
    },
    "description": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 800
        },
        {
          "type": "null"
        }
      ],
      "title": "Description",
      "description": "Pin description"
    },
    "alt_text": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 500
        },
        {
          "type": "null"
        }
      ],
      "title": "Alt Text",
      "description": "Alternative text used for accessibility"
    },
    "link_url": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 2083,
          "minLength": 1,
          "format": "uri"
        },
        {
          "type": "null"
        }
      ],
      "title": "Link Url",
      "description": "Destination URL for the pin: the website the idea comes from. A link to a pin already on Pinterest (pinterest.com/pin/...) is refused with pinterest_pin_link"
    },
    "image_url": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 2083,
          "minLength": 1,
          "format": "uri"
        },
        {
          "type": "null"
        }
      ],
      "title": "Image Url",
      "description": "Replace the media with a public URL"
    },
    "asset_id": {
      "anyOf": [
        {
          "type": "string",
          "format": "uuid"
        },
        {
          "type": "null"
        }
      ],
      "title": "Asset Id",
      "description": "Replace the media with an uploaded asset"
    },
    "cover_image_url": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 2083,
          "minLength": 1,
          "format": "uri"
        },
        {
          "type": "null"
        }
      ],
      "title": "Cover Image Url",
      "description": "Video cover image URL"
    },
    "cover_image_asset_id": {
      "anyOf": [
        {
          "type": "string",
          "format": "uuid"
        },
        {
          "type": "null"
        }
      ],
      "title": "Cover Image Asset Id",
      "description": "Video cover image asset ID"
    }
  },
  "type": "object"
}