You are entitled to maternity leave if you are an employee. There are two lengths of maternity leave depending on how long you have been working for your employer: Ordinary Maternity Leave and Additional Maternity Leave.
Ordinary Maternity Leave(OML): lasts for 26 weeks. It doesn't matter how many hours you work or how long you have worked for your employer, all employees are entitled to ordinary maternity leave from day one.
Additional Maternity Leave (AML): lasts for 26 weeks and starts at the end of ordinary maternity leave. You are entitled to take additional maternity leave if you have worked for your employer for 26 weeks by the 15th week before your baby is due