Commit 413d1ee2 by Owen Ryan Ang

changed behavior for when opening keyboard, added new schema

parent 4a0f6327
......@@ -24,4 +24,4 @@ USERNAME=root
PASSWORD=p455w0rd
[SSO CONFIG]
PUBKEY = C:/Users/oang/git/web-ui-mobile1/WebGde/WebContent/WEB-INF/config/sso/pubkey.pem
\ No newline at end of file
PUBKEY = C:/Users/oang/git/web-ui-mobile2/WebGde/WebContent/WEB-INF/config/sso/pubkey.pem
\ No newline at end of file
//Data Input Field Config
export var SCHEMA_FILE_PATH = "./WebGde-Widgets/sample_schema/dev_schema_childof.json";
export var SCHEMA_FILE_PATH = "./WebGde-Widgets/sample_schema/REG-INP.json";
//DBLookup Webservice URL
export var DB_URL = "http://localhost:8080/WebGde/svc/gfs-rest/db-lookup"
\ No newline at end of file
......@@ -1766,10 +1766,21 @@ const deconstruct = async (section, container, classAttribute) => {
inputContainer.setAttribute('class', 'inputContainer ' + classAttribute)
hiddenField.appendChild(inputContainer)
// default hiddeninputs to String
const hiddenInput = inputHidden(key, schema);
hiddenInput.setAttribute('class', classAttribute)
inputContainer.appendChild(hiddenInput);
switch (validation.collection) {
case "geotag":
case "altitude":
case "direction":
const hiddenInputGeo = inputGeoTag(key, validation);
hiddenInputGeo.setAttribute('class', classAttribute);
inputContainer.appendChild(hiddenInputGeo);
break;
default:
const hiddenInputDefault = inputHidden(key, validation);
hiddenInputDefault.setAttribute('class', classAttribute);
inputContainer.appendChild(hiddenInputDefault);
break;
}
hiddenField.style.display = 'none'; // Hide the input
hiddenField.classList.add('hidden'); // Add 'hidden' class
......@@ -1871,6 +1882,11 @@ const deconstruct = async (section, container, classAttribute) => {
input.classList.add(classAttribute)
inputContainer.appendChild(input)
if (hidden && ["geotag", "altitude", "direction"].includes(validation.collection)){
newField.style.display = 'none'; // Hide the input
newField.classList.add('hidden'); // Add 'hidden' class
}
}
//keys na drop down
......
export const PROJECT_CODE = "PROJCODE01";
export const PROJECT_CODE = "DSQC";
export const ENCODING_PASS = "PASS1";
export const GFS_URL = "http://107.20.193.188/gfs-explorer-ws/svc/gfs-rest/";
......
......@@ -32,7 +32,7 @@ export const NEXT_NODE = "Complete"
export const EXCEPTION_NODE = "Exception"
export const SHOW_ELEMENT_LIST_VIEWER = "Y"
export const ADD_NEW_OPTION = "N"
export const DISPLAYED_DETAILS = "Address|Cassandra_Key|GFS_Loc" //pipe-delimited
export const DISPLAYED_DETAILS = "Address|Cassandra_Key" //pipe-delimited
export const PDF_EXTENSION = ".pdf"
export const JPG_EXTENSION = ".jpg"
......
......@@ -56,15 +56,24 @@ export class DocumentControlWidget {
addEvenListeners() {
// Get the initial window height and store it in session storage
const initialWindowHeight = window.innerHeight;
sessionStorage.setItem('initialWindowHeight', initialWindowHeight);
// Add an event listener for the resize event
window.addEventListener("resize", (e) => {
const container = this.global.container;
if (container.style.display === "none") {
container.style.display = "flex";
// Get the stored initial window height from session storage
const storedHeight = sessionStorage.getItem('initialWindowHeight');
// Check if the current window height matches the stored height
if (window.innerHeight !== parseInt(storedHeight)) {
container.style.display = "none"; // Hide container when heights don't match
} else {
container.style.display = "none";
container.style.display = "flex"; // Show container when heights match
}
})
});
this.global.submitBtn.onclick = async (e) => {
createSubmitWindow(e);
......
{
"REG-INP" : {
"Profile" : {
"business_name" : {
"fieldLabel" : "Business Name",
"aka" : "field2",
"validation" : {
"fieldLength" : 50.0,
"collection" : "alphanumeric",
"mandatory" : true
}
},
"registered_owner" : {
"fieldLabel" : "Registered Owner",
"aka" : "field3",
"validation" : {
"fieldLength" : 50.0,
"collection" : "alphanumeric",
"mandatory" : true
}
},
"business_address" : {
"fieldLabel" : "Business Address",
"aka" : "field4",
"validation" : {
"fieldLength" : 50.0,
"collection" : "alphanumeric",
"mandatory" : true
}
},
"mission_order_no" : {
"fieldLabel" : "Mission Order No.",
"aka" : "field5",
"validation" : {
"fieldLength" : 20.0,
"collection" : "alphanumeric",
"mandatory" : true
}
},
"mission_date" : {
"fieldLabel" : "Mission Date",
"aka" : "field6",
"validation" : {
"fieldLength" : 10.0,
"collection" : "datepicker",
"mandatory" : true
}
},
"business_permit_no" : {
"fieldLabel" : "Business Permit No.",
"aka" : "field7",
"validation" : {
"fieldLength" : 10.0,
"collection" : "numeric",
"mandatory" : true
}
},
"application_type" : {
"fieldLabel" : "Application Type",
"aka" : "field8",
"validation" : {
"fieldLength" : 20.0,
"collection" : "alphanumeric",
"mandatory" : true
}
},
"application_date" : {
"fieldLabel" : "Application Date",
"aka" : "field9",
"validation" : {
"fieldLength" : 10.0,
"collection" : "datepicker",
"mandatory" : true
}
}
},
"Company Profile" : {
"nature_of_business" : {
"fieldLabel" : "Nature of Business",
"aka" : "field10",
"validation" : {
"fieldLength" : 20.0,
"collection" : "alphanumeric",
"mandatory" : false
}
},
"total_lot_area" : {
"fieldLabel" : "Total Lot Area (sqm)",
"aka" : "field11",
"validation" : {
"fieldLength" : 10.0,
"collection" : "numeric",
"mandatory" : false
}
},
"total_floor_area" : {
"fieldLabel" : "Total Floor Area (sqm)",
"aka" : "field12",
"validation" : {
"fieldLength" : 10.0,
"collection" : "numeric",
"mandatory" : false
}
},
"date_of_inspection" : {
"fieldLabel" : "Date of Inspection",
"aka" : "field13",
"validation" : {
"fieldLength" : 10.0,
"collection" : "datepicker",
"mandatory" : false
}
},
"mobile_no" : {
"fieldLabel" : "Mobile Number (09xxxxxxxxx)",
"aka" : "field14",
"validation" : {
"fieldLength" : 11.0,
"collection" : "numeric",
"mandatory" : false
}
},
"tel_no" : {
"fieldLabel" : "Telephone Number (x-xxxxxxx)",
"aka" : "field15",
"validation" : {
"fieldLength" : 8.0,
"collection" : "numeric",
"mandatory" : false
}
},
"number_of_personnel" : {
"fieldLabel" : "Number of Personnel",
"aka" : "field16",
"validation" : {
"fieldLength" : 5.0,
"collection" : "numeric",
"mandatory" : false
}
},
"email_address" : {
"fieldLabel" : "Email Address",
"aka" : "field17",
"validation" : {
"fieldLength" : 20.0,
"collection" : "email",
"mandatory" : false
}
},
"stand_alone_line_occupancy" : {
"fieldLabel" : "Stand Alone/Line Occupancy",
"aka" : "field18",
"validation" : {
"fieldLength" : 1.0,
"collection" : "radiolist",
"items" : [ "Stand Alone", "Line Occupancy" ],
"mandatory" : false
}
}
},
"Solid Waste Management" : {
"non_biodegradable_edg" : {
"fieldLabel" : "Non-biodegradable (Estimated Daily Generation in kg)",
"aka" : "field19",
"validation" : {
"fieldLength" : 10.0,
"collection" : "numeric",
"mandatory" : false
}
},
"non_biodegradable_hauler" : {
"fieldLabel" : "Non-biodegradable (Hauler)",
"aka" : "field20",
"validation" : {
"fieldLength" : 20.0,
"collection" : "alphanumeric",
"mandatory" : false
}
},
"non_biodegradable_foc" : {
"fieldLabel" : "Non-biodegradable (Frequency of Collection)",
"aka" : "field21",
"validation" : {
"fieldLength" : 1.0,
"collection" : "dropdown",
"options" : [ "Daily", "Weekly", "Monthly", "Quarterly", "Semi-Annually", "Annually" ],
"mandatory" : false
}
},
"biodegradable_edg" : {
"fieldLabel" : "Biodegradable (Estimated Daily Generation in kg)",
"aka" : "field22",
"validation" : {
"fieldLength" : 20.0,
"collection" : "alphanumeric",
"mandatory" : false
}
},
"biodegradable_hauler" : {
"fieldLabel" : "Biodegradable (Hauler)",
"aka" : "field23",
"validation" : {
"fieldLength" : 20.0,
"collection" : "alphanumeric",
"mandatory" : false
}
},
"biodegradable_foc" : {
"fieldLabel" : "Biodegradable (Frequency of Collection)",
"aka" : "field24",
"validation" : {
"fieldLength" : 1.0,
"collection" : "dropdown",
"options" : [ "Daily", "Weekly", "Monthly", "Quarterly", "Semi-Annually", "Annually" ],
"mandatory" : false
}
},
"residual_edg" : {
"fieldLabel" : "Residual(Estimated Daily Generation in kg)",
"aka" : "field25",
"validation" : {
"fieldLength" : 10.0,
"collection" : "numeric",
"mandatory" : false
}
},
"residual_hauler" : {
"fieldLabel" : "Residual(Hauler)",
"aka" : "field26",
"validation" : {
"fieldLength" : 20.0,
"collection" : "alphanumeric",
"mandatory" : false
}
},
"residual_foc" : {
"fieldLabel" : "Residual(Frequency of Collection)",
"aka" : "field27",
"validation" : {
"fieldLength" : 1.0,
"collection" : "dropdown",
"options" : [ "Daily", "Weekly", "Monthly", "Quarterly", "Semi-Annually", "Annually" ],
"mandatory" : false
}
},
"recyclables_edg" : {
"fieldLabel" : "Recyclables (Estimated Daily Generation in kg)",
"aka" : "field28",
"validation" : {
"fieldLength" : 20.0,
"collection" : "numeric",
"mandatory" : false
}
},
"recyclables_hauler" : {
"fieldLabel" : "Recyclables (Hauler)",
"aka" : "field29",
"validation" : {
"fieldLength" : 20.0,
"collection" : "alphanumeric",
"mandatory" : false
}
},
"recyclables_foc" : {
"fieldLabel" : "Recyclables (Frequency of Collection)",
"aka" : "field30",
"validation" : {
"fieldLength" : 1.0,
"collection" : "dropdown",
"options" : [ "Daily", "Weekly", "Monthly", "Quarterly", "Semi-Annually", "Annually" ],
"mandatory" : false
}
},
"kitchen_waste_edg" : {
"fieldLabel" : "Kitchen Waste (Estimated Daily Generation in kg)",
"aka" : "field31",
"validation" : {
"fieldLength" : 20.0,
"collection" : "numeric",
"mandatory" : false
}
},
"kitchen_waste_hauler" : {
"fieldLabel" : "Kitchen Waste (Hauler)",
"aka" : "field32",
"validation" : {
"fieldLength" : 20.0,
"collection" : "alphanumeric",
"mandatory" : false
}
},
"kitchen_waste_foc" : {
"fieldLabel" : "Kitchen Waste (Frequency of Collection)",
"aka" : "field33",
"validation" : {
"fieldLength" : 1.0,
"collection" : "dropdown",
"options" : [ "Daily", "Weekly", "Monthly", "Quarterly", "Semi-Annually", "Annually" ],
"mandatory" : false
}
}
},
"Hazardous Waste 1" : {
"hazardous_waste_1" : {
"fieldLabel" : "Hazardous Waste",
"aka" : "field34",
"validation" : {
"fieldLength" : 1.0,
"collection" : "dropdown",
"options" : [ "Wastes with cyanide / A101", "Sulfuric acid / B201", "Hydrochloric acid / B202", "Nitric acid / B203", "Phosphoric acid / B204", "Hydrofluoric acid / B205", "Mixture of sulfuric and hydrochloric acid / B206", "Other inorganic acid / B207", "Organic acid / B208", "Other acid wastes / B299", "Caustic soda / C301", "Potash / C302", "Alkaline cleaners / C303", "Ammonium hydroxide / C304", "Lime slurries / C305", "Other alkali wastes / C399", "Selenium and its compounds / D401", "Arsenic and its compounds / D402", "Barium and its compounds / D403", "Cadmium and its compounds / D404", "Chromium compounds / D405", "Lead compounds / D406", "Mercury and mercury compounds / D407", "Flouride and its compounds / D408", "Other wastes with inorganic chemicals / D499", "Oxidizing agents / E501", "Reducing agents / E502", "Explosive and unstable chemicals / E503", "Highly reactive chemicals / E599", "Solvent based / F601", "Inorganic pigments / F602", "Ink formulation / F603", "Resinous materials / F604", "Other mixed / F699", "Halogenated organic solvents / G703", "Non-halogenated organic solvents / G704", "Grease wastes / H802", "Used industrial oil including sludge / I101", "Vegetable oil including sludge / I102", "Tallow / I103", "Oil-contaminated materials / I104", "Containers previously containing toxic chemical substances / J201", "Solidified wastes / K301", "Chemically fixed and polymerized wastes / K302", "Encapsulated wastes / K303", "Wastes with specific halogenated toxic organic chemicals / L401", "Wastes with specific non-halogenated toxic organic chemicals / L402", "Ozone depleting substance(ODS) / L403", "Polychlorinated Biphenyl(PCB) wastes / L404", "Pathological or infectious wastes / M501", "Asbestos wastes / M502", "Pharmaceuticals and drugs / M503", "Pesticides / M504", "Persistent Organic Pollutants (POPs) wastes / M505", "Waste electrical and electronic equipment(WEEE) / M506", "Special wastes / M507" ],
"mandatory" : false
}
},
"estimated_daily_generation_1" : {
"fieldLabel" : "Estimated Daily Generation in kilograms",
"aka" : "field35",
"validation" : {
"fieldLength" : 20.0,
"collection" : "numeric",
"mandatory" : false
}
},
"hauler_1" : {
"fieldLabel" : "Hauler",
"aka" : "field36",
"validation" : {
"fieldLength" : 20.0,
"collection" : "alphanumeric",
"mandatory" : false
}
},
"frequency_collection_1" : {
"fieldLabel" : "Frequency of Collection",
"aka" : "field37",
"validation" : {
"fieldLength" : 1.0,
"collection" : "dropdown",
"options" : [ "Daily", "Weekly", "Monthly", "Quarterly", "Semi-Annually", "Annually" ],
"mandatory" : false
}
}
},
"Hazardous Waste 2" : {
"hazardous_waste_2" : {
"fieldLabel" : "Hazardous Waste",
"aka" : "field38",
"validation" : {
"fieldLength" : 1.0,
"collection" : "dropdown",
"options" : [ "Wastes with cyanide / A101", "Sulfuric acid / B201", "Hydrochloric acid / B202", "Nitric acid / B203", "Phosphoric acid / B204", "Hydrofluoric acid / B205", "Mixture of sulfuric and hydrochloric acid / B206", "Other inorganic acid / B207", "Organic acid / B208", "Other acid wastes / B299", "Caustic soda / C301", "Potash / C302", "Alkaline cleaners / C303", "Ammonium hydroxide / C304", "Lime slurries / C305", "Other alkali wastes / C399", "Selenium and its compounds / D401", "Arsenic and its compounds / D402", "Barium and its compounds / D403", "Cadmium and its compounds / D404", "Chromium compounds / D405", "Lead compounds / D406", "Mercury and mercury compounds / D407", "Flouride and its compounds / D408", "Other wastes with inorganic chemicals / D499", "Oxidizing agents / E501", "Reducing agents / E502", "Explosive and unstable chemicals / E503", "Highly reactive chemicals / E599", "Solvent based / F601", "Inorganic pigments / F602", "Ink formulation / F603", "Resinous materials / F604", "Other mixed / F699", "Halogenated organic solvents / G703", "Non-halogenated organic solvents / G704", "Grease wastes / H802", "Used industrial oil including sludge / I101", "Vegetable oil including sludge / I102", "Tallow / I103", "Oil-contaminated materials / I104", "Containers previously containing toxic chemical substances / J201", "Solidified wastes / K301", "Chemically fixed and polymerized wastes / K302", "Encapsulated wastes / K303", "Wastes with specific halogenated toxic organic chemicals / L401", "Wastes with specific non-halogenated toxic organic chemicals / L402", "Ozone depleting substance(ODS) / L403", "Polychlorinated Biphenyl(PCB) wastes / L404", "Pathological or infectious wastes / M501", "Asbestos wastes / M502", "Pharmaceuticals and drugs / M503", "Pesticides / M504", "Persistent Organic Pollutants (POPs) wastes / M505", "Waste electrical and electronic equipment(WEEE) / M506", "Special wastes / M507" ],
"mandatory" : false
}
},
"estimated_daily_generation_2" : {
"fieldLabel" : "Estimated Daily Generation in kilograms",
"aka" : "field39",
"validation" : {
"fieldLength" : 20.0,
"collection" : "numeric",
"mandatory" : false
}
},
"hauler_2" : {
"fieldLabel" : "Hauler",
"aka" : "field40",
"validation" : {
"fieldLength" : 20.0,
"collection" : "alphanumeric",
"mandatory" : false
}
},
"frequency_collection_2" : {
"fieldLabel" : "Frequency of Collection",
"aka" : "field41",
"validation" : {
"fieldLength" : 1.0,
"collection" : "dropdown",
"options" : [ "Daily", "Weekly", "Monthly", "Quarterly", "Semi-Annually", "Annually" ],
"mandatory" : false
}
}
},
"Hazardous Waste 3" : {
"hazardous_waste_3" : {
"fieldLabel" : "Hazardous Waste",
"aka" : "field42",
"validation" : {
"fieldLength" : 1.0,
"collection" : "dropdown",
"options" : [ "Wastes with cyanide / A101", "Sulfuric acid / B201", "Hydrochloric acid / B202", "Nitric acid / B203", "Phosphoric acid / B204", "Hydrofluoric acid / B205", "Mixture of sulfuric and hydrochloric acid / B206", "Other inorganic acid / B207", "Organic acid / B208", "Other acid wastes / B299", "Caustic soda / C301", "Potash / C302", "Alkaline cleaners / C303", "Ammonium hydroxide / C304", "Lime slurries / C305", "Other alkali wastes / C399", "Selenium and its compounds / D401", "Arsenic and its compounds / D402", "Barium and its compounds / D403", "Cadmium and its compounds / D404", "Chromium compounds / D405", "Lead compounds / D406", "Mercury and mercury compounds / D407", "Flouride and its compounds / D408", "Other wastes with inorganic chemicals / D499", "Oxidizing agents / E501", "Reducing agents / E502", "Explosive and unstable chemicals / E503", "Highly reactive chemicals / E599", "Solvent based / F601", "Inorganic pigments / F602", "Ink formulation / F603", "Resinous materials / F604", "Other mixed / F699", "Halogenated organic solvents / G703", "Non-halogenated organic solvents / G704", "Grease wastes / H802", "Used industrial oil including sludge / I101", "Vegetable oil including sludge / I102", "Tallow / I103", "Oil-contaminated materials / I104", "Containers previously containing toxic chemical substances / J201", "Solidified wastes / K301", "Chemically fixed and polymerized wastes / K302", "Encapsulated wastes / K303", "Wastes with specific halogenated toxic organic chemicals / L401", "Wastes with specific non-halogenated toxic organic chemicals / L402", "Ozone depleting substance(ODS) / L403", "Polychlorinated Biphenyl(PCB) wastes / L404", "Pathological or infectious wastes / M501", "Asbestos wastes / M502", "Pharmaceuticals and drugs / M503", "Pesticides / M504", "Persistent Organic Pollutants (POPs) wastes / M505", "Waste electrical and electronic equipment(WEEE) / M506", "Special wastes / M507" ],
"mandatory" : false
}
},
"estimated_daily_generation_3" : {
"fieldLabel" : "Estimated Daily Generation in kilograms",
"aka" : "field43",
"validation" : {
"fieldLength" : 20.0,
"collection" : "numeric",
"mandatory" : false
}
},
"hauler_3" : {
"fieldLabel" : "Hauler",
"aka" : "field44",
"validation" : {
"fieldLength" : 20.0,
"collection" : "alphanumeric",
"mandatory" : false
}
},
"frequency_collection_3" : {
"fieldLabel" : "Frequency of Collection",
"aka" : "field45",
"validation" : {
"fieldLength" : 1.0,
"collection" : "dropdown",
"options" : [ "Daily", "Weekly", "Monthly", "Quarterly", "Semi-Annually", "Annually" ],
"mandatory" : false
}
}
},
"Hazardous Waste 4" : {
"hazardous_waste_2" : {
"fieldLabel" : "Hazardous Waste",
"aka" : "field46",
"validation" : {
"fieldLength" : 1.0,
"collection" : "dropdown",
"options" : [ "Wastes with cyanide / A101", "Sulfuric acid / B201", "Hydrochloric acid / B202", "Nitric acid / B203", "Phosphoric acid / B204", "Hydrofluoric acid / B205", "Mixture of sulfuric and hydrochloric acid / B206", "Other inorganic acid / B207", "Organic acid / B208", "Other acid wastes / B299", "Caustic soda / C301", "Potash / C302", "Alkaline cleaners / C303", "Ammonium hydroxide / C304", "Lime slurries / C305", "Other alkali wastes / C399", "Selenium and its compounds / D401", "Arsenic and its compounds / D402", "Barium and its compounds / D403", "Cadmium and its compounds / D404", "Chromium compounds / D405", "Lead compounds / D406", "Mercury and mercury compounds / D407", "Flouride and its compounds / D408", "Other wastes with inorganic chemicals / D499", "Oxidizing agents / E501", "Reducing agents / E502", "Explosive and unstable chemicals / E503", "Highly reactive chemicals / E599", "Solvent based / F601", "Inorganic pigments / F602", "Ink formulation / F603", "Resinous materials / F604", "Other mixed / F699", "Halogenated organic solvents / G703", "Non-halogenated organic solvents / G704", "Grease wastes / H802", "Used industrial oil including sludge / I101", "Vegetable oil including sludge / I102", "Tallow / I103", "Oil-contaminated materials / I104", "Containers previously containing toxic chemical substances / J201", "Solidified wastes / K301", "Chemically fixed and polymerized wastes / K302", "Encapsulated wastes / K303", "Wastes with specific halogenated toxic organic chemicals / L401", "Wastes with specific non-halogenated toxic organic chemicals / L402", "Ozone depleting substance(ODS) / L403", "Polychlorinated Biphenyl(PCB) wastes / L404", "Pathological or infectious wastes / M501", "Asbestos wastes / M502", "Pharmaceuticals and drugs / M503", "Pesticides / M504", "Persistent Organic Pollutants (POPs) wastes / M505", "Waste electrical and electronic equipment(WEEE) / M506", "Special wastes / M507" ],
"mandatory" : false
}
},
"estimated_daily_generation_2" : {
"fieldLabel" : "Estimated Daily Generation in kilograms",
"aka" : "field47",
"validation" : {
"fieldLength" : 20.0,
"collection" : "numeric",
"mandatory" : false
}
},
"hauler_2" : {
"fieldLabel" : "Hauler",
"aka" : "field48",
"validation" : {
"fieldLength" : 20.0,
"collection" : "alphanumeric",
"mandatory" : false
}
},
"frequency_collection_2" : {
"fieldLabel" : "Frequency of Collection",
"aka" : "field49",
"validation" : {
"fieldLength" : 1.0,
"collection" : "dropdown",
"options" : [ "Daily", "Weekly", "Monthly", "Quarterly", "Semi-Annually", "Annually" ],
"mandatory" : false
}
}
},
"Hazardous Waste 5" : {
"hazardous_waste_3" : {
"fieldLabel" : "Hazardous Waste",
"aka" : "field50",
"validation" : {
"fieldLength" : 1.0,
"collection" : "dropdown",
"options" : [ "Wastes with cyanide / A101", "Sulfuric acid / B201", "Hydrochloric acid / B202", "Nitric acid / B203", "Phosphoric acid / B204", "Hydrofluoric acid / B205", "Mixture of sulfuric and hydrochloric acid / B206", "Other inorganic acid / B207", "Organic acid / B208", "Other acid wastes / B299", "Caustic soda / C301", "Potash / C302", "Alkaline cleaners / C303", "Ammonium hydroxide / C304", "Lime slurries / C305", "Other alkali wastes / C399", "Selenium and its compounds / D401", "Arsenic and its compounds / D402", "Barium and its compounds / D403", "Cadmium and its compounds / D404", "Chromium compounds / D405", "Lead compounds / D406", "Mercury and mercury compounds / D407", "Flouride and its compounds / D408", "Other wastes with inorganic chemicals / D499", "Oxidizing agents / E501", "Reducing agents / E502", "Explosive and unstable chemicals / E503", "Highly reactive chemicals / E599", "Solvent based / F601", "Inorganic pigments / F602", "Ink formulation / F603", "Resinous materials / F604", "Other mixed / F699", "Halogenated organic solvents / G703", "Non-halogenated organic solvents / G704", "Grease wastes / H802", "Used industrial oil including sludge / I101", "Vegetable oil including sludge / I102", "Tallow / I103", "Oil-contaminated materials / I104", "Containers previously containing toxic chemical substances / J201", "Solidified wastes / K301", "Chemically fixed and polymerized wastes / K302", "Encapsulated wastes / K303", "Wastes with specific halogenated toxic organic chemicals / L401", "Wastes with specific non-halogenated toxic organic chemicals / L402", "Ozone depleting substance(ODS) / L403", "Polychlorinated Biphenyl(PCB) wastes / L404", "Pathological or infectious wastes / M501", "Asbestos wastes / M502", "Pharmaceuticals and drugs / M503", "Pesticides / M504", "Persistent Organic Pollutants (POPs) wastes / M505", "Waste electrical and electronic equipment(WEEE) / M506", "Special wastes / M507" ],
"mandatory" : false
}
},
"estimated_daily_generation_3" : {
"fieldLabel" : "Estimated Daily Generation in kilograms",
"aka" : "field51",
"validation" : {
"fieldLength" : 20.0,
"collection" : "numeric",
"mandatory" : false
}
},
"hauler_3" : {
"fieldLabel" : "Hauler",
"aka" : "field52",
"validation" : {
"fieldLength" : 20.0,
"collection" : "alphanumeric",
"mandatory" : false
}
},
"frequency_collection_3" : {
"fieldLabel" : "Frequency of Collection",
"aka" : "field53",
"validation" : {
"fieldLength" : 1.0,
"collection" : "dropdown",
"options" : [ "Daily", "Weekly", "Monthly", "Quarterly", "Semi-Annually", "Annually" ],
"mandatory" : false
}
}
},
"Hazardous Waste 6" : {
"hazardous_waste_4" : {
"fieldLabel" : "Hazardous Waste",
"aka" : "field54",
"validation" : {
"fieldLength" : 1.0,
"collection" : "dropdown",
"options" : [ "Wastes with cyanide / A101", "Sulfuric acid / B201", "Hydrochloric acid / B202", "Nitric acid / B203", "Phosphoric acid / B204", "Hydrofluoric acid / B205", "Mixture of sulfuric and hydrochloric acid / B206", "Other inorganic acid / B207", "Organic acid / B208", "Other acid wastes / B299", "Caustic soda / C301", "Potash / C302", "Alkaline cleaners / C303", "Ammonium hydroxide / C304", "Lime slurries / C305", "Other alkali wastes / C399", "Selenium and its compounds / D401", "Arsenic and its compounds / D402", "Barium and its compounds / D403", "Cadmium and its compounds / D404", "Chromium compounds / D405", "Lead compounds / D406", "Mercury and mercury compounds / D407", "Flouride and its compounds / D408", "Other wastes with inorganic chemicals / D499", "Oxidizing agents / E501", "Reducing agents / E502", "Explosive and unstable chemicals / E503", "Highly reactive chemicals / E599", "Solvent based / F601", "Inorganic pigments / F602", "Ink formulation / F603", "Resinous materials / F604", "Other mixed / F699", "Halogenated organic solvents / G703", "Non-halogenated organic solvents / G704", "Grease wastes / H802", "Used industrial oil including sludge / I101", "Vegetable oil including sludge / I102", "Tallow / I103", "Oil-contaminated materials / I104", "Containers previously containing toxic chemical substances / J201", "Solidified wastes / K301", "Chemically fixed and polymerized wastes / K302", "Encapsulated wastes / K303", "Wastes with specific halogenated toxic organic chemicals / L401", "Wastes with specific non-halogenated toxic organic chemicals / L402", "Ozone depleting substance(ODS) / L403", "Polychlorinated Biphenyl(PCB) wastes / L404", "Pathological or infectious wastes / M501", "Asbestos wastes / M502", "Pharmaceuticals and drugs / M503", "Pesticides / M504", "Persistent Organic Pollutants (POPs) wastes / M505", "Waste electrical and electronic equipment(WEEE) / M506", "Special wastes / M507" ],
"mandatory" : false
}
},
"estimated_daily_generation_4" : {
"fieldLabel" : "Estimated Daily Generation in kilograms",
"aka" : "field55",
"validation" : {
"fieldLength" : 20.0,
"collection" : "numeric",
"mandatory" : false
}
},
"hauler_4" : {
"fieldLabel" : "Hauler",
"aka" : "field56",
"validation" : {
"fieldLength" : 20.0,
"collection" : "alphanumeric",
"mandatory" : false
}
},
"frequency_collection_4" : {
"fieldLabel" : "Frequency of Collection",
"aka" : "field57",
"validation" : {
"fieldLength" : 1.0,
"collection" : "dropdown",
"options" : [ "Daily", "Weekly", "Monthly", "Quarterly", "Semi-Annually", "Annually" ],
"mandatory" : false
}
}
},
"Water/Air Quality Management" : {
"material_recovery_facility" : {
"fieldLabel" : "Material recovery Facility",
"aka" : "field58",
"validation" : {
"fieldLength" : 1.0,
"collection" : "radiolist",
"items" : [ "Yes", "No", "Not Required/Not Applicable" ],
"mandatory" : true
}
},
"septic_tank" : {
"fieldLabel" : "Septic Tank",
"aka" : "field59",
"validation" : {
"fieldLength" : 1.0,
"collection" : "radiolist",
"items" : [ "Yes", "No", "Not Required/Not Applicable" ],
"mandatory" : true
}
},
"stp_wwtf" : {
"fieldLabel" : "STP/WWTF",
"aka" : "field60",
"validation" : {
"fieldLength" : 1.0,
"collection" : "radiolist",
"items" : [ "Yes", "No", "Not Required/Not Applicable" ],
"mandatory" : true
}
},
"sewerage_connection" : {
"fieldLabel" : "Sewerage Connection",
"aka" : "field61",
"validation" : {
"fieldLength" : 1.0,
"collection" : "radiolist",
"items" : [ "Yes", "No", "Not Required/Not Applicable" ],
"mandatory" : true
}
},
"oil_water_separator" : {
"fieldLabel" : "Oil & Water Separator",
"aka" : "field62",
"validation" : {
"fieldLength" : 1.0,
"collection" : "radiolist",
"items" : [ "Yes", "No", "Not Required/Not Applicable" ],
"mandatory" : true
}
},
"grease_trap" : {
"fieldLabel" : "Grease Trap",
"aka" : "field63",
"validation" : {
"fieldLength" : 1.0,
"collection" : "radiolist",
"items" : [ "Yes", "No", "Not Required/Not Applicable" ],
"mandatory" : true
}
},
"grease_interceptor" : {
"fieldLabel" : "Grease Interceptor",
"aka" : "field64",
"validation" : {
"fieldLength" : 1.0,
"collection" : "radiolist",
"items" : [ "Yes", "No", "Not Required/Not Applicable" ],
"mandatory" : true
}
},
"water_consumption" : {
"fieldLabel" : "Approx. Water Consumption (cubic meters)",
"aka" : "field65",
"validation" : {
"fieldLength" : 10.0,
"collection" : "numeric",
"mandatory" : false
}
},
"generator_set" : {
"fieldLabel" : "Generator Set",
"aka" : "field66",
"validation" : {
"fieldLength" : 1.0,
"collection" : "radiolist",
"items" : [ "Yes", "No", "Not Required/Not Applicable" ],
"mandatory" : true
}
},
"chimney_stack" : {
"fieldLabel" : "Chimney Stack",
"aka" : "field67",
"validation" : {
"fieldLength" : 1.0,
"collection" : "radiolist",
"items" : [ "Yes", "No", "Not Required/Not Applicable" ],
"mandatory" : true
}
},
"painting_booth" : {
"fieldLabel" : "Painting Booth",
"aka" : "field68",
"validation" : {
"fieldLength" : 1.0,
"collection" : "radiolist",
"items" : [ "Yes", "No", "Not Required/Not Applicable" ],
"mandatory" : true
}
},
"underground_fuel_tank" : {
"fieldLabel" : "Underground fuel tank",
"aka" : "field69",
"validation" : {
"fieldLength" : 1.0,
"collection" : "radiolist",
"items" : [ "Yes", "No", "Not Required/Not Applicable" ],
"mandatory" : true
}
},
"underground_filling_hose" : {
"fieldLabel" : "Underground filling hose",
"aka" : "field70",
"validation" : {
"fieldLength" : 1.0,
"collection" : "radiolist",
"items" : [ "Yes", "No", "Not Required/Not Applicable" ],
"mandatory" : true
}
},
"others" : {
"fieldLabel" : "Others",
"aka" : "field71",
"validation" : {
"fieldLength" : 20.0,
"collection" : "alphanumeric",
"mandatory" : false
}
},
"soundproofing" : {
"fieldLabel" : "Soundproofing",
"aka" : "field72",
"validation" : {
"fieldLength" : 1.0,
"collection" : "radiolist",
"items" : [ "Yes", "No", "Not Required/Not Applicable" ],
"mandatory" : true
}
}
},
"Permitting Requirements" : {
"locational_clearance" : {
"fieldLabel" : "Locational Clearance",
"aka" : "field73",
"validation" : {
"fieldLength" : 1.0,
"collection" : "radiolist",
"items" : [ "Yes", "No", "Not Required" ],
"mandatory" : true
}
},
"locational_clearance_validity" : {
"fieldLabel" : "Validity",
"aka" : "field74",
"validation" : {
"fieldLength" : 10.0,
"collection" : "datepicker",
"mandatory" : false
}
},
"capture_location_clearance_photo" : {
"fieldLabel" : "Capture Locational Clearance Photo",
"aka" : "field75",
"validation" : {
"fieldLength" : 1.0,
"collection" : "image-capture",
"mandatory" : true
}
},
"ecc_cnc" : {
"fieldLabel" : "ECC/CNC",
"aka" : "field76",
"validation" : {
"fieldLength" : 1.0,
"collection" : "radiolist",
"items" : [ "Yes", "No", "Not Required" ],
"mandatory" : true
}
},
"ecc_cnc_validity" : {
"fieldLabel" : "Issuance",
"aka" : "field77",
"validation" : {
"fieldLength" : 10.0,
"collection" : "datepicker",
"mandatory" : false
}
},
"llda_clearance" : {
"fieldLabel" : "LLDA Clearance",
"aka" : "field78",
"validation" : {
"fieldLength" : 1.0,
"collection" : "radiolist",
"items" : [ "Yes", "No", "Not Required" ],
"mandatory" : true
}
},
"llda_clearance_validity" : {
"fieldLabel" : "Issuance",
"aka" : "field79",
"validation" : {
"fieldLength" : 10.0,
"collection" : "datepicker",
"mandatory" : false
}
},
"llda_discharge_permit" : {
"fieldLabel" : "LLDA Discharge Permit",
"aka" : "field80",
"validation" : {
"fieldLength" : 1.0,
"collection" : "radiolist",
"items" : [ "Yes", "No", "Not Required" ],
"mandatory" : true
}
},
"llda_discharge_permit_validity" : {
"fieldLabel" : "Validity",
"aka" : "field81",
"validation" : {
"fieldLength" : 10.0,
"collection" : "datepicker",
"mandatory" : false
}
},
"hazardous_waste_generators_id" : {
"fieldLabel" : "Hazardous Waste Generator's ID",
"aka" : "field82",
"validation" : {
"fieldLength" : 1.0,
"collection" : "radiolist",
"items" : [ "Yes", "No", "Not Required" ],
"mandatory" : false
}
},
"hazardous_waste_generators_id_validity" : {
"fieldLabel" : "Issuance",
"aka" : "field83",
"validation" : {
"fieldLength" : 10.0,
"collection" : "datepicker",
"mandatory" : false
}
},
"service_agreement_hazardous_waste_disposal" : {
"fieldLabel" : "Service Agreement (Hazardous Waste Disposal)",
"aka" : "field84",
"validation" : {
"fieldLength" : 1.0,
"collection" : "radiolist",
"items" : [ "Yes", "No", "Not Required" ],
"mandatory" : false
}
},
"service_agreement_hazardous_waste_disposal_validity" : {
"fieldLabel" : "Validity",
"aka" : "field85",
"validation" : {
"fieldLength" : 10.0,
"collection" : "datepicker",
"mandatory" : false
}
},
"service_agreement_solid_waste" : {
"fieldLabel" : "Service Agreement (Solid Waste)",
"aka" : "field86",
"validation" : {
"fieldLength" : 1.0,
"collection" : "radiolist",
"items" : [ "Yes", "No", "Not Required" ],
"mandatory" : false
}
},
"service_agreement_solid_waste_validity" : {
"fieldLabel" : "Validity",
"aka" : "field87",
"validation" : {
"fieldLength" : 10.0,
"collection" : "datepicker",
"mandatory" : false
}
},
"pollution_control_officer_accreditation" : {
"fieldLabel" : "Pollution Control Officer Accreditation",
"aka" : "field88",
"validation" : {
"fieldLength" : 1.0,
"collection" : "radiolist",
"items" : [ "Yes", "No", "Not Required" ],
"mandatory" : false
}
},
"pollution_control_officer_accreditation_validity" : {
"fieldLabel" : "Validity",
"aka" : "field89",
"validation" : {
"fieldLength" : 10.0,
"collection" : "datepicker",
"mandatory" : false
}
},
"emission_source_permit" : {
"fieldLabel" : "Permit to Operate-Emission Source Installation",
"aka" : "field90",
"validation" : {
"fieldLength" : 1.0,
"collection" : "radiolist",
"items" : [ "Yes", "No", "Not Required" ],
"mandatory" : false
}
},
"emission_source_permit_validity" : {
"fieldLabel" : "Validity",
"aka" : "field91",
"validation" : {
"fieldLength" : 10.0,
"collection" : "datepicker",
"mandatory" : false
}
},
"interconnection_certificate" : {
"fieldLabel" : "Certificate of Interconnection",
"aka" : "field92",
"validation" : {
"fieldLength" : 1.0,
"collection" : "radiolist",
"items" : [ "Yes", "No", "Not Required" ],
"mandatory" : false
}
},
"interconnection_certificate_validity" : {
"fieldLabel" : "validity",
"aka" : "field93",
"validation" : {
"fieldLength" : 10.0,
"collection" : "datepicker",
"mandatory" : false
}
},
"treatment_certificate" : {
"fieldLabel" : "Certificate of Treatment",
"aka" : "field94",
"validation" : {
"fieldLength" : 1.0,
"collection" : "radiolist",
"items" : [ "Yes", "No", "Not Required" ],
"mandatory" : true
}
},
"treatment_certificate_validity" : {
"fieldLabel" : "Issuance",
"aka" : "field95",
"validation" : {
"fieldLength" : 10.0,
"collection" : "datepicker",
"mandatory" : false
}
},
"barangay_clearance" : {
"fieldLabel" : "Barangay Clearance",
"aka" : "field96",
"validation" : {
"fieldLength" : 1.0,
"collection" : "radiolist",
"items" : [ "Yes", "No", "Not Required" ],
"mandatory" : true
}
},
"barangay_clearance_validity" : {
"fieldLabel" : "Issuance",
"aka" : "field97",
"validation" : {
"fieldLength" : 10.0,
"collection" : "datepicker",
"mandatory" : false
}
},
"business_permit" : {
"fieldLabel" : "Business Permit",
"aka" : "field98",
"validation" : {
"fieldLength" : 1.0,
"collection" : "radiolist",
"items" : [ "Yes", "No", "Not Required" ],
"mandatory" : true
}
},
"business_permit_validity" : {
"fieldLabel" : "Issuance",
"aka" : "field99",
"validation" : {
"fieldLength" : 10.0,
"collection" : "datepicker",
"mandatory" : false
}
},
"other_permit" : {
"fieldLabel" : "Other Permitting Documents",
"aka" : "field100",
"validation" : {
"fieldLength" : 20.0,
"collection" : "alphanumeric",
"mandatory" : false
}
},
"remarks_and_recommendation" : {
"fieldLabel" : "Remarks/Recommendations",
"aka" : "field101",
"validation" : {
"fieldLength" : 20.0,
"collection" : "alphanumeric",
"mandatory" : true
}
},
"conforme_name" : {
"fieldLabel" : "Conforme Name",
"aka" : "field102",
"validation" : {
"fieldLength" : 20.0,
"collection" : "alphanumeric",
"mandatory" : true
}
},
"psf_photo" : {
"fieldLabel" : "Capture Images",
"aka" : "field103",
"validation" : {
"fieldLength" : 1.0,
"collection" : "image-capture",
"mandatory" : true
}
}
},
"Environmental Violation Receipt" : {
"violator_image" : {
"fieldLabel" : "Capture Photo of Violator",
"aka" : "field104",
"validation" : {
"fieldLength" : 1.0,
"collection" : "image-capture",
"mandatory" : true
}
},
"evr_last_name" : {
"fieldLabel" : "Last Name",
"aka" : "field105",
"validation" : {
"fieldLength" : 20.0,
"collection" : "alphanumeric",
"mandatory" : true
}
},
"evr_given_name" : {
"fieldLabel" : "Given Name",
"aka" : "field106",
"validation" : {
"fieldLength" : 20.0,
"collection" : "alphanumeric",
"mandatory" : true
}
},
"evr_middle_name" : {
"fieldLabel" : "Middle Name",
"aka" : "field107",
"validation" : {
"fieldLength" : 20.0,
"collection" : "alphanumeric",
"mandatory" : true
}
},
"evr_business_name" : {
"fieldLabel" : "Business Name",
"aka" : "field108",
"validation" : {
"fieldLength" : 50.0,
"collection" : "alphanumeric",
"mandatory" : true
}
},
"evr_sex" : {
"fieldLabel" : "Sex",
"aka" : "field109",
"validation" : {
"fieldLength" : 1.0,
"collection" : "radiolist",
"items" : [ "M", "F" ],
"mandatory" : false
}
},
"evr_age" : {
"fieldLabel" : "Age",
"aka" : "field110",
"validation" : {
"fieldLength" : 3.0,
"collection" : "numeric",
"mandatory" : true
}
},
"evr_address" : {
"fieldLabel" : "Address",
"aka" : "field111",
"validation" : {
"fieldLength" : 50.0,
"collection" : "alphanumeric",
"mandatory" : true
}
},
"evr_occupation" : {
"fieldLabel" : "Occupation",
"aka" : "field112",
"validation" : {
"fieldLength" : 20.0,
"collection" : "alphanumeric",
"mandatory" : true
}
},
"evr_date" : {
"fieldLabel" : "Date",
"aka" : "field113",
"validation" : {
"fieldLength" : 10.0,
"collection" : "datepicker",
"mandatory" : false
}
},
"evr_time" : {
"fieldLabel" : "Time",
"aka" : "field114",
"validation" : {
"fieldLength" : 10.0,
"collection" : "timepicker",
"mandatory" : false
}
},
"evr_place" : {
"fieldLabel" : "Place",
"aka" : "field115",
"validation" : {
"fieldLength" : 20.0,
"collection" : "alphanumeric",
"mandatory" : true
}
},
"evr_identification_card_presented" : {
"fieldLabel" : "Identification Card Presented",
"aka" : "field116",
"validation" : {
"fieldLength" : 1.0,
"collection" : "dropdown",
"options" : [ "Airman License", "Company ID Card", "Driver's License", "Fishworker's License issued by BFAR", "GSIS Card", "Health or Medical Card", "OWWA E-Card", "Phil Health ID Card", "Philippine Postal ID", "PNP Firearm License Card", "Police Clearance", "PRC ID Card", "School ID Card", "Seafarer's Record Book (SRB)", "Senior Citizen ID", "SSS Card", "Student Permit issued by LTO", "TIN Card", "UMID Card", "Voter's ID" ],
"mandatory" : false
}
},
"evr_id_no" : {
"fieldLabel" : "ID No.",
"aka" : "field117",
"validation" : {
"fieldLength" : 20.0,
"collection" : "alphanumeric",
"mandatory" : true
}
},
"evr_items_confiscated" : {
"fieldLabel" : "Item/s Confiscated",
"aka" : "field118",
"validation" : {
"fieldLength" : 50.0,
"collection" : "alphanumeric",
"mandatory" : true
}
},
"evr_mobile_no" : {
"fieldLabel" : "Mobile Number",
"aka" : "field119",
"validation" : {
"fieldLength" : 11.0,
"collection" : "numeric",
"mandatory" : false
}
},
"evr_email_addr" : {
"fieldLabel" : "Email Address",
"aka" : "field120",
"validation" : {
"fieldLength" : 30.0,
"collection" : "email",
"mandatory" : false
}
},
"violated_provisions" : {
"fieldLabel" : "Violation/s",
"aka" : "field121",
"validation" : {
"fieldLength" : 50.0,
"collection" : "alphanumeric",
"mandatory" : false
}
},
"nature_of_offense" : {
"fieldLabel" : "Nature of Offense",
"aka" : "field122",
"validation" : {
"fieldLength" : 1.0,
"collection" : "checklist",
"items" : [ "Urinating/Defecating/Indiscriminate Disposal", "Littering", "Dirty Frontage/Surroundings", "Improper Disposal", "Dumping of Grease/Fat/Lard and Oil Residue in Drainage/waterways", "Disposal of Untreated wasteways", "sludge", "chemicals in waterways", "No Trash can in Public Utility Jeep", "Illegal Spillage/Scattering", "Illegal Recycling/Sorting", "Burning of Waste", "No Canvass Cover", "Unsanitized Truck", "No Proper Cleaning/Clearing Materials" ],
"mandatory" : false
}
},
"evr_others" : {
"fieldLabel" : "Other Nature of Offense",
"aka" : "field123",
"validation" : {
"fieldLength" : 50.0,
"collection" : "alphanumeric",
"mandatory" : false
}
},
"witness" : {
"fieldLabel" : "Witness",
"aka" : "field124",
"validation" : {
"fieldLength" : 50.0,
"collection" : "alphanumeric",
"mandatory" : false
}
}
},
"Other Hidden Fields" : {
"case_officer" : {
"fieldLabel" : "Case Officer",
"aka" : "field125",
"validation" : {
"fieldLength" : 20.0,
"collection" : "alphanumeric",
"mandatory" : false
},
"hidden" : true
},
"case_officers_contact_no" : {
"fieldLabel" : "Case Officer's Contact No.",
"aka" : "field126",
"validation" : {
"fieldLength" : 20.0,
"collection" : "numeric",
"mandatory" : false
},
"hidden" : true
},
"department" : {
"fieldLabel" : "Department",
"aka" : "field127",
"validation" : {
"fieldLength" : 20.0,
"collection" : "alphanumeric",
"mandatory" : false
},
"hidden" : true
},
"business_address_house_no" : {
"fieldLabel" : "Business Address (House No./Unit No./Stall No./Floor/Block/Lot)",
"aka" : "field128",
"validation" : {
"fieldLength" : 20.0,
"collection" : "alphanumeric",
"mandatory" : false
},
"hidden" : true
},
"business_address_building_subdivision_village" : {
"fieldLabel" : "Business Address (Building/Subdivision/Village)",
"aka" : "field129",
"validation" : {
"fieldLength" : 20.0,
"collection" : "alphanumeric",
"mandatory" : false
},
"hidden" : true
},
"business_address_street_name" : {
"fieldLabel" : "Business Address (Street Name)",
"aka" : "field130",
"validation" : {
"fieldLength" : 20.0,
"collection" : "alphanumeric",
"mandatory" : false
},
"hidden" : true
},
"business_address_barangay" : {
"fieldLabel" : "Business Address (Barangay)",
"aka" : "field131",
"validation" : {
"fieldLength" : 20.0,
"collection" : "alphanumeric",
"mandatory" : false
},
"hidden" : true
},
"business_address_district" : {
"fieldLabel" : "Business Address (District)",
"aka" : "field132",
"validation" : {
"fieldLength" : 20.0,
"collection" : "alphanumeric",
"mandatory" : false
},
"hidden" : true
},
"inspector_group_team" : {
"fieldLabel" : "Inspector Group/Team",
"aka" : "field133",
"validation" : {
"fieldLength" : 20.0,
"collection" : "alphanumeric",
"mandatory" : false
},
"hidden" : true
},
"assigned_inspector_full_name" : {
"fieldLabel" : "Assigned Inspector Full Name",
"aka" : "field134",
"validation" : {
"fieldLength" : 20.0,
"collection" : "alphanumeric",
"mandatory" : false
},
"hidden" : true
},
"device_id" : {
"fieldLabel" : "Device ID",
"aka" : "field135",
"validation" : {
"fieldLength" : 20.0,
"collection" : "alphanumeric",
"mandatory" : false
},
"hidden" : true
},
"gps_start_inspection" : {
"fieldLabel" : "GPS - Start Inspection",
"aka" : "field136",
"validation" : {
"fieldLength" : 20.0,
"collection" : "geotag",
"mandatory" : false
},
"hidden" : false
},
"gps_complete_inspection" : {
"fieldLabel" : "GPS - Complete Inspection",
"aka" : "field137",
"validation" : {
"fieldLength" : 20.0,
"collection" : "geotag",
"mandatory" : false
},
"hidden" : false
},
"inspection_status" : {
"fieldLabel" : "Inspection Status",
"aka" : "field138",
"validation" : {
"fieldLength" : 20.0,
"collection" : "alphanumeric",
"mandatory" : false
},
"hidden" : true
},
"inspection_start_gps" : {
"fieldLabel" : "Inspection - Start GPS",
"aka" : "field139",
"validation" : {
"fieldLength" : 20.0,
"collection" : "geotag",
"mandatory" : false
},
"hidden" : false
},
"inspection_end_gps" : {
"fieldLabel" : "Inspection - End GPS",
"aka" : "field140",
"validation" : {
"fieldLength" : 20.0,
"collection" : "geotag",
"mandatory" : false
},
"hidden" : false
},
"inspection_start_gps_latitude" : {
"fieldLabel" : "Inspection - Start GPS (Latitude)",
"aka" : "field141",
"validation" : {
"fieldLength" : 20.0,
"collection" : "alphanumeric",
"mandatory" : false
},
"hidden" : true
},
"inspection_start_gps_longitude" : {
"fieldLabel" : "Inspection - Start GPS (Longitude)",
"aka" : "field142",
"validation" : {
"fieldLength" : 20.0,
"collection" : "alphanumeric",
"mandatory" : false
},
"hidden" : true
},
"inspection_end_gps_latitude" : {
"fieldLabel" : "Inspection - End GPS (Latitude)",
"aka" : "field143",
"validation" : {
"fieldLength" : 20.0,
"collection" : "alphanumeric",
"mandatory" : false
},
"hidden" : true
},
"inspection_end_gps_longitude" : {
"fieldLabel" : "Inspection - End GPS (Longitude)",
"aka" : "field144",
"validation" : {
"fieldLength" : 20.0,
"collection" : "alphanumeric",
"mandatory" : false
},
"hidden" : true
},
"inspection_start_timestamp" : {
"fieldLabel" : "Inspection - Start Timestamp",
"aka" : "field145",
"validation" : {
"fieldLength" : 20.0,
"collection" : "timepicker",
"mandatory" : false
},
"hidden" : true
},
"inspection_end_timestamp" : {
"fieldLabel" : "Inspection - End Timestamp",
"aka" : "field146",
"validation" : {
"fieldLength" : 20.0,
"collection" : "timepicker",
"mandatory" : false
},
"hidden" : true
}
}
},
"COMP1-INP" : {
"Profile" : {
"mission_type" : {
"fieldLabel" : "Mission Type",
"aka" : "field2",
"validation" : {
"fieldLength" : 20.0,
"collection" : "alphanumeric",
"mandatory" : true
}
},
"business_name" : {
"fieldLabel" : "Business Name",
"aka" : "field3",
"validation" : {
"fieldLength" : 20.0,
"collection" : "alphanumeric",
"mandatory" : true
}
},
"registered_owner" : {
"fieldLabel" : "Registered Owner",
"aka" : "field4",
"validation" : {
"fieldLength" : 20.0,
"collection" : "alphanumeric",
"mandatory" : true
}
},
"business_address" : {
"fieldLabel" : "Business Address",
"aka" : "field5",
"validation" : {
"fieldLength" : 20.0,
"collection" : "alphanumeric",
"mandatory" : true
}
},
"mission_order_no" : {
"fieldLabel" : "Mission Order No.",
"aka" : "field6",
"validation" : {
"fieldLength" : 20.0,
"collection" : "alphanumeric",
"mandatory" : false
}
},
"mission_date" : {
"fieldLabel" : "Mission Date",
"aka" : "field7",
"validation" : {
"fieldLength" : 20.0,
"collection" : "alphanumeric",
"mandatory" : false
}
}
},
"First Inspection" : {
"mission_order_no" : {
"fieldLabel" : "Mission Order No.",
"aka" : "field8",
"validation" : {
"fieldLength" : 10.0,
"collection" : "numeric",
"mandatory" : false
}
},
"date_and_time_of_inspection" : {
"fieldLabel" : "Date and time of inspection",
"aka" : "field9",
"validation" : {
"fieldLength" : 10.0,
"collection" : "datepicker",
"mandatory" : false
}
},
"name_of_respondent" : {
"fieldLabel" : "Name of respondent",
"aka" : "field10",
"validation" : {
"fieldLength" : 20.0,
"collection" : "alphanumeric",
"mandatory" : false
}
},
"nature_of_business" : {
"fieldLabel" : "Nature of Business",
"aka" : "field11",
"validation" : {
"fieldLength" : 20.0,
"collection" : "alphanumeric",
"mandatory" : false
}
},
"address_of_respondent" : {
"fieldLabel" : "Address of respondent",
"aka" : "field12",
"validation" : {
"fieldLength" : 20.0,
"collection" : "alphanumeric",
"mandatory" : false
}
},
"mobile_number_of_respondent" : {
"fieldLabel" : "Mobile Number of Respondent",
"aka" : "field13",
"validation" : {
"fieldLength" : 11.0,
"collection" : "numeric",
"mandatory" : false
}
},
"name_of_complaint" : {
"fieldLabel" : "Name of complaint",
"aka" : "field14",
"validation" : {
"fieldLength" : 20.0,
"collection" : "alphanumeric",
"mandatory" : false
}
},
"address_of_complaint" : {
"fieldLabel" : "Address of complaint",
"aka" : "field15",
"validation" : {
"fieldLength" : 20.0,
"collection" : "alphanumeric",
"mandatory" : false
}
},
"mobile_number_of_complaint" : {
"fieldLabel" : "Mobile Number of complaint",
"aka" : "field16",
"validation" : {
"fieldLength" : 11.0,
"collection" : "numeric",
"mandatory" : false
}
},
"finding_and_observation" : {
"fieldLabel" : "Finding and observation",
"aka" : "field17",
"validation" : {
"fieldLength" : 20.0,
"collection" : "alphanumeric",
"mandatory" : false
}
},
"additional_findings_and_observation" : {
"fieldLabel" : "Additional findings and observation",
"aka" : "field18",
"validation" : {
"fieldLength" : 20.0,
"collection" : "alphanumeric",
"mandatory" : false
}
},
"compliance_order" : {
"fieldLabel" : "Compliance order",
"aka" : "field19",
"validation" : {
"fieldLength" : 20.0,
"collection" : "alphanumeric",
"mandatory" : false
}
},
"violations_penalty_imposed" : {
"fieldLabel" : "Violations/Penalty imposed (If any)",
"aka" : "field20",
"validation" : {
"fieldLength" : 20.0,
"collection" : "alphanumeric",
"mandatory" : false
}
},
"recommendation" : {
"fieldLabel" : "Recommendation/s",
"aka" : "field21",
"validation" : {
"fieldLength" : 20.0,
"collection" : "alphanumeric",
"mandatory" : false
}
},
"case_officer" : {
"fieldLabel" : "Case officer",
"aka" : "field22",
"validation" : {
"fieldLength" : 20.0,
"collection" : "alphanumeric",
"mandatory" : false
}
},
"compliance_officer_1" : {
"fieldLabel" : "Compliance officer",
"aka" : "field23",
"validation" : {
"fieldLength" : 20.0,
"collection" : "alphanumeric",
"mandatory" : false
}
},
"compliance_officer_2" : {
"fieldLabel" : "Compliance officer",
"aka" : "field24",
"validation" : {
"fieldLength" : 20.0,
"collection" : "alphanumeric",
"mandatory" : false
}
},
"capture_image" : {
"fieldLabel" : "Capture Image",
"aka" : "field25",
"validation" : {
"fieldLength" : 1.0,
"collection" : "image-capture",
"mandatory" : false
}
}
},
"Environmental Violation Receipt" : {
"capture_photo_of_violator" : {
"fieldLabel" : "Capture photo of violator",
"aka" : "field26",
"validation" : {
"fieldLength" : 1.0,
"collection" : "image-capture",
"mandatory" : true
}
},
"last_name" : {
"fieldLabel" : "Last name",
"aka" : "field27",
"validation" : {
"fieldLength" : 20.0,
"collection" : "alphanumeric",
"mandatory" : true
}
},
"given_name" : {
"fieldLabel" : "Given name",
"aka" : "field28",
"validation" : {
"fieldLength" : 20.0,
"collection" : "alphanumeric",
"mandatory" : true
}
},
"middle_name" : {
"fieldLabel" : "Middle name",
"aka" : "field29",
"validation" : {
"fieldLength" : 20.0,
"collection" : "alphanumeric",
"mandatory" : true
}
},
"business_name" : {
"fieldLabel" : "Business Name",
"aka" : "field30",
"validation" : {
"fieldLength" : 20.0,
"collection" : "alphanumeric",
"mandatory" : true
}
},
"sex" : {
"fieldLabel" : "Sex",
"aka" : "field31",
"validation" : {
"fieldLength" : 1.0,
"collection" : "radiolist",
"items" : [ "M", "F" ],
"mandatory" : false
}
},
"age" : {
"fieldLabel" : "Age",
"aka" : "field32",
"validation" : {
"fieldLength" : 3.0,
"collection" : "numeric",
"mandatory" : true
}
},
"occupation" : {
"fieldLabel" : "Occupation",
"aka" : "field33",
"validation" : {
"fieldLength" : 20.0,
"collection" : "alphanumeric",
"mandatory" : true
}
},
"address" : {
"fieldLabel" : "Address",
"aka" : "field34",
"validation" : {
"fieldLength" : 50.0,
"collection" : "alphanumeric",
"mandatory" : true
}
},
"date" : {
"fieldLabel" : "Date",
"aka" : "field35",
"validation" : {
"fieldLength" : 10.0,
"collection" : "alphanumeric",
"mandatory" : false
}
},
"time" : {
"fieldLabel" : "Time",
"aka" : "field36",
"validation" : {
"fieldLength" : 10.0,
"collection" : "datepicker",
"mandatory" : false
}
},
"place" : {
"fieldLabel" : "Place",
"aka" : "field37",
"validation" : {
"fieldLength" : 20.0,
"collection" : "timepicker",
"mandatory" : true
}
},
"identification_card_presented" : {
"fieldLabel" : "Identification Card Presented",
"aka" : "field38",
"validation" : {
"fieldLength" : 1.0,
"collection" : "dropdown",
"options" : [ "Airman License", "Company ID Card", "Driver's License", "Fishworker's License issued by BFAR", "GSIS Card", "Health or Medical Card", "OWWA E-Card", "Phil Health ID Card", "Philippine Postal ID", "PNP Firearm License Card", "Police Clearance", "PRC ID Card", "School ID Card", "Seafarer's Record Book (SRB)", "Senior Citizen ID", "SSS Card", "Student Permit issued by LTO", "TIN Card", "UMID Card", "Voter's ID" ],
"mandatory" : false
}
},
"id_no" : {
"fieldLabel" : "ID No.",
"aka" : "field39",
"validation" : {
"fieldLength" : 20.0,
"collection" : "alphanumeric",
"mandatory" : true
}
},
"items_confiscated" : {
"fieldLabel" : "Item/s Confiscated",
"aka" : "field40",
"validation" : {
"fieldLength" : 50.0,
"collection" : "alphanumeric",
"mandatory" : true
}
},
"mobile_number" : {
"fieldLabel" : "Mobile Number",
"aka" : "field41",
"validation" : {
"fieldLength" : 11.0,
"collection" : "numeric",
"mandatory" : false
}
},
"email_address" : {
"fieldLabel" : "Email Address",
"aka" : "field42",
"validation" : {
"fieldLength" : 20.0,
"collection" : "email",
"mandatory" : false
}
},
"violations" : {
"fieldLabel" : "Violations/s",
"aka" : "field43",
"validation" : {
"fieldLength" : 50.0,
"collection" : "alphanumeric",
"mandatory" : false
}
},
"nature_of_offense" : {
"fieldLabel" : "Nature of Offense",
"aka" : "field44",
"validation" : {
"fieldLength" : 1.0,
"collection" : "dropdown",
"options" : [ "Urinating/Defecating/Indiscriminate Disposal", "Littering", "Dirty Frontage/Surroundings", "Improper Disposal", "Dumping of Grease/Fat/Lard and Oil Residue in Drainage/waterways", "Disposal of Untreated wasteways", "sludge", "chemicals in waterways", "No Trash can in Public Utility Jeep", "Illegal Spillage/Scattering", "Illegal Recycling/Sorting", "Burning of Waste", "No Canvass Cover", "Unsanitized Truck", "No Proper Cleaning/Clearing Materials" ],
"mandatory" : false
}
},
"other_nature_of_offense" : {
"fieldLabel" : "Other Nature of Offense",
"aka" : "field45",
"validation" : {
"fieldLength" : 20.0,
"collection" : "alphanumeric",
"mandatory" : false
}
},
"witness" : {
"fieldLabel" : "Witness",
"aka" : "field46",
"validation" : {
"fieldLength" : 20.0,
"collection" : "alphanumeric",
"mandatory" : false
}
}
}
}
}
\ No newline at end of file
......@@ -118,7 +118,8 @@
"fieldLength" : 58.0,
"collection" : "geotag",
"mandatory" : false
}
},
"hidden" : true
},
"patient_image" : {
"fieldLabel" : "Patient Image",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment