SafetyCulture · Schema

FeedScheduleOccurrencesResponse

The response for `FeedScheduleOccurrences` V2

CompanyBusiness ApplicationsSafetyInspectionWorkplace OperationsEHSComplianceTrainingField Service ManagementWebhookAustralia

Properties

Name Type Description
metadata object The metadata for the feed.
data array The flat list of schedule occurrence records.
View JSON Schema on GitHub

JSON Schema

safetyculture-s12-scheduling-feed-v1-feed-schedule-occurrences-response-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/safetyculture/json-schema/safetyculture-s12-scheduling-feed-v1-feed-schedule-occurrences-response-schema.json",
  "title": "FeedScheduleOccurrencesResponse",
  "description": "The response for `FeedScheduleOccurrences` V2",
  "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.scheduling.feed.v1.FeedScheduleOccurrencesResponse",
  "type": "object",
  "properties": {
    "metadata": {
      "description": "The metadata for the feed.",
      "allOf": [
        {
          "$ref": "#/$defs/s12.common.v1.FeedMetadataSimple"
        }
      ]
    },
    "data": {
      "type": "array",
      "items": {
        "type": "object",
        "$ref": "#/$defs/s12.scheduling.feed.v1.FeedScheduleOccurrence"
      },
      "description": "The flat list of schedule occurrence records."
    }
  },
  "$defs": {
    "s12.common.v1.FeedMetadataSimple": {
      "type": "object",
      "properties": {
        "next_page": {
          "type": "string",
          "description": "Full path to retrieve the next page of results, including the next_page_token."
        },
        "next_page_token": {
          "type": "string",
          "description": "The value you can use to retrieve additional results.\nIf a value exists, it means there are more results than listed.\nUse the value in your request body as a page_token to view more results."
        }
      },
      "description": "FeedMetadataSimple for a feed."
    },
    "s12.scheduling.feed.v1.FeedScheduleOccurrence": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string",
          "description": "Unique identifier for this schedule occurrence.\nFormat: `{schedule_id}_{occurrence_id}_{assignee_id}`\nExample: `schedule_123_occ_456_assignee_789`."
        },
        "schedule_id": {
          "type": "string",
          "description": "ID of the schedule that generated this occurrence.\nReferences a schedule from the FeedSchedules endpoint."
        },
        "occurrence_id": {
          "type": "string",
          "description": "ID of the specific occurrence within the schedule's recurrence pattern.\nEach occurrence represents one instance of the scheduled inspection."
        },
        "template_id": {
          "type": "string",
          "description": "ID of the template used for inspections created from this occurrence.\nReferences the inspection template that will be used."
        },
        "start_time": {
          "type": "string",
          "description": "When the occurrence becomes available for inspection (ISO 8601 timestamp format; for example, `2024-01-15T09:00:00Z`)."
        },
        "due_time": {
          "type": "string",
          "description": "Final deadline (ISO 8601 timestamp format; for example, `2024-01-15T17:00:00Z`). After this time, the occurrence is missed and cannot be completed. For schedules with an overdue period, this comes after `miss_time`."
        },
        "miss_time": {
          "type": "string",
          "description": "When this occurrence becomes overdue (ISO 8601 timestamp format).\n• Present only if an overdue period configured; otherwise omitted.\n• Between `miss_time` and `due_time`, unfinished occurrences are `OVERDUE`.\n• It is `null` if an overdue period is not configured."
        },
        "occurrence_status": {
          "type": "string",
          "description": "Current status of this scheduled occurrence.\n• `TODO`: Not started.\n• `IN_PROGRESS`: Inspection has been started but not completed.\n• `COMPLETED`: Inspection has been finished on time.\n• `LATE`: Inspection has been finished after the `miss_time` but before `due_time`.\n• `OVERDUE`: Past `miss_time` but before `due_time`; not started.\n• `MISSED`: Past `due_time` and has not been completed.\n• `WONT_DO`: Intentionally skipped; `wont_do_note` is mandatory for this status."
        },
        "audit_id": {
          "type": "string",
          "description": "ID of the inspection created from this occurrence.\n• Present when the `occurrence_status` is `IN_PROGRESS` or `COMPLETED`.\n• It is `null` for occurrences that haven't been started yet.\n• Use this ID to fetch full inspection details from inspection APIs."
        },
        "completed_at": {
          "type": "string",
          "description": "When this occurrence was marked as completed (ISO 8601 timestamp format).\n• Present only when `occurrence_status` is `COMPLETED`.\n• It is `null` for incomplete occurrences."
        },
        "completion_rule": {
          "type": "string",
          "description": "Completion requirement for the occurrence. One of: `any` (at least one assignee must complete) or `all` (every assignee must complete)."
        },
        "organisation_id": {
          "type": "string",
          "description": "ID of the organization that owns the occurrence."
        },
        "wont_do_note": {
          "type": "string",
          "description": "Reason provided when marking occurrence as `won't do`.\n• Only populated when `occurrence_status` is `WONT_DO`.\n• Contains the explanation for why the occurrence was skipped."
        },
        "assignee_id": {
          "type": "string",
          "description": "ID of the specific entity assigned to complete this occurrence.\n• It could be a user ID, role ID, or location ID, depending on assignment type.\n• Use with FeedScheduleAssignees to get assignee details."
        },
        "assignee_from": {
          "type": "string",
          "description": "Original assignment source that generated this individual occurrence.\n• Format: `{type}_{id}` where type is user, group, role, or location.\n• Examples: `user_xxx`, `role_yyy`, `location_zzz`\n• Shows how this specific assignee was determined from the schedule's assignment rules."
        }
      },
      "description": "A schedule occurrence record returned from `FeedScheduleOccurrences` V2",
      "title": "FeedScheduleOccurrence"
    }
  }
}

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-scheduling-feed-v1-feed-schedule-occurrences-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.