{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/safetyculture/json-schema/safetyculture-s12-announcements-v1-list-heads-up-manage-response-schema.json",
  "title": "ListHeadsUpManageResponse",
  "description": "Result returned from `ListHeadsUpManage`",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/safetyculture-heads-up-api-openapi.yml#/components/schemas/s12.announcements.v1.ListHeadsUpManageResponse",
  "type": "object",
  "properties": {
    "heads_ups": {
      "type": "array",
      "items": {
        "type": "object",
        "$ref": "#/$defs/s12.announcements.v1.HeadsUpManageListItem"
      },
      "description": "List of HeadsUps"
    },
    "next_page_token": {
      "type": "string",
      "description": "If there are more results than those appearing in this response, then\n`next_page_token` is included. If empty then there are no more results.\nTo get the next set of results, call the same\nmethod again using the value of `next_page_token` as `page_token`.\nFor Example: 'ODFBMzQ3MDYtNzQxNy00RDZGLThDNjE1MEFDMkM4MTQ3NDQ='"
    },
    "total": {
      "type": "integer",
      "format": "int32",
      "description": "Total number of HeadsUps found"
    }
  },
  "$defs": {
    "s12.announcements.v1.HeadsUpManageListItem": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string",
          "description": "An ID uniquely identifying this Heads Up."
        },
        "title": {
          "type": "string",
          "description": "Title of the Heads Up"
        },
        "published_at": {
          "type": "string",
          "format": "date-time",
          "description": "Timestamp representing the instance this Heads Up was published."
        },
        "author_id": {
          "type": "string",
          "description": "ID of the author who originally created the Announcement."
        },
        "author_name": {
          "type": "string",
          "description": "Name of the author who originally created the Announcement."
        },
        "viewed_count": {
          "type": "integer",
          "format": "int32",
          "description": "Number of unique user views"
        },
        "acknowledgement_count": {
          "type": "integer",
          "format": "int32",
          "description": "Number of unique acknowledgement count"
        },
        "has_acknowledgement": {
          "type": "boolean",
          "description": "Defines whether or not a Heads Up requires an acknowledgement"
        },
        "media_type": {
          "allOf": [
            {
              "$ref": "#/$defs/s12.common.MediaType"
            }
          ],
          "description": "Defines what media type is present within the HeadsUp"
        },
        "assigned_users_count": {
          "type": "integer",
          "format": "int32",
          "description": "The number of users who are assigned this HeadsUp"
        },
        "complete": {
          "type": "boolean",
          "description": "Whether or not the HeadsUp has been completed by all assignee's"
        },
        "message_count": {
          "type": "integer",
          "format": "int32",
          "description": "MessageCount represents the total number of comments on this Heads Up."
        },
        "is_comments_disabled": {
          "type": "boolean",
          "description": "Whether or not comments are disabled on this HeadsUp"
        },
        "author_profile_image": {
          "description": "Profile image of the author if any.",
          "allOf": [
            {
              "$ref": "#/$defs/s12.common.Media"
            }
          ]
        },
        "is_reactions_disabled": {
          "type": "boolean",
          "description": "Whether or not reactions are disabled for this Heads Up"
        },
        "reaction_count": {
          "type": "integer",
          "format": "int64",
          "description": "Number of reactions on the HeadsUp"
        }
      },
      "title": "HeadsUpManageListItem response item of listing ManageHeadsUps"
    },
    "s12.common.Media": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string"
        },
        "token": {
          "type": "string"
        },
        "filename": {
          "type": "string",
          "description": "full file name, including file extension"
        },
        "media_type": {
          "$ref": "#/$defs/s12.common.MediaType"
        }
      },
      "title": "Represents an image or video"
    },
    "s12.common.MediaType": {
      "type": "string",
      "enum": [
        "MEDIA_TYPE_IMAGE",
        "MEDIA_TYPE_VIDEO",
        "MEDIA_TYPE_PDF",
        "MEDIA_TYPE_DOCX",
        "MEDIA_TYPE_XLSX",
        "MEDIA_TYPE_PPTX",
        "MEDIA_TYPE_CSV"
      ],
      "description": " - MEDIA_TYPE_IMAGE: An image file (GIF, JPG, PNG, WEBP).\n - MEDIA_TYPE_VIDEO: A video file (MP4, MOV).\n - MEDIA_TYPE_PDF: A PDF document.\n - MEDIA_TYPE_DOCX: A Microsoft Word document (DOCX, DOC).\n - MEDIA_TYPE_XLSX: A Microsoft Excel spreadsheet (XLSX, XLS).\n - MEDIA_TYPE_PPTX: A Microsoft PowerPoint presentation (PPTX, PPT).\n - MEDIA_TYPE_CSV: A CSV file."
    }
  }
}