{"type": "object", "title": "Generated schema for Root", "$schema": "http://json-schema.org/draft-07/schema#", "required": ["type", "section", "doHierarchyCheckInUploadedData", "showResourcesInMappingSection", "template", "schema"], "x-unique": ["type", "campaignType", "section"], "properties": {"type": {"type": "string"}, "schema": {"type": "object", "required": ["Properties"], "properties": {"Properties": {"type": "object", "required": ["boundaryCode"], "properties": {"lat": {"$ref": "#/definitions/latLongProperties"}, "long": {"$ref": "#/definitions/latLongProperties"}, "capacity": {"$ref": "#/definitions/commonProperties"}, "boundaryCode": {"$ref": "#/definitions/commonProperties"}, "facilityCode": {"$ref": "#/definitions/commonProperties"}, "facilityName": {"$ref": "#/definitions/commonProperties"}, "facilityType": {"$ref": "#/definitions/facilityProperties"}, "facilityStatus": {"$ref": "#/definitions/facilityProperties"}, "targetPopulation": {"$ref": "#/definitions/commonProperties"}, "totalTargetPopulation": {"$ref": "#/definitions/commonProperties"}, "targetPopulationAge3To11": {"$ref": "#/definitions/commonProperties"}, "targetpopulationAge12To59": {"$ref": "#/definitions/commonProperties"}}}}}, "section": {"type": "string"}, "template": {"type": "object", "required": ["showTemplateDownload", "includeFacilityData", "hierarchyLevelWiseSheets", "propertiesToHide"], "properties": {"propertiesToHide": {"type": "array", "items": {"type": "string"}}, "includeFacilityData": {"type": "boolean"}, "showTemplateDownload": {"type": "boolean"}, "facilitySchemaApiMapping": {"type": "object", "properties": {"capacity": {"type": "string"}, "facilityCode": {"type": "string"}, "facilityName": {"type": "string"}, "facilityType": {"type": "string"}, "facilityStatus": {"type": "string"}}}, "hierarchyLevelWiseSheets": {"type": "boolean"}}}, "campaignType": {"type": "string"}, "showResourcesInMappingSection": {"type": "boolean"}, "doHierarchyCheckInUploadedData": {"type": "boolean"}}, "definitions": {"commonProperties": {"type": "object", "required": ["type", "isRequired", "isLocationDataColumns", "isRuleConfigureInputs", "isFilterPropertyOfMapSection", "isVisualizationPropertyOfMapSection", "toShowInMicroplanPreview"], "properties": {"type": {"type": "string"}, "isRequired": {"type": "boolean"}, "isLocationDataColumns": {"type": "boolean"}, "isRuleConfigureInputs": {"type": "boolean"}, "toShowInMicroplanPreview": {"type": "boolean"}, "isFilterPropertyOfMapSection": {"type": "boolean"}, "isVisualizationPropertyOfMapSection": {"type": "boolean"}}}, "latLongProperties": {"type": "object", "required": ["type", "minimum", "maximum", "isRequired", "isLocationDataColumns", "isRuleConfigureInputs", "isFilterPropertyOfMapSection", "isVisualizationPropertyOfMapSection", "toShowInMicroplanPreview"], "properties": {"type": {"type": "string"}, "maximum": {"type": "number"}, "minimum": {"type": "number"}, "isRequired": {"type": "boolean"}, "isLocationDataColumns": {"type": "boolean"}, "isRuleConfigureInputs": {"type": "boolean"}, "toShowInMicroplanPreview": {"type": "boolean"}, "isFilterPropertyOfMapSection": {"type": "boolean"}, "isVisualizationPropertyOfMapSection": {"type": "boolean"}}}, "facilityProperties": {"type": "object", "required": ["type", "isRequired", "enum", "isLocationDataColumns", "isRuleConfigureInputs", "isFilterPropertyOfMapSection", "isVisualizationPropertyOfMapSection", "toShowInMicroplanPreview"], "properties": {"enum": {"type": "array", "items": {"type": "string"}}, "type": {"type": "string"}, "isRequired": {"type": "boolean"}, "isLocationDataColumns": {"type": "boolean"}, "isRuleConfigureInputs": {"type": "boolean"}, "toShowInMicroplanPreview": {"type": "boolean"}, "isFilterPropertyOfMapSection": {"type": "boolean"}, "isVisualizationPropertyOfMapSection": {"type": "boolean"}}}}}