{
 "currentVersion": 11.3,
 "cimVersion": "3.3.0",
 "id": 0,
 "name": "Business Survey",
 "type": "Feature Layer",
 "description": "",
 "geometryType": "esriGeometryPoint",
 "sourceSpatialReference": {
  "wkid": 4326,
  "latestWkid": 4326,
  "xyTolerance": 8.983152841195215E-9,
  "zTolerance": 0.001,
  "mTolerance": 0.001,
  "falseX": -400,
  "falseY": -400,
  "xyUnits": 9.999999999999999E8,
  "falseZ": 0,
  "zUnits": 1,
  "falseM": 0,
  "mUnits": 1
 },
 "copyrightText": "",
 "parentLayer": null,
 "subLayers": [],
 "minScale": 0,
 "maxScale": 0,
 "referenceScale": 0.0,
 "drawingInfo": {
  "renderer": {
   "type": "simple",
   "symbol": {
    "type": "esriSMS",
    "style": "esriSMSCircle",
    "color": [
     255,
     0,
     0,
     255
    ],
    "size": 8,
    "angle": 0,
    "xoffset": 0,
    "yoffset": 0,
    "outline": {
     "color": [
      255,
      255,
      0,
      255
     ],
     "width": 1
    }
   },
   "label": "Business Survey - George Municipality",
   "description": "Survey Data Locations"
  },
  "scaleSymbols": true,
  "transparency": 0,
  "labelingInfo": null
 },
 "defaultVisibility": false,
 "extent": {
  "xmin": 22.396480547000067,
  "ymin": -34.025714929999936,
  "xmax": 23.354249106000054,
  "ymax": -33.655533813999966,
  "spatialReference": {
   "wkid": 4326,
   "latestWkid": 4326,
   "xyTolerance": 8.983152841195215E-9,
   "zTolerance": 0.001,
   "mTolerance": 0.001,
   "falseX": -400,
   "falseY": -400,
   "xyUnits": 9.999999999999999E8,
   "falseZ": -100000,
   "zUnits": 10000,
   "falseM": -100000,
   "mUnits": 10000
  }
 },
 "hasAttachments": true,
 "attachmentProperties": [
  {
   "name": "id",
   "fieldName": "ATTACHMENTID",
   "isEnabled": true
  },
  {
   "name": "globalid",
   "fieldName": "GLOBALID",
   "isEnabled": true
  },
  {
   "name": "keywords",
   "fieldName": "KEYWORDS",
   "isEnabled": false
  },
  {
   "name": "name",
   "fieldName": "ATT_NAME",
   "isEnabled": true
  },
  {
   "name": "contentType",
   "fieldName": "CONTENT_TYPE",
   "isEnabled": true
  },
  {
   "name": "size",
   "fieldName": "DATA_SIZE",
   "isEnabled": true
  },
  {
   "name": "exifInfo",
   "fieldName": "EXIFINFO",
   "isEnabled": false
  }
 ],
 "attachmentFields": [
  {
   "name": "ATTACHMENTID",
   "type": "esriFieldTypeOID",
   "alias": "ATTACHMENTID",
   "editable": false,
   "nullable": false,
   "length": 4,
   "domain": null
  },
  {
   "name": "GLOBALID",
   "type": "esriFieldTypeGlobalID",
   "alias": "GLOBALID",
   "editable": false,
   "nullable": false,
   "length": 38,
   "domain": null
  },
  {
   "name": "ATT_NAME",
   "type": "esriFieldTypeString",
   "alias": "ATT_NAME",
   "editable": true,
   "nullable": false,
   "length": 250,
   "domain": null
  },
  {
   "name": "CONTENT_TYPE",
   "type": "esriFieldTypeString",
   "alias": "CONTENT_TYPE",
   "editable": true,
   "nullable": false,
   "length": 150,
   "domain": null
  },
  {
   "name": "DATA_SIZE",
   "type": "esriFieldTypeInteger",
   "alias": "DATA_SIZE",
   "editable": true,
   "nullable": false,
   "length": 4,
   "domain": null
  }
 ],
 "htmlPopupType": "esriServerHTMLPopupTypeAsHTMLText",
 "displayField": "erfnumber",
 "typeIdField": null,
 "subtypeFieldName": null,
 "subtypeField": null,
 "defaultSubtypeCode": null,
 "fields": [
  {
   "name": "OBJECTID",
   "type": "esriFieldTypeOID",
   "alias": "OBJECTID",
   "domain": null
  },
  {
   "name": "globalid",
   "type": "esriFieldTypeGlobalID",
   "alias": "GlobalID",
   "length": 38,
   "domain": null
  },
  {
   "name": "erfnumber",
   "type": "esriFieldTypeString",
   "alias": "Erf Number",
   "length": 255,
   "domain": null
  },
  {
   "name": "business_type",
   "type": "esriFieldTypeString",
   "alias": "Type of Business",
   "length": 255,
   "domain": {
    "type": "codedValue",
    "name": "service_046fa227e0034711b4c2ebb4a04a0a56_cvd_business_type",
    "description": "",
    "codedValues": [
     {
      "name": "Houseshop",
      "code": "houseshop"
     },
     {
      "name": "Tavern",
      "code": "tavern"
     },
     {
      "name": "Hair Salon/Barbershop",
      "code": "hairbarber"
     },
     {
      "name": "Takeaway/Restaurant",
      "code": "takeway"
     },
     {
      "name": "Offices",
      "code": "offices"
     },
     {
      "name": "Internet Café",
      "code": "internetcafe"
     },
     {
      "name": "Motor Repair Garage",
      "code": "motorrepair"
     },
     {
      "name": "Welding",
      "code": "welding"
     },
     {
      "name": "Workshop",
      "code": "workshop"
     },
     {
      "name": "Other",
      "code": "businessother"
     }
    ],
    "mergePolicy": "esriMPTDefaultValue",
    "splitPolicy": "esriSPTDefaultValue"
   }
  },
  {
   "name": "businessother",
   "type": "esriFieldTypeString",
   "alias": "Other",
   "length": 255,
   "domain": null
  },
  {
   "name": "businessownership",
   "type": "esriFieldTypeString",
   "alias": "Ownership",
   "length": 255,
   "domain": {
    "type": "codedValue",
    "name": "service_046fa227e0034711b4c2ebb4a04a0a56_cvd_businessownership",
    "description": "",
    "codedValues": [
     {
      "name": "Owner",
      "code": "owner"
     },
     {
      "name": "3rd Party",
      "code": "thirdparty"
     }
    ],
    "mergePolicy": "esriMPTDefaultValue",
    "splitPolicy": "esriSPTDefaultValue"
   }
  },
  {
   "name": "formality",
   "type": "esriFieldTypeString",
   "alias": "Formality",
   "length": 255,
   "domain": {
    "type": "codedValue",
    "name": "service_046fa227e0034711b4c2ebb4a04a0a56_cvd_formality",
    "description": "",
    "codedValues": [
     {
      "name": "Legal",
      "code": "legal"
     },
     {
      "name": "Illegal",
      "code": "illegal"
     }
    ],
    "mergePolicy": "esriMPTDefaultValue",
    "splitPolicy": "esriSPTDefaultValue"
   }
  },
  {
   "name": "materialbuilding",
   "type": "esriFieldTypeString",
   "alias": "Building Material",
   "length": 255,
   "domain": {
    "type": "codedValue",
    "name": "service_046fa227e0034711b4c2ebb4a04a0a56_cvd_materialbuilding",
    "description": "",
    "codedValues": [
     {
      "name": "Wood",
      "code": "wood"
     },
     {
      "name": "Brick",
      "code": "brick"
     },
     {
      "name": "Container",
      "code": "container"
     },
     {
      "name": "Sink",
      "code": "sink"
     },
     {
      "name": "Other",
      "code": "materialother"
     }
    ],
    "mergePolicy": "esriMPTDefaultValue",
    "splitPolicy": "esriSPTDefaultValue"
   }
  },
  {
   "name": "material_other",
   "type": "esriFieldTypeString",
   "alias": "Other",
   "length": 255,
   "domain": null
  },
  {
   "name": "operator",
   "type": "esriFieldTypeString",
   "alias": "Operator live on Premises?",
   "length": 255,
   "domain": {
    "type": "codedValue",
    "name": "service_046fa227e0034711b4c2ebb4a04a0a56_cvd_operator",
    "description": "",
    "codedValues": [
     {
      "name": "Yes",
      "code": "yes"
     },
     {
      "name": "No",
      "code": "no"
     }
    ],
    "mergePolicy": "esriMPTDefaultValue",
    "splitPolicy": "esriSPTDefaultValue"
   }
  },
  {
   "name": "encroachments",
   "type": "esriFieldTypeString",
   "alias": "Encroachmnets",
   "length": 255,
   "domain": {
    "type": "codedValue",
    "name": "service_046fa227e0034711b4c2ebb4a04a0a56_cvd_encroachments",
    "description": "",
    "codedValues": [
     {
      "name": "Yes",
      "code": "yes"
     },
     {
      "name": "No",
      "code": "no"
     }
    ],
    "mergePolicy": "esriMPTDefaultValue",
    "splitPolicy": "esriSPTDefaultValue"
   }
  },
  {
   "name": "building_line",
   "type": "esriFieldTypeString",
   "alias": "Building Line",
   "length": 255,
   "domain": {
    "type": "codedValue",
    "name": "service_046fa227e0034711b4c2ebb4a04a0a56_cvd_building_line",
    "description": "",
    "codedValues": [
     {
      "name": "Yes",
      "code": "yes"
     },
     {
      "name": "No",
      "code": "no"
     }
    ],
    "mergePolicy": "esriMPTDefaultValue",
    "splitPolicy": "esriSPTDefaultValue"
   }
  },
  {
   "name": "operator_live",
   "type": "esriFieldTypeString",
   "alias": "Operator live in business or separate room?",
   "length": 255,
   "domain": {
    "type": "codedValue",
    "name": "service_046fa227e0034711b4c2ebb4a04a0a56_cvd_operator_live",
    "description": "",
    "codedValues": [
     {
      "name": "Live in business",
      "code": "liveinbusiness"
     },
     {
      "name": "Live in Separate Room",
      "code": "liveseperate"
     },
     {
      "name": "Other",
      "code": "livesperate"
     }
    ],
    "mergePolicy": "esriMPTDefaultValue",
    "splitPolicy": "esriSPTDefaultValue"
   }
  },
  {
   "name": "liveother",
   "type": "esriFieldTypeString",
   "alias": "Other",
   "length": 255,
   "domain": null
  },
  {
   "name": "comments",
   "type": "esriFieldTypeString",
   "alias": "Additional Comments",
   "length": 255,
   "domain": null
  },
  {
   "name": "created_user",
   "type": "esriFieldTypeString",
   "alias": "created_user",
   "length": 255,
   "domain": null
  },
  {
   "name": "created_date",
   "type": "esriFieldTypeDate",
   "alias": "created_date",
   "length": 8,
   "domain": null
  },
  {
   "name": "last_edited_user",
   "type": "esriFieldTypeString",
   "alias": "last_edited_user",
   "length": 255,
   "domain": null
  },
  {
   "name": "last_edited_date",
   "type": "esriFieldTypeDate",
   "alias": "last_edited_date",
   "length": 8,
   "domain": null
  },
  {
   "name": "businesslegal",
   "type": "esriFieldTypeString",
   "alias": "Is Business Legal?",
   "length": 255,
   "domain": {
    "type": "codedValue",
    "name": "service_046fa227e0034711b4c2ebb4a04a0a56_cvd_businesslegal",
    "description": "",
    "codedValues": [
     {
      "name": "Legal",
      "code": "legal"
     },
     {
      "name": "Illegal",
      "code": "illegal"
     }
    ],
    "mergePolicy": "esriMPTDefaultValue",
    "splitPolicy": "esriSPTDefaultValue"
   }
  },
  {
   "name": "noticeissued",
   "type": "esriFieldTypeString",
   "alias": "Notice Issued?",
   "length": 255,
   "domain": null
  },
  {
   "name": "tp_collabno",
   "type": "esriFieldTypeString",
   "alias": "Collab Number",
   "length": 255,
   "domain": null
  },
  {
   "name": "tp_firstnotice30",
   "type": "esriFieldTypeDate",
   "alias": "First Notice 30 days (annexure)",
   "length": 8,
   "domain": null
  },
  {
   "name": "tp_signednotice",
   "type": "esriFieldTypeString",
   "alias": "Signed for Notice",
   "length": 255,
   "domain": null
  },
  {
   "name": "tp_firstnoticelapsed",
   "type": "esriFieldTypeDate",
   "alias": "First Notice Lapsed",
   "length": 8,
   "domain": null
  },
  {
   "name": "tp_secondnotice14",
   "type": "esriFieldTypeDate",
   "alias": "Second Notice (Annuxure) 14 days",
   "length": 8,
   "domain": null
  },
  {
   "name": "tp_secondnoticelapsed",
   "type": "esriFieldTypeDate",
   "alias": "14 days after second notice is issued needs to go to Legal Services",
   "length": 8,
   "domain": null
  },
  {
   "name": "tp_legaldept",
   "type": "esriFieldTypeDate",
   "alias": "Refer to Legal Department",
   "length": 8,
   "domain": null
  },
  {
   "name": "tp_amnesty",
   "type": "esriFieldTypeDate",
   "alias": "Amnesty Period - Date (3 months of first notice issued) - No penalty paid within 3months of first notice issued",
   "length": 8,
   "domain": null
  },
  {
   "name": "tp_noticecomments",
   "type": "esriFieldTypeString",
   "alias": "Comments",
   "length": 255,
   "domain": null
  },
  {
   "name": "tp_applicationsubmitted",
   "type": "esriFieldTypeDate",
   "alias": "Application submitted - Date (finalization of application)",
   "length": 8,
   "domain": null
  },
  {
   "name": "Shape",
   "type": "esriFieldTypeGeometry",
   "alias": "Shape",
   "domain": null
  },
  {
   "name": "ALLOTMENT",
   "type": "esriFieldTypeString",
   "alias": "ALLOTMENT",
   "length": 255,
   "domain": null
  },
  {
   "name": "PROPERTY_DESCRIPTION",
   "type": "esriFieldTypeString",
   "alias": "PROPERTY_DESCRIPTION",
   "length": 255,
   "domain": null
  },
  {
   "name": "SG_CODE",
   "type": "esriFieldTypeString",
   "alias": "SG_CODE",
   "length": 255,
   "domain": null
  },
  {
   "name": "UNIQUE_ID",
   "type": "esriFieldTypeString",
   "alias": "UNIQUE_ID",
   "length": 255,
   "domain": null
  },
  {
   "name": "Fieldworker",
   "type": "esriFieldTypeString",
   "alias": "Fieldworker",
   "length": 255,
   "domain": null
  },
  {
   "name": "landuse_approval",
   "type": "esriFieldTypeString",
   "alias": "landuse_approval",
   "length": 255,
   "domain": null
  },
  {
   "name": "buildingplan_approval",
   "type": "esriFieldTypeString",
   "alias": "buildingplan_approval",
   "length": 255,
   "domain": null
  },
  {
   "name": "health_certificate",
   "type": "esriFieldTypeString",
   "alias": "health_certificate",
   "length": 255,
   "domain": null
  },
  {
   "name": "application_expiry_date",
   "type": "esriFieldTypeDate",
   "alias": "application_expiry_date",
   "length": 8,
   "domain": null
  },
  {
   "name": "name_of_owner",
   "type": "esriFieldTypeString",
   "alias": "name_of_owner",
   "length": 255,
   "domain": null
  },
  {
   "name": "nationality",
   "type": "esriFieldTypeString",
   "alias": "nationality",
   "length": 255,
   "domain": null
  },
  {
   "name": "business_address",
   "type": "esriFieldTypeString",
   "alias": "business_address",
   "length": 255,
   "domain": null
  }
 ],
 "geometryField": {
  "name": "Shape",
  "type": "esriFieldTypeGeometry",
  "alias": "Shape"
 },
 "indexes": [
  {
   "name": "R1096_pk",
   "fields": "OBJECTID",
   "isAscending": true,
   "isUnique": true,
   "description": ""
  },
  {
   "name": "UUID_1096",
   "fields": "globalid",
   "isAscending": true,
   "isUnique": true,
   "description": ""
  },
  {
   "name": "UNIQUE_ID",
   "fields": "UNIQUE_ID",
   "isAscending": true,
   "isUnique": false,
   "description": ""
  },
  {
   "name": "S836_idx",
   "fields": "Shape",
   "isAscending": true,
   "isUnique": true,
   "description": ""
  }
 ],
 "subtypes": [],
 "relationships": [],
 "canModifyLayer": true,
 "canScaleSymbols": false,
 "hasLabels": false,
 "capabilities": "Query,Map,Data",
 "maxRecordCount": 2000,
 "supportsStatistics": true,
 "supportsExceedsLimitStatistics": true,
 "supportsAdvancedQueries": true,
 "supportedQueryFormats": "JSON, geoJSON, PBF",
 "isDataVersioned": false,
 "ownershipBasedAccessControlForFeatures": {"allowOthersToQuery": true},
 "useStandardizedQueries": true,
 "supportedSpatialRelationships": [
  "esriSpatialRelIntersects",
  "esriSpatialRelContains",
  "esriSpatialRelCrosses",
  "esriSpatialRelEnvelopeIntersects",
  "esriSpatialRelIndexIntersects",
  "esriSpatialRelOverlaps",
  "esriSpatialRelTouches",
  "esriSpatialRelWithin",
  "esriSpatialRelRelation"
 ],
 "advancedQueryCapabilities": {
  "useStandardizedQueries": true,
  "supportsStatistics": true,
  "supportsPercentileStatistics": true,
  "supportsHavingClause": true,
  "supportsOrderBy": true,
  "supportsDistinct": true,
  "supportsCountDistinct": true,
  "supportsAdvancedQueryRelated": true,
  "supportsQueryRelatedPagination": true,
  "supportsPagination": true,
  "supportsLod": false,
  "supportsQueryWithLodSR": false,
  "supportsTrueCurve": true,
  "supportsQueryWithDatumTransformation": true,
  "supportsReturningQueryExtent": true,
  "supportsQueryWithDistance": true,
  "supportsSqlExpression": true,
  "supportsTimeRelation": true,
  "supportsSqlFormat": false,
  "supportsQueryAttachments": true,
  "supportsQueryAttachmentsWithReturnUrl": true,
  "supportsQueryAnalytic": true,
  "supportsCurrentUserQueries": true
 },
 "supportsDatumTransformation": true,
 "advancedQueryAnalyticCapabilities": {
  "supportsLinearRegression": true,
  "supportsAsync": false,
  "supportsPercentileAnalytic": true
 },
 "dateFieldsTimeReference": null,
 "preferredTimeReference": null,
 "datesInUnknownTimezone": false,
 "hasMetadata": true,
 "isDataArchived": false,
 "archivingInfo": {
  "supportsQueryWithHistoricMoment": false,
  "startArchivingMoment": -1
 },
 "supportsCoordinatesQuantization": true,
 "supportsDynamicLegends": true,
 "serviceItemId": "4c949cb93c8f476a9e9040e1702c2080"
}