{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/snyk/main/json-schema/snyk-update-org-membership-request-body20240825-schema.json",
  "title": "UpdateOrgMembershipRequestBody20240825",
  "x-generated": "2026-10-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/snyk-orgs-api-openapi.yml#/components/schemas/UpdateOrgMembershipRequestBody20240825",
  "additionalProperties": false,
  "properties": {
    "attributes": {
      "type": "object"
    },
    "id": {
      "description": "The Snyk ID of the organization.",
      "format": "uuid",
      "type": "string"
    },
    "relationships": {
      "additionalProperties": false,
      "properties": {
        "role": {
          "properties": {
            "data": {
              "additionalProperties": false,
              "properties": {
                "id": {
                  "description": "The Snyk ID of the Org Role.",
                  "format": "uuid",
                  "type": "string"
                },
                "type": {
                  "description": "The type of the resource. Always 'org_role'.",
                  "type": "string"
                }
              },
              "required": [
                "type",
                "id"
              ],
              "type": "object"
            }
          },
          "type": "object"
        }
      },
      "required": [
        "role"
      ],
      "type": "object"
    },
    "type": {
      "description": "The type of the resource. Always 'org_membership'.",
      "type": "string"
    }
  },
  "required": [
    "type",
    "id",
    "relationships"
  ],
  "type": "object"
}