Deputy · Schema

Response to get the privilege hierarchy

Workforce ManagementEmployee SchedulingTime and AttendanceTimesheetsHuman ResourcesShift PlanningAustraliaScheduling

Properties

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

JSON Schema

deputy-access-management-get-privilege-hierarchy-response-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/deputy/json-schema/deputy-access-management-get-privilege-hierarchy-response-schema.json",
  "title": "Response to get the privilege hierarchy",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/deputy-access-management-privilege-hierarchy-api-openapi.yml#/components/schemas/AccessManagementGetPrivilegeHierarchyResponse",
  "type": "object",
  "properties": {
    "success": {
      "type": "boolean"
    },
    "privilegeCategories": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/modelPrivilegeCategory"
      }
    }
  },
  "$defs": {
    "modelGenericPrivilege": {
      "type": "object",
      "properties": {
        "collection": {
          "$ref": "#/$defs/modelPrivilegeCollection"
        },
        "privilege": {
          "$ref": "#/$defs/v2modelPrivilege"
        }
      }
    },
    "modelPrivilegeCategory": {
      "type": "object",
      "properties": {
        "title": {
          "type": "string"
        },
        "description": {
          "type": "string"
        },
        "groups": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/modelPrivilegeGroup"
          }
        }
      }
    },
    "modelPrivilegeCollection": {
      "type": "object",
      "properties": {
        "title": {
          "type": "string"
        },
        "privileges": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/modelGenericPrivilege"
          }
        }
      }
    },
    "modelPrivilegeDependency": {
      "type": "object",
      "properties": {
        "privilege": {
          "type": "string"
        },
        "when": {
          "$ref": "#/$defs/modelPrivilegeDependencyCondition",
          "title": "If no when is provided, the dependency is always required"
        }
      }
    },
    "modelPrivilegeDependencyCondition": {
      "type": "object",
      "properties": {
        "privilege": {
          "type": "string"
        },
        "is": {
          "type": "boolean",
          "title": "What the state of the condition privilege is required to be for the dependency to be required"
        }
      }
    },
    "modelPrivilegeGroup": {
      "type": "object",
      "properties": {
        "title": {
          "type": "string"
        },
        "description": {
          "type": "string"
        },
        "privileges": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/modelGenericPrivilege"
          }
        }
      }
    },
    "v2modelPrivilege": {
      "type": "object",
      "properties": {
        "name": {
          "type": "string"
        },
        "title": {
          "type": "string"
        },
        "description": {
          "type": "string"
        },
        "callouts": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "dependencies": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/modelPrivilegeDependency"
          }
        }
      }
    }
  }
}

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-get-privilege-hierarchy-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.