پرش به محتوا

پودمان:AlborzEducation/Data: تفاوت میان نسخه‌ها

از ویکی البرز
جزبدون خلاصۀ ویرایش
جزبدون خلاصۀ ویرایش
 
خط ۶: خط ۶:
-- No rendering logic exists in this module.
-- No rendering logic exists in this module.
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
local p = {}
local p = {}
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
-- MODULE INFORMATION
-- MODULE INFORMATION
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
p.meta = {
p.meta = {
     name = "AlborzEducation",
     name = "AlborzEducation",
خط ۲۱: خط ۱۸:
     date = "2026-07-26"
     date = "2026-07-26"
}
}
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
-- GROUP DEFINITIONS
-- GROUP DEFINITIONS
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
p.groups = {
p.groups = {
 
    ----------------------------------------------------------------------------
    -- Identity
    ----------------------------------------------------------------------------
     identity = {
     identity = {
         label = "اطلاعات پایه",
         label = "اطلاعات پایه",
         icon = "🏫"
         icon = "🏫"
     },
     },
 
    ----------------------------------------------------------------------------
    -- Classification
    ----------------------------------------------------------------------------
     classification = {
     classification = {
         label = "طبقه‌بندی",
         label = "طبقه‌بندی",
         icon = "📘"
         icon = "📘"
     },
     },
 
    ----------------------------------------------------------------------------
    -- Management
    ----------------------------------------------------------------------------
     management = {
     management = {
         label = "مدیریت",
         label = "مدیریت",
         icon = "👤"
         icon = "👤"
     },
     },
 
    ----------------------------------------------------------------------------
    -- Location
    ----------------------------------------------------------------------------
     location = {
     location = {
         label = "موقعیت",
         label = "موقعیت",
         icon = "📍"
         icon = "📍"
     },
     },
 
    ----------------------------------------------------------------------------
    -- Contact
    ----------------------------------------------------------------------------
     contact = {
     contact = {
         label = "اطلاعات تماس",
         label = "اطلاعات تماس",
         icon = "☎️"
         icon = "☎️"
     },
     },
 
    ----------------------------------------------------------------------------
    -- Statistics
    ----------------------------------------------------------------------------
     statistics = {
     statistics = {
         label = "آمار",
         label = "آمار",
         icon = "📊"
         icon = "📊"
     },
     },
 
    ----------------------------------------------------------------------------
    -- Facilities
    ----------------------------------------------------------------------------
     facilities = {
     facilities = {
         label = "امکانات",
         label = "امکانات",
         icon = "🏢"
         icon = "🏢"
     },
     },
 
    ----------------------------------------------------------------------------
    -- Achievements
    ----------------------------------------------------------------------------
     achievements = {
     achievements = {
         label = "افتخارات",
         label = "افتخارات",
         icon = "🏆"
         icon = "🏆"
    },
    ----------------------------------------------------------------------------
    -- Metadata
    ----------------------------------------------------------------------------
    metadata = {
        label = "اطلاعات سامانه",
        icon = "🗂️"
     }
     }
}
}
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
-- PARAMETER LOOKUP
-- PARAMETER LOOKUP
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
p.lookup = {
p.lookup = {
     ----------------------------------------------------------------------------
     ----------------------------------------------------------------------------
     -- Identity
     -- Identity
     ----------------------------------------------------------------------------
     ----------------------------------------------------------------------------
     ["شناسه"] = "id",
     ["شناسه"] = "id",
     ["id"] = "id",
     ["id"] = "id",
     ["نام"] = "name",
     ["نام"] = "name",
     ["name"] = "name",
     ["name"] = "name",
     ["نام کامل"] = "fullname",
     ["نام کامل"] = "fullname",
     ["fullname"] = "fullname",
     ["fullname"] = "fullname",
     ["full_name"] = "fullname",
     ["full_name"] = "fullname",
     ["نام انگلیسی"] = "enname",
     ["نام انگلیسی"] = "enname",
     ["enname"] = "enname",
     ["enname"] = "enname",
     ["english_name"] = "enname",
     ["english_name"] = "enname",
     ["نام‌های دیگر"] = "othernames",
     ["نام‌های دیگر"] = "othernames",
     ["نامهای دیگر"] = "othernames",
     ["نامهای دیگر"] = "othernames",
     ["other_names"] = "othernames",
     ["other_names"] = "othernames",
     ["othernames"] = "othernames",
     ["othernames"] = "othernames",
     ["تصویر"] = "image",
     ["تصویر"] = "image",
     ["image"] = "image",
     ["image"] = "image",
     ["لوگو"] = "logo",
     ["لوگو"] = "logo",
     ["logo"] = "logo",
     ["logo"] = "logo",
     ["توضیح تصویر"] = "caption",
     ["توضیح تصویر"] = "caption",
     ["caption"] = "caption",
     ["caption"] = "caption",
     ["شعار"] = "motto",
     ["شعار"] = "motto",
     ["motto"] = "motto",
     ["motto"] = "motto",
     ----------------------------------------------------------------------------
     ----------------------------------------------------------------------------
     -- Classification
     -- Classification
     ----------------------------------------------------------------------------
     ----------------------------------------------------------------------------
     ["نوع"] = "type",
     ["نوع"] = "type",
     ["نوع مرکز"] = "type",
     ["نوع مرکز"] = "type",
    ["نوع آموزشگاه"] = "type",
    ["رده مرکز"] = "type",
     ["type"] = "type",
     ["type"] = "type",
     ["مقطع"] = "level",
     ["مقطع"] = "level",
     ["level"] = "level",
     ["level"] = "level",
     ["جنسیت"] = "gender",
     ["جنسیت"] = "gender",
     ["gender"] = "gender",
     ["gender"] = "gender",
     ["مالکیت"] = "ownership",
     ["مالکیت"] = "ownership",
     ["وضعیت مالکیت"] = "ownership",
     ["وضعیت مالکیت"] = "ownership",
     ["ownership"] = "ownership",
     ["ownership"] = "ownership",
     ["وابستگی"] = "affiliation",
     ["وابستگی"] = "affiliation",
     ["affiliation"] = "affiliation",
     ["affiliation"] = "affiliation",
     ["وضعیت"] = "status",
     ["وضعیت"] = "status",
     ["status"] = "status",
     ["status"] = "status",
     ["منطقه آموزش و پرورش"] = "educationdistrict",
     ["منطقه آموزش و پرورش"] = "educationdistrict",
     ["ناحیه آموزش و پرورش"] = "educationdistrict",
     ["ناحیه آموزش و پرورش"] = "educationdistrict",
     ["educationdistrict"] = "educationdistrict",
     ["educationdistrict"] = "educationdistrict",
     ["کد مدرسه"] = "schoolcode",
     ["کد مدرسه"] = "schoolcode",
     ["schoolcode"] = "schoolcode",
     ["schoolcode"] = "schoolcode",
     ["شناسه ملی"] = "nationalcode",
     ["شناسه ملی"] = "nationalcode",
     ["nationalcode"] = "nationalcode",
     ["nationalcode"] = "nationalcode",
     ["شیوه آموزش"] = "educationtype",
     ["شیوه آموزش"] = "educationtype",
     ["educationtype"] = "educationtype",
     ["educationtype"] = "educationtype",
     ----------------------------------------------------------------------------
     ----------------------------------------------------------------------------
     -- Management
     -- Management
     ----------------------------------------------------------------------------
     ----------------------------------------------------------------------------
     ["سال تأسیس"] = "established",
     ["سال تأسیس"] = "established",
     ["سال تاسیس"] = "established",
     ["سال تاسیس"] = "established",
     ["تأسیس"] = "established",
     ["تأسیس"] = "established",
     ["established"] = "established",
     ["established"] = "established",
     ["بنیان‌گذار"] = "founder",
     ["بنیان‌گذار"] = "founder",
     ["بنیانگذار"] = "founder",
     ["بنیانگذار"] = "founder",
     ["founder"] = "founder",
     ["founder"] = "founder",
     ["مدیر"] = "principal",
     ["مدیر"] = "principal",
     ["مدیر مدرسه"] = "principal",
     ["مدیر مدرسه"] = "principal",
خط ۱۶۹: خط ۱۵۸:
     ["principal"] = "principal",
     ["principal"] = "principal",
     ["headmaster"] = "principal",
     ["headmaster"] = "principal",
     ["معاون"] = "deputy",
     ["معاون"] = "deputy",
     ["deputy"] = "deputy",
     ["deputy"] = "deputy",
     ["مدیران پیشین"] = "formerprincipals",
     ["مدیران پیشین"] = "formerprincipals",
     ["formerprincipals"] = "formerprincipals",
     ["formerprincipals"] = "formerprincipals",
خط ۱۷۸: خط ۱۶۵:
     -- Location
     -- Location
     ----------------------------------------------------------------------------
     ----------------------------------------------------------------------------
     ["کشور"] = "country",
     ["کشور"] = "country",
     ["country"] = "country",
     ["country"] = "country",
     ["استان"] = "province",
     ["استان"] = "province",
     ["province"] = "province",
     ["province"] = "province",
     ["شهرستان"] = "county",
     ["شهرستان"] = "county",
     ["county"] = "county",
     ["county"] = "county",
     ["شهر"] = "city",
     ["شهر"] = "city",
     ["city"] = "city",
     ["city"] = "city",
     ["بخش"] = "district",
     ["بخش"] = "district",
     ["district"] = "district",
     ["district"] = "district",
     ["محله"] = "neighborhood",
     ["محله"] = "neighborhood",
     ["neighborhood"] = "neighborhood",
     ["neighborhood"] = "neighborhood",
     ["خیابان"] = "street",
     ["خیابان"] = "street",
     ["street"] = "street",
     ["street"] = "street",
     ["نشانی"] = "address",
     ["نشانی"] = "address",
     ["آدرس"] = "address",
     ["آدرس"] = "address",
     ["address"] = "address",
     ["address"] = "address",
     ["کدپستی"] = "postcode",
     ["کدپستی"] = "postcode",
     ["postcode"] = "postcode",
     ["postcode"] = "postcode",
     ["مختصات"] = "coordinates",
     ["مختصات"] = "coordinates",
     ["coordinates"] = "coordinates",
     ["coordinates"] = "coordinates",
     ["نقشه"] = "maps",
     ["نقشه"] = "maps",
     ["maps"] = "maps",
     ["maps"] = "maps",
     ----------------------------------------------------------------------------
     ----------------------------------------------------------------------------
     -- Contact
     -- Contact
     ----------------------------------------------------------------------------
     ----------------------------------------------------------------------------
     ["تلفن"] = "phone",
     ["تلفن"] = "phone",
     ["شماره تماس"] = "phone",
     ["شماره تماس"] = "phone",
     ["phone"] = "phone",
     ["phone"] = "phone",
     ["تلفن دوم"] = "phone2",
     ["تلفن دوم"] = "phone2",
     ["phone2"] = "phone2",
     ["phone2"] = "phone2",
     ["نمابر"] = "fax",
     ["نمابر"] = "fax",
     ["فکس"] = "fax",
     ["فکس"] = "fax",
     ["fax"] = "fax",
     ["fax"] = "fax",
     ["ایمیل"] = "email",
     ["ایمیل"] = "email",
     ["email"] = "email",
     ["email"] = "email",
     ["وبگاه"] = "website",
     ["وبگاه"] = "website",
     ["وب‌گاه"] = "website",
     ["وب‌گاه"] = "website",
خط ۲۳۷: خط ۲۰۶:
     ["وب‌سایت"] = "website",
     ["وب‌سایت"] = "website",
     ["website"] = "website",
     ["website"] = "website",
     ["اینستاگرام"] = "instagram",
     ["اینستاگرام"] = "instagram",
     ["instagram"] = "instagram",
     ["instagram"] = "instagram",
     ["تلگرام"] = "telegram",
     ["تلگرام"] = "telegram",
     ["telegram"] = "telegram",
     ["telegram"] = "telegram",
     ["آپارات"] = "aparat",
     ["آپارات"] = "aparat",
     ["aparat"] = "aparat",
     ["aparat"] = "aparat",
     ["ویکی‌پدیا"] = "wikipedia",
     ["ویکی‌پدیا"] = "wikipedia",
     ["wikipedia"] = "wikipedia",
     ["wikipedia"] = "wikipedia",
خط ۲۵۲: خط ۲۱۷:
     -- Statistics
     -- Statistics
     ----------------------------------------------------------------------------
     ----------------------------------------------------------------------------
     ["تعداد دانش‌آموز"] = "students",
     ["تعداد دانش‌آموز"] = "students",
     ["دانش‌آموز"] = "students",
     ["دانش‌آموز"] = "students",
     ["students"] = "students",
     ["students"] = "students",
     ["تعداد معلم"] = "teachers",
     ["تعداد معلم"] = "teachers",
     ["معلم"] = "teachers",
     ["معلم"] = "teachers",
     ["teachers"] = "teachers",
     ["teachers"] = "teachers",
     ["تعداد کارکنان"] = "staff",
     ["تعداد کارکنان"] = "staff",
     ["کارکنان"] = "staff",
     ["کارکنان"] = "staff",
     ["staff"] = "staff",
     ["staff"] = "staff",
     ["تعداد کلاس"] = "classrooms",
     ["تعداد کلاس"] = "classrooms",
     ["کلاس‌ها"] = "classrooms",
     ["کلاس‌ها"] = "classrooms",
     ["classrooms"] = "classrooms",
     ["classrooms"] = "classrooms",
     ["ظرفیت"] = "capacity",
     ["ظرفیت"] = "capacity",
     ["capacity"] = "capacity",
     ["capacity"] = "capacity",
     ["میانگین دانش‌آموز در کلاس"] = "studentperclass",
     ["میانگین دانش‌آموز در کلاس"] = "studentperclass",
     ["studentperclass"] = "studentperclass",
     ["studentperclass"] = "studentperclass",
     ["شیفت آموزشی"] = "academicshifts",
     ["شیفت آموزشی"] = "academicshifts",
     ["academicshifts"] = "academicshifts",
     ["academicshifts"] = "academicshifts",
     ["پایه‌های تحصیلی"] = "grades",
     ["پایه‌های تحصیلی"] = "grades",
     ["پایه تحصیلی"] = "grades",
     ["پایه تحصیلی"] = "grades",
     ["grades"] = "grades",
     ["grades"] = "grades",
     ----------------------------------------------------------------------------
     ----------------------------------------------------------------------------
     -- Facilities
     -- Facilities
     ----------------------------------------------------------------------------
     ----------------------------------------------------------------------------
     ["کتابخانه"] = "library",
     ["کتابخانه"] = "library",
     ["library"] = "library",
     ["library"] = "library",
     ["آزمایشگاه"] = "laboratory",
     ["آزمایشگاه"] = "laboratory",
     ["laboratory"] = "laboratory",
     ["laboratory"] = "laboratory",
     ["کارگاه رایانه"] = "computerlab",
     ["کارگاه رایانه"] = "computerlab",
     ["آزمایشگاه رایانه"] = "computerlab",
     ["آزمایشگاه رایانه"] = "computerlab",
     ["computerlab"] = "computerlab",
     ["computerlab"] = "computerlab",
     ["کلاس هوشمند"] = "smartclass",
     ["کلاس هوشمند"] = "smartclass",
     ["smartclass"] = "smartclass",
     ["smartclass"] = "smartclass",
     ["سالن ورزشی"] = "gym",
     ["سالن ورزشی"] = "gym",
     ["gym"] = "gym",
     ["gym"] = "gym",
     ["زمین ورزشی"] = "playground",
     ["زمین ورزشی"] = "playground",
     ["playground"] = "playground",
     ["playground"] = "playground",
     ["نمازخانه"] = "prayerroom",
     ["نمازخانه"] = "prayerroom",
     ["prayerroom"] = "prayerroom",
     ["prayerroom"] = "prayerroom",
     ["بوفه"] = "buffet",
     ["بوفه"] = "buffet",
     ["buffet"] = "buffet",
     ["buffet"] = "buffet",
     ["سرویس مدرسه"] = "transport",
     ["سرویس مدرسه"] = "transport",
     ["transport"] = "transport",
     ["transport"] = "transport",
     ["اینترنت"] = "internet",
     ["اینترنت"] = "internet",
     ["internet"] = "internet",
     ["internet"] = "internet",
     ["دوربین مداربسته"] = "cctv",
     ["دوربین مداربسته"] = "cctv",
     ["cctv"] = "cctv",
     ["cctv"] = "cctv",
     ["آسانسور"] = "elevator",
     ["آسانسور"] = "elevator",
     ["elevator"] = "elevator",
     ["elevator"] = "elevator",
     ["مناسب‌سازی معلولان"] = "accessibility",
     ["مناسب‌سازی معلولان"] = "accessibility",
     ["accessibility"] = "accessibility",
     ["accessibility"] = "accessibility",
     ["سالن غذاخوری"] = "canteen",
     ["سالن غذاخوری"] = "canteen",
     ["canteen"] = "canteen",
     ["canteen"] = "canteen",
     ["اتاق بهداشت"] = "medicalroom",
     ["اتاق بهداشت"] = "medicalroom",
     ["medicalroom"] = "medicalroom",
     ["medicalroom"] = "medicalroom",
     ["مشاوره"] = "counseling",
     ["مشاوره"] = "counseling",
     ["counseling"] = "counseling",
     ["counseling"] = "counseling",
     ["نگهبانی"] = "security",
     ["نگهبانی"] = "security",
     ["security"] = "security",
     ["security"] = "security",
     ----------------------------------------------------------------------------
     ----------------------------------------------------------------------------
     -- Achievements
     -- Achievements
     ----------------------------------------------------------------------------
     ----------------------------------------------------------------------------
     ["افتخارات علمی"] = "scientific",
     ["افتخارات علمی"] = "scientific",
     ["scientific"] = "scientific",
     ["scientific"] = "scientific",
     ["افتخارات فرهنگی"] = "cultural",
     ["افتخارات فرهنگی"] = "cultural",
     ["cultural"] = "cultural",
     ["cultural"] = "cultural",
     ["افتخارات ورزشی"] = "sports",
     ["افتخارات ورزشی"] = "sports",
     ["sports"] = "sports",
     ["sports"] = "sports",
     ["مسابقات و جشنواره‌ها"] = "competitions",
     ["مسابقات و جشنواره‌ها"] = "competitions",
     ["competitions"] = "competitions",
     ["competitions"] = "competitions",
     ["موفقیت‌های کنکور"] = "entranceexam",
     ["موفقیت‌های کنکور"] = "entranceexam",
     ["entranceexam"] = "entranceexam",
     ["entranceexam"] = "entranceexam",
     ["فارغ‌التحصیلان شناخته‌شده"] = "alumni",
     ["فارغ‌التحصیلان شناخته‌شده"] = "alumni",
     ["alumni"] = "alumni",
     ["alumni"] = "alumni",
     ["تاریخچه"] = "history",
     ["تاریخچه"] = "history",
     ["history"] = "history",
     ["history"] = "history",
     ["توضیحات"] = "notes",
     ["توضیحات"] = "notes",
     ["notes"] = "notes",
     ["notes"] = "notes",
     ----------------------------------------------------------------------------
     ----------------------------------------------------------------------------
     -- Data Management
     -- Metadata
     ----------------------------------------------------------------------------
     ----------------------------------------------------------------------------
     ["آخرین بروزرسانی"] = "updated",
     ["آخرین بروزرسانی"] = "updated",
    ["آخرین به‌روزرسانی"] = "updated",
     ["updated"] = "updated",
     ["updated"] = "updated",
     ["تأیید اطلاعات"] = "verified",
     ["تأیید اطلاعات"] = "verified",
    ["تایید اطلاعات"] = "verified",
     ["verified"] = "verified",
     ["verified"] = "verified",
     ["منبع اطلاعات"] = "datasource",
     ["منبع اطلاعات"] = "datasource",
    ["منابع"] = "datasource",
     ["datasource"] = "datasource"
     ["datasource"] = "datasource"
}
}
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
-- FIELD DEFINITIONS
-- FIELD DEFINITIONS
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
p.fieldDefinitions = {
p.fieldDefinitions = {
     ----------------------------------------------------------------------------
     ----------------------------------------------------------------------------
     -- Identity
     -- Identity
     ----------------------------------------------------------------------------
     ----------------------------------------------------------------------------
     id = {
     id = {
         label = "شناسه",
         label = "شناسه",
خط ۴۰۰: خط ۳۲۱:
         description = "شناسه یکتای مرکز آموزشی"
         description = "شناسه یکتای مرکز آموزشی"
     },
     },
     name = {
     name = {
         label = "نام",
         label = "نام",
خط ۴۰۷: خط ۳۲۷:
         description = "نام رسمی مرکز آموزشی"
         description = "نام رسمی مرکز آموزشی"
     },
     },
     fullname = {
     fullname = {
         label = "نام کامل",
         label = "نام کامل",
خط ۴۱۴: خط ۳۳۳:
         description = "نام کامل مرکز آموزشی"
         description = "نام کامل مرکز آموزشی"
     },
     },
     enname = {
     enname = {
         label = "نام انگلیسی",
         label = "نام انگلیسی",
خط ۴۲۱: خط ۳۳۹:
         description = "نام انگلیسی مرکز آموزشی"
         description = "نام انگلیسی مرکز آموزشی"
     },
     },
     othernames = {
     othernames = {
         label = "نام‌های دیگر",
         label = "نام‌های دیگر",
خط ۴۲۸: خط ۳۴۵:
         description = "نام‌های جایگزین یا تاریخی"
         description = "نام‌های جایگزین یا تاریخی"
     },
     },
     image = {
     image = {
         label = "تصویر",
         label = "تصویر",
خط ۴۳۵: خط ۳۵۱:
         description = "تصویر اصلی مرکز آموزشی"
         description = "تصویر اصلی مرکز آموزشی"
     },
     },
     logo = {
     logo = {
         label = "لوگو",
         label = "لوگو",
         type = "image",
         type = "image",
         group = "identity",
         group = "identity",
         description = "لوگوی رسمی مرکز آموزشی"
        optional = true,
         description = "لوگوی رسمی مرکز آموزشی (اختیاری)"
     },
     },
     caption = {
     caption = {
         label = "توضیح تصویر",
         label = "توضیح تصویر",
خط ۴۴۹: خط ۳۶۴:
         description = "توضیح مربوط به تصویر"
         description = "توضیح مربوط به تصویر"
     },
     },
     motto = {
     motto = {
         label = "شعار",
         label = "شعار",
خط ۴۵۶: خط ۳۷۰:
         description = "شعار رسمی مرکز آموزشی"
         description = "شعار رسمی مرکز آموزشی"
     },
     },
     ----------------------------------------------------------------------------
     ----------------------------------------------------------------------------
     -- Classification
     -- Classification
     ----------------------------------------------------------------------------
     ----------------------------------------------------------------------------
     type = {
     type = {
         label = "نوع مرکز",
         label = "نوع مرکز",
خط ۴۶۸: خط ۳۷۹:
         description = "نوع مرکز آموزشی"
         description = "نوع مرکز آموزشی"
     },
     },
     level = {
     level = {
         label = "مقطع",
         label = "مقطع",
خط ۴۷۵: خط ۳۸۵:
         description = "مقطع یا مقاطع آموزشی"
         description = "مقطع یا مقاطع آموزشی"
     },
     },
     gender = {
     gender = {
         label = "جنسیت",
         label = "جنسیت",
خط ۴۸۲: خط ۳۹۱:
         description = "پذیرش بر اساس جنسیت"
         description = "پذیرش بر اساس جنسیت"
     },
     },
     ownership = {
     ownership = {
         label = "مالکیت",
         label = "مالکیت",
خط ۴۸۹: خط ۳۹۷:
         description = "نوع مالکیت یا اداره مرکز آموزشی"
         description = "نوع مالکیت یا اداره مرکز آموزشی"
     },
     },
     affiliation = {
     affiliation = {
         label = "وابستگی",
         label = "وابستگی",
خط ۴۹۶: خط ۴۰۳:
         description = "سازمان یا نهاد وابسته"
         description = "سازمان یا نهاد وابسته"
     },
     },
     status = {
     status = {
         label = "وضعیت",
         label = "وضعیت",
خط ۵۰۳: خط ۴۰۹:
         description = "وضعیت فعالیت مرکز آموزشی"
         description = "وضعیت فعالیت مرکز آموزشی"
     },
     },
     educationdistrict = {
     educationdistrict = {
         label = "منطقه آموزش و پرورش",
         label = "منطقه آموزش و پرورش",
خط ۵۱۰: خط ۴۱۵:
         description = "منطقه یا ناحیه آموزش و پرورش"
         description = "منطقه یا ناحیه آموزش و پرورش"
     },
     },
     schoolcode = {
     schoolcode = {
         label = "کد مدرسه",
         label = "کد مدرسه",
         type = "text",
         type = "text",
         group = "classification",
         group = "classification",
        optional = true,
         description = "کد رسمی مدرسه در آموزش و پرورش"
         description = "کد رسمی مدرسه در آموزش و پرورش"
     },
     },
     nationalcode = {
     nationalcode = {
         label = "شناسه ملی",
         label = "شناسه ملی",
         type = "text",
         type = "text",
         group = "classification",
         group = "classification",
        optional = true,
         description = "شناسه ملی یا کد ثبتی مرکز آموزشی"
         description = "شناسه ملی یا کد ثبتی مرکز آموزشی"
     },
     },
     educationtype = {
     educationtype = {
         label = "شیوه آموزش",
         label = "شیوه آموزش",
         type = "text",
         type = "text",
         group = "classification",
         group = "classification",
         description = "حضوری، غیرحضوری، ترکیبی و..."
        optional = true,
         description = "حضوری، غیرحضوری، مجازی یا ترکیبی"
     },
     },
     ----------------------------------------------------------------------------
     ----------------------------------------------------------------------------
     -- Management
     -- Management
     ----------------------------------------------------------------------------
     ----------------------------------------------------------------------------
     established = {
     established = {
         label = "سال تأسیس",
         label = "سال تأسیس",
خط ۵۴۱: خط ۴۴۵:
         description = "سال تأسیس مرکز آموزشی"
         description = "سال تأسیس مرکز آموزشی"
     },
     },
     founder = {
     founder = {
         label = "بنیان‌گذار",
         label = "بنیان‌گذار",
خط ۵۴۸: خط ۴۵۱:
         description = "شخص یا نهادی که مرکز آموزشی را بنیان گذاشته است"
         description = "شخص یا نهادی که مرکز آموزشی را بنیان گذاشته است"
     },
     },
     principal = {
     principal = {
         label = "مدیر",
         label = "مدیر",
خط ۵۵۵: خط ۴۵۷:
         description = "مدیر فعلی مرکز آموزشی"
         description = "مدیر فعلی مرکز آموزشی"
     },
     },
     deputy = {
     deputy = {
         label = "معاون",
         label = "معاون",
خط ۵۶۲: خط ۴۶۳:
         description = "معاون یا معاونان مرکز آموزشی"
         description = "معاون یا معاونان مرکز آموزشی"
     },
     },
     formerprincipals = {
     formerprincipals = {
         label = "مدیران پیشین",
         label = "مدیران پیشین",
خط ۵۶۹: خط ۴۶۹:
         description = "فهرست مدیران پیشین مرکز آموزشی"
         description = "فهرست مدیران پیشین مرکز آموزشی"
     },
     },
     ----------------------------------------------------------------------------
     ----------------------------------------------------------------------------
     -- Location
     -- Location
     ----------------------------------------------------------------------------
     ----------------------------------------------------------------------------
     country = {
     country = {
         label = "کشور",
         label = "کشور",
خط ۵۸۲: خط ۴۷۹:
         default = "ایران"
         default = "ایران"
     },
     },
     province = {
     province = {
         label = "استان",
         label = "استان",
خط ۵۸۹: خط ۴۸۵:
         description = "استان محل قرارگیری مرکز آموزشی"
         description = "استان محل قرارگیری مرکز آموزشی"
     },
     },
     county = {
     county = {
         label = "شهرستان",
         label = "شهرستان",
خط ۵۹۶: خط ۴۹۱:
         description = "شهرستان محل قرارگیری مرکز آموزشی"
         description = "شهرستان محل قرارگیری مرکز آموزشی"
     },
     },
     city = {
     city = {
         label = "شهر",
         label = "شهر",
خط ۶۰۳: خط ۴۹۷:
         description = "شهر محل قرارگیری مرکز آموزشی"
         description = "شهر محل قرارگیری مرکز آموزشی"
     },
     },
     district = {
     district = {
         label = "بخش",
         label = "بخش",
خط ۶۱۰: خط ۵۰۳:
         description = "بخش محل قرارگیری مرکز آموزشی"
         description = "بخش محل قرارگیری مرکز آموزشی"
     },
     },
     neighborhood = {
     neighborhood = {
         label = "محله",
         label = "محله",
خط ۶۱۷: خط ۵۰۹:
         description = "محله یا منطقه شهری"
         description = "محله یا منطقه شهری"
     },
     },
     street = {
     street = {
         label = "خیابان",
         label = "خیابان",
خط ۶۲۴: خط ۵۱۵:
         description = "خیابان یا معبر اصلی"
         description = "خیابان یا معبر اصلی"
     },
     },
     address = {
     address = {
         label = "نشانی",
         label = "نشانی",
خط ۶۳۱: خط ۵۲۱:
         description = "نشانی کامل مرکز آموزشی"
         description = "نشانی کامل مرکز آموزشی"
     },
     },
     postcode = {
     postcode = {
         label = "کدپستی",
         label = "کدپستی",
خط ۶۳۸: خط ۵۲۷:
         description = "کدپستی مرکز آموزشی"
         description = "کدپستی مرکز آموزشی"
     },
     },
     coordinates = {
     coordinates = {
         label = "مختصات",
         label = "مختصات",
خط ۶۴۸: خط ۵۳۶:
     -- Contact
     -- Contact
     ----------------------------------------------------------------------------
     ----------------------------------------------------------------------------
     phone = {
     phone = {
         label = "تلفن",
         label = "تلفن",
خط ۶۵۵: خط ۵۴۲:
         description = "شماره تماس اصلی مرکز آموزشی"
         description = "شماره تماس اصلی مرکز آموزشی"
     },
     },
     phone2 = {
     phone2 = {
         label = "تلفن دوم",
         label = "تلفن دوم",
خط ۶۶۲: خط ۵۴۸:
         description = "شماره تماس دوم مرکز آموزشی"
         description = "شماره تماس دوم مرکز آموزشی"
     },
     },
     fax = {
     fax = {
         label = "نمابر",
         label = "نمابر",
خط ۶۶۹: خط ۵۵۴:
         description = "شماره نمابر مرکز آموزشی"
         description = "شماره نمابر مرکز آموزشی"
     },
     },
     email = {
     email = {
         label = "ایمیل",
         label = "ایمیل",
خط ۶۷۶: خط ۵۶۰:
         description = "نشانی ایمیل رسمی مرکز آموزشی"
         description = "نشانی ایمیل رسمی مرکز آموزشی"
     },
     },
     website = {
     website = {
         label = "وبگاه",
         label = "وبگاه",
خط ۶۸۳: خط ۵۶۶:
         description = "وبگاه رسمی مرکز آموزشی"
         description = "وبگاه رسمی مرکز آموزشی"
     },
     },
     instagram = {
     instagram = {
         label = "اینستاگرام",
         label = "اینستاگرام",
خط ۶۹۰: خط ۵۷۲:
         description = "صفحه اینستاگرام رسمی مرکز آموزشی"
         description = "صفحه اینستاگرام رسمی مرکز آموزشی"
     },
     },
     telegram = {
     telegram = {
         label = "تلگرام",
         label = "تلگرام",
خط ۶۹۷: خط ۵۷۸:
         description = "کانال یا صفحه تلگرام رسمی مرکز آموزشی"
         description = "کانال یا صفحه تلگرام رسمی مرکز آموزشی"
     },
     },
     aparat = {
     aparat = {
         label = "آپارات",
         label = "آپارات",
خط ۷۰۴: خط ۵۸۴:
         description = "صفحه آپارات مرکز آموزشی"
         description = "صفحه آپارات مرکز آموزشی"
     },
     },
     ----------------------------------------------------------------------------
     ----------------------------------------------------------------------------
     -- Statistics
     -- Statistics
     ----------------------------------------------------------------------------
     ----------------------------------------------------------------------------
     students = {
     students = {
         label = "تعداد دانش‌آموز",
         label = "تعداد دانش‌آموز",
خط ۷۱۶: خط ۵۹۳:
         description = "تعداد دانش‌آموزان مرکز آموزشی"
         description = "تعداد دانش‌آموزان مرکز آموزشی"
     },
     },
     teachers = {
     teachers = {
         label = "تعداد معلم",
         label = "تعداد معلم",
خط ۷۲۳: خط ۵۹۹:
         description = "تعداد معلمان و کادر آموزشی"
         description = "تعداد معلمان و کادر آموزشی"
     },
     },
     staff = {
     staff = {
         label = "تعداد کارکنان",
         label = "تعداد کارکنان",
خط ۷۳۰: خط ۶۰۵:
         description = "تعداد کارکنان اداری و خدماتی"
         description = "تعداد کارکنان اداری و خدماتی"
     },
     },
     classrooms = {
     classrooms = {
         label = "تعداد کلاس",
         label = "تعداد کلاس",
خط ۷۳۷: خط ۶۱۱:
         description = "تعداد کلاس‌های فعال"
         description = "تعداد کلاس‌های فعال"
     },
     },
     capacity = {
     capacity = {
         label = "ظرفیت",
         label = "ظرفیت",
خط ۷۴۴: خط ۶۱۷:
         description = "ظرفیت پذیرش دانش‌آموز"
         description = "ظرفیت پذیرش دانش‌آموز"
     },
     },
     studentperclass = {
     studentperclass = {
         label = "میانگین دانش‌آموز در کلاس",
         label = "میانگین دانش‌آموز در کلاس",
خط ۷۵۱: خط ۶۲۳:
         description = "میانگین تعداد دانش‌آموزان هر کلاس"
         description = "میانگین تعداد دانش‌آموزان هر کلاس"
     },
     },
     academicshifts = {
     academicshifts = {
         label = "شیفت آموزشی",
         label = "شیفت آموزشی",
خط ۷۵۸: خط ۶۲۹:
         description = "صبح، عصر یا دوشیفته بودن مدرسه"
         description = "صبح، عصر یا دوشیفته بودن مدرسه"
     },
     },
     grades = {
     grades = {
         label = "پایه‌های تحصیلی",
         label = "پایه‌های تحصیلی",
خط ۷۶۸: خط ۶۳۸:
     -- Facilities
     -- Facilities
     ----------------------------------------------------------------------------
     ----------------------------------------------------------------------------
     library = {
     library = {
         label = "کتابخانه",
         label = "کتابخانه",
خط ۷۷۵: خط ۶۴۴:
         description = "وجود کتابخانه در مرکز آموزشی"
         description = "وجود کتابخانه در مرکز آموزشی"
     },
     },
     laboratory = {
     laboratory = {
         label = "آزمایشگاه",
         label = "آزمایشگاه",
خط ۷۸۲: خط ۶۵۰:
         description = "وجود آزمایشگاه آموزشی"
         description = "وجود آزمایشگاه آموزشی"
     },
     },
     computerlab = {
     computerlab = {
         label = "کارگاه رایانه",
         label = "کارگاه رایانه",
خط ۷۸۹: خط ۶۵۶:
         description = "وجود کارگاه یا آزمایشگاه رایانه"
         description = "وجود کارگاه یا آزمایشگاه رایانه"
     },
     },
     smartclass = {
     smartclass = {
         label = "کلاس هوشمند",
         label = "کلاس هوشمند",
خط ۷۹۶: خط ۶۶۲:
         description = "وجود کلاس‌های هوشمند"
         description = "وجود کلاس‌های هوشمند"
     },
     },
     gym = {
     gym = {
         label = "سالن ورزشی",
         label = "سالن ورزشی",
خط ۸۰۳: خط ۶۶۸:
         description = "وجود سالن ورزشی"
         description = "وجود سالن ورزشی"
     },
     },
     playground = {
     playground = {
         label = "زمین ورزشی",
         label = "زمین ورزشی",
خط ۸۱۰: خط ۶۷۴:
         description = "وجود فضای ورزشی یا زمین بازی"
         description = "وجود فضای ورزشی یا زمین بازی"
     },
     },
     prayerroom = {
     prayerroom = {
         label = "نمازخانه",
         label = "نمازخانه",
خط ۸۱۷: خط ۶۸۰:
         description = "وجود نمازخانه"
         description = "وجود نمازخانه"
     },
     },
     buffet = {
     buffet = {
         label = "بوفه",
         label = "بوفه",
خط ۸۲۴: خط ۶۸۶:
         description = "وجود بوفه یا فروشگاه داخل مدرسه"
         description = "وجود بوفه یا فروشگاه داخل مدرسه"
     },
     },
     transport = {
     transport = {
         label = "سرویس مدرسه",
         label = "سرویس مدرسه",
خط ۸۳۱: خط ۶۹۲:
         description = "ارائه خدمات سرویس رفت‌وآمد"
         description = "ارائه خدمات سرویس رفت‌وآمد"
     },
     },
     internet = {
     internet = {
         label = "اینترنت",
         label = "اینترنت",
خط ۸۳۸: خط ۶۹۸:
         description = "دسترسی به اینترنت"
         description = "دسترسی به اینترنت"
     },
     },
     cctv = {
     cctv = {
         label = "دوربین مداربسته",
         label = "دوربین مداربسته",
خط ۸۴۵: خط ۷۰۴:
         description = "وجود سیستم نظارت تصویری"
         description = "وجود سیستم نظارت تصویری"
     },
     },
     elevator = {
     elevator = {
         label = "آسانسور",
         label = "آسانسور",
خط ۸۵۲: خط ۷۱۰:
         description = "وجود آسانسور در ساختمان"
         description = "وجود آسانسور در ساختمان"
     },
     },
     accessibility = {
     accessibility = {
         label = "مناسب‌سازی معلولان",
         label = "مناسب‌سازی معلولان",
خط ۸۵۹: خط ۷۱۶:
         description = "امکانات دسترسی برای افراد دارای معلولیت"
         description = "امکانات دسترسی برای افراد دارای معلولیت"
     },
     },
     canteen = {
     canteen = {
         label = "سالن غذاخوری",
         label = "سالن غذاخوری",
خط ۸۶۶: خط ۷۲۲:
         description = "وجود سالن غذاخوری"
         description = "وجود سالن غذاخوری"
     },
     },
     medicalroom = {
     medicalroom = {
         label = "اتاق بهداشت",
         label = "اتاق بهداشت",
خط ۸۷۳: خط ۷۲۸:
         description = "وجود اتاق بهداشت یا مراقبت پزشکی"
         description = "وجود اتاق بهداشت یا مراقبت پزشکی"
     },
     },
     counseling = {
     counseling = {
         label = "مشاوره",
         label = "مشاوره",
خط ۸۸۰: خط ۷۳۴:
         description = "وجود خدمات مشاوره تحصیلی یا روان‌شناسی"
         description = "وجود خدمات مشاوره تحصیلی یا روان‌شناسی"
     },
     },
     security = {
     security = {
         label = "نگهبانی",
         label = "نگهبانی",
خط ۸۸۷: خط ۷۴۰:
         description = "وجود خدمات نگهبانی یا کنترل ورود و خروج"
         description = "وجود خدمات نگهبانی یا کنترل ورود و خروج"
     },
     },
     ----------------------------------------------------------------------------
     ----------------------------------------------------------------------------
     -- Achievements
     -- Achievements
     ----------------------------------------------------------------------------
     ----------------------------------------------------------------------------
     scientific = {
     scientific = {
         label = "افتخارات علمی",
         label = "افتخارات علمی",
خط ۸۹۹: خط ۷۴۹:
         description = "افتخارات و موفقیت‌های علمی مرکز آموزشی"
         description = "افتخارات و موفقیت‌های علمی مرکز آموزشی"
     },
     },
     cultural = {
     cultural = {
         label = "افتخارات فرهنگی",
         label = "افتخارات فرهنگی",
خط ۹۰۶: خط ۷۵۵:
         description = "افتخارات فرهنگی و هنری مرکز آموزشی"
         description = "افتخارات فرهنگی و هنری مرکز آموزشی"
     },
     },
     sports = {
     sports = {
         label = "افتخارات ورزشی",
         label = "افتخارات ورزشی",
خط ۹۱۳: خط ۷۶۱:
         description = "افتخارات ورزشی مرکز آموزشی"
         description = "افتخارات ورزشی مرکز آموزشی"
     },
     },
     competitions = {
     competitions = {
         label = "مسابقات و جشنواره‌ها",
         label = "مسابقات و جشنواره‌ها",
خط ۹۲۰: خط ۷۶۷:
         description = "حضور یا موفقیت در مسابقات و جشنواره‌ها"
         description = "حضور یا موفقیت در مسابقات و جشنواره‌ها"
     },
     },
     entranceexam = {
     entranceexam = {
         label = "موفقیت‌های کنکور",
         label = "موفقیت‌های کنکور",
خط ۹۲۷: خط ۷۷۳:
         description = "رتبه‌ها و موفقیت‌های کنکور"
         description = "رتبه‌ها و موفقیت‌های کنکور"
     },
     },
     alumni = {
     alumni = {
         label = "فارغ‌التحصیلان شناخته‌شده",
         label = "فارغ‌التحصیلان شناخته‌شده",
خط ۹۳۴: خط ۷۷۹:
         description = "افراد شناخته‌شده‌ای که در این مرکز تحصیل کرده‌اند"
         description = "افراد شناخته‌شده‌ای که در این مرکز تحصیل کرده‌اند"
     },
     },
     ----------------------------------------------------------------------------
     ----------------------------------------------------------------------------
     -- Additional Information
     -- Additional Information
     ----------------------------------------------------------------------------
     ----------------------------------------------------------------------------
     history = {
     history = {
         label = "تاریخچه",
         label = "تاریخچه",
خط ۹۴۶: خط ۷۸۸:
         description = "تاریخچه و پیشینه مرکز آموزشی"
         description = "تاریخچه و پیشینه مرکز آموزشی"
     },
     },
     notes = {
     notes = {
         label = "توضیحات",
         label = "توضیحات",
خط ۹۵۳: خط ۷۹۴:
         description = "توضیحات تکمیلی درباره مرکز آموزشی"
         description = "توضیحات تکمیلی درباره مرکز آموزشی"
     },
     },
     ----------------------------------------------------------------------------
     ----------------------------------------------------------------------------
     -- External Links
     -- External Links
     ----------------------------------------------------------------------------
     ----------------------------------------------------------------------------
     wikipedia = {
     wikipedia = {
         label = "ویکی‌پدیا",
         label = "ویکی‌پدیا",
خط ۹۶۵: خط ۸۰۳:
         description = "پیوند به مقاله ویکی‌پدیا"
         description = "پیوند به مقاله ویکی‌پدیا"
     },
     },
     maps = {
     maps = {
         label = "نقشه",
         label = "نقشه",
خط ۹۷۲: خط ۸۰۹:
         description = "پیوند موقعیت روی نقشه"
         description = "پیوند موقعیت روی نقشه"
     },
     },
     ----------------------------------------------------------------------------
     ----------------------------------------------------------------------------
     -- Data Management
     -- Data Management
     ----------------------------------------------------------------------------
     ----------------------------------------------------------------------------
     updated = {
     updated = {
         label = "آخرین بروزرسانی",
         label = "آخرین بروزرسانی",
         type = "date",
         type = "date",
         group = "identity",
         group = "metadata",
         description = "تاریخ آخرین بروزرسانی اطلاعات"
         description = "تاریخ آخرین بروزرسانی اطلاعات"
     },
     },
     verified = {
     verified = {
         label = "تأیید اطلاعات",
         label = "تأیید اطلاعات",
         type = "boolean",
         type = "boolean",
         group = "identity",
         group = "metadata",
         description = "آیا اطلاعات بررسی و تأیید شده است"
         description = "آیا اطلاعات بررسی و تأیید شده است"
     },
     },
     datasource = {
     datasource = {
         label = "منبع اطلاعات",
         label = "منبع اطلاعات",
         type = "list",
         type = "list",
         group = "identity",
         group = "metadata",
         description = "منابع مورد استفاده برای ثبت اطلاعات"
         description = "منابع مورد استفاده برای ثبت اطلاعات"
     }
     }
}
}
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
-- LAYOUT DEFINITIONS
-- LAYOUT DEFINITIONS
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
p.layouts = {
p.layouts = {
 
    ----------------------------------------------------------------------------
    -- Default Layout
    ----------------------------------------------------------------------------
    default = {
        {
            group = "identity",
            fields = {
                "fullname",
                "othernames"
            }
        }
    },
     ----------------------------------------------------------------------------
     ----------------------------------------------------------------------------
     -- School Layout
     -- School Layout
     ----------------------------------------------------------------------------
     ----------------------------------------------------------------------------
     school = {
     school = {
 
        {
  {
            group = "identity",
     group = "identity",
            fields = {
     fields = {
                "fullname",
         "fullname",
                "othernames",
         "othernames",
                "motto"
         "motto"
            }
    }
        },
        {
            group = "classification",
            fields = {
                "type",
                "level",
                "gender",
                "ownership",
                "affiliation",
                "status",
                "educationdistrict",
                "schoolcode",
                "nationalcode",
                "educationtype"
            }
        },
        {
            group = "management",
            fields = {
                "established",
                "founder",
                "principal",
                "deputy",
                "formerprincipals"
            }
        },
        {
            group = "location",
            fields = {
                "country",
                "province",
                "county",
                "city",
                "district",
                "neighborhood",
                "street",
                "address",
                "postcode",
                "coordinates",
                "maps"
            }
        },
        {
            group = "contact",
            fields = {
                "phone",
                "phone2",
                "fax",
                "email",
                "website",
                "instagram",
                "telegram",
                "aparat",
                "wikipedia"
            }
        },
        {
            group = "statistics",
            fields = {
                "students",
                "teachers",
                "staff",
                "classrooms",
                "capacity",
                "studentperclass",
                "grades",
                "academicshifts"
            }
        },
        {
            group = "facilities",
            fields = {
                "library",
                "laboratory",
                "computerlab",
                "smartclass",
                "gym",
                "playground",
                "prayerroom",
                "buffet",
                "transport",
                "internet",
                "cctv",
                "elevator",
                "accessibility",
                "canteen",
                "medicalroom",
                "counseling",
                "security"
            }
        },
        {
            group = "achievements",
            fields = {
                "scientific",
                "cultural",
                "sports",
                "competitions",
                "entranceexam",
                "alumni",
                "history",
                "notes"
            }
        },
        {
            group = "metadata",
            fields = {
                "updated",
                "verified",
                "datasource"
            }
        }
    },
    ----------------------------------------------------------------------------
    -- University Layout
    ----------------------------------------------------------------------------
     university = {
        {
            group = "identity",
            fields = {
                "logo",
                "fullname",
                "enname",
                "othernames",
                "motto"
            }
        },
        {
            group = "classification",
            fields = {
                "type",
                "ownership",
                "affiliation",
                "status"
            }
        },
        {
            group = "management",
            fields = {
                "established",
                "founder",
                "principal"
            }
        },
        {
            group = "location",
            fields = {
                "country",
                "province",
                "county",
                "city",
                "address",
                "postcode",
                "coordinates",
                "maps"
            }
        },
        {
            group = "contact",
            fields = {
                "phone",
                "fax",
                "email",
                "website",
                "instagram",
                "telegram",
                "aparat",
                "wikipedia"
            }
        },
        {
            group = "metadata",
            fields = {
                "updated",
                "verified",
                "datasource"
            }
        }
     },
    ----------------------------------------------------------------------------
    -- College Layout (expanded from university)
    ----------------------------------------------------------------------------
    college = {
        {
            group = "identity",
            fields = {
                "logo",
                "fullname",
                "enname",
                "othernames",
                "motto"
            }
        },
        {
            group = "classification",
            fields = {
                "type",
                "ownership",
                "affiliation",
                "status"
            }
        },
        {
            group = "management",
            fields = {
                "established",
                "founder",
                "principal"
            }
        },
        {
            group = "location",
            fields = {
                "country",
                "province",
                "county",
                "city",
                "address",
                "postcode",
                "coordinates",
                "maps"
            }
        },
         {
            group = "contact",
            fields = {
                "phone",
                "fax",
                "email",
                "website",
                "instagram",
                "telegram",
                "aparat",
                "wikipedia"
            }
        },
        {
            group = "metadata",
            fields = {
                "updated",
                "verified",
                "datasource"
            }
        }
    },
    ----------------------------------------------------------------------------
    -- Seminary Layout
    ----------------------------------------------------------------------------
    seminary = {
        {
            group = "identity",
            fields = {
                "fullname",
                "othernames",
                "motto"
            }
        },
        {
            group = "classification",
            fields = {
                "type",
                "affiliation",
                "status"
            }
        },
        {
            group = "management",
            fields = {
                "established",
                "founder",
                "principal"
            }
        },
        {
            group = "location",
            fields = {
                "country",
                "province",
                "city",
                "address",
                "coordinates"
            }
        },
         {
            group = "contact",
            fields = {
                "phone",
                "website"
            }
        },
        {
            group = "metadata",
            fields = {
                "updated",
                "verified",
                "datasource"
            }
        }
    },
    ----------------------------------------------------------------------------
    -- Kindergarten Layout (expanded from school)
    ----------------------------------------------------------------------------
    kindergarten = {
        {
            group = "identity",
            fields = {
                "fullname",
                "othernames",
                "motto"
            }
        },
        {
            group = "classification",
            fields = {
                "type",
                "level",
                "gender",
                "ownership",
                "affiliation",
                "status",
                "educationdistrict",
                "schoolcode",
                "nationalcode",
                "educationtype"
            }
        },
        {
            group = "management",
            fields = {
                "established",
                "founder",
                "principal",
                "deputy",
                "formerprincipals"
            }
        },
        {
            group = "location",
            fields = {
                "country",
                "province",
                "county",
                "city",
                "district",
                "neighborhood",
                "street",
                "address",
                "postcode",
                "coordinates",
                "maps"
            }
        },
        {
            group = "contact",
            fields = {
                "phone",
                "phone2",
                "fax",
                "email",
                "website",
                "instagram",
                "telegram",
                "aparat",
                "wikipedia"
            }
        },
        {
            group = "statistics",
            fields = {
                "students",
                "teachers",
                "staff",
                "classrooms",
                "capacity",
                "studentperclass",
                "grades",
                "academicshifts"
            }
        },
         {
            group = "facilities",
            fields = {
                "library",
                "laboratory",
                "computerlab",
                "smartclass",
                "gym",
                "playground",
                "prayerroom",
                "buffet",
                "transport",
                "internet",
                "cctv",
                "elevator",
                "accessibility",
                "canteen",
                "medicalroom",
                "counseling",
                "security"
            }
        },
        {
            group = "achievements",
            fields = {
                "scientific",
                "cultural",
                "sports",
                "competitions",
                "entranceexam",
                "alumni",
                "history",
                "notes"
            }
        },
        {
            group = "metadata",
            fields = {
                "updated",
                "verified",
                "datasource"
            }
        }
     },
     },
 
    ----------------------------------------------------------------------------
 
    -- Training Center Layout (expanded from school)
    ----------------------------------------------------------------------------
    training_center = {
        {
            group = "identity",
            fields = {
                "fullname",
                "othernames",
                "motto"
            }
        },
         {
         {
             group = "classification",
             group = "classification",
خط ۱٬۰۳۱: خط ۱٬۳۰۲:
                 "affiliation",
                 "affiliation",
                 "status",
                 "status",
                "educationdistrict",
                 "schoolcode",
                 "schoolcode",
                 "educationdistrict"
                 "nationalcode",
                "educationtype"
             }
             }
         },
         },
         {
         {
             group = "management",
             group = "management",
خط ۱٬۰۴۷: خط ۱٬۳۱۸:
             }
             }
         },
         },
         {
         {
             group = "location",
             group = "location",
خط ۱٬۰۶۰: خط ۱٬۳۲۹:
                 "street",
                 "street",
                 "address",
                 "address",
                 "coordinates"
                "postcode",
                 "coordinates",
                "maps"
             }
             }
         },
         },
         {
         {
             group = "contact",
             group = "contact",
خط ۱٬۰۷۵: خط ۱٬۳۴۴:
                 "instagram",
                 "instagram",
                 "telegram",
                 "telegram",
                 "aparat"
                 "aparat",
                "wikipedia"
             }
             }
         },
         },
         {
         {
             group = "statistics",
             group = "statistics",
خط ۱٬۰۹۳: خط ۱٬۳۶۱:
             }
             }
         },
         },
         {
         {
             group = "facilities",
             group = "facilities",
خط ۱٬۱۱۷: خط ۱٬۳۸۳:
             }
             }
         },
         },
         {
         {
             group = "achievements",
             group = "achievements",
خط ۱٬۱۳۰: خط ۱٬۳۹۴:
                 "history",
                 "history",
                 "notes"
                 "notes"
            }
        },
        {
            group = "metadata",
            fields = {
                "updated",
                "verified",
                "datasource"
            }
        }
    },
    ----------------------------------------------------------------------------
    -- Research Center Layout (expanded from university)
    ----------------------------------------------------------------------------
    research_center = {
        {
            group = "identity",
            fields = {
                "logo",
                "fullname",
                "enname",
                "othernames",
                "motto"
            }
        },
        {
            group = "classification",
            fields = {
                "type",
                "ownership",
                "affiliation",
                "status"
            }
        },
        {
            group = "management",
            fields = {
                "established",
                "founder",
                "principal"
            }
        },
        {
            group = "location",
            fields = {
                "country",
                "province",
                "county",
                "city",
                "address",
                "postcode",
                "coordinates",
                "maps"
            }
        },
        {
            group = "contact",
            fields = {
                "phone",
                "fax",
                "email",
                "website",
                "instagram",
                "telegram",
                "aparat",
                "wikipedia"
            }
        },
        {
            group = "metadata",
            fields = {
                "updated",
                "verified",
                "datasource"
             }
             }
         }
         }
     }
     }
}
}
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
-- RETURN MODULE
-- RETURN MODULE
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
return p
return p

نسخهٔ کنونی تا ‏۲۶ ژوئیهٔ ۲۰۲۶، ساعت ۱۳:۴۴

توضیحات این پودمان می‌تواند در پودمان:AlborzEducation/Data/توضیحات قرار گیرد.

--------------------------------------------------------------------------------
-- Module:AlborzEducation/Data
-- Wiki Alborz Education Information System
--
-- Static configuration data for education infobox.
-- No rendering logic exists in this module.
--------------------------------------------------------------------------------
local p = {}
--------------------------------------------------------------------------------
-- MODULE INFORMATION
--------------------------------------------------------------------------------
p.meta = {
    name = "AlborzEducation",
    version = "1.0.0",
    description = "Configuration data for Alborz Education Infobox",
    author = "Wiki Alborz",
    license = "CC BY-SA 4.0",
    date = "2026-07-26"
}
--------------------------------------------------------------------------------
-- GROUP DEFINITIONS
--------------------------------------------------------------------------------
p.groups = {
    ----------------------------------------------------------------------------
    -- Identity
    ----------------------------------------------------------------------------
    identity = {
        label = "اطلاعات پایه",
        icon = "🏫"
    },
    ----------------------------------------------------------------------------
    -- Classification
    ----------------------------------------------------------------------------
    classification = {
        label = "طبقه‌بندی",
        icon = "📘"
    },
    ----------------------------------------------------------------------------
    -- Management
    ----------------------------------------------------------------------------
    management = {
        label = "مدیریت",
        icon = "👤"
    },
    ----------------------------------------------------------------------------
    -- Location
    ----------------------------------------------------------------------------
    location = {
        label = "موقعیت",
        icon = "📍"
    },
    ----------------------------------------------------------------------------
    -- Contact
    ----------------------------------------------------------------------------
    contact = {
        label = "اطلاعات تماس",
        icon = "☎️"
    },
    ----------------------------------------------------------------------------
    -- Statistics
    ----------------------------------------------------------------------------
    statistics = {
        label = "آمار",
        icon = "📊"
    },
    ----------------------------------------------------------------------------
    -- Facilities
    ----------------------------------------------------------------------------
    facilities = {
        label = "امکانات",
        icon = "🏢"
    },
    ----------------------------------------------------------------------------
    -- Achievements
    ----------------------------------------------------------------------------
    achievements = {
        label = "افتخارات",
        icon = "🏆"
    },
    ----------------------------------------------------------------------------
    -- Metadata
    ----------------------------------------------------------------------------
    metadata = {
        label = "اطلاعات سامانه",
        icon = "🗂️"
    }
}
--------------------------------------------------------------------------------
-- PARAMETER LOOKUP
--------------------------------------------------------------------------------
p.lookup = {
    ----------------------------------------------------------------------------
    -- Identity
    ----------------------------------------------------------------------------
    ["شناسه"] = "id",
    ["id"] = "id",
    ["نام"] = "name",
    ["name"] = "name",
    ["نام کامل"] = "fullname",
    ["fullname"] = "fullname",
    ["full_name"] = "fullname",
    ["نام انگلیسی"] = "enname",
    ["enname"] = "enname",
    ["english_name"] = "enname",
    ["نام‌های دیگر"] = "othernames",
    ["نامهای دیگر"] = "othernames",
    ["other_names"] = "othernames",
    ["othernames"] = "othernames",
    ["تصویر"] = "image",
    ["image"] = "image",
    ["لوگو"] = "logo",
    ["logo"] = "logo",
    ["توضیح تصویر"] = "caption",
    ["caption"] = "caption",
    ["شعار"] = "motto",
    ["motto"] = "motto",
    ----------------------------------------------------------------------------
    -- Classification
    ----------------------------------------------------------------------------
    ["نوع"] = "type",
    ["نوع مرکز"] = "type",
    ["نوع آموزشگاه"] = "type",
    ["رده مرکز"] = "type",
    ["type"] = "type",
    ["مقطع"] = "level",
    ["level"] = "level",
    ["جنسیت"] = "gender",
    ["gender"] = "gender",
    ["مالکیت"] = "ownership",
    ["وضعیت مالکیت"] = "ownership",
    ["ownership"] = "ownership",
    ["وابستگی"] = "affiliation",
    ["affiliation"] = "affiliation",
    ["وضعیت"] = "status",
    ["status"] = "status",
    ["منطقه آموزش و پرورش"] = "educationdistrict",
    ["ناحیه آموزش و پرورش"] = "educationdistrict",
    ["educationdistrict"] = "educationdistrict",
    ["کد مدرسه"] = "schoolcode",
    ["schoolcode"] = "schoolcode",
    ["شناسه ملی"] = "nationalcode",
    ["nationalcode"] = "nationalcode",
    ["شیوه آموزش"] = "educationtype",
    ["educationtype"] = "educationtype",
    ----------------------------------------------------------------------------
    -- Management
    ----------------------------------------------------------------------------
    ["سال تأسیس"] = "established",
    ["سال تاسیس"] = "established",
    ["تأسیس"] = "established",
    ["established"] = "established",
    ["بنیان‌گذار"] = "founder",
    ["بنیانگذار"] = "founder",
    ["founder"] = "founder",
    ["مدیر"] = "principal",
    ["مدیر مدرسه"] = "principal",
    ["رئیس"] = "principal",
    ["principal"] = "principal",
    ["headmaster"] = "principal",
    ["معاون"] = "deputy",
    ["deputy"] = "deputy",
    ["مدیران پیشین"] = "formerprincipals",
    ["formerprincipals"] = "formerprincipals",
    ----------------------------------------------------------------------------
    -- Location
    ----------------------------------------------------------------------------
    ["کشور"] = "country",
    ["country"] = "country",
    ["استان"] = "province",
    ["province"] = "province",
    ["شهرستان"] = "county",
    ["county"] = "county",
    ["شهر"] = "city",
    ["city"] = "city",
    ["بخش"] = "district",
    ["district"] = "district",
    ["محله"] = "neighborhood",
    ["neighborhood"] = "neighborhood",
    ["خیابان"] = "street",
    ["street"] = "street",
    ["نشانی"] = "address",
    ["آدرس"] = "address",
    ["address"] = "address",
    ["کدپستی"] = "postcode",
    ["postcode"] = "postcode",
    ["مختصات"] = "coordinates",
    ["coordinates"] = "coordinates",
    ["نقشه"] = "maps",
    ["maps"] = "maps",
    ----------------------------------------------------------------------------
    -- Contact
    ----------------------------------------------------------------------------
    ["تلفن"] = "phone",
    ["شماره تماس"] = "phone",
    ["phone"] = "phone",
    ["تلفن دوم"] = "phone2",
    ["phone2"] = "phone2",
    ["نمابر"] = "fax",
    ["فکس"] = "fax",
    ["fax"] = "fax",
    ["ایمیل"] = "email",
    ["email"] = "email",
    ["وبگاه"] = "website",
    ["وب‌گاه"] = "website",
    ["وب سایت"] = "website",
    ["وب‌سایت"] = "website",
    ["website"] = "website",
    ["اینستاگرام"] = "instagram",
    ["instagram"] = "instagram",
    ["تلگرام"] = "telegram",
    ["telegram"] = "telegram",
    ["آپارات"] = "aparat",
    ["aparat"] = "aparat",
    ["ویکی‌پدیا"] = "wikipedia",
    ["wikipedia"] = "wikipedia",
    ----------------------------------------------------------------------------
    -- Statistics
    ----------------------------------------------------------------------------
    ["تعداد دانش‌آموز"] = "students",
    ["دانش‌آموز"] = "students",
    ["students"] = "students",
    ["تعداد معلم"] = "teachers",
    ["معلم"] = "teachers",
    ["teachers"] = "teachers",
    ["تعداد کارکنان"] = "staff",
    ["کارکنان"] = "staff",
    ["staff"] = "staff",
    ["تعداد کلاس"] = "classrooms",
    ["کلاس‌ها"] = "classrooms",
    ["classrooms"] = "classrooms",
    ["ظرفیت"] = "capacity",
    ["capacity"] = "capacity",
    ["میانگین دانش‌آموز در کلاس"] = "studentperclass",
    ["studentperclass"] = "studentperclass",
    ["شیفت آموزشی"] = "academicshifts",
    ["academicshifts"] = "academicshifts",
    ["پایه‌های تحصیلی"] = "grades",
    ["پایه تحصیلی"] = "grades",
    ["grades"] = "grades",
    ----------------------------------------------------------------------------
    -- Facilities
    ----------------------------------------------------------------------------
    ["کتابخانه"] = "library",
    ["library"] = "library",
    ["آزمایشگاه"] = "laboratory",
    ["laboratory"] = "laboratory",
    ["کارگاه رایانه"] = "computerlab",
    ["آزمایشگاه رایانه"] = "computerlab",
    ["computerlab"] = "computerlab",
    ["کلاس هوشمند"] = "smartclass",
    ["smartclass"] = "smartclass",
    ["سالن ورزشی"] = "gym",
    ["gym"] = "gym",
    ["زمین ورزشی"] = "playground",
    ["playground"] = "playground",
    ["نمازخانه"] = "prayerroom",
    ["prayerroom"] = "prayerroom",
    ["بوفه"] = "buffet",
    ["buffet"] = "buffet",
    ["سرویس مدرسه"] = "transport",
    ["transport"] = "transport",
    ["اینترنت"] = "internet",
    ["internet"] = "internet",
    ["دوربین مداربسته"] = "cctv",
    ["cctv"] = "cctv",
    ["آسانسور"] = "elevator",
    ["elevator"] = "elevator",
    ["مناسب‌سازی معلولان"] = "accessibility",
    ["accessibility"] = "accessibility",
    ["سالن غذاخوری"] = "canteen",
    ["canteen"] = "canteen",
    ["اتاق بهداشت"] = "medicalroom",
    ["medicalroom"] = "medicalroom",
    ["مشاوره"] = "counseling",
    ["counseling"] = "counseling",
    ["نگهبانی"] = "security",
    ["security"] = "security",
    ----------------------------------------------------------------------------
    -- Achievements
    ----------------------------------------------------------------------------
    ["افتخارات علمی"] = "scientific",
    ["scientific"] = "scientific",
    ["افتخارات فرهنگی"] = "cultural",
    ["cultural"] = "cultural",
    ["افتخارات ورزشی"] = "sports",
    ["sports"] = "sports",
    ["مسابقات و جشنواره‌ها"] = "competitions",
    ["competitions"] = "competitions",
    ["موفقیت‌های کنکور"] = "entranceexam",
    ["entranceexam"] = "entranceexam",
    ["فارغ‌التحصیلان شناخته‌شده"] = "alumni",
    ["alumni"] = "alumni",
    ["تاریخچه"] = "history",
    ["history"] = "history",
    ["توضیحات"] = "notes",
    ["notes"] = "notes",
    ----------------------------------------------------------------------------
    -- Metadata
    ----------------------------------------------------------------------------
    ["آخرین بروزرسانی"] = "updated",
    ["آخرین به‌روزرسانی"] = "updated",
    ["updated"] = "updated",
    ["تأیید اطلاعات"] = "verified",
    ["تایید اطلاعات"] = "verified",
    ["verified"] = "verified",
    ["منبع اطلاعات"] = "datasource",
    ["منابع"] = "datasource",
    ["datasource"] = "datasource"
}
--------------------------------------------------------------------------------
-- FIELD DEFINITIONS
--------------------------------------------------------------------------------
p.fieldDefinitions = {
    ----------------------------------------------------------------------------
    -- Identity
    ----------------------------------------------------------------------------
    id = {
        label = "شناسه",
        type = "text",
        group = "identity",
        description = "شناسه یکتای مرکز آموزشی"
    },
    name = {
        label = "نام",
        type = "text",
        group = "identity",
        description = "نام رسمی مرکز آموزشی"
    },
    fullname = {
        label = "نام کامل",
        type = "text",
        group = "identity",
        description = "نام کامل مرکز آموزشی"
    },
    enname = {
        label = "نام انگلیسی",
        type = "text",
        group = "identity",
        description = "نام انگلیسی مرکز آموزشی"
    },
    othernames = {
        label = "نام‌های دیگر",
        type = "list",
        group = "identity",
        description = "نام‌های جایگزین یا تاریخی"
    },
    image = {
        label = "تصویر",
        type = "image",
        group = "identity",
        description = "تصویر اصلی مرکز آموزشی"
    },
    logo = {
        label = "لوگو",
        type = "image",
        group = "identity",
        optional = true,
        description = "لوگوی رسمی مرکز آموزشی (اختیاری)"
    },
    caption = {
        label = "توضیح تصویر",
        type = "text",
        group = "identity",
        description = "توضیح مربوط به تصویر"
    },
    motto = {
        label = "شعار",
        type = "text",
        group = "identity",
        description = "شعار رسمی مرکز آموزشی"
    },
    ----------------------------------------------------------------------------
    -- Classification
    ----------------------------------------------------------------------------
    type = {
        label = "نوع مرکز",
        type = "text",
        group = "classification",
        description = "نوع مرکز آموزشی"
    },
    level = {
        label = "مقطع",
        type = "text",
        group = "classification",
        description = "مقطع یا مقاطع آموزشی"
    },
    gender = {
        label = "جنسیت",
        type = "text",
        group = "classification",
        description = "پذیرش بر اساس جنسیت"
    },
    ownership = {
        label = "مالکیت",
        type = "text",
        group = "classification",
        description = "نوع مالکیت یا اداره مرکز آموزشی"
    },
    affiliation = {
        label = "وابستگی",
        type = "text",
        group = "classification",
        description = "سازمان یا نهاد وابسته"
    },
    status = {
        label = "وضعیت",
        type = "text",
        group = "classification",
        description = "وضعیت فعالیت مرکز آموزشی"
    },
    educationdistrict = {
        label = "منطقه آموزش و پرورش",
        type = "text",
        group = "classification",
        description = "منطقه یا ناحیه آموزش و پرورش"
    },
    schoolcode = {
        label = "کد مدرسه",
        type = "text",
        group = "classification",
        optional = true,
        description = "کد رسمی مدرسه در آموزش و پرورش"
    },
    nationalcode = {
        label = "شناسه ملی",
        type = "text",
        group = "classification",
        optional = true,
        description = "شناسه ملی یا کد ثبتی مرکز آموزشی"
    },
    educationtype = {
        label = "شیوه آموزش",
        type = "text",
        group = "classification",
        optional = true,
        description = "حضوری، غیرحضوری، مجازی یا ترکیبی"
    },
    ----------------------------------------------------------------------------
    -- Management
    ----------------------------------------------------------------------------
    established = {
        label = "سال تأسیس",
        type = "year",
        group = "management",
        description = "سال تأسیس مرکز آموزشی"
    },
    founder = {
        label = "بنیان‌گذار",
        type = "text",
        group = "management",
        description = "شخص یا نهادی که مرکز آموزشی را بنیان گذاشته است"
    },
    principal = {
        label = "مدیر",
        type = "person",
        group = "management",
        description = "مدیر فعلی مرکز آموزشی"
    },
    deputy = {
        label = "معاون",
        type = "person",
        group = "management",
        description = "معاون یا معاونان مرکز آموزشی"
    },
    formerprincipals = {
        label = "مدیران پیشین",
        type = "list",
        group = "management",
        description = "فهرست مدیران پیشین مرکز آموزشی"
    },
    ----------------------------------------------------------------------------
    -- Location
    ----------------------------------------------------------------------------
    country = {
        label = "کشور",
        type = "location",
        group = "location",
        description = "کشور محل قرارگیری مرکز آموزشی",
        default = "ایران"
    },
    province = {
        label = "استان",
        type = "location",
        group = "location",
        description = "استان محل قرارگیری مرکز آموزشی"
    },
    county = {
        label = "شهرستان",
        type = "location",
        group = "location",
        description = "شهرستان محل قرارگیری مرکز آموزشی"
    },
    city = {
        label = "شهر",
        type = "location",
        group = "location",
        description = "شهر محل قرارگیری مرکز آموزشی"
    },
    district = {
        label = "بخش",
        type = "location",
        group = "location",
        description = "بخش محل قرارگیری مرکز آموزشی"
    },
    neighborhood = {
        label = "محله",
        type = "location",
        group = "location",
        description = "محله یا منطقه شهری"
    },
    street = {
        label = "خیابان",
        type = "text",
        group = "location",
        description = "خیابان یا معبر اصلی"
    },
    address = {
        label = "نشانی",
        type = "text",
        group = "location",
        description = "نشانی کامل مرکز آموزشی"
    },
    postcode = {
        label = "کدپستی",
        type = "text",
        group = "location",
        description = "کدپستی مرکز آموزشی"
    },
    coordinates = {
        label = "مختصات",
        type = "coordinates",
        group = "location",
        description = "مختصات جغرافیایی مرکز آموزشی"
    },
    ----------------------------------------------------------------------------
    -- Contact
    ----------------------------------------------------------------------------
    phone = {
        label = "تلفن",
        type = "phone",
        group = "contact",
        description = "شماره تماس اصلی مرکز آموزشی"
    },
    phone2 = {
        label = "تلفن دوم",
        type = "phone",
        group = "contact",
        description = "شماره تماس دوم مرکز آموزشی"
    },
    fax = {
        label = "نمابر",
        type = "phone",
        group = "contact",
        description = "شماره نمابر مرکز آموزشی"
    },
    email = {
        label = "ایمیل",
        type = "email",
        group = "contact",
        description = "نشانی ایمیل رسمی مرکز آموزشی"
    },
    website = {
        label = "وبگاه",
        type = "url",
        group = "contact",
        description = "وبگاه رسمی مرکز آموزشی"
    },
    instagram = {
        label = "اینستاگرام",
        type = "url",
        group = "contact",
        description = "صفحه اینستاگرام رسمی مرکز آموزشی"
    },
    telegram = {
        label = "تلگرام",
        type = "url",
        group = "contact",
        description = "کانال یا صفحه تلگرام رسمی مرکز آموزشی"
    },
    aparat = {
        label = "آپارات",
        type = "url",
        group = "contact",
        description = "صفحه آپارات مرکز آموزشی"
    },
    ----------------------------------------------------------------------------
    -- Statistics
    ----------------------------------------------------------------------------
    students = {
        label = "تعداد دانش‌آموز",
        type = "number",
        group = "statistics",
        description = "تعداد دانش‌آموزان مرکز آموزشی"
    },
    teachers = {
        label = "تعداد معلم",
        type = "number",
        group = "statistics",
        description = "تعداد معلمان و کادر آموزشی"
    },
    staff = {
        label = "تعداد کارکنان",
        type = "number",
        group = "statistics",
        description = "تعداد کارکنان اداری و خدماتی"
    },
    classrooms = {
        label = "تعداد کلاس",
        type = "number",
        group = "statistics",
        description = "تعداد کلاس‌های فعال"
    },
    capacity = {
        label = "ظرفیت",
        type = "number",
        group = "statistics",
        description = "ظرفیت پذیرش دانش‌آموز"
    },
    studentperclass = {
        label = "میانگین دانش‌آموز در کلاس",
        type = "number",
        group = "statistics",
        description = "میانگین تعداد دانش‌آموزان هر کلاس"
    },
    academicshifts = {
        label = "شیفت آموزشی",
        type = "list",
        group = "statistics",
        description = "صبح، عصر یا دوشیفته بودن مدرسه"
    },
    grades = {
        label = "پایه‌های تحصیلی",
        type = "list",
        group = "statistics",
        description = "پایه‌ها یا رشته‌های تحت پوشش"
    },
    ----------------------------------------------------------------------------
    -- Facilities
    ----------------------------------------------------------------------------
    library = {
        label = "کتابخانه",
        type = "boolean",
        group = "facilities",
        description = "وجود کتابخانه در مرکز آموزشی"
    },
    laboratory = {
        label = "آزمایشگاه",
        type = "boolean",
        group = "facilities",
        description = "وجود آزمایشگاه آموزشی"
    },
    computerlab = {
        label = "کارگاه رایانه",
        type = "boolean",
        group = "facilities",
        description = "وجود کارگاه یا آزمایشگاه رایانه"
    },
    smartclass = {
        label = "کلاس هوشمند",
        type = "boolean",
        group = "facilities",
        description = "وجود کلاس‌های هوشمند"
    },
    gym = {
        label = "سالن ورزشی",
        type = "boolean",
        group = "facilities",
        description = "وجود سالن ورزشی"
    },
    playground = {
        label = "زمین ورزشی",
        type = "boolean",
        group = "facilities",
        description = "وجود فضای ورزشی یا زمین بازی"
    },
    prayerroom = {
        label = "نمازخانه",
        type = "boolean",
        group = "facilities",
        description = "وجود نمازخانه"
    },
    buffet = {
        label = "بوفه",
        type = "boolean",
        group = "facilities",
        description = "وجود بوفه یا فروشگاه داخل مدرسه"
    },
    transport = {
        label = "سرویس مدرسه",
        type = "boolean",
        group = "facilities",
        description = "ارائه خدمات سرویس رفت‌وآمد"
    },
    internet = {
        label = "اینترنت",
        type = "boolean",
        group = "facilities",
        description = "دسترسی به اینترنت"
    },
    cctv = {
        label = "دوربین مداربسته",
        type = "boolean",
        group = "facilities",
        description = "وجود سیستم نظارت تصویری"
    },
    elevator = {
        label = "آسانسور",
        type = "boolean",
        group = "facilities",
        description = "وجود آسانسور در ساختمان"
    },
    accessibility = {
        label = "مناسب‌سازی معلولان",
        type = "boolean",
        group = "facilities",
        description = "امکانات دسترسی برای افراد دارای معلولیت"
    },
    canteen = {
        label = "سالن غذاخوری",
        type = "boolean",
        group = "facilities",
        description = "وجود سالن غذاخوری"
    },
    medicalroom = {
        label = "اتاق بهداشت",
        type = "boolean",
        group = "facilities",
        description = "وجود اتاق بهداشت یا مراقبت پزشکی"
    },
    counseling = {
        label = "مشاوره",
        type = "boolean",
        group = "facilities",
        description = "وجود خدمات مشاوره تحصیلی یا روان‌شناسی"
    },
    security = {
        label = "نگهبانی",
        type = "boolean",
        group = "facilities",
        description = "وجود خدمات نگهبانی یا کنترل ورود و خروج"
    },
    ----------------------------------------------------------------------------
    -- Achievements
    ----------------------------------------------------------------------------
    scientific = {
        label = "افتخارات علمی",
        type = "list",
        group = "achievements",
        description = "افتخارات و موفقیت‌های علمی مرکز آموزشی"
    },
    cultural = {
        label = "افتخارات فرهنگی",
        type = "list",
        group = "achievements",
        description = "افتخارات فرهنگی و هنری مرکز آموزشی"
    },
    sports = {
        label = "افتخارات ورزشی",
        type = "list",
        group = "achievements",
        description = "افتخارات ورزشی مرکز آموزشی"
    },
    competitions = {
        label = "مسابقات و جشنواره‌ها",
        type = "list",
        group = "achievements",
        description = "حضور یا موفقیت در مسابقات و جشنواره‌ها"
    },
    entranceexam = {
        label = "موفقیت‌های کنکور",
        type = "list",
        group = "achievements",
        description = "رتبه‌ها و موفقیت‌های کنکور"
    },
    alumni = {
        label = "فارغ‌التحصیلان شناخته‌شده",
        type = "list",
        group = "achievements",
        description = "افراد شناخته‌شده‌ای که در این مرکز تحصیل کرده‌اند"
    },
    ----------------------------------------------------------------------------
    -- Additional Information
    ----------------------------------------------------------------------------
    history = {
        label = "تاریخچه",
        type = "text",
        group = "achievements",
        description = "تاریخچه و پیشینه مرکز آموزشی"
    },
    notes = {
        label = "توضیحات",
        type = "text",
        group = "achievements",
        description = "توضیحات تکمیلی درباره مرکز آموزشی"
    },
    ----------------------------------------------------------------------------
    -- External Links
    ----------------------------------------------------------------------------
    wikipedia = {
        label = "ویکی‌پدیا",
        type = "url",
        group = "contact",
        description = "پیوند به مقاله ویکی‌پدیا"
    },
    maps = {
        label = "نقشه",
        type = "url",
        group = "location",
        description = "پیوند موقعیت روی نقشه"
    },
    ----------------------------------------------------------------------------
    -- Data Management
    ----------------------------------------------------------------------------
    updated = {
        label = "آخرین بروزرسانی",
        type = "date",
        group = "metadata",
        description = "تاریخ آخرین بروزرسانی اطلاعات"
    },
    verified = {
        label = "تأیید اطلاعات",
        type = "boolean",
        group = "metadata",
        description = "آیا اطلاعات بررسی و تأیید شده است"
    },
    datasource = {
        label = "منبع اطلاعات",
        type = "list",
        group = "metadata",
        description = "منابع مورد استفاده برای ثبت اطلاعات"
    }
}
--------------------------------------------------------------------------------
-- LAYOUT DEFINITIONS
--------------------------------------------------------------------------------
p.layouts = {
    ----------------------------------------------------------------------------
    -- Default Layout
    ----------------------------------------------------------------------------
    default = {
        {
            group = "identity",
            fields = {
                "fullname",
                "othernames"
            }
        }
    },
    ----------------------------------------------------------------------------
    -- School Layout
    ----------------------------------------------------------------------------
    school = {
        {
            group = "identity",
            fields = {
                "fullname",
                "othernames",
                "motto"
            }
        },
        {
            group = "classification",
            fields = {
                "type",
                "level",
                "gender",
                "ownership",
                "affiliation",
                "status",
                "educationdistrict",
                "schoolcode",
                "nationalcode",
                "educationtype"
            }
        },
        {
            group = "management",
            fields = {
                "established",
                "founder",
                "principal",
                "deputy",
                "formerprincipals"
            }
        },
        {
            group = "location",
            fields = {
                "country",
                "province",
                "county",
                "city",
                "district",
                "neighborhood",
                "street",
                "address",
                "postcode",
                "coordinates",
                "maps"
            }
        },
        {
            group = "contact",
            fields = {
                "phone",
                "phone2",
                "fax",
                "email",
                "website",
                "instagram",
                "telegram",
                "aparat",
                "wikipedia"
            }
        },
        {
            group = "statistics",
            fields = {
                "students",
                "teachers",
                "staff",
                "classrooms",
                "capacity",
                "studentperclass",
                "grades",
                "academicshifts"
            }
        },
        {
            group = "facilities",
            fields = {
                "library",
                "laboratory",
                "computerlab",
                "smartclass",
                "gym",
                "playground",
                "prayerroom",
                "buffet",
                "transport",
                "internet",
                "cctv",
                "elevator",
                "accessibility",
                "canteen",
                "medicalroom",
                "counseling",
                "security"
            }
        },
        {
            group = "achievements",
            fields = {
                "scientific",
                "cultural",
                "sports",
                "competitions",
                "entranceexam",
                "alumni",
                "history",
                "notes"
            }
        },
        {
            group = "metadata",
            fields = {
                "updated",
                "verified",
                "datasource"
            }
        }
    },
    ----------------------------------------------------------------------------
    -- University Layout
    ----------------------------------------------------------------------------
    university = {
        {
            group = "identity",
            fields = {
                "logo",
                "fullname",
                "enname",
                "othernames",
                "motto"
            }
        },
        {
            group = "classification",
            fields = {
                "type",
                "ownership",
                "affiliation",
                "status"
            }
        },
        {
            group = "management",
            fields = {
                "established",
                "founder",
                "principal"
            }
        },
        {
            group = "location",
            fields = {
                "country",
                "province",
                "county",
                "city",
                "address",
                "postcode",
                "coordinates",
                "maps"
            }
        },
        {
            group = "contact",
            fields = {
                "phone",
                "fax",
                "email",
                "website",
                "instagram",
                "telegram",
                "aparat",
                "wikipedia"
            }
        },
        {
            group = "metadata",
            fields = {
                "updated",
                "verified",
                "datasource"
            }
        }
    },
    ----------------------------------------------------------------------------
    -- College Layout (expanded from university)
    ----------------------------------------------------------------------------
    college = {
        {
            group = "identity",
            fields = {
                "logo",
                "fullname",
                "enname",
                "othernames",
                "motto"
            }
        },
        {
            group = "classification",
            fields = {
                "type",
                "ownership",
                "affiliation",
                "status"
            }
        },
        {
            group = "management",
            fields = {
                "established",
                "founder",
                "principal"
            }
        },
        {
            group = "location",
            fields = {
                "country",
                "province",
                "county",
                "city",
                "address",
                "postcode",
                "coordinates",
                "maps"
            }
        },
        {
            group = "contact",
            fields = {
                "phone",
                "fax",
                "email",
                "website",
                "instagram",
                "telegram",
                "aparat",
                "wikipedia"
            }
        },
        {
            group = "metadata",
            fields = {
                "updated",
                "verified",
                "datasource"
            }
        }
    },
    ----------------------------------------------------------------------------
    -- Seminary Layout
    ----------------------------------------------------------------------------
    seminary = {
        {
            group = "identity",
            fields = {
                "fullname",
                "othernames",
                "motto"
            }
        },
        {
            group = "classification",
            fields = {
                "type",
                "affiliation",
                "status"
            }
        },
        {
            group = "management",
            fields = {
                "established",
                "founder",
                "principal"
            }
        },
        {
            group = "location",
            fields = {
                "country",
                "province",
                "city",
                "address",
                "coordinates"
            }
        },
        {
            group = "contact",
            fields = {
                "phone",
                "website"
            }
        },
        {
            group = "metadata",
            fields = {
                "updated",
                "verified",
                "datasource"
            }
        }
    },
    ----------------------------------------------------------------------------
    -- Kindergarten Layout (expanded from school)
    ----------------------------------------------------------------------------
    kindergarten = {
        {
            group = "identity",
            fields = {
                "fullname",
                "othernames",
                "motto"
            }
        },
        {
            group = "classification",
            fields = {
                "type",
                "level",
                "gender",
                "ownership",
                "affiliation",
                "status",
                "educationdistrict",
                "schoolcode",
                "nationalcode",
                "educationtype"
            }
        },
        {
            group = "management",
            fields = {
                "established",
                "founder",
                "principal",
                "deputy",
                "formerprincipals"
            }
        },
        {
            group = "location",
            fields = {
                "country",
                "province",
                "county",
                "city",
                "district",
                "neighborhood",
                "street",
                "address",
                "postcode",
                "coordinates",
                "maps"
            }
        },
        {
            group = "contact",
            fields = {
                "phone",
                "phone2",
                "fax",
                "email",
                "website",
                "instagram",
                "telegram",
                "aparat",
                "wikipedia"
            }
        },
        {
            group = "statistics",
            fields = {
                "students",
                "teachers",
                "staff",
                "classrooms",
                "capacity",
                "studentperclass",
                "grades",
                "academicshifts"
            }
        },
        {
            group = "facilities",
            fields = {
                "library",
                "laboratory",
                "computerlab",
                "smartclass",
                "gym",
                "playground",
                "prayerroom",
                "buffet",
                "transport",
                "internet",
                "cctv",
                "elevator",
                "accessibility",
                "canteen",
                "medicalroom",
                "counseling",
                "security"
            }
        },
        {
            group = "achievements",
            fields = {
                "scientific",
                "cultural",
                "sports",
                "competitions",
                "entranceexam",
                "alumni",
                "history",
                "notes"
            }
        },
        {
            group = "metadata",
            fields = {
                "updated",
                "verified",
                "datasource"
            }
        }
    },
    ----------------------------------------------------------------------------
    -- Training Center Layout (expanded from school)
    ----------------------------------------------------------------------------
    training_center = {
        {
            group = "identity",
            fields = {
                "fullname",
                "othernames",
                "motto"
            }
        },
        {
            group = "classification",
            fields = {
                "type",
                "level",
                "gender",
                "ownership",
                "affiliation",
                "status",
                "educationdistrict",
                "schoolcode",
                "nationalcode",
                "educationtype"
            }
        },
        {
            group = "management",
            fields = {
                "established",
                "founder",
                "principal",
                "deputy",
                "formerprincipals"
            }
        },
        {
            group = "location",
            fields = {
                "country",
                "province",
                "county",
                "city",
                "district",
                "neighborhood",
                "street",
                "address",
                "postcode",
                "coordinates",
                "maps"
            }
        },
        {
            group = "contact",
            fields = {
                "phone",
                "phone2",
                "fax",
                "email",
                "website",
                "instagram",
                "telegram",
                "aparat",
                "wikipedia"
            }
        },
        {
            group = "statistics",
            fields = {
                "students",
                "teachers",
                "staff",
                "classrooms",
                "capacity",
                "studentperclass",
                "grades",
                "academicshifts"
            }
        },
        {
            group = "facilities",
            fields = {
                "library",
                "laboratory",
                "computerlab",
                "smartclass",
                "gym",
                "playground",
                "prayerroom",
                "buffet",
                "transport",
                "internet",
                "cctv",
                "elevator",
                "accessibility",
                "canteen",
                "medicalroom",
                "counseling",
                "security"
            }
        },
        {
            group = "achievements",
            fields = {
                "scientific",
                "cultural",
                "sports",
                "competitions",
                "entranceexam",
                "alumni",
                "history",
                "notes"
            }
        },
        {
            group = "metadata",
            fields = {
                "updated",
                "verified",
                "datasource"
            }
        }
    },
    ----------------------------------------------------------------------------
    -- Research Center Layout (expanded from university)
    ----------------------------------------------------------------------------
    research_center = {
        {
            group = "identity",
            fields = {
                "logo",
                "fullname",
                "enname",
                "othernames",
                "motto"
            }
        },
        {
            group = "classification",
            fields = {
                "type",
                "ownership",
                "affiliation",
                "status"
            }
        },
        {
            group = "management",
            fields = {
                "established",
                "founder",
                "principal"
            }
        },
        {
            group = "location",
            fields = {
                "country",
                "province",
                "county",
                "city",
                "address",
                "postcode",
                "coordinates",
                "maps"
            }
        },
        {
            group = "contact",
            fields = {
                "phone",
                "fax",
                "email",
                "website",
                "instagram",
                "telegram",
                "aparat",
                "wikipedia"
            }
        },
        {
            group = "metadata",
            fields = {
                "updated",
                "verified",
                "datasource"
            }
        }
    }
}
--------------------------------------------------------------------------------
-- RETURN MODULE
--------------------------------------------------------------------------------
return p