# system.kanoa.schedule.checkForScheduleOverlap(scheduleBlockInfo, scheduleConfig, rangeStart, rangeEnd)

Checks a new event to schedule or modify, against the asset's current schedule and shift schedule if required and returns a list of start and endDates available

---
### Parameters
**scheduleBlockInfo** `Dictionary`<br />
<table class='dictionaryKeyTable'>
	<tbody>
 	<tr><td> - assetPath</td><td>String</td><td></td></tr>	
 	<tr><td> - endDate</td><td>DateTime</td><td></td></tr>	
 	<tr><td> - startDate</td><td>DateTime</td><td></td></tr>	
	</tbody>
</table>

**scheduleConfig** `Dictionary`<br />
<table class='dictionaryKeyTable'>
	<tbody>
 	<tr><td> - intelligentScheduling</td><td>Boolean</td><td>When enabled, we will check if the event overlaps with existing events</td></tr>	
 	<tr><td> - shiftTimeOnly</td><td>Boolean</td><td></td></tr>	
	</tbody>
</table>

**rangeStart** `DateTime`: Start date of range to check for overlap<br />
**rangeEnd** `DateTime`: End date of range to check for overlap<br />

---
### Returns
**scheduleTimes** `list[dict] i.e. [{'startDate'` 2024-01-01 000000, 'endDate' 2024-01-01 001400}]<br />
**scheduleOverlap** `Boolean` True if overlap detected<br />
**overlappingScheduleBlockList** `List of Dictionaries`<br />

---
### Example
```python
```
