SafetyCulture · Schema

GetHeadsUpCompletionCountsResponse

Result returned from `GetHeadsUpCompletionCounts`

CompanyBusiness ApplicationsSafetyInspectionWorkplace OperationsEHSComplianceTrainingField Service ManagementWebhookAustralia

Properties

Name Type Description
viewed_count integer ViewedCount represents the total number of assigned users who have viewed a HeadsUp
acknowledged_count integer AcknowledgedCount represents the total number of users who have acknowledged a HeadsUp.
message_count integer MessageCount represents the total number of comments on this HeadsUp.
reaction_summary array Reactions associated for the assigned heads up
View JSON Schema on GitHub

JSON Schema

safetyculture-s12-announcements-v1-get-heads-up-completion-counts-response-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/safetyculture/json-schema/safetyculture-s12-announcements-v1-get-heads-up-completion-counts-response-schema.json",
  "title": "GetHeadsUpCompletionCountsResponse",
  "description": "Result returned from `GetHeadsUpCompletionCounts`",
  "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.GetHeadsUpCompletionCountsResponse",
  "type": "object",
  "properties": {
    "viewed_count": {
      "type": "integer",
      "format": "int32",
      "description": "ViewedCount represents the total number of assigned users who have viewed a\nHeadsUp"
    },
    "acknowledged_count": {
      "type": "integer",
      "format": "int32",
      "description": "AcknowledgedCount represents the total number of users who have\nacknowledged a HeadsUp."
    },
    "message_count": {
      "type": "integer",
      "format": "int32",
      "description": "MessageCount represents the total number of comments on this HeadsUp."
    },
    "reaction_summary": {
      "type": "array",
      "items": {
        "type": "object",
        "$ref": "#/$defs/s12.announcements.v1.HeadsUpReactionSummary"
      },
      "description": "Reactions associated for the assigned heads up"
    }
  },
  "$defs": {
    "s12.announcements.v1.HeadsUpReactionSummary": {
      "type": "object",
      "properties": {
        "emoji_short_code": {
          "type": "string",
          "description": "A string which represents the short code of the emoji"
        },
        "total_reaction_count": {
          "type": "integer",
          "format": "int32",
          "description": "the number of reactions for the given emoji_short_code"
        },
        "did_user_react": {
          "type": "boolean",
          "description": "returns true if the requesting user reacted with the given emoji_short_code, otherwise false"
        },
        "users": {
          "type": "array",
          "items": {
            "type": "object",
            "$ref": "#/$defs/s12.announcements.v1.HeadsUpReactionUser"
          },
          "description": "The list of users who reacted with the given emoji_short_code"
        },
        "reaction_user_limit": {
          "type": "integer",
          "format": "int32",
          "description": "The maximum number of HeadsUpReactionUsers that will be returned.\nShould be use with total count to calculate \"and X others.\""
        }
      },
      "title": "HeadsUpReactionSummary a summary of all the reactions for a given heads up"
    },
    "s12.announcements.v1.HeadsUpReactionUser": {
      "type": "object",
      "properties": {
        "user_id": {
          "type": "string",
          "description": "ID of the user who reacted"
        },
        "user_full_name": {
          "type": "string",
          "description": "Name of the user who reacted"
        },
        "user_profile_picture": {
          "allOf": [
            {
              "$ref": "#/$defs/s12.common.Media"
            }
          ],
          "description": "Profile picture of the user who reacted"
        },
        "created_at": {
          "type": "string",
          "format": "date-time",
          "description": "The time the user reacted"
        }
      },
      "title": "HeadsUpReactionUser represents a user who has reacted to a HeadsUp"
    },
    "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."
    }
  }
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/safetyculture-s12-announcements-v1-get-heads-up-completion-counts-response"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.