Deputy · Schema

Response to list the history of an employee role

Workforce ManagementEmployee SchedulingTime and AttendanceTimesheetsHuman ResourcesShift PlanningAustraliaScheduling

Properties

Name Type Description
success boolean
changes array
View JSON Schema on GitHub

JSON Schema

deputy-access-management-list-employee-role-history-response-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/deputy/json-schema/deputy-access-management-list-employee-role-history-response-schema.json",
  "title": "Response to list the history of an employee role",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/deputy-access-management-employee-role-history-api-openapi.yml#/components/schemas/AccessManagementListEmployeeRoleHistoryResponse",
  "type": "object",
  "properties": {
    "success": {
      "type": "boolean"
    },
    "changes": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/modelEmployeeRoleHistory"
      }
    }
  },
  "$defs": {
    "EmployeeRoleHistoryEmployeeRoleHistoryValue": {
      "type": "object",
      "properties": {
        "title": {
          "type": "string",
          "title": "The title of the value.  Only populated for multi-valued fields (i.e. alsoReportsTo and privileges)"
        },
        "oldValue": {
          "type": "string",
          "title": "The old value of the field"
        },
        "newValue": {
          "type": "string",
          "title": "The new value of the field"
        }
      }
    },
    "EmployeeRoleHistoryFIELD_NAME": {
      "type": "string",
      "enum": [
        "FIELD_NAME_UNSPECIFIED",
        "NAME",
        "REQUIRE_2FA",
        "REPORTS_TO",
        "ALSO_REPORTS_TO",
        "PRIVILEGES"
      ],
      "default": "FIELD_NAME_UNSPECIFIED",
      "title": "The field that was changed"
    },
    "modelEmployeeRoleHistory": {
      "type": "object",
      "properties": {
        "changedAt": {
          "type": "string",
          "format": "date-time",
          "title": "The time that the change was made"
        },
        "changedBy": {
          "$ref": "#/$defs/tenantauthv2modelEmployee",
          "title": "The employee that made the change"
        },
        "fieldName": {
          "$ref": "#/$defs/EmployeeRoleHistoryFIELD_NAME",
          "title": "The field that was changed"
        },
        "values": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/EmployeeRoleHistoryEmployeeRoleHistoryValue"
          },
          "title": "The values that were changed"
        }
      }
    },
    "tenantauthv2modelEmployee": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string",
          "format": "int64",
          "title": "Employee ID"
        },
        "displayName": {
          "type": "string",
          "title": "Employee display name"
        },
        "primaryLocation": {
          "$ref": "#/$defs/tenantauthv2modelEmployeeLocation",
          "title": "Primary Location"
        }
      },
      "title": "Employee with basic information"
    },
    "tenantauthv2modelEmployeeLocation": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string",
          "format": "int64",
          "title": "Location ID"
        },
        "name": {
          "type": "string",
          "title": "Location name"
        }
      },
      "title": "Primary location information"
    }
  }
}

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/deputy-access-management-list-employee-role-history-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. See our Privacy Policy and Terms.

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