{ "$schema": "https://json-structure.org/schema/v0", "title": "Clerk OrganizationMembership Structure", "description": "JSON Structure overview of Clerk OrganizationMembership entity.", "entity": "OrganizationMembership", "fields": [ { "name": "id", "type": "string", "description": "", "format": null, "nullable": false }, { "name": "object", "type": "string", "description": "String representing the object's type. Objects of the same type share the same value.\n", "format": null, "nullable": false }, { "name": "role", "type": "string", "description": "", "format": null, "nullable": false }, { "name": "role_name", "type": "string", "description": "", "format": null, "nullable": false }, { "name": "permissions", "type": "array", "description": "", "format": null, "nullable": false }, { "name": "public_metadata", "type": "object", "description": "Metadata saved on the organization membership, accessible from both Frontend and Backend APIs", "format": null, "nullable": false }, { "name": "private_metadata", "type": "object", "description": "Metadata saved on the organization membership, accessible only from the Backend API", "format": null, "nullable": false }, { "name": "organization", "type": "object", "description": "", "format": null, "nullable": false }, { "name": "public_user_data", "type": "object", "description": "An organization membership with public user data populated", "format": null, "nullable": false }, { "name": "created_at", "type": "integer", "description": "Unix timestamp of creation.", "format": "int64", "nullable": false }, { "name": "updated_at", "type": "integer", "description": "Unix timestamp of last update.", "format": "int64", "nullable": false } ], "required": [ "object", "id", "role", "permissions", "public_metadata", "created_at", "updated_at", "organization" ] }