<?xml version="1.0" encoding="utf-8"?>
<extension type="module" version="5.0" client="site" method="upgrade">
    <name>Job Posting</name>
    <author>Your Name</author>
    <version>1.0</version>
    <description>Module for structuring job postings using RSForms.</description>
    <files>
        <filename module="mod_job_posting">mod_job_posting.php</filename>
        <folder>tmpl</folder>
    </files>
    <config>
        <fields name="params">
            <fieldset name="basic">
                <!-- RSForm ID -->
                <field name="rsform_id" type="text" label="RSForm ID" description="Enter the ID of the RSForm to use for job posting input." default="1" />
                
                <!-- Country (Changed from Dropdown to Text Field) -->
                <field name="country" type="text" label="Country" description="Enter the country for the job posting." default="Uganda" />
                
                <!-- Postal Code -->
                <field name="postal_code" type="text" label="Postal Code" description="Enter the postal code for the country." default="00256" />
                
                <!-- Country Code -->
                <field name="country_code" type="text" label="Country Code" description="Enter the country code (e.g., UG, KE)." default="UG" />
                
                <!-- Default Currency -->
                <field name="currency" type="text" label="Default Currency" description="Enter the default currency (e.g., UGX, KES)." default="UGX" />
                
                <!-- Website URL -->
                <field name="website_url" type="url" label="Website URL" description="Enter the website URL for the country." default="https://www.greatugandajobs.com" />
                
                <!-- Region -->
                <field name="region" type="text" label="Region" description="Enter the region (e.g., East Africa)." default="East Africa" />
            </fieldset>
        </fields>
    </config>
</extension>