{
  "layers" : [
    {
      "currentVersion" : 12, 
      "id" : 0, 
      "name" : "RFS_Query_Layer", 
      "type" : "Feature Layer", 
      "serviceItemId" : "aa38c2587e014f4b959a03bbf4424d7a", 
      "cacheMaxAge" : 30, 
      "displayField" : "SAPID", 
      "description" : "", 
      "copyrightText" : "", 
      "defaultVisibility" : true, 
      "editingInfo" : {
        "lastEditDate" : 1774550805871, 
        "schemaLastEditDate" : 1774550805871, 
        "dataLastEditDate" : 1774550495326
      }, 
      "multiScaleGeometryInfo" : {
        "levels" : [
          5, 
          7, 
          9, 
          11, 
          13
        ], 
        "maxAllowableVertices" : 1000000, 
        "generalizationType" : "Quantization", 
        "supportsReturningLargeGeometry" : true
      }, 
      "relationships" : [
        {
          "id" : 0, 
          "name" : "RFS_Query_Table", 
          "relatedTableId" : 1, 
          "cardinality" : "esriRelCardinalityOneToMany", 
          "role" : "esriRelRoleOrigin", 
          "keyField" : "SAPID", 
          "composite" : false
        }
      ], 
      "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" : false, 
      "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", 
      "supportsReturningLargeGeometry" : true, 
      "advancedEditingCapabilities" : {
        "supportedSqlFormatsInCalculate" : [
          "standard"
        ], 
        "supportsAsyncApplyEdits" : true, 
        "supportsReturnEditResults" : true, 
        "supportsApplyEditsbyUploadID" : true, 
        "supportedApplyEditsUploadIDFormats" : "JSON,PBF", 
        "supportsTranslation" : false, 
        "supportsMaxTranslations" : 10
      }, 
      "infoInEstimates" : [
        "extent", 
        "count"
      ], 
      "useStandardizedQueries" : true, 
      "geometryType" : "esriGeometryPolygon", 
      "minScale" : 0, 
      "maxScale" : 0, 
      "extent" : {
        "xmin" : 1680238.8823242188, 
        "ymin" : 5863564.5078735352, 
        "xmax" : 1860845.3178710938, 
        "ymax" : 6047558.3588867188, 
        "spatialReference" : {
          "wkid" : 2193, 
          "latestWkid" : 2193, 
          "vcsWkid" : 5759, 
          "latestVcsWkid" : 5759
        }
      }, 
      "drawingInfo":{"renderer":{"type":"uniqueValue","field1":"Classification","defaultSymbol":{"type":"esriSFS","style":"esriSFSSolid","color":[0,0,0,255],"outline":{"type":"esriSLS","style":"esriSLSSolid","color":[0,0,0,0],"width":0.7}},"defaultLabel":"<all other values>","uniqueValueInfos":[{"symbol":{"type":"esriSFS","style":"esriSFSSolid","color":[0,112,255,255],"outline":{"type":"esriSLS","style":"esriSLSSolid","color":[0,0,0,0],"width":0.7}},"value":"Auckland Transport","label":"Auckland Transport"},{"symbol":{"type":"esriSFS","style":"esriSFSSolid","color":[255,170,0,255],"outline":{"type":"esriSLS","style":"esriSLSSolid","color":[0,0,0,0],"width":0.7}},"value":"Building","label":"Building"},{"symbol":{"type":"esriSFS","style":"esriSFSSolid","color":[129,235,166,255],"outline":{"type":"esriSLS","style":"esriSLSSolid","color":[0,0,0,0],"width":0.7}},"value":"Bus Shelter","label":"Bus Shelter"},{"symbol":{"type":"esriSFS","style":"esriSFSSolid","color":[38,115,0,255],"outline":{"type":"esriSLS","style":"esriSLSSolid","color":[0,0,0,0],"width":0.7}},"value":"Department of Conservation","label":"Department of Conservation"},{"symbol":{"type":"esriSFS","style":"esriSFSSolid","color":[255,0,197,255],"outline":{"type":"esriSLS","style":"esriSLSSolid","color":[0,0,0,0],"width":0.7}},"value":"KiwiRail","label":"KiwiRail"},{"symbol":{"type":"esriSFS","style":"esriSFSSolid","color":[91,89,240,255],"outline":{"type":"esriSLS","style":"esriSLSSolid","color":[0,0,0,0],"width":0.7}},"value":"Minor Shopping Centre","label":"Minor Shopping Centre"},{"symbol":{"type":"esriSFS","style":"esriSFSSolid","color":[137,90,68,255],"outline":{"type":"esriSLS","style":"esriSLSSolid","color":[0,0,0,0],"width":0.7}},"value":"Panuku Building","label":"Panuku Building"},{"symbol":{"type":"esriSFS","style":"esriSFSSolid","color":[180,215,158,255],"outline":{"type":"esriSLS","style":"esriSLSSolid","color":[0,0,0,0],"width":0.7}},"value":"Panuku Land","label":"Panuku Land"},{"symbol":{"type":"esriSFS","style":"esriSFSSolid","color":[56,168,0,255],"outline":{"type":"esriSLS","style":"esriSLSSolid","color":[0,0,0,0],"width":0.7}},"value":"Park","label":"Park"},{"symbol":{"type":"esriSFS","style":"esriSFSSolid","color":[55,105,140,255],"outline":{"type":"esriSLS","style":"esriSLSSolid","color":[0,0,0,0],"width":0.7}},"value":"Town Centre","label":"Town Centre"},{"symbol":{"type":"esriSFS","style":"esriSFSSolid","color":[86,68,128,255],"outline":{"type":"esriSLS","style":"esriSLSSolid","color":[0,0,0,0],"width":0.7}},"value":"Tupuna Maunga Building","label":"Tupuna Maunga Building"},{"symbol":{"type":"esriSFS","style":"esriSFSSolid","color":[197,0,255,255],"outline":{"type":"esriSLS","style":"esriSLSSolid","color":[0,0,0,0],"width":0.7}},"value":"Tupuna Maunga Land","label":"Tupuna Maunga Land"},{"symbol":{"type":"esriSFS","style":"esriSFSSolid","color":[122,245,202,255],"outline":{"type":"esriSLS","style":"esriSLSSolid","color":[0,0,0,0],"width":0.7}},"value":"Watercare","label":"Watercare"},{"symbol":{"type":"esriSFS","style":"esriSFSSolid","color":[255,0,0,255],"outline":{"type":"esriSLS","style":"esriSLSSolid","color":[110,110,110,0],"width":0.7}},"value":"Roadside AC/Roadside AT","label":"Roadside AC/Roadside AT"},{"symbol":{"type":"esriSFS","style":"esriSFSSolid","color":[130,130,130,0],"outline":{"type":"esriSLS","style":"esriSLSSolid","color":[0,0,0,255],"width":2}},"value":"Unclassified / 99999-9999","label":"Unclassified / 99999-9999"}],"fieldDelimiter":",","authoringInfo":{"colorRamp":{"type":"multipart","colorRamps":[{"type":"algorithmic","algorithm":"esriCIELabAlgorithm","fromColor":[214,141,167,255],"toColor":[214,141,167,255]},{"type":"algorithmic","algorithm":"esriCIELabAlgorithm","fromColor":[93,240,111,255],"toColor":[93,240,111,255]},{"type":"algorithmic","algorithm":"esriCIELabAlgorithm","fromColor":[121,87,242,255],"toColor":[121,87,242,255]},{"type":"algorithmic","algorithm":"esriCIELabAlgorithm","fromColor":[56,143,127,255],"toColor":[56,143,127,255]},{"type":"algorithmic","algorithm":"esriCIELabAlgorithm","fromColor":[237,205,90,255],"toColor":[237,205,90,255]},{"type":"algorithmic","algorithm":"esriCIELabAlgorithm","fromColor":[116,155,227,255],"toColor":[116,155,227,255]},{"type":"algorithmic","algorithm":"esriCIELabAlgorithm","fromColor":[181,72,170,255],"toColor":[181,72,170,255]},{"type":"algorithmic","algorithm":"esriCIELabAlgorithm","fromColor":[133,121,64,255],"toColor":[133,121,64,255]},{"type":"algorithmic","algorithm":"esriCIELabAlgorithm","fromColor":[56,57,128,255],"toColor":[56,57,128,255]},{"type":"algorithmic","algorithm":"esriCIELabAlgorithm","fromColor":[100,245,240,255],"toColor":[100,245,240,255]},{"type":"algorithmic","algorithm":"esriCIELabAlgorithm","fromColor":[77,153,54,255],"toColor":[77,153,54,255]},{"type":"algorithmic","algorithm":"esriCIELabAlgorithm","fromColor":[237,114,92,255],"toColor":[237,114,92,255]},{"type":"algorithmic","algorithm":"esriCIELabAlgorithm","fromColor":[130,67,62,255],"toColor":[130,67,62,255]},{"type":"algorithmic","algorithm":"esriCIELabAlgorithm","fromColor":[247,204,158,255],"toColor":[247,204,158,255]},{"type":"algorithmic","algorithm":"esriCIELabAlgorithm","fromColor":[180,235,138,255],"toColor":[180,235,138,255]}]}}},"scaleSymbols":true,"transparency":0,"labelingInfo":null}, 
      "allowGeometryUpdates" : true, 
      "trueCurveSupportMode" : "OGC", 
      "supportedCurveTypes" : [
        "esriGeometryCircularArc"
      ], 
      "supportedTrueCurvePbfFeatureEncodings" : [
        "esriCompressedShapeBuffer", 
        "esriDefault"
      ], 
      "allowTrueCurvesUpdates" : true, 
      "onlyAllowTrueCurveUpdatesByTrueCurveClients" : true, 
      "hasAttachments" : false, 
      "htmlPopupType" : "esriServerHTMLPopupTypeAsHTMLText", 
      "hasMetadata" : true, 
      "hasM" : false, 
      "hasZ" : false, 
      "objectIdField" : "OBJECTID", 
      "uniqueIdField" : 
      {
        "name" : "OBJECTID", 
        "isSystemMaintained" : true
      }, 
      "globalIdField" : "", 
      "typeIdField" : "Classification", 
      "collation" : {
        "locale" : "neutral", 
        "caseSensitive" : false, 
        "accentSensitive" : true
      }, 
      "fields" : [
        {
          "name" : "OBJECTID", 
          "type" : "esriFieldTypeOID", 
          "alias" : "OBJECTID", 
          "sqlType" : "sqlTypeOther", 
          "nullable" : false, 
          "editable" : false, 
          "domain" : null, 
          "defaultValue" : null
        }, 
        {
          "name" : "SAPID", 
          "type" : "esriFieldTypeString", 
          "alias" : "SAPID", 
          "sqlType" : "sqlTypeOther", 
          "length" : 50, 
          "nullable" : true, 
          "editable" : true, 
          "domain" : null, 
          "defaultValue" : null
        }, 
        {
          "name" : "Classification", 
          "type" : "esriFieldTypeString", 
          "alias" : "Classification", 
          "sqlType" : "sqlTypeOther", 
          "length" : 200, 
          "nullable" : true, 
          "editable" : true, 
          "domain" : null, 
          "defaultValue" : null
        }, 
        {
          "name" : "Description", 
          "type" : "esriFieldTypeString", 
          "alias" : "Description", 
          "sqlType" : "sqlTypeOther", 
          "length" : 200, 
          "nullable" : true, 
          "editable" : true, 
          "domain" : null, 
          "defaultValue" : null
        }, 
        {
          "name" : "VALIDATIONSTATE", 
          "type" : "esriFieldTypeSmallInteger", 
          "alias" : "VALIDATIONSTATE", 
          "sqlType" : "sqlTypeOther", 
          "nullable" : true, 
          "editable" : true, 
          "domain" : null, 
          "defaultValue" : null
        }, 
        {
          "name" : "Shape__Area", 
          "type" : "esriFieldTypeDouble", 
          "alias" : "Shape__Area", 
          "sqlType" : "sqlTypeDouble", 
          "nullable" : true, 
          "editable" : false, 
          "domain" : null, 
          "defaultValue" : null
        }, 
        {
          "name" : "Shape__Length", 
          "type" : "esriFieldTypeDouble", 
          "alias" : "Shape__Length", 
          "sqlType" : "sqlTypeDouble", 
          "nullable" : true, 
          "editable" : false, 
          "domain" : null, 
          "defaultValue" : null
        }
      ], 
      "indexes" : [
        {
          "name" : "PK__CFRFS_QU__F4B70D8553B41FC5", 
          "fields" : "OBJECTID", 
          "isAscending" : true, 
          "isUnique" : true, 
          "description" : "", 
          "indexType" : "Attribute"
        }, 
        {
          "name" : "user_1610.CFRFS_QUERY_RFS_QUERY_LAYER2_Shape_sidx", 
          "fields" : "SHAPE", 
          "isAscending" : true, 
          "isUnique" : false, 
          "description" : "", 
          "indexType" : "Spatial"
        }, 
        {
          "name" : "G3SAPID", 
          "fields" : "SAPID", 
          "isAscending" : true, 
          "isUnique" : false, 
          "description" : "", 
          "indexType" : "Attribute"
        }, 
        {
          "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"
        }
      ], 
      "dateFieldsTimeReference" : {
        "timeZone" : "UTC", 
        "timeZoneIANA" : "Etc/UTC", 
        "respectsDaylightSaving" : false
      }, 
      "preferredTimeReference" : null, 
      "types" : [
        {
          "id" : "Auckland Transport", 
          "name" : "Auckland Transport", 
          "domains" : 
          {
          }, 
          "templates" : [
            {
              "name" : "Auckland Transport", 
              "description" : "", 
              "drawingTool" : "esriFeatureEditToolPolygon", 
              "prototype" : {
                "attributes" : {
                  "SAPID" : null, 
                  "VALIDATIONSTATE" : null, 
                  "Classification" : "Auckland Transport", 
                  "Description" : null
                }
              }
            }
          ]
        }, 
        {
          "id" : "Building", 
          "name" : "Building", 
          "domains" : 
          {
          }, 
          "templates" : [
            {
              "name" : "Building", 
              "description" : "", 
              "drawingTool" : "esriFeatureEditToolPolygon", 
              "prototype" : {
                "attributes" : {
                  "SAPID" : null, 
                  "VALIDATIONSTATE" : null, 
                  "Classification" : "Building", 
                  "Description" : null
                }
              }
            }
          ]
        }, 
        {
          "id" : "Bus Shelter", 
          "name" : "Bus Shelter", 
          "domains" : 
          {
          }, 
          "templates" : [
            {
              "name" : "Bus Shelter", 
              "description" : "", 
              "drawingTool" : "esriFeatureEditToolPolygon", 
              "prototype" : {
                "attributes" : {
                  "SAPID" : null, 
                  "VALIDATIONSTATE" : null, 
                  "Classification" : "Bus Shelter", 
                  "Description" : null
                }
              }
            }
          ]
        }, 
        {
          "id" : "Department of Conservation", 
          "name" : "Department of Conservation", 
          "domains" : 
          {
          }, 
          "templates" : [
            {
              "name" : "Department of Conservation", 
              "description" : "", 
              "drawingTool" : "esriFeatureEditToolPolygon", 
              "prototype" : {
                "attributes" : {
                  "SAPID" : null, 
                  "VALIDATIONSTATE" : null, 
                  "Classification" : "Department of Conservation", 
                  "Description" : null
                }
              }
            }
          ]
        }, 
        {
          "id" : "KiwiRail", 
          "name" : "KiwiRail", 
          "domains" : 
          {
          }, 
          "templates" : [
            {
              "name" : "KiwiRail", 
              "description" : "", 
              "drawingTool" : "esriFeatureEditToolPolygon", 
              "prototype" : {
                "attributes" : {
                  "SAPID" : null, 
                  "VALIDATIONSTATE" : null, 
                  "Classification" : "KiwiRail", 
                  "Description" : null
                }
              }
            }
          ]
        }, 
        {
          "id" : "Minor Shopping Centre", 
          "name" : "Minor Shopping Centre", 
          "domains" : 
          {
          }, 
          "templates" : [
            {
              "name" : "Minor Shopping Centre", 
              "description" : "", 
              "drawingTool" : "esriFeatureEditToolPolygon", 
              "prototype" : {
                "attributes" : {
                  "SAPID" : null, 
                  "VALIDATIONSTATE" : null, 
                  "Classification" : "Minor Shopping Centre", 
                  "Description" : null
                }
              }
            }
          ]
        }, 
        {
          "id" : "Panuku Building", 
          "name" : "Panuku Building", 
          "domains" : 
          {
          }, 
          "templates" : [
            {
              "name" : "Panuku Building", 
              "description" : "", 
              "drawingTool" : "esriFeatureEditToolPolygon", 
              "prototype" : {
                "attributes" : {
                  "SAPID" : null, 
                  "VALIDATIONSTATE" : null, 
                  "Classification" : "Panuku Building", 
                  "Description" : null
                }
              }
            }
          ]
        }, 
        {
          "id" : "Panuku Land", 
          "name" : "Panuku Land", 
          "domains" : 
          {
          }, 
          "templates" : [
            {
              "name" : "Panuku Land", 
              "description" : "", 
              "drawingTool" : "esriFeatureEditToolPolygon", 
              "prototype" : {
                "attributes" : {
                  "SAPID" : null, 
                  "VALIDATIONSTATE" : null, 
                  "Classification" : "Panuku Land", 
                  "Description" : null
                }
              }
            }
          ]
        }, 
        {
          "id" : "Park", 
          "name" : "Park", 
          "domains" : 
          {
          }, 
          "templates" : [
            {
              "name" : "Park", 
              "description" : "", 
              "drawingTool" : "esriFeatureEditToolPolygon", 
              "prototype" : {
                "attributes" : {
                  "SAPID" : null, 
                  "VALIDATIONSTATE" : null, 
                  "Classification" : "Park", 
                  "Description" : null
                }
              }
            }
          ]
        }, 
        {
          "id" : "Town Centre", 
          "name" : "Town Centre", 
          "domains" : 
          {
          }, 
          "templates" : [
            {
              "name" : "Town Centre", 
              "description" : "", 
              "drawingTool" : "esriFeatureEditToolPolygon", 
              "prototype" : {
                "attributes" : {
                  "SAPID" : null, 
                  "VALIDATIONSTATE" : null, 
                  "Classification" : "Town Centre", 
                  "Description" : null
                }
              }
            }
          ]
        }, 
        {
          "id" : "Tupuna Maunga Building", 
          "name" : "Tupuna Maunga Building", 
          "domains" : 
          {
          }, 
          "templates" : [
            {
              "name" : "Tupuna Maunga Building", 
              "description" : "", 
              "drawingTool" : "esriFeatureEditToolPolygon", 
              "prototype" : {
                "attributes" : {
                  "SAPID" : null, 
                  "VALIDATIONSTATE" : null, 
                  "Classification" : "Tupuna Maunga Building", 
                  "Description" : null
                }
              }
            }
          ]
        }, 
        {
          "id" : "Tupuna Maunga Land", 
          "name" : "Tupuna Maunga Land", 
          "domains" : 
          {
          }, 
          "templates" : [
            {
              "name" : "Tupuna Maunga Land", 
              "description" : "", 
              "drawingTool" : "esriFeatureEditToolPolygon", 
              "prototype" : {
                "attributes" : {
                  "SAPID" : null, 
                  "VALIDATIONSTATE" : null, 
                  "Classification" : "Tupuna Maunga Land", 
                  "Description" : null
                }
              }
            }
          ]
        }, 
        {
          "id" : "Watercare", 
          "name" : "Watercare", 
          "domains" : 
          {
          }, 
          "templates" : [
            {
              "name" : "Watercare", 
              "description" : "", 
              "drawingTool" : "esriFeatureEditToolPolygon", 
              "prototype" : {
                "attributes" : {
                  "SAPID" : null, 
                  "VALIDATIONSTATE" : null, 
                  "Classification" : "Watercare", 
                  "Description" : null
                }
              }
            }
          ]
        }, 
        {
          "id" : "Roadside AC/Roadside AT", 
          "name" : "Roadside AC/Roadside AT", 
          "domains" : 
          {
          }, 
          "templates" : [
            {
              "name" : "Roadside AC/Roadside AT", 
              "description" : "", 
              "drawingTool" : "esriFeatureEditToolPolygon", 
              "prototype" : {
                "attributes" : {
                  "SAPID" : null, 
                  "VALIDATIONSTATE" : null, 
                  "Classification" : "Roadside AC/Roadside AT", 
                  "Description" : null
                }
              }
            }
          ]
        }, 
        {
          "id" : "Unclassified / 99999-9999", 
          "name" : "Unclassified / 99999-9999", 
          "domains" : 
          {
          }, 
          "templates" : [
            {
              "name" : "Unclassified / 99999-9999", 
              "description" : "", 
              "drawingTool" : "esriFeatureEditToolPolygon", 
              "prototype" : {
                "attributes" : {
                  "SAPID" : null, 
                  "VALIDATIONSTATE" : null, 
                  "Classification" : "Unclassified / 99999-9999", 
                  "Description" : 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" : [
    {
      "currentVersion" : 12, 
      "id" : 1, 
      "name" : "RFS_Query_Table", 
      "type" : "Table", 
      "serviceItemId" : "aa38c2587e014f4b959a03bbf4424d7a", 
      "cacheMaxAge" : 30, 
      "displayField" : "SAPID", 
      "description" : "", 
      "copyrightText" : "", 
      "defaultVisibility" : true, 
      "editingInfo" : {
        "lastEditDate" : 1774550496438, 
        "schemaLastEditDate" : 1774550496438, 
        "dataLastEditDate" : 1774550496438
      }, 
      "relationships" : [
        {
          "id" : 0, 
          "name" : "RFS_Query_Layer", 
          "relatedTableId" : 0, 
          "cardinality" : "esriRelCardinalityOneToMany", 
          "role" : "esriRelRoleDestination", 
          "keyField" : "SAPIDL2", 
          "composite" : false
        }
      ], 
      "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" : false, 
      "advancedQueryCapabilities" : {
        "supportsPagination" : true, 
        "supportsPaginationOnAggregatedQueries" : true, 
        "supportsQueryRelatedPagination" : true, 
        "supportsQueryWithDistance" : true, 
        "supportsReturningQueryExtent" : false, 
        "supportsStatistics" : true, 
        "supportsOrderBy" : true, 
        "supportsDistinct" : true, 
        "supportsQueryWithResultType" : true, 
        "supportsSqlExpression" : true, 
        "supportsTimeRelation" : true, 
        "supportsAdvancedQueryRelated" : true, 
        "supportsCountDistinct" : true, 
        "supportsPercentileStatistics" : true, 
        "supportsApproxPercentileStatistics" : true, 
        "supportsSpatialAggregationStatistics" : true, 
        "supportedSpatialAggregationStatistics" : [
          "EnvelopeAggregate", 
          "CentroidAggregate", 
          "ConvexHullAggregate"
        ], 
        "supportsLod" : true, 
        "supportsQueryWithLodSR" : false, 
        "supportedLodTypes" : [
          "geohash"
        ], 
        "supportsReturningGeometryCentroid" : false, 
        "supportsReturningGeometryEnvelope" : true, 
        "supportsQueryWithDatumTransformation" : true, 
        "supportsCurrentUserQueries" : true, 
        "supportsHavingClause" : true, 
        "supportsOutFieldSQLExpression" : true, 
        "supportsMaxRecordCountFactor" : true, 
        "supportsTopFeaturesQuery" : 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" : [
        "count"
      ], 
      "useStandardizedQueries" : true, 
      "allowGeometryUpdates" : true, 
      "hasAttachments" : false, 
      "htmlPopupType" : "esriServerHTMLPopupTypeNone", 
      "hasMetadata" : true, 
      "hasM" : false, 
      "hasZ" : false, 
      "objectIdField" : "OBJECTID", 
      "uniqueIdField" : 
      {
        "name" : "OBJECTID", 
        "isSystemMaintained" : true
      }, 
      "globalIdField" : "", 
      "typeIdField" : "", 
      "collation" : {
        "locale" : "neutral", 
        "caseSensitive" : false, 
        "accentSensitive" : true
      }, 
      "fields" : [
        {
          "name" : "OBJECTID", 
          "type" : "esriFieldTypeOID", 
          "alias" : "OBJECTID", 
          "sqlType" : "sqlTypeOther", 
          "nullable" : false, 
          "editable" : false, 
          "domain" : null, 
          "defaultValue" : null
        }, 
        {
          "name" : "SAPID", 
          "type" : "esriFieldTypeString", 
          "alias" : "SAPID", 
          "sqlType" : "sqlTypeOther", 
          "length" : 50, 
          "nullable" : true, 
          "editable" : true, 
          "domain" : null, 
          "defaultValue" : null
        }, 
        {
          "name" : "DESCRIPTION", 
          "type" : "esriFieldTypeString", 
          "alias" : "DESCRIPTION", 
          "sqlType" : "sqlTypeOther", 
          "length" : 200, 
          "nullable" : true, 
          "editable" : true, 
          "domain" : null, 
          "defaultValue" : null
        }, 
        {
          "name" : "SAPIDL2", 
          "type" : "esriFieldTypeString", 
          "alias" : "SAPIDL2", 
          "sqlType" : "sqlTypeOther", 
          "length" : 200, 
          "nullable" : true, 
          "editable" : true, 
          "domain" : null, 
          "defaultValue" : null
        }, 
        {
          "name" : "Classification", 
          "type" : "esriFieldTypeString", 
          "alias" : "Classification", 
          "sqlType" : "sqlTypeOther", 
          "length" : 200, 
          "nullable" : true, 
          "editable" : true, 
          "domain" : null, 
          "defaultValue" : null
        }, 
        {
          "name" : "VALIDATIONSTATE", 
          "type" : "esriFieldTypeSmallInteger", 
          "alias" : "VALIDATIONSTATE", 
          "sqlType" : "sqlTypeOther", 
          "nullable" : true, 
          "editable" : true, 
          "domain" : null, 
          "defaultValue" : null
        }
      ], 
      "indexes" : [
        {
          "name" : "PK__CFRFS_QU__F4B70D852E3F3EB2", 
          "fields" : "OBJECTID", 
          "isAscending" : true, 
          "isUnique" : true, 
          "description" : "", 
          "indexType" : "Attribute"
        }, 
        {
          "name" : "G4SAPIDL2", 
          "fields" : "SAPIDL2", 
          "isAscending" : true, 
          "isUnique" : false, 
          "description" : "", 
          "indexType" : "Attribute"
        }
      ], 
      "dateFieldsTimeReference" : {
        "timeZone" : "UTC", 
        "timeZoneIANA" : "Etc/UTC", 
        "respectsDaylightSaving" : false
      }, 
      "preferredTimeReference" : null, 
      "types" : [], 
      "templates" : [
        {
          "name" : "RFS_Query_Table", 
          "description" : "", 
          "drawingTool" : "esriFeatureEditToolNone", 
          "prototype" : {
            "attributes" : {
              "Classification" : null, 
              "VALIDATIONSTATE" : null, 
              "SAPID" : null, 
              "DESCRIPTION" : null, 
              "SAPIDL2" : null
            }
          }
        }
      ], 
      "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", 
      "guidFormat" : "", 
      "supportsContingentValues" : true, 
      "supportedContingentValuesFormats" : "JSON, PBF", 
      "supportsFieldGroups" : true, 
      "supportedSyncDataOptions" : 260, 
      "hasStaticData" : false, 
      "maxRecordCount" : 2000, 
      "standardMaxRecordCount" : 32000, 
      "tileMaxRecordCount" : 8000, 
      "maxRecordCountFactor" : 1, 
      "capabilities" : "Query"
    }
  ]
}