{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/safetyculture/json-schema/safetyculture-s12-thepub-v1-feed-issue-timeline-items-response-schema.json",
  "title": "FeedIssueTimelineItemsResponse",
  "description": "The response for `FeedIssueTimelineItemsResponse`",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/safetyculture-data-feeds-api-openapi.yml#/components/schemas/s12.thepub.v1.FeedIssueTimelineItemsResponse",
  "type": "object",
  "properties": {
    "metadata": {
      "description": "The metadata for the feed.",
      "allOf": [
        {
          "$ref": "#/$defs/s12.thepub.v1.FeedMetadata"
        }
      ]
    },
    "data": {
      "type": "array",
      "items": {
        "type": "object",
        "$ref": "#/$defs/s12.thepub.v1.FeedIssueTimelineItemsResponse.FeedIssueTimelineItem"
      },
      "description": "The issue timeline items."
    }
  },
  "$defs": {
    "s12.thepub.v1.FeedIssueTimelineItemsResponse.FeedIssueTimelineItem": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string",
          "description": "ID of the timeline item."
        },
        "task_id": {
          "type": "string",
          "description": "ID of the issue."
        },
        "organisation_id": {
          "type": "string",
          "description": "ID of the SafetyCulture organization."
        },
        "task_creator_id": {
          "type": "string",
          "description": "ID of the timeline item's issue creator."
        },
        "task_creator_name": {
          "type": "string",
          "description": "Name of the timeline item's issue creator."
        },
        "timestamp": {
          "type": "string",
          "format": "date-time",
          "description": "Date and time a timeline item was created in Coordinated Universal Time (UTC)."
        },
        "creator_id": {
          "type": "string",
          "description": "ID of the timeline item's creator."
        },
        "creator_name": {
          "type": "string",
          "description": "Name of the timeline item's creator."
        },
        "item_type": {
          "type": "string",
          "description": "Type of a timeline item."
        },
        "item_data": {
          "type": "string",
          "description": "Data of a timeline item."
        }
      },
      "description": "An issue timeline item returned from `FeedIssueTimelineItems`",
      "title": "FeedIssueTimelineItem"
    },
    "s12.thepub.v1.FeedMetadata": {
      "type": "object",
      "properties": {
        "next_page": {
          "type": "string",
          "description": "The path to fetch the next page on."
        },
        "remaining_records": {
          "type": "integer",
          "format": "int32",
          "description": "Estimated remaining records."
        }
      },
      "description": "The metadata returned on a feed",
      "title": "FeedMetadata"
    }
  }
}