{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/snaplogic/main/json-schema/snaplogic-user-app-access-request-schema.json",
  "title": "UserAppAccessRequest",
  "x-generated": "2026-10-03",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/snaplogic-users-and-groups-api-openapi.yml#/components/schemas/UserAppAccessRequest",
  "type": "object",
  "required": [
    "username",
    "action"
  ],
  "properties": {
    "username": {
      "type": "string",
      "description": "Username to update access for"
    },
    "action": {
      "type": "string",
      "enum": [
        "grant",
        "revoke"
      ],
      "description": "Whether to grant or revoke access"
    }
  }
}