{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/safetyculture/json-schema/safetyculture-s12-directory-v1-remove-users-association-response-schema.json",
  "title": "RemoveUsersAssociationResponse",
  "description": "Result returned from `RemoveUsersAssociationResponse`",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/safetyculture-directory-sites-api-openapi.yml#/components/schemas/s12.directory.v1.RemoveUsersAssociationResponse",
  "type": "object",
  "properties": {
    "user_status": {
      "type": "object",
      "additionalProperties": {
        "$ref": "#/$defs/s12.directory.v1.RemoveUsersAssociationResponse.Status"
      },
      "description": "Map of UserIDs for users with an association type of \"MEMBER\" with their\nresulting status after removing access to the folder. This map corresponds to the\nlist of UserIDs passed through `user_ids` in `RemoveUsersAssociationRequest`\nFor example: <Key,Value> -> <5441fffcde344415bb7ccaceda27e196, Status>"
    },
    "manager_status": {
      "type": "object",
      "additionalProperties": {
        "$ref": "#/$defs/s12.directory.v1.RemoveUsersAssociationResponse.Status"
      },
      "description": "Map of UserIDs for users with an association type of \"MANAGER\" with their\nresulting status after removing access to the folder. This map corresponds to the\nlist of UserIDs passed through `manager_user_ids` in `RemoveUsersAssociationRequest`\nFor example: <Key,Value> -> <5441fffcde344415bb7ccaceda27e196, Status>"
    }
  },
  "$defs": {
    "s12.directory.v1.RemoveUsersAssociationResponse.Status": {
      "type": "string",
      "enum": [
        "UNKNOWN",
        "REMOVED",
        "NOT_FOUND"
      ],
      "default": "UNKNOWN",
      "description": "- UNKNOWN: Status unknown for user\n - REMOVED: User was successfully removed from the folder\n - NOT_FOUND: User folder association was not found",
      "title": "Resulting status values after removing a user from a folder"
    }
  }
}