{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/snyk/main/json-schema/snyk-user-patch-request-body-schema.json",
  "title": "UserPatchRequestBody",
  "x-generated": "2026-10-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/snyk-users-api-openapi.yml#/components/schemas/UserPatchRequestBody",
  "additionalProperties": false,
  "properties": {
    "attributes": {
      "properties": {
        "membership": {
          "properties": {
            "role": {
              "description": "Role name",
              "type": "string"
            }
          },
          "type": [
            "object",
            "null"
          ]
        }
      },
      "required": [
        "membership"
      ],
      "type": "object"
    },
    "id": {
      "description": "The Snyk ID corresponding to this user",
      "format": "uuid",
      "type": "string"
    },
    "type": {
      "description": "Content type",
      "type": "string"
    }
  },
  "required": [
    "type",
    "id",
    "attributes"
  ],
  "type": "object"
}