<?xml version="1.0" encoding="UTF-8" ?>
<PermissionSet xmlns="http://soap.sforce.com/2006/04/metadata">
    <description
  >Permission set to provide access to Property Management custom objects and tabs</description>
    <hasActivationRequired>false</hasActivationRequired>
    <label>Property Management Access</label>
    
    <!-- Object Permissions -->
    <objectPermissions>
        <allowCreate>true</allowCreate>
        <allowDelete>true</allowDelete>
        <allowEdit>true</allowEdit>
        <allowRead>true</allowRead>
        <modifyAllRecords>true</modifyAllRecords>
        <object>Property__c</object>
        <viewAllRecords>true</viewAllRecords>
    </objectPermissions>
    
    <objectPermissions>
        <allowCreate>true</allowCreate>
        <allowDelete>true</allowDelete>
        <allowEdit>true</allowEdit>
        <allowRead>true</allowRead>
        <modifyAllRecords>true</modifyAllRecords>
        <object>Property_Owner__c</object>
        <viewAllRecords>true</viewAllRecords>
    </objectPermissions>
    
    <objectPermissions>
        <allowCreate>true</allowCreate>
        <allowDelete>true</allowDelete>
        <allowEdit>true</allowEdit>
        <allowRead>true</allowRead>
        <modifyAllRecords>true</modifyAllRecords>
        <object>Tenant__c</object>
        <viewAllRecords>true</viewAllRecords>
    </objectPermissions>
    
    <objectPermissions>
        <allowCreate>true</allowCreate>
        <allowDelete>true</allowDelete>
        <allowEdit>true</allowEdit>
        <allowRead>true</allowRead>
        <modifyAllRecords>true</modifyAllRecords>
        <object>Lease__c</object>
        <viewAllRecords>true</viewAllRecords>
    </objectPermissions>
    
    <objectPermissions>
        <allowCreate>true</allowCreate>
        <allowDelete>true</allowDelete>
        <allowEdit>true</allowEdit>
        <allowRead>true</allowRead>
        <modifyAllRecords>true</modifyAllRecords>
        <object>Payment__c</object>
        <viewAllRecords>true</viewAllRecords>
    </objectPermissions>
    
    <objectPermissions>
        <allowCreate>true</allowCreate>
        <allowDelete>true</allowDelete>
        <allowEdit>true</allowEdit>
        <allowRead>true</allowRead>
        <modifyAllRecords>true</modifyAllRecords>
        <object>Maintenance_Request__c</object>
        <viewAllRecords>true</viewAllRecords>
    </objectPermissions>
    
    <objectPermissions>
        <allowCreate>true</allowCreate>
        <allowDelete>true</allowDelete>
        <allowEdit>true</allowEdit>
        <allowRead>true</allowRead>
        <modifyAllRecords>true</modifyAllRecords>
        <object>Maintenance_Worker__c</object>
        <viewAllRecords>true</viewAllRecords>
    </objectPermissions>
    
    <objectPermissions>
        <allowCreate>true</allowCreate>
        <allowDelete>true</allowDelete>
        <allowEdit>true</allowEdit>
        <allowRead>true</allowRead>
        <modifyAllRecords>true</modifyAllRecords>
        <object>Property_Sale__c</object>
        <viewAllRecords>true</viewAllRecords>
    </objectPermissions>
    
    <objectPermissions>
        <allowCreate>true</allowCreate>
        <allowDelete>true</allowDelete>
        <allowEdit>true</allowEdit>
        <allowRead>true</allowRead>
        <modifyAllRecords>true</modifyAllRecords>
        <object>KPI_Snapshot__c</object>
        <viewAllRecords>true</viewAllRecords>
    </objectPermissions>
    
    <objectPermissions>
        <allowCreate>true</allowCreate>
        <allowDelete>true</allowDelete>
        <allowEdit>true</allowEdit>
        <allowRead>true</allowRead>
        <modifyAllRecords>true</modifyAllRecords>
        <object>Property_Management_Company__c</object>
        <viewAllRecords>true</viewAllRecords>
    </objectPermissions>
    
    <objectPermissions>
        <allowCreate>true</allowCreate>
        <allowDelete>true</allowDelete>
        <allowEdit>true</allowEdit>
        <allowRead>true</allowRead>
        <modifyAllRecords>true</modifyAllRecords>
        <object>Property_Cost__c</object>
        <viewAllRecords>true</viewAllRecords>
    </objectPermissions>
    
    <objectPermissions>
        <allowCreate>true</allowCreate>
        <allowDelete>true</allowDelete>
        <allowEdit>true</allowEdit>
        <allowRead>true</allowRead>
        <modifyAllRecords>true</modifyAllRecords>
        <object>Application__c</object>
        <viewAllRecords>true</viewAllRecords>
    </objectPermissions>
    
    <objectPermissions>
        <allowCreate>true</allowCreate>
        <allowDelete>true</allowDelete>
        <allowEdit>true</allowEdit>
        <allowRead>true</allowRead>
        <modifyAllRecords>true</modifyAllRecords>
        <object>Property_Feature__c</object>
        <viewAllRecords>true</viewAllRecords>
    </objectPermissions>
    
    <objectPermissions>
        <allowCreate>true</allowCreate>
        <allowDelete>true</allowDelete>
        <allowEdit>true</allowEdit>
        <allowRead>true</allowRead>
        <modifyAllRecords>true</modifyAllRecords>
        <object>Property_Image__c</object>
        <viewAllRecords>true</viewAllRecords>
    </objectPermissions>
    
    <objectPermissions>
        <allowCreate>true</allowCreate>
        <allowDelete>true</allowDelete>
        <allowEdit>true</allowEdit>
        <allowRead>true</allowRead>
        <modifyAllRecords>true</modifyAllRecords>
        <object>Property_Listing__c</object>
        <viewAllRecords>true</viewAllRecords>
    </objectPermissions>
    
    <!-- Field Permissions -->
    <fieldPermissions>
        <editable>true</editable>
        <field>Property__c.Bedrooms__c</field>
        <readable>true</readable>
    </fieldPermissions>
    
    <fieldPermissions>
        <editable>true</editable>
        <field>Property__c.Bathrooms__c</field>
        <readable>true</readable>
    </fieldPermissions>
    
    <fieldPermissions>
        <editable>true</editable>
        <field>Property__c.Square_Footage__c</field>
        <readable>true</readable>
    </fieldPermissions>
    
    <fieldPermissions>
        <editable>true</editable>
        <field>Property__c.Total_Units__c</field>
        <readable>true</readable>
    </fieldPermissions>
    
    <fieldPermissions>
        <editable>true</editable>
        <field>Property_Listing__c.Featured__c</field>
        <readable>true</readable>
    </fieldPermissions>
    
    <fieldPermissions>
        <editable>true</editable>
        <field>Property_Listing__c.Display_Order__c</field>
        <readable>true</readable>
    </fieldPermissions>
    
    <fieldPermissions>
        <editable>true</editable>
        <field>Property_Listing__c.Short_Description__c</field>
        <readable>true</readable>
    </fieldPermissions>
    
    <fieldPermissions>
        <editable>true</editable>
        <field>Property_Listing__c.Marketing_Description__c</field>
        <readable>true</readable>
    </fieldPermissions>
    
    <fieldPermissions>
        <editable>true</editable>
        <field>Property_Image__c.Display_Order__c</field>
        <readable>true</readable>
    </fieldPermissions>
    
    <fieldPermissions>
        <editable>true</editable>
        <field>Property_Image__c.Alt_Text__c</field>
        <readable>true</readable>
    </fieldPermissions>
    
    <fieldPermissions>
        <editable>true</editable>
        <field>Property__c.Description__c</field>
        <readable>true</readable>
    </fieldPermissions>
    
    <!-- Maintenance Request Field Permissions -->
    <fieldPermissions>
        <editable>true</editable>
        <field>Maintenance_Request__c.Property__c</field>
        <readable>true</readable>
    </fieldPermissions>
    
    <fieldPermissions>
        <editable>true</editable>
        <field>Maintenance_Request__c.Tenant__c</field>
        <readable>true</readable>
    </fieldPermissions>
 
    <fieldPermissions>
        <editable>true</editable>
        <field>Maintenance_Request__c.Scheduled_Date__c</field>
        <readable>true</readable>
    </fieldPermissions>

    <fieldPermissions>
        <editable>true</editable>
        <field>Maintenance_Request__c.Completed_Date__c</field>
        <readable>true</readable>
    </fieldPermissions>
    
    
    <fieldPermissions>
        <editable>true</editable>
        <field>Maintenance_Request__c.Type__c</field>
        <readable>true</readable>
    </fieldPermissions>
    
    <fieldPermissions>
        <editable>true</editable>
        <field>Maintenance_Request__c.Title__c</field>
        <readable>true</readable>
    </fieldPermissions>
    
    <fieldPermissions>
        <editable>true</editable>
        <field>Maintenance_Request__c.Description__c</field>
        <readable>true</readable>
    </fieldPermissions>
    
    <fieldPermissions>
        <editable>true</editable>
        <field>Maintenance_Request__c.Estimated_Cost__c</field>
        <readable>true</readable>
    </fieldPermissions>
    
    <fieldPermissions>
        <editable>true</editable>
        <field>Maintenance_Request__c.Assigned_Worker__c</field>
        <readable>true</readable>
    </fieldPermissions>
    
    <!-- Maintenance Worker Field Permissions -->
    <fieldPermissions>
        <editable>true</editable>
        <field>Maintenance_Worker__c.Phone__c</field>
        <readable>true</readable>
    </fieldPermissions>
    
    <fieldPermissions>
        <editable>true</editable>
        <field>Maintenance_Worker__c.Email__c</field>
        <readable>true</readable>
    </fieldPermissions>
    
    <fieldPermissions>
        <editable>true</editable>
        <field>Maintenance_Worker__c.Specialty__c</field>
        <readable>true</readable>
    </fieldPermissions>
    
    <fieldPermissions>
        <editable>true</editable>
        <field>Maintenance_Worker__c.Profile_Picture_URL__c</field>
        <readable>true</readable>
    </fieldPermissions>
    
    <fieldPermissions>
        <editable>true</editable>
        <field>Maintenance_Worker__c.Years_Experience__c</field>
        <readable>true</readable>
    </fieldPermissions>
    
    <fieldPermissions>
        <editable>true</editable>
        <field>Maintenance_Worker__c.Active__c</field>
        <readable>true</readable>
    </fieldPermissions>
    
    <!-- Tenant Field Permissions -->
    <fieldPermissions>
        <editable>true</editable>
        <field>Tenant__c.Phone__c</field>
        <readable>true</readable>
    </fieldPermissions>
    
    <fieldPermissions>
        <editable>true</editable>
        <field>Tenant__c.Emergency_Contact__c</field>
        <readable>true</readable>
    </fieldPermissions>
    
    <fieldPermissions>
        <editable>true</editable>
        <field>Tenant__c.Emergency_Contact_Phone__c</field>
        <readable>true</readable>
    </fieldPermissions>

    <!-- Lease Field Permissions -->
    <fieldPermissions>
        <editable>true</editable>
        <field>Lease__c.Tenant__c</field>
        <readable>true</readable>
    </fieldPermissions>
    
    <fieldPermissions>
        <editable>true</editable>
        <field>Lease__c.Security_Deposit__c</field>
        <readable>true</readable>
    </fieldPermissions>
    
    <!-- Payment Field Permissions -->
    <fieldPermissions>
        <editable>true</editable>
        <field>Payment__c.Notes__c</field>
        <readable>true</readable>
    </fieldPermissions>
    
    <!-- Property Feature Field Permissions -->
    <fieldPermissions>
        <editable>true</editable>
        <field>Property_Feature__c.Description__c</field>
        <readable>true</readable>
    </fieldPermissions>
    
    <fieldPermissions>
        <editable>true</editable>
        <field>Property_Feature__c.Display_on_Listing__c</field>
        <readable>true</readable>
    </fieldPermissions>

    <!-- Property Cost Field Permissions -->
    <fieldPermissions>
        <editable>true</editable>
        <field>Property_Cost__c.Description__c</field>
        <readable>true</readable>
    </fieldPermissions>
    
    <fieldPermissions>
        <editable>true</editable>
        <field>Property_Cost__c.Vendor__c</field>
        <readable>true</readable>
    </fieldPermissions>
    
    <!-- KPI Snapshot Field Permissions -->
    <fieldPermissions>
        <editable>true</editable>
        <field>KPI_Snapshot__c.Previous_Month_Sales__c</field>
        <readable>true</readable>
    </fieldPermissions>
    
    <fieldPermissions>
        <editable>true</editable>
        <field>KPI_Snapshot__c.Sales_MoM_Change__c</field>
        <readable>true</readable>
    </fieldPermissions>
    
    <fieldPermissions>
        <editable>true</editable>
        <field>KPI_Snapshot__c.Units_Available__c</field>
        <readable>true</readable>
    </fieldPermissions>
    
    <fieldPermissions>
        <editable>true</editable>
        <field>KPI_Snapshot__c.Units_Occupied__c</field>
        <readable>true</readable>
    </fieldPermissions>

    <!-- Property Management Company Field Permissions -->
    <fieldPermissions>
        <editable>true</editable>
        <field>Property_Management_Company__c.Phone__c</field>
        <readable>true</readable>
    </fieldPermissions>
    
    <fieldPermissions>
        <editable>true</editable>
        <field>Property_Management_Company__c.Email__c</field>
        <readable>true</readable>
    </fieldPermissions>
    
    <fieldPermissions>
        <editable>true</editable>
        <field>Property_Management_Company__c.Active__c</field>
        <readable>true</readable>
    </fieldPermissions>

    <!-- Property Owner Field Permissions -->
    <fieldPermissions>
        <editable>true</editable>
        <field>Property_Owner__c.Phone__c</field>
        <readable>true</readable>
    </fieldPermissions>
    
    <fieldPermissions>
        <editable>true</editable>
        <field>Property_Owner__c.Address__c</field>
        <readable>true</readable>
    </fieldPermissions>

    <!-- Property Additional Field Permissions -->
    <fieldPermissions>
        <editable>true</editable>
        <field>Property__c.Property_Owner__c</field>
        <readable>true</readable>
    </fieldPermissions>
    
    <fieldPermissions>
        <editable>true</editable>
        <field>Property__c.Year_Built__c</field>
        <readable>true</readable>
    </fieldPermissions>
    
    <fieldPermissions>
        <editable>true</editable>
        <field>Property__c.Purchase_Price__c</field>
        <readable>true</readable>
    </fieldPermissions>
    
    <fieldPermissions>
        <editable>true</editable>
        <field>Property__c.Property_Value__c</field>
        <readable>true</readable>
    </fieldPermissions>

    <!-- Application__c Field Permissions -->
    <fieldPermissions>
        <editable>true</editable>
        <field>Application__c.Property__c</field>
        <readable>true</readable>
    </fieldPermissions>
    <fieldPermissions>
        <editable>true</editable>
        <field>Application__c.User__c</field>
        <readable>true</readable>
    </fieldPermissions>
    <fieldPermissions>
        <editable>true</editable>
        <field>Application__c.Status__c</field>
        <readable>true</readable>
    </fieldPermissions>
    <fieldPermissions>
        <editable>true</editable>
        <field>Application__c.Employment_Info__c</field>
        <readable>true</readable>
    </fieldPermissions>
    <fieldPermissions>
        <editable>true</editable>
        <field>Application__c.References__c</field>
        <readable>true</readable>
    </fieldPermissions>
    <fieldPermissions>
        <editable>true</editable>
        <field>Application__c.Start_Date__c</field>
        <readable>true</readable>
    </fieldPermissions>

    <!-- Tenant__c New Field Permissions -->
    <fieldPermissions>
        <editable>true</editable>
        <field>Tenant__c.Status__c</field>
        <readable>true</readable>
    </fieldPermissions>
    <fieldPermissions>
        <editable>true</editable>
        <field>Tenant__c.User_Status__c</field>
        <readable>true</readable>
    </fieldPermissions>
    <fieldPermissions>
        <editable>true</editable>
        <field>Tenant__c.Lease_Start_Date__c</field>
        <readable>true</readable>
    </fieldPermissions>
    <fieldPermissions>
        <editable>true</editable>
        <field>Tenant__c.Lease_End_Date__c</field>
        <readable>true</readable>
    </fieldPermissions>
    <fieldPermissions>
        <editable>true</editable>
        <field>Tenant__c.User__c</field>
        <readable>true</readable>
    </fieldPermissions>
    <fieldPermissions>
        <editable>true</editable>
        <field>Tenant__c.Lease_Property__c</field>
        <readable>true</readable>
    </fieldPermissions>

    <!-- Property__c New Field Permissions -->
    <fieldPermissions>
        <editable>true</editable>
        <field>Property__c.Features__c</field>
        <readable>true</readable>
    </fieldPermissions>
    <fieldPermissions>
        <editable>true</editable>
        <field>Property__c.Lease_Term__c</field>
        <readable>true</readable>
    </fieldPermissions>
    <fieldPermissions>
        <editable>true</editable>
        <field>Property__c.Available_Date__c</field>
        <readable>true</readable>
    </fieldPermissions>
    <fieldPermissions>
        <editable>true</editable>
        <field>Property__c.Tour_URL__c</field>
        <readable>true</readable>
    </fieldPermissions>

    <!-- Maintenance_Request__c New Field Permissions -->
    <fieldPermissions>
        <editable>true</editable>
        <field>Maintenance_Request__c.Tenant_Present__c</field>
        <readable>true</readable>
    </fieldPermissions>
    <fieldPermissions>
        <editable>true</editable>
        <field>Maintenance_Request__c.Actual_Cost__c</field>
        <readable>true</readable>
    </fieldPermissions>
    <fieldPermissions>
        <editable>true</editable>
        <field>Maintenance_Request__c.Photo_URL__c</field>
        <readable>true</readable>
    </fieldPermissions>

    <!-- Maintenance_Worker__c New Field Permissions -->
    <fieldPermissions>
        <editable>true</editable>
        <field>Maintenance_Worker__c.Rating__c</field>
        <readable>true</readable>
    </fieldPermissions>
    <fieldPermissions>
        <editable>true</editable>
        <field>Maintenance_Worker__c.Hourly_Rate__c</field>
        <readable>true</readable>
    </fieldPermissions>
    <fieldPermissions>
        <editable>true</editable>
        <field>Maintenance_Worker__c.Certifications__c</field>
        <readable>true</readable>
    </fieldPermissions>
    <fieldPermissions>
        <editable>true</editable>
        <field>Maintenance_Worker__c.Location__c</field>
        <readable>true</readable>
    </fieldPermissions>

    
    <!-- Tab Visibility -->
    <tabSettings>
        <tab>Application__c</tab>
        <visibility>Visible</visibility>
    </tabSettings>
    <tabSettings>
        <tab>Property__c</tab>
        <visibility>Visible</visibility>
    </tabSettings>
    
    <tabSettings>
        <tab>Property_Owner__c</tab>
        <visibility>Visible</visibility>
    </tabSettings>
    
    <tabSettings>
        <tab>Tenant__c</tab>
        <visibility>Visible</visibility>
    </tabSettings>
    
    <tabSettings>
        <tab>Lease__c</tab>
        <visibility>Visible</visibility>
    </tabSettings>
    
    <tabSettings>
        <tab>Payment__c</tab>
        <visibility>Visible</visibility>
    </tabSettings>
    
    <tabSettings>
        <tab>Maintenance_Request__c</tab>
        <visibility>Visible</visibility>
    </tabSettings>
    
    <tabSettings>
        <tab>Maintenance_Worker__c</tab>
        <visibility>Visible</visibility>
    </tabSettings>
    
    <tabSettings>
        <tab>Property_Sale__c</tab>
        <visibility>Visible</visibility>
    </tabSettings>
    
    <tabSettings>
        <tab>KPI_Snapshot__c</tab>
        <visibility>Visible</visibility>
    </tabSettings>
</PermissionSet>
