# UserOrganizationSchema

## Properties

### kind
- **Type:** string (Optional)  
  The kind of record.

### metadata
- **Type:** object [UserOrganizationMetadataSchema](https://docs.mediakind.com/api-reference/management-api/schemas/userorganizationmetadataschema) (Optional)  
  Metadata.

### id
- **Type:** string (Required, format: uuid)  
  ID of the organization.

### name
- **Type:** string (Required)  
  Name of the organization.

### spec
- **Type:** object [UserOrganizationSpecSchema](https://docs.mediakind.com/api-reference/management-api/schemas/userorganizationspecschema) (Optional)  
  Specification.

### invite
- **Type:** object [UserOrganizationPendingInviteSchema](https://docs.mediakind.com/api-reference/management-api/schemas/userorganizationpendinginviteschema) (Optional)  
  Pending invitation to work with this organization.

#### Properties
- **comment:** string (Required)  
  Comment from the inviter.
- **invitedBy:** string or null (Required)  
  Email of the user who sent the invite.
- **state:** enum (Required)  
  State of the invite. Allowed values: accepted, pending.
