prompts.chatprompts.chatprompts.chat
TeamsBotsSkillsPromptsPromptmasters
BookFor KidsDevelopers
Login
CC0 2026 prompts.chat
DeepWikiHow to...DocsAPIPrivacyTermsSupportAboutGitHub

Form Validation Rules for Leave Requests

This prompt defines validation rules for different types of leave requests in a form. It ensures compliance with specific leave conditions based on the type of leave and prevents duplicate requests for overlapping dates.

Ö
@muhtesemozgur9
11 months agoDecember 25, 2025 at 10:27 AM
WorkflowAutomationHR
1

Content

1{
2 "rules": [
3 {
4 "leaveType": "Evlilik İzni",
5 "validity": "Personelin evlenmesi halinde 3 iş günü şeklinde kullandırılır.",
6 "maxDays": 3
7 },
8 {
9 "leaveType": "Doğum İzni (Eş)",
10 "validity": "Personelin eşinin doğum yapması halinde 5 iş günü",
11 "maxDays": 5
12 },
13 {
14 "leaveType": "I.Derece Yakın Ölümü İçin İzin",
15 "validity": "Personelin ana, baba, kardeş, eş ve çocuklarının ölümü halinde 3 iş günü",
16 "maxDays": 3
17 },
18 {
19 "leaveType": "Doğal Afet",
20 "validity": "Doğal afet olması halinde 10 iş gününe kadar kullanılan izindir.",
21 "maxDays": 10
22 },
23 {
24 "leaveType": "Ücretli Doğum İzni",
25 "validity": "Gebelik ve analık halinde Kanunu’na göre islem yapılır. Kadın personelin dogumdan önce 8 hafta ve dogumdan sonra 8 hafta olmak üzere çalıstırılmamaları esastır. Çogul gebelik halinde dogumdan önce çalıstırılmayacak 8 haftalık süreye iki hafta süre eklenir.",
26 "preBirthWeeks": 8,
27 "postBirthWeeks": 8,
28 "extraWeeksForMultiplePregnancy": 2,
29 "workUntilPreWeeks": 3
30 },
31 {
32 "leaveType": "Ücretsiz Doğum İzni",
33 "validity": "Ücretli doğum izninin bitmesi durumunda çalışanın talebi üzerine 6 aya kadar verilen izindir. Parçalar halinde kullanılamaz.",
34 "maxMonths": 6
35 },
36 {
37 "leaveType": "Hamile Çalışan Sağlık Kontrol İzni",
38 "validity": "Hamile çalışanın hamileliğini belgelemesi durumunda aylık kontrollerinde kullanılabilen ve gün kısıtı bulunmayan izin türüdür.",
39 "documentationRequired": true
40 },
41 {
42 "leaveType": "Sosyal Mazeret İzni",
43 "validity": "Çalışanın bir yılda kullanabilecegi mazeret izni toplam 3 iş günüdür. 3 günü aşan izinler yıllık izinden düşürülür.",
44 "maxDaysPerYear": 3
45 },
46 {
47 "leaveType": "Ücretsiz İzin",
48 "validity": "Çalışanın yazılı talebi üzerine işverenin uygun görmesi durumunda kısıtı bulunmayan izin türüdür.",
49 "documentationRequired": true
50 }
51 ],
52 "generalRules": {
53 "duplicateCheck": "Daha önce aynı tarihler içinde bir izin talebi varsa kullanıcının tekrar izin talep etmemeli.",
54 "applicableFormId": 1
55 }
56}

Related Prompts

Annual Leave Balance Adjustment Processor

Text

Processes annual leave requests to adjust leave balances based on specific rules for form_id 1.

Ö@muhtesemozgur9
0

Related Skills

Team Leave and Holiday Coverage Planner

Skill

Plans team leave around minimum staffing, especially over the holidays - checks every workday against role coverage rules (one person fills one slot), decides which requests can be approved in a fair priority order, offers gap-free alternative dates, respects blackout periods, part-time days and half days, and tracks allowances, carry-over and peak days off. Includes an offline stdlib Python planner with --self-test.

F@f
0

Cron Schedule Explainer and Validator

Skill

Explains any cron expression in plain English, lists the next run times, and flags pitfalls such as the day-of-month OR day-of-week rule, dates that never occur, DST gaps, UTC versus local time, and overlapping jobs. Includes a tested stdlib Python checker for crontab files.

Related Bots

Tech Debt Ledger

Bot

Keeps a real ledger of tech debt: collects TODO/FIXME/HACK comments, skipped tests and suppressed lint rules, dates them with git blame, and shows which debts are accruing the most interest.

1 scheduled routine
F@f

Comments (0)

F@f
0

Exuvia

Skill

Operate an AI agent on Exuvia, a public research network for publishing, discussion, peer review, reproduction, shared research spaces, durable context, direct messages, and interactive artifacts. Includes exact workflows, invalid action combinations, failure recovery, and anti-confabulation rules

E@exuviapod
1

CSV Data Quality Profiler

Skill

Profiles CSV and spreadsheet exports before you trust them: infers column types and measures missing values, duplicates, mixed types, outliers, date format chaos, and key uniqueness with a tested Python script, then writes a prioritized data quality report with safe fixes.

F@f
0
0

Role Designer Agent

Bot

Designs non-overlapping agent roles with goals, backstories, and stop conditions for a crew.

F@f1

Flight Delay Lawyer

Bot

When a flight is delayed or cancelled, it immediately tells you your rights (EU261, DOT rules), what to ask for at the counter, and drafts the compensation claim.

1 scheduled routine
F@f0

Visa & Passport Watch

Bot

Checks every upcoming trip against your passports: visa rules, passport validity, transit requirements and entry forms, and warns you early enough to act.

1 scheduled routine
F@f0