{
  "layers" : [
    {
      "currentVersion" : 12, 
      "id" : 0, 
      "name" : "permitToWork", 
      "type" : "Feature Layer", 
      "serviceItemId" : "14da15131a6b4501827b59004b7fffb9", 
      "cacheMaxAge" : 30, 
      "isView" : true, 
      "isUpdatableView" : true, 
      "sourceSchemaChangesAllowed" : true, 
      "displayField" : "", 
      "description" : "", 
      "copyrightText" : "", 
      "defaultVisibility" : true, 
      "editFieldsInfo" : {
        "creationDateField" : "CreationDate", 
        "creatorField" : "Creator", 
        "editDateField" : "EditDate", 
        "editorField" : "Editor"
      }, 
      "editingInfo" : {
        "lastEditDate" : 1614176242442, 
        "schemaLastEditDate" : 1614176242442, 
        "dataLastEditDate" : 1614176242442
      }, 
      "relationships" : [], 
      "isDataVersioned" : false, 
      "hasContingentValuesDefinition" : false, 
      "supportsAppend" : true, 
      "supportsCalculate" : true, 
      "supportsASyncCalculate" : true, 
      "supportsTruncate" : false, 
      "supportsAttachmentsByUploadId" : true, 
      "supportsAttachmentsResizing" : true, 
      "supportsRollbackOnFailureParameter" : true, 
      "supportsStatistics" : true, 
      "supportsExceedsLimitStatistics" : true, 
      "supportsAdvancedQueries" : true, 
      "supportsValidateSql" : true, 
      "supportsCoordinatesQuantization" : true, 
      "supportsLayerOverrides" : true, 
      "supportsTilesAndBasicQueriesMode" : true, 
      "supportsFieldDescriptionProperty" : true, 
      "supportsQuantizationEditMode" : true, 
      "supportsColumnStoreIndex" : true, 
      "supportsApplyEditsWithGlobalIds" : true, 
      "supportsMultiScaleGeometry" : true, 
      "supportsReturningQueryGeometry" : true, 
      "enableNullGeometry" : false, 
      "hasGeometryProperties" : true, 
      "geometryProperties" : 
      {
        "shapeAreaFieldName" : "SHAPE__Area", 
        "shapeLengthFieldName" : "SHAPE__Length"
      }, 
      "advancedQueryCapabilities" : {
        "supportsPagination" : true, 
        "supportsPaginationOnAggregatedQueries" : true, 
        "supportsQueryRelatedPagination" : true, 
        "supportsQueryWithDistance" : true, 
        "supportsOutDistance" : true, 
        "supportsReturningQueryExtent" : true, 
        "supportsStatistics" : true, 
        "supportsOrderBy" : true, 
        "supportsDistinct" : true, 
        "supportsQueryWithResultType" : true, 
        "supportsSqlExpression" : true, 
        "supportsTimeRelation" : true, 
        "supportsAdvancedQueryRelated" : true, 
        "supportsCountDistinct" : true, 
        "supportsPercentileStatistics" : true, 
        "supportsApproxPercentileStatistics" : true, 
        "supportsSpatialAggregationStatistics" : true, 
        "supportsTrueCurve" : true, 
        "supportedSpatialAggregationStatistics" : [
          "EnvelopeAggregate", 
          "CentroidAggregate", 
          "ConvexHullAggregate"
        ], 
        "supportsLod" : true, 
        "supportsQueryWithLodSR" : false, 
        "supportedLodTypes" : [
          "geohash"
        ], 
        "supportsReturningGeometryCentroid" : true, 
        "supportsReturningGeometryEnvelope" : true, 
        "supportsReturningGeometryProperties" : true, 
        "supportsQueryWithDatumTransformation" : true, 
        "supportsCurrentUserQueries" : true, 
        "supportsHavingClause" : true, 
        "supportsOutFieldSQLExpression" : true, 
        "supportsMaxRecordCountFactor" : true, 
        "supportsTopFeaturesQuery" : true, 
        "supportsDisjointSpatialRel" : true, 
        "supportsQueryWithCacheHint" : true, 
        "supportedOperationsWithCacheHint" : [
          "query", 
          "queryTopFilter", 
          "queryAnalytics", 
          "queryAttachments", 
          "queryRelated", 
          "queryBins", 
          "queryPivot"
        ], 
        "supportsQueryAnalytic" : true, 
        "supportsQueryPivot" : true, 
        "supportsQueryBins" : true, 
        "supportsDefaultSR" : true, 
        "supportsTranslations" : false, 
        "supportsAggIds" : true, 
        "supportsQueryWithCollation" : true, 
        "supportsISODOW" : true, 
        "supportsISOWeek" : true, 
        "supportsFullTextSearch" : true, 
        "fullTextSearchCapabilities" : {
          "supportsAccentSensitivity" : true, 
          "supportsStopWords" : true, 
          "supportsSearchOperator" : true, 
          "supportsOperator" : true
        }
      }, 
      "advancedQueryAnalyticCapabilities" : {
        "supportsLinearRegression" : true, 
        "supportsTrendlineRegression" : true, 
        "supportsAsync" : true, 
        "supportsPercentileAnalytic" : true
      }, 
      "queryBinsCapabilities" : {
        "supportsAsync" : true, 
        "supportsAutoIntervalBin" : true, 
        "supportsFixedIntervalBin" : true, 
        "supportsFixedBoundariesBin" : true, 
        "supportsDateBin" : true, 
        "supportsClassificationBin" : true, 
        "supportsStackBy" : true, 
        "supportsSplitBy" : true, 
        "supportsFirstDayOfWeek" : true, 
        "supportsSnapToData" : true, 
        "supportsReturnFullIntervalBin" : true, 
        "supportsReturnStackValueRange" : true, 
        "supportsNormalization" : true, 
        "supportedStatisticTypes" : [
          "COUNT", 
          "SUM", 
          "AVG", 
          "VAR", 
          "STDDEV", 
          "MIN", 
          "MAX", 
          "PERCENTILE_CONT", 
          "PERCENTILE_DISC", 
          "APPROX_PERCENTILE_CONT", 
          "APPROX_PERCENTILE_DISC", 
          "CentroidAggregate", 
          "EnvelopeAggregate", 
          "ConvexHullAggregate"
        ], 
        "supportedNormalizationTypes" : [
          "boxCox", 
          "field", 
          "inverse", 
          "log", 
          "naturalLog", 
          "percentOfTotal", 
          "squareRoot"
        ]
      }, 
      "supportedOperationsWithCollation" : "query,addField,updateField", 
      "advancedEditingCapabilities" : {
        "supportedSqlFormatsInCalculate" : [
          "standard"
        ], 
        "supportsAsyncApplyEdits" : true, 
        "supportsReturnEditResults" : true, 
        "supportsApplyEditsbyUploadID" : true, 
        "supportedApplyEditsUploadIDFormats" : "JSON,PBF", 
        "supportsTranslation" : false, 
        "supportsMaxTranslations" : 10
      }, 
      "infoInEstimates" : [
        "extent", 
        "count"
      ], 
      "useStandardizedQueries" : true, 
      "geometryType" : "esriGeometryPolygon", 
      "minScale" : 36112, 
      "maxScale" : 1128, 
      "extent" : {
        "xmin" : 19690034.05, 
        "ymin" : -4809888.1654, 
        "xmax" : 19695112.8526, 
        "ymax" : -4788283.1176, 
        "spatialReference" : {
          "wkid" : 102100, 
          "latestWkid" : 3857
        }
      }, 
      "drawingInfo":{"renderer":{"type":"uniqueValue","field1":"type_of_permit","defaultSymbol":{"color":[170,170,170,255],"outline":{"color":[153,153,153,64],"width":0.75,"type":"esriSLS","style":"esriSLSSolid"},"type":"esriSFS","style":"esriSFSSolid"},"defaultLabel":"Other","uniqueValueInfos":[{"value":"Working at Heights","symbol":{"color":[168,0,132,255],"outline":{"color":[0,255,197,255],"width":2.25,"type":"esriSLS","style":"esriSLSSolid"},"type":"esriSFS","style":"esriSFSSolid"},"label":"Working at Heights"},{"value":"Confined Space Entry","symbol":{"color":[168,0,132,255],"outline":{"color":[0,197,255,255],"width":2.25,"type":"esriSLS","style":"esriSLSSolid"},"type":"esriSFS","style":"esriSFSSolid"},"label":"Confined Space Entry"},{"value":"Excavation","symbol":{"color":[168,0,132,255],"outline":{"color":[170,255,0,255],"width":2.25,"type":"esriSLS","style":"esriSLSSolid"},"type":"esriSFS","style":"esriSFSSolid"},"label":"Excavation"},{"value":"LOTO","symbol":{"color":[168,0,132,255],"outline":{"color":[255,211,127,255],"width":2.25,"type":"esriSLS","style":"esriSLSSolid"},"type":"esriSFS","style":"esriSFSSolid"},"label":"LOTO"},{"value":"Live Electrical Maintenance Work","symbol":{"color":[168,0,132,255],"outline":{"color":[255,0,0,255],"width":2.25,"type":"esriSLS","style":"esriSLSSolid"},"type":"esriSFS","style":"esriSFSSolid"},"label":"Live Electrical Maintenance Work"},{"value":"Plant Isolation","symbol":{"color":[168,0,132,255],"outline":{"color":[56,168,0,255],"width":2.25,"type":"esriSLS","style":"esriSLSSolid"},"type":"esriSFS","style":"esriSFSSolid"},"label":"Plant Isolation"},{"value":"Other","symbol":{"color":[168,0,132,255],"outline":{"color":[168,168,0,255],"width":2.25,"type":"esriSLS","style":"esriSLSSolid"},"type":"esriSFS","style":"esriSFSSolid"},"label":"Other"}]},"labelingInfo":[{"labelExpression":null,"labelExpressionInfo":{"expression":"$feature[\"type_of_permit\"]\nDomainName($feature,\"type_of_permit\")"},"useCodedValues":true,"maxScale":0,"minScale":0,"where":null,"labelPlacement":"esriServerPolygonPlacementAlwaysHorizontal","symbol":{"color":[51,51,51,255],"type":"esriTS","backgroundColor":null,"borderLineColor":null,"haloSize":0,"haloColor":null,"horizontalAlignment":"center","rightToLeft":false,"angle":0,"xoffset":0,"yoffset":0,"text":"","rotated":false,"kerning":true,"font":{"size":9.75,"style":"normal","decoration":"none","weight":"bold","family":"Arial"}}}],"transparency":20}, 
      "timeInfo" : {
        "startTimeField" : "startDateTimeGIS", 
        "endTimeField" : "endDateTimeGIS", 
        "trackIdField" : "", 
        "timeExtent" : [
          1593395940000, 
          1595548920000
        ], 
        "timeReference" : {
          "timeZone" : "UTC", 
          "timeZoneIANA" : "Etc/UTC", 
          "respectsDaylightSaving" : false
        }, 
        "timeInterval" : 0, 
        "timeIntervalUnits" : "", 
        "exportOptions" : {
          "useTime" : false, 
          "timeDataCumulative" : false, 
          "TimeOffset" : 0, 
          "timeOffsetUnits" : "esriTimeUnitsCenturies"
        }, 
        "hasLiveData" : false
      }, 
      "allowGeometryUpdates" : true, 
      "trueCurveSupportMode" : "OGC", 
      "supportedCurveTypes" : [
        "esriGeometryCircularArc"
      ], 
      "supportedTrueCurvePbfFeatureEncodings" : [
        "esriCompressedShapeBuffer", 
        "esriDefault"
      ], 
      "allowTrueCurvesUpdates" : true, 
      "onlyAllowTrueCurveUpdatesByTrueCurveClients" : false, 
      "hasAttachments" : false, 
      "viewSourceHasAttachments" : false, 
      "htmlPopupType" : "esriServerHTMLPopupTypeNone", 
      "hasM" : false, 
      "hasZ" : true, 
      "enableZDefaults" : true, 
      "zDefault" : 0, 
      "objectIdField" : "OBJECTID", 
      "uniqueIdField" : 
      {
        "name" : "OBJECTID", 
        "isSystemMaintained" : true
      }, 
      "globalIdField" : "GlobalID", 
      "typeIdField" : "type_of_permit", 
      "collation" : {
        "locale" : "neutral", 
        "caseSensitive" : false, 
        "accentSensitive" : true
      }, 
      "fields" : [
        {
          "name" : "OBJECTID", 
          "type" : "esriFieldTypeOID", 
          "alias" : "OBJECTID", 
          "sqlType" : "sqlTypeOther", 
          "nullable" : false, 
          "editable" : false, 
          "isViewOverride" : false, 
          "domain" : null, 
          "defaultValue" : null
        }, 
        {
          "name" : "AreaName", 
          "type" : "esriFieldTypeString", 
          "alias" : "AreaName", 
          "sqlType" : "sqlTypeOther", 
          "length" : 255, 
          "nullable" : true, 
          "editable" : true, 
          "isViewOverride" : false, 
          "domain" : null, 
          "defaultValue" : null
        }, 
        {
          "name" : "category", 
          "type" : "esriFieldTypeString", 
          "alias" : "category", 
          "sqlType" : "sqlTypeOther", 
          "length" : 255, 
          "nullable" : true, 
          "editable" : true, 
          "isViewOverride" : false, 
          "domain" : null, 
          "defaultValue" : null
        }, 
        {
          "name" : "prefix", 
          "type" : "esriFieldTypeString", 
          "alias" : "prefix", 
          "sqlType" : "sqlTypeOther", 
          "length" : 255, 
          "nullable" : true, 
          "editable" : true, 
          "isViewOverride" : false, 
          "domain" : null, 
          "defaultValue" : null
        }, 
        {
          "name" : "code", 
          "type" : "esriFieldTypeString", 
          "alias" : "code", 
          "sqlType" : "sqlTypeOther", 
          "length" : 25, 
          "nullable" : true, 
          "editable" : true, 
          "isViewOverride" : false, 
          "domain" : null, 
          "defaultValue" : null
        }, 
        {
          "name" : "topLevel", 
          "type" : "esriFieldTypeString", 
          "alias" : "topLevel", 
          "sqlType" : "sqlTypeOther", 
          "length" : 255, 
          "nullable" : true, 
          "editable" : true, 
          "isViewOverride" : false, 
          "domain" : null, 
          "defaultValue" : null
        }, 
        {
          "name" : "ParentCode", 
          "type" : "esriFieldTypeString", 
          "alias" : "ParentCode", 
          "sqlType" : "sqlTypeOther", 
          "length" : 25, 
          "nullable" : true, 
          "editable" : true, 
          "isViewOverride" : false, 
          "domain" : null, 
          "defaultValue" : null
        }, 
        {
          "name" : "email", 
          "type" : "esriFieldTypeString", 
          "alias" : "email", 
          "sqlType" : "sqlTypeOther", 
          "length" : 1000, 
          "nullable" : true, 
          "editable" : true, 
          "isViewOverride" : false, 
          "domain" : null, 
          "defaultValue" : null
        }, 
        {
          "name" : "location_type", 
          "type" : "esriFieldTypeString", 
          "alias" : "location_type", 
          "sqlType" : "sqlTypeOther", 
          "length" : 200, 
          "nullable" : true, 
          "editable" : true, 
          "isViewOverride" : false, 
          "domain" : null, 
          "defaultValue" : null
        }, 
        {
          "name" : "specific_location", 
          "type" : "esriFieldTypeString", 
          "alias" : "specific_location", 
          "sqlType" : "sqlTypeOther", 
          "length" : 200, 
          "nullable" : true, 
          "editable" : true, 
          "isViewOverride" : false, 
          "domain" : null, 
          "defaultValue" : null
        }, 
        {
          "name" : "type_of_permit", 
          "type" : "esriFieldTypeString", 
          "alias" : "type_of_permit", 
          "sqlType" : "sqlTypeOther", 
          "length" : 200, 
          "nullable" : true, 
          "editable" : true, 
          "isViewOverride" : false, 
          "domain" : 
          {
            "type" : "codedValue", 
            "name" : "permitToWork_type_of_permit_4fcad9d6-ea95-4ed9-89cf-48993b2f3c70", 
            "codedValues" : [
              {
                "name" : "Hot Work", 
                "code" : "Hot Work"
              }, 
              {
                "name" : "Working at Heights", 
                "code" : "Working at Heights"
              }, 
              {
                "name" : "Confined Space Entry", 
                "code" : "Confined Space Entry"
              }, 
              {
                "name" : "Excavation", 
                "code" : "Excavation"
              }, 
              {
                "name" : "Live Electrical Maintenance Work", 
                "code" : "Live Electrical Maintenance Work"
              }, 
              {
                "name" : "LOTO", 
                "code" : "LOTO"
              }, 
              {
                "name" : "Other", 
                "code" : "Other"
              }, 
              {
                "name" : "Plant Isolation", 
                "code" : "Plant Isolation"
              }
            ]
          }, 
          "defaultValue" : null
        }, 
        {
          "name" : "status", 
          "type" : "esriFieldTypeString", 
          "alias" : "status", 
          "sqlType" : "sqlTypeOther", 
          "length" : 200, 
          "nullable" : true, 
          "editable" : true, 
          "isViewOverride" : false, 
          "domain" : null, 
          "defaultValue" : null
        }, 
        {
          "name" : "rel_location_location", 
          "type" : "esriFieldTypeString", 
          "alias" : "rel_location_location", 
          "sqlType" : "sqlTypeOther", 
          "length" : 200, 
          "nullable" : true, 
          "editable" : true, 
          "isViewOverride" : false, 
          "domain" : null, 
          "defaultValue" : null
        }, 
        {
          "name" : "rel_location_location_code", 
          "type" : "esriFieldTypeString", 
          "alias" : "rel_location_location_code", 
          "sqlType" : "sqlTypeOther", 
          "length" : 200, 
          "nullable" : true, 
          "editable" : true, 
          "isViewOverride" : false, 
          "domain" : null, 
          "defaultValue" : null
        }, 
        {
          "name" : "rel_location_location_level", 
          "type" : "esriFieldTypeString", 
          "alias" : "rel_location_location_level", 
          "sqlType" : "sqlTypeOther", 
          "length" : 200, 
          "nullable" : true, 
          "editable" : true, 
          "isViewOverride" : false, 
          "domain" : null, 
          "defaultValue" : null
        }, 
        {
          "name" : "rel_location_location_type", 
          "type" : "esriFieldTypeString", 
          "alias" : "rel_location_location_type", 
          "sqlType" : "sqlTypeOther", 
          "length" : 200, 
          "nullable" : true, 
          "editable" : true, 
          "isViewOverride" : false, 
          "domain" : null, 
          "defaultValue" : null
        }, 
        {
          "name" : "SAI360_Link", 
          "type" : "esriFieldTypeString", 
          "alias" : "SAI360_Link", 
          "sqlType" : "sqlTypeOther", 
          "length" : 255, 
          "nullable" : true, 
          "editable" : true, 
          "isViewOverride" : false, 
          "domain" : null, 
          "defaultValue" : null
        }, 
        {
          "name" : "SHAPE__Area", 
          "type" : "esriFieldTypeDouble", 
          "alias" : "SHAPE__Area", 
          "sqlType" : "sqlTypeDouble", 
          "nullable" : true, 
          "editable" : true, 
          "isViewOverride" : true, 
          "domain" : null, 
          "defaultValue" : null
        }, 
        {
          "name" : "SHAPE__Length", 
          "type" : "esriFieldTypeDouble", 
          "alias" : "SHAPE__Length", 
          "sqlType" : "sqlTypeDouble", 
          "nullable" : true, 
          "editable" : true, 
          "isViewOverride" : true, 
          "domain" : null, 
          "defaultValue" : null
        }, 
        {
          "name" : "GlobalID", 
          "type" : "esriFieldTypeGlobalID", 
          "alias" : "GlobalID", 
          "sqlType" : "sqlTypeOther", 
          "length" : 38, 
          "nullable" : false, 
          "editable" : false, 
          "isViewOverride" : false, 
          "domain" : null, 
          "defaultValue" : "NEWID() WITH VALUES"
        }, 
        {
          "name" : "CreationDate", 
          "type" : "esriFieldTypeDate", 
          "alias" : "CreationDate", 
          "sqlType" : "sqlTypeOther", 
          "length" : 8, 
          "nullable" : true, 
          "editable" : false, 
          "isViewOverride" : false, 
          "domain" : null, 
          "defaultValue" : null, 
          "precision" : 1
        }, 
        {
          "name" : "Creator", 
          "type" : "esriFieldTypeString", 
          "alias" : "Creator", 
          "sqlType" : "sqlTypeOther", 
          "length" : 128, 
          "nullable" : true, 
          "editable" : false, 
          "isViewOverride" : false, 
          "domain" : null, 
          "defaultValue" : null
        }, 
        {
          "name" : "EditDate", 
          "type" : "esriFieldTypeDate", 
          "alias" : "EditDate", 
          "sqlType" : "sqlTypeOther", 
          "length" : 8, 
          "nullable" : true, 
          "editable" : false, 
          "isViewOverride" : false, 
          "domain" : null, 
          "defaultValue" : null, 
          "precision" : 1
        }, 
        {
          "name" : "Editor", 
          "type" : "esriFieldTypeString", 
          "alias" : "Editor", 
          "sqlType" : "sqlTypeOther", 
          "length" : 128, 
          "nullable" : true, 
          "editable" : false, 
          "isViewOverride" : false, 
          "domain" : null, 
          "defaultValue" : null
        }, 
        {
          "name" : "applicationDateGIS", 
          "type" : "esriFieldTypeDate", 
          "alias" : "applicationDateGIS", 
          "sqlType" : "sqlTypeOther", 
          "length" : 8, 
          "nullable" : true, 
          "editable" : true, 
          "isViewOverride" : false, 
          "domain" : null, 
          "defaultValue" : null, 
          "precision" : 1
        }, 
        {
          "name" : "startDateTimeGIS", 
          "type" : "esriFieldTypeDate", 
          "alias" : "startDateTimeGIS", 
          "sqlType" : "sqlTypeOther", 
          "length" : 8, 
          "nullable" : true, 
          "editable" : true, 
          "isViewOverride" : false, 
          "domain" : null, 
          "defaultValue" : null, 
          "precision" : 1
        }, 
        {
          "name" : "endDateTimeGIS", 
          "type" : "esriFieldTypeDate", 
          "alias" : "endDateTimeGIS", 
          "sqlType" : "sqlTypeOther", 
          "length" : 8, 
          "nullable" : true, 
          "editable" : true, 
          "isViewOverride" : false, 
          "domain" : null, 
          "defaultValue" : null, 
          "precision" : 1
        }, 
        {
          "name" : "endDateTimeNZString", 
          "type" : "esriFieldTypeString", 
          "alias" : "End Date/Time (NZ Format)", 
          "sqlType" : "sqlTypeOther", 
          "length" : 50, 
          "nullable" : true, 
          "editable" : true, 
          "isViewOverride" : false, 
          "domain" : null, 
          "defaultValue" : null
        }, 
        {
          "name" : "startDateTimeNZString", 
          "type" : "esriFieldTypeString", 
          "alias" : "Start Date/Time (NZ Format)", 
          "sqlType" : "sqlTypeOther", 
          "length" : 50, 
          "nullable" : true, 
          "editable" : true, 
          "isViewOverride" : false, 
          "domain" : null, 
          "defaultValue" : null
        }, 
        {
          "name" : "controls", 
          "type" : "esriFieldTypeString", 
          "alias" : "Controls", 
          "sqlType" : "sqlTypeOther", 
          "length" : 2500, 
          "nullable" : true, 
          "editable" : true, 
          "isViewOverride" : false, 
          "domain" : null, 
          "defaultValue" : null
        }
      ], 
      "indexes" : [
        {
          "name" : "SHAPE__Area_Index", 
          "fields" : "SHAPE__Area", 
          "isAscending" : true, 
          "isUnique" : false, 
          "description" : "", 
          "indexType" : "Attribute"
        }, 
        {
          "name" : "SHAPE__Length_Index", 
          "fields" : "SHAPE__Length", 
          "isAscending" : true, 
          "isUnique" : false, 
          "description" : "", 
          "indexType" : "Attribute"
        }, 
        {
          "name" : "PK__PERMITTO__F4B70D853248B036", 
          "fields" : "OBJECTID", 
          "isAscending" : true, 
          "isUnique" : true, 
          "description" : "clustered, unique, primary key", 
          "indexType" : "Attribute"
        }, 
        {
          "name" : "user_7313.PERMITTOWORK_PERMITTOWORK_SHAPE_sidx", 
          "fields" : "SHAPE", 
          "isAscending" : false, 
          "isUnique" : false, 
          "description" : "Shape Index", 
          "indexType" : "Spatial"
        }, 
        {
          "name" : "GlobalID_Index", 
          "fields" : "GlobalID", 
          "isAscending" : false, 
          "isUnique" : true, 
          "description" : "", 
          "indexType" : "Attribute"
        }, 
        {
          "name" : "CreationDateIndex", 
          "fields" : "CreationDate", 
          "isAscending" : true, 
          "isUnique" : false, 
          "description" : "CreationDate Field index", 
          "indexType" : "Attribute"
        }, 
        {
          "name" : "CreatorIndex", 
          "fields" : "Creator", 
          "isAscending" : false, 
          "isUnique" : false, 
          "description" : "Creator Field index", 
          "indexType" : "Attribute"
        }, 
        {
          "name" : "EditDateIndex", 
          "fields" : "EditDate", 
          "isAscending" : true, 
          "isUnique" : false, 
          "description" : "EditDate Field index", 
          "indexType" : "Attribute"
        }, 
        {
          "name" : "EditorIndex", 
          "fields" : "Editor", 
          "isAscending" : false, 
          "isUnique" : false, 
          "description" : "Editor Field index", 
          "indexType" : "Attribute"
        }
      ], 
      "dateFieldsTimeReference" : {
        "timeZone" : "UTC", 
        "timeZoneIANA" : "Etc/UTC", 
        "respectsDaylightSaving" : false
      }, 
      "preferredTimeReference" : null, 
      "types" : [
        {
          "id" : "Working at Heights", 
          "name" : "Working at Heights", 
          "domains" : 
          {
          }, 
          "templates" : [
            {
              "name" : "Working at Heights", 
              "description" : "", 
              "drawingTool" : "esriFeatureEditToolNone", 
              "prototype" : {
                "attributes" : {
                  "type_of_permit" : "Working at Heights", 
                  "AreaName" : null, 
                  "category" : null, 
                  "prefix" : null, 
                  "code" : null, 
                  "topLevel" : null, 
                  "ParentCode" : null, 
                  "email" : null, 
                  "location_type" : null, 
                  "specific_location" : null, 
                  "status" : null, 
                  "rel_location_location" : null, 
                  "rel_location_location_code" : null, 
                  "rel_location_location_level" : null, 
                  "rel_location_location_type" : null, 
                  "SAI360_Link" : null, 
                  "SHAPE__Area" : null, 
                  "SHAPE__Length" : null, 
                  "applicationDateGIS" : null, 
                  "startDateTimeGIS" : null, 
                  "endDateTimeGIS" : null, 
                  "endDateTimeNZString" : null, 
                  "startDateTimeNZString" : null, 
                  "controls" : null
                }
              }
            }
          ]
        }, 
        {
          "id" : "Confined Space Entry", 
          "name" : "Confined Space Entry", 
          "domains" : 
          {
          }, 
          "templates" : [
            {
              "name" : "Confined Space Entry", 
              "description" : "", 
              "drawingTool" : "esriFeatureEditToolNone", 
              "prototype" : {
                "attributes" : {
                  "type_of_permit" : "Confined Space Entry", 
                  "AreaName" : null, 
                  "category" : null, 
                  "prefix" : null, 
                  "code" : null, 
                  "topLevel" : null, 
                  "ParentCode" : null, 
                  "email" : null, 
                  "location_type" : null, 
                  "specific_location" : null, 
                  "status" : null, 
                  "rel_location_location" : null, 
                  "rel_location_location_code" : null, 
                  "rel_location_location_level" : null, 
                  "rel_location_location_type" : null, 
                  "SAI360_Link" : null, 
                  "SHAPE__Area" : null, 
                  "SHAPE__Length" : null, 
                  "applicationDateGIS" : null, 
                  "startDateTimeGIS" : null, 
                  "endDateTimeGIS" : null, 
                  "endDateTimeNZString" : null, 
                  "startDateTimeNZString" : null, 
                  "controls" : null
                }
              }
            }
          ]
        }, 
        {
          "id" : "Excavation", 
          "name" : "Excavation", 
          "domains" : 
          {
          }, 
          "templates" : [
            {
              "name" : "Excavation", 
              "description" : "", 
              "drawingTool" : "esriFeatureEditToolNone", 
              "prototype" : {
                "attributes" : {
                  "type_of_permit" : "Excavation", 
                  "AreaName" : null, 
                  "category" : null, 
                  "prefix" : null, 
                  "code" : null, 
                  "topLevel" : null, 
                  "ParentCode" : null, 
                  "email" : null, 
                  "location_type" : null, 
                  "specific_location" : null, 
                  "status" : null, 
                  "rel_location_location" : null, 
                  "rel_location_location_code" : null, 
                  "rel_location_location_level" : null, 
                  "rel_location_location_type" : null, 
                  "SAI360_Link" : null, 
                  "SHAPE__Area" : null, 
                  "SHAPE__Length" : null, 
                  "applicationDateGIS" : null, 
                  "startDateTimeGIS" : null, 
                  "endDateTimeGIS" : null, 
                  "endDateTimeNZString" : null, 
                  "startDateTimeNZString" : null, 
                  "controls" : null
                }
              }
            }
          ]
        }, 
        {
          "id" : "LOTO", 
          "name" : "LOTO", 
          "domains" : 
          {
          }, 
          "templates" : [
            {
              "name" : "LOTO", 
              "description" : "", 
              "drawingTool" : "esriFeatureEditToolNone", 
              "prototype" : {
                "attributes" : {
                  "type_of_permit" : "LOTO", 
                  "AreaName" : null, 
                  "category" : null, 
                  "prefix" : null, 
                  "code" : null, 
                  "topLevel" : null, 
                  "ParentCode" : null, 
                  "email" : null, 
                  "location_type" : null, 
                  "specific_location" : null, 
                  "status" : null, 
                  "rel_location_location" : null, 
                  "rel_location_location_code" : null, 
                  "rel_location_location_level" : null, 
                  "rel_location_location_type" : null, 
                  "SAI360_Link" : null, 
                  "SHAPE__Area" : null, 
                  "SHAPE__Length" : null, 
                  "applicationDateGIS" : null, 
                  "startDateTimeGIS" : null, 
                  "endDateTimeGIS" : null, 
                  "endDateTimeNZString" : null, 
                  "startDateTimeNZString" : null, 
                  "controls" : null
                }
              }
            }
          ]
        }, 
        {
          "id" : "Live Electrical Maintenance Work", 
          "name" : "Live Electrical Maintenance Work", 
          "domains" : 
          {
          }, 
          "templates" : [
            {
              "name" : "Live Electrical Maintenance Work", 
              "description" : "", 
              "drawingTool" : "esriFeatureEditToolNone", 
              "prototype" : {
                "attributes" : {
                  "type_of_permit" : "Live Electrical Maintenance Work", 
                  "AreaName" : null, 
                  "category" : null, 
                  "prefix" : null, 
                  "code" : null, 
                  "topLevel" : null, 
                  "ParentCode" : null, 
                  "email" : null, 
                  "location_type" : null, 
                  "specific_location" : null, 
                  "status" : null, 
                  "rel_location_location" : null, 
                  "rel_location_location_code" : null, 
                  "rel_location_location_level" : null, 
                  "rel_location_location_type" : null, 
                  "SAI360_Link" : null, 
                  "SHAPE__Area" : null, 
                  "SHAPE__Length" : null, 
                  "applicationDateGIS" : null, 
                  "startDateTimeGIS" : null, 
                  "endDateTimeGIS" : null, 
                  "endDateTimeNZString" : null, 
                  "startDateTimeNZString" : null, 
                  "controls" : null
                }
              }
            }
          ]
        }, 
        {
          "id" : "Plant Isolation", 
          "name" : "Plant Isolation", 
          "domains" : 
          {
          }, 
          "templates" : [
            {
              "name" : "Plant Isolation", 
              "description" : "", 
              "drawingTool" : "esriFeatureEditToolNone", 
              "prototype" : {
                "attributes" : {
                  "type_of_permit" : "Plant Isolation", 
                  "AreaName" : null, 
                  "category" : null, 
                  "prefix" : null, 
                  "code" : null, 
                  "topLevel" : null, 
                  "ParentCode" : null, 
                  "email" : null, 
                  "location_type" : null, 
                  "specific_location" : null, 
                  "status" : null, 
                  "rel_location_location" : null, 
                  "rel_location_location_code" : null, 
                  "rel_location_location_level" : null, 
                  "rel_location_location_type" : null, 
                  "SAI360_Link" : null, 
                  "SHAPE__Area" : null, 
                  "SHAPE__Length" : null, 
                  "applicationDateGIS" : null, 
                  "startDateTimeGIS" : null, 
                  "endDateTimeGIS" : null, 
                  "endDateTimeNZString" : null, 
                  "startDateTimeNZString" : null, 
                  "controls" : null
                }
              }
            }
          ]
        }, 
        {
          "id" : "Other", 
          "name" : "Other", 
          "domains" : 
          {
          }, 
          "templates" : [
            {
              "name" : "Other", 
              "description" : "", 
              "drawingTool" : "esriFeatureEditToolNone", 
              "prototype" : {
                "attributes" : {
                  "type_of_permit" : "Other", 
                  "AreaName" : null, 
                  "category" : null, 
                  "prefix" : null, 
                  "code" : null, 
                  "topLevel" : null, 
                  "ParentCode" : null, 
                  "email" : null, 
                  "location_type" : null, 
                  "specific_location" : null, 
                  "status" : null, 
                  "rel_location_location" : null, 
                  "rel_location_location_code" : null, 
                  "rel_location_location_level" : null, 
                  "rel_location_location_type" : null, 
                  "SAI360_Link" : null, 
                  "SHAPE__Area" : null, 
                  "SHAPE__Length" : null, 
                  "applicationDateGIS" : null, 
                  "startDateTimeGIS" : null, 
                  "endDateTimeGIS" : null, 
                  "endDateTimeNZString" : null, 
                  "startDateTimeNZString" : null, 
                  "controls" : null
                }
              }
            }
          ]
        }
      ], 
      "templates" : [], 
      "supportedQueryFormats" : "JSON, geoJSON, PBF", 
      "supportedAppendFormats" : "sqlite,geoPackage,shapefile,filegdb,featureCollection,geojson,csv,excel,jsonl,featureService,pbf", 
      "supportedAppendSourceFilterFormats" : "sqlite,geoPackage,shapefile,filegdb,featureService", 
      "supportedExportFormats" : "csv,shapefile,sqlite,geoPackage,filegdb,featureCollection,geojson,kml,excel", 
      "supportedConvertFileFormats" : "JSON,PBF", 
      "supportedConvertContentFormats" : "LayerEditCollection,FeatureCollection", 
      "supportedSpatialRelationships" : [
        "esriSpatialRelIntersects", 
        "esriSpatialRelContains", 
        "esriSpatialRelCrosses", 
        "esriSpatialRelEnvelopeIntersects", 
        "esriSpatialRelIndexIntersects", 
        "esriSpatialRelOverlaps", 
        "esriSpatialRelTouches", 
        "esriSpatialRelWithin", 
        "esriSpatialRelDisjoint", 
        "esriSpatialRelRelation"
      ], 
      "guidFormat" : "", 
      "supportsContingentValues" : true, 
      "supportedContingentValuesFormats" : "JSON, PBF", 
      "supportsFieldGroups" : true, 
      "supportedSyncDataOptions" : 260, 
      "hasStaticData" : false, 
      "maxRecordCount" : 2000, 
      "standardMaxRecordCount" : 2000, 
      "standardMaxRecordCountNoGeometry" : 32000, 
      "tileMaxRecordCount" : 4000, 
      "maxRecordCountFactor" : 1, 
      "capabilities" : "Query"
    }
  ], 
  "tables" : []
}