{
 "layers": [
  {
   "currentVersion": 10.91,
   "cimVersion": "2.9.0",
   "id": 0,
   "name": "Building Permits",
   "type": "Feature Layer",
   "description": "",
   "geometryType": "esriGeometryPoint",
   "sourceSpatialReference": {
    "wkid": 2150,
    "latestWkid": 2958,
    "xyTolerance": 0.001,
    "zTolerance": 0.001,
    "mTolerance": 0.001,
    "falseX": -5120900,
    "falseY": -9998100,
    "xyUnits": 10000,
    "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": "esriPMS",
      "url": "e3f3ebef7c0930b97285a204a9c76f5d",
      "imageData": "iVBORw0KGgoAAAANSUhEUgAAAAsAAAALCAYAAACprHcmAAAACXBIWXMAAA7EAAAOxAGVKw4bAAAAtklEQVQYlZ3QvQ7BUBiH8eccJRadxCYGid1mwCVUGkPDYHQpLG7ASCQiFs4kbBK9CitdDBYJkfYYfZwmwn/+5c2T1+KHWf/j7jDJwa6QwEamdyzcczx2xzmC1ApJGQ2EtxPOrInytia+J/sIyi+Hsmg9AV0Aod+xFFW0kZnHmRdR7N+x5giUPnDI9RqYGSLqoWUdkE8rBqw7FxOr9obGtEZEF0QGIRTKG8V/A2DZ8gHfKI/FX/YASfkuNalsXLIAAAAASUVORK5CYII=",
      "contentType": "image/png",
      "width": 8,
      "height": 8,
      "angle": 0,
      "xoffset": 0,
      "yoffset": 0
     }
    },
    "scaleSymbols": true,
    "transparency": 0,
    "labelingInfo": null
   },
   "defaultVisibility": false,
   "extent": {
    "xmin": -8892970.443212688,
    "ymin": 5404374.913836203,
    "xmax": -8864853.947141236,
    "ymax": 5440404.496157477,
    "spatialReference": {
     "wkid": 102100,
     "latestWkid": 3857,
     "xyTolerance": 0.001,
     "zTolerance": 0.001,
     "mTolerance": 0.001,
     "falseX": -20037700,
     "falseY": -30241100,
     "xyUnits": 1.4892314192838538E8,
     "falseZ": -100000,
     "zUnits": 10000,
     "falseM": -100000,
     "mUnits": 10000
    }
   },
   "hasAttachments": false,
   "htmlPopupType": "esriServerHTMLPopupTypeAsHTMLText",
   "displayField": "ADDRESS",
   "typeIdField": null,
   "subtypeFieldName": null,
   "subtypeField": null,
   "defaultSubtypeCode": null,
   "fields": [
    {
     "name": "OBJECTID",
     "type": "esriFieldTypeOID",
     "alias": "OBJECTID",
     "domain": null
    },
    {
     "name": "GIS_ID",
     "type": "esriFieldTypeDouble",
     "alias": "GIS_ID",
     "domain": null
    },
    {
     "name": "ADDRESS",
     "type": "esriFieldTypeString",
     "alias": "Address",
     "length": 1073741822,
     "domain": null
    },
    {
     "name": "FOLDERRSN",
     "type": "esriFieldTypeDouble",
     "alias": "FOLDERRSN",
     "domain": null
    },
    {
     "name": "PERMITNUMBER",
     "type": "esriFieldTypeString",
     "alias": "Permit Number",
     "length": 18,
     "domain": null
    },
    {
     "name": "SUBDESC",
     "type": "esriFieldTypeString",
     "alias": "Description",
     "length": 80,
     "domain": null
    },
    {
     "name": "WORKDESC",
     "type": "esriFieldTypeString",
     "alias": "Work Description",
     "length": 80,
     "domain": null
    },
    {
     "name": "ISSUEDATE",
     "type": "esriFieldTypeDate",
     "alias": "Issue Date",
     "length": 8,
     "domain": null
    },
    {
     "name": "INDATE",
     "type": "esriFieldTypeDate",
     "alias": "Input Date",
     "length": 8,
     "domain": null
    },
    {
     "name": "STATUSDESC",
     "type": "esriFieldTypeString",
     "alias": "Status",
     "length": 80,
     "domain": null
    },
    {
     "name": "PROCESSDATE",
     "type": "esriFieldTypeDate",
     "alias": "Date Processed",
     "length": 8,
     "domain": null
    },
    {
     "name": "BUILDER",
     "type": "esriFieldTypeString",
     "alias": "Builder",
     "length": 150,
     "domain": null
    },
    {
     "name": "CONTRACTOR",
     "type": "esriFieldTypeString",
     "alias": "Contractor",
     "length": 150,
     "domain": null
    },
    {
     "name": "EXPIRYDATE",
     "type": "esriFieldTypeDate",
     "alias": "Expiry Date",
     "length": 8,
     "domain": null
    },
    {
     "name": "GFA",
     "type": "esriFieldTypeString",
     "alias": "Ground Floor Area",
     "length": 2000,
     "domain": null
    },
    {
     "name": "SECOND_UNIT",
     "type": "esriFieldTypeString",
     "alias": "Second Unit Created",
     "length": 2000,
     "domain": null
    },
    {
     "name": "BEDROOMS",
     "type": "esriFieldTypeString",
     "alias": "# of Bedrooms",
     "length": 2000,
     "domain": null
    },
    {
     "name": "STOREYS",
     "type": "esriFieldTypeString",
     "alias": "# of Storeys",
     "length": 2000,
     "domain": null
    },
    {
     "name": "DWELLINGS",
     "type": "esriFieldTypeString",
     "alias": "# of Dwellings",
     "length": 2000,
     "domain": null
    },
    {
     "name": "SHAPE",
     "type": "esriFieldTypeGeometry",
     "alias": "SHAPE",
     "domain": null
    }
   ],
   "geometryField": {
    "name": "SHAPE",
    "type": "esriFieldTypeGeometry",
    "alias": "SHAPE"
   },
   "indexes": [
    {
     "name": "R1547459_SDE_ROWID_UK",
     "fields": "OBJECTID",
     "isAscending": true,
     "isUnique": true,
     "description": ""
    },
    {
     "name": "A1480_IX1",
     "fields": "SHAPE",
     "isAscending": true,
     "isUnique": true,
     "description": ""
    }
   ],
   "subtypes": [],
   "relationships": [],
   "canModifyLayer": true,
   "canScaleSymbols": false,
   "hasLabels": false,
   "capabilities": "Map,Query,Data",
   "maxRecordCount": 1000,
   "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,
    "supportsPagination": true,
    "supportsLod": false,
    "supportsQueryWithLodSR": false,
    "supportsTrueCurve": true,
    "supportsQueryWithDatumTransformation": true,
    "supportsReturningQueryExtent": true,
    "supportsQueryWithDistance": true,
    "supportsSqlExpression": true,
    "supportsTimeRelation": true,
    "supportsSqlFormat": false,
    "supportsQueryAnalytic": false
   },
   "supportsDatumTransformation": true,
   "dateFieldsTimeReference": {
    "timeZone": "Eastern Standard Time",
    "respectsDaylightSaving": true
   },
   "preferredTimeReference": null,
   "datesInUnknownTimezone": false,
   "hasMetadata": true,
   "isDataArchived": false,
   "archivingInfo": {
    "supportsQueryWithHistoricMoment": false,
    "startArchivingMoment": -1
   },
   "supportsCoordinatesQuantization": true,
   "supportsDynamicLegends": true
  }
 ],
 "tables": [
  {
   "currentVersion": 10.91,
   "cimVersion": "2.9.0",
   "id": 1,
   "name": "Building Permits Activity",
   "type": "Table",
   "description": null,
   "hasAttachments": false,
   "htmlPopupType": "esriServerHTMLPopupTypeNone",
   "displayField": "PROCESSDESC",
   "typeIdField": null,
   "subtypeFieldName": null,
   "subtypeField": null,
   "defaultSubtypeCode": null,
   "fields": [
    {
     "name": "OBJECTID",
     "type": "esriFieldTypeOID",
     "alias": "OBJECTID",
     "domain": null
    },
    {
     "name": "FOLDERRSN",
     "type": "esriFieldTypeDouble",
     "alias": "FOLDERRSN",
     "domain": null
    },
    {
     "name": "DISPLAYORDER",
     "type": "esriFieldTypeInteger",
     "alias": "DISPLAYORDER",
     "domain": null
    },
    {
     "name": "PROCESSRSN",
     "type": "esriFieldTypeInteger",
     "alias": "PROCESSRSN",
     "domain": null
    },
    {
     "name": "PROCESSDESC",
     "type": "esriFieldTypeString",
     "alias": "PROCESSDESC",
     "length": 80,
     "domain": null
    },
    {
     "name": "STATUSDESC",
     "type": "esriFieldTypeString",
     "alias": "STATUSDESC",
     "length": 80,
     "domain": null
    },
    {
     "name": "ACTIVITYDATE",
     "type": "esriFieldTypeDate",
     "alias": "ACTIVITYDATE",
     "length": 8,
     "domain": null
    }
   ],
   "indexes": [
    {
     "name": "R1547512_SDE_ROWID_UK",
     "fields": "OBJECTID",
     "isAscending": true,
     "isUnique": true,
     "description": ""
    }
   ],
   "subtypes": [],
   "relationships": [],
   "capabilities": "Map,Query,Data",
   "maxRecordCount": 1000,
   "supportsStatistics": true,
   "supportsExceedsLimitStatistics": true,
   "supportsAdvancedQueries": true,
   "supportedQueryFormats": "JSON, PBF",
   "isDataVersioned": false,
   "useStandardizedQueries": true,
   "advancedQueryCapabilities": {
    "useStandardizedQueries": true,
    "supportsStatistics": true,
    "supportsPercentileStatistics": true,
    "supportsHavingClause": true,
    "supportsOrderBy": true,
    "supportsDistinct": true,
    "supportsCountDistinct": true,
    "supportsPagination": true,
    "supportsTrueCurve": false,
    "supportsReturningQueryExtent": true,
    "supportsQueryWithDistance": true,
    "supportsSqlExpression": true,
    "supportsTimeRelation": true,
    "supportsSqlFormat": false,
    "supportsQueryAnalytic": false
   },
   "dateFieldsTimeReference": {
    "timeZone": "Eastern Standard Time",
    "respectsDaylightSaving": true
   },
   "preferredTimeReference": null,
   "datesInUnknownTimezone": false,
   "hasMetadata": true,
   "isDataArchived": false,
   "archivingInfo": {
    "supportsQueryWithHistoricMoment": false,
    "startArchivingMoment": -1
   }
  },
  {
   "currentVersion": 10.91,
   "cimVersion": "2.9.0",
   "id": 2,
   "name": "Upcoming Inspections",
   "type": "Table",
   "description": null,
   "hasAttachments": false,
   "htmlPopupType": "esriServerHTMLPopupTypeNone",
   "displayField": "PERMITNUMBER",
   "typeIdField": null,
   "subtypeFieldName": null,
   "subtypeField": null,
   "defaultSubtypeCode": null,
   "fields": [
    {
     "name": "OBJECTID",
     "type": "esriFieldTypeOID",
     "alias": "OBJECTID",
     "domain": null
    },
    {
     "name": "PROPERTYRSN",
     "type": "esriFieldTypeInteger",
     "alias": "Property RSN",
     "domain": null
    },
    {
     "name": "FOLDERRSN",
     "type": "esriFieldTypeInteger",
     "alias": "FOLDERRSN",
     "domain": null
    },
    {
     "name": "PERMITNUMBER",
     "type": "esriFieldTypeString",
     "alias": "Permit Number",
     "length": 18,
     "domain": null
    },
    {
     "name": "FOLDERTYPE",
     "type": "esriFieldTypeString",
     "alias": "Folder Type",
     "length": 4,
     "domain": null
    },
    {
     "name": "PROCESSRSN",
     "type": "esriFieldTypeInteger",
     "alias": "Process RSN",
     "domain": null
    },
    {
     "name": "PROCESSGROUPDESC",
     "type": "esriFieldTypeString",
     "alias": "Process Group Description",
     "length": 80,
     "domain": null
    },
    {
     "name": "PROCESSDESC",
     "type": "esriFieldTypeString",
     "alias": "Process Description",
     "length": 80,
     "domain": null
    },
    {
     "name": "RESULTDESC",
     "type": "esriFieldTypeString",
     "alias": "Result",
     "length": 9,
     "domain": null
    },
    {
     "name": "INSPECTORDETAIL",
     "type": "esriFieldTypeString",
     "alias": "Inspector",
     "length": 74,
     "domain": null
    },
    {
     "name": "SCHEDULEDATE",
     "type": "esriFieldTypeDate",
     "alias": "Scheduled Date",
     "length": 8,
     "domain": null
    },
    {
     "name": "DISPLAYORDER",
     "type": "esriFieldTypeInteger",
     "alias": "Display Order",
     "domain": null
    }
   ],
   "indexes": null,
   "subtypes": [],
   "relationships": [],
   "capabilities": "Map,Query,Data",
   "maxRecordCount": 1000,
   "supportsStatistics": true,
   "supportsExceedsLimitStatistics": true,
   "supportsAdvancedQueries": true,
   "supportedQueryFormats": "JSON, PBF",
   "isDataVersioned": false,
   "useStandardizedQueries": true,
   "advancedQueryCapabilities": {
    "useStandardizedQueries": true,
    "supportsStatistics": true,
    "supportsPercentileStatistics": true,
    "supportsHavingClause": true,
    "supportsOrderBy": true,
    "supportsDistinct": true,
    "supportsCountDistinct": true,
    "supportsPagination": true,
    "supportsTrueCurve": false,
    "supportsReturningQueryExtent": true,
    "supportsQueryWithDistance": true,
    "supportsSqlExpression": true,
    "supportsTimeRelation": true,
    "supportsSqlFormat": false,
    "supportsQueryAnalytic": false
   },
   "dateFieldsTimeReference": {
    "timeZone": "Eastern Standard Time",
    "respectsDaylightSaving": true
   },
   "preferredTimeReference": null,
   "datesInUnknownTimezone": false,
   "hasMetadata": true,
   "isDataArchived": false,
   "archivingInfo": {
    "supportsQueryWithHistoricMoment": false,
    "startArchivingMoment": -1
   }
  }
 ]
}