{
 "layers": [
  {
   "currentVersion": 11.1,
   "cimVersion": "3.1.0",
   "id": 0,
   "name": "Level of Protection",
   "type": "Feature Layer",
   "description": "Protected Areas of New Zealand 2014, derived from data supplied by LINZ, and DoC. Includes Rank values developed in consultation with Regional Councils and Class values derived from the LINZ dataset.",
   "geometryType": "esriGeometryPolygon",
   "sourceSpatialReference": {
    "wkid": 2193,
    "latestWkid": 2193,
    "vcsWkid": 105792,
    "latestVcsWkid": 4440,
    "xyTolerance": 0.001,
    "zTolerance": 0.001,
    "mTolerance": 0.001,
    "falseX": -4020900,
    "falseY": 1900,
    "xyUnits": 10000,
    "falseZ": -100000,
    "zUnits": 10000,
    "falseM": -100000,
    "mUnits": 10000
   },
   "sourceHeightModelInfo": {
    "heightModel": "gravity_related_height",
    "vertCRS": "NZVD2009_height",
    "heightUnit": "meter"
   },
   "copyrightText": "SL1416",
   "parentLayer": null,
   "subLayers": [],
   "minScale": 0,
   "maxScale": 0,
   "referenceScale": 0.0,
   "drawingInfo": {
    "renderer": {
     "type": "uniqueValue",
     "field1": "Rank",
     "uniqueValueInfos": [
      {
       "symbol": {
        "type": "esriSFS",
        "style": "esriSFSSolid",
        "color": [
         56,
         89,
         0,
         255
        ],
        "outline": null
       },
       "value": "5",
       "label": "5 - High"
      },
      {
       "symbol": {
        "type": "esriSFS",
        "style": "esriSFSSolid",
        "color": [
         76,
         125,
         0,
         255
        ],
        "outline": null
       },
       "value": "4",
       "label": "4 - Moderately High"
      },
      {
       "symbol": {
        "type": "esriSFS",
        "style": "esriSFSSolid",
        "color": [
         180,
         215,
         158,
         255
        ],
        "outline": null
       },
       "value": "3",
       "label": "3 - Moderate"
      },
      {
       "symbol": {
        "type": "esriSFS",
        "style": "esriSFSSolid",
        "color": [
         199,
         215,
         158,
         255
        ],
        "outline": null
       },
       "value": "2",
       "label": "2 - Moderately Low"
      },
      {
       "symbol": {
        "type": "esriSFS",
        "style": "esriSFSSolid",
        "color": [
         241,
         255,
         237,
         255
        ],
        "outline": null
       },
       "value": "1",
       "label": "1 - Low"
      }
     ],
     "fieldDelimiter": ",",
     "authoringInfo": {
      "colorRamp": {
       "type": "multipart",
       "colorRamps": [
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          145,
          83,
          123,
          255
         ],
         "toColor": [
          145,
          83,
          123,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          119,
          240,
          101,
          255
         ],
         "toColor": [
          119,
          240,
          101,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          110,
          236,
          250,
          255
         ],
         "toColor": [
          110,
          236,
          250,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          217,
          173,
          98,
          255
         ],
         "toColor": [
          217,
          173,
          98,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          84,
          92,
          235,
          255
         ],
         "toColor": [
          84,
          92,
          235,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          62,
          130,
          84,
          255
         ],
         "toColor": [
          62,
          130,
          84,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          157,
          164,
          245,
          255
         ],
         "toColor": [
          157,
          164,
          245,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          228,
          99,
          247,
          255
         ],
         "toColor": [
          228,
          99,
          247,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          227,
          84,
          91,
          255
         ],
         "toColor": [
          227,
          84,
          91,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          55,
          71,
          135,
          255
         ],
         "toColor": [
          55,
          71,
          135,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          76,
          120,
          140,
          255
         ],
         "toColor": [
          76,
          120,
          140,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          138,
          79,
          50,
          255
         ],
         "toColor": [
          138,
          79,
          50,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          215,
          235,
          84,
          255
         ],
         "toColor": [
          215,
          235,
          84,
          255
         ]
        }
       ]
      }
     }
    },
    "scaleSymbols": true,
    "transparency": 0,
    "labelingInfo": null
   },
   "defaultVisibility": true,
   "extent": {
    "xmin": 1323813.1678,
    "ymin": 5004784.6211,
    "xmax": 1686930.4669000003,
    "ymax": 5360238.9467,
    "spatialReference": {
     "wkid": 2193,
     "latestWkid": 2193,
     "vcsWkid": 105792,
     "latestVcsWkid": 4440,
     "xyTolerance": 0.001,
     "zTolerance": 0.001,
     "mTolerance": 0.001,
     "falseX": -4020900,
     "falseY": 1900,
     "xyUnits": 4.504455473910538E8,
     "falseZ": -100000,
     "zUnits": 10000,
     "falseM": -100000,
     "mUnits": 10000
    }
   },
   "heightModelInfo": {
    "heightModel": "gravity_related_height",
    "vertCRS": "NZVD2009_height",
    "heightUnit": "meter"
   },
   "supportsVCSProjection": true,
   "hasAttachments": false,
   "htmlPopupType": "esriServerHTMLPopupTypeAsHTMLText",
   "displayField": "Class",
   "typeIdField": null,
   "subtypeFieldName": null,
   "subtypeField": null,
   "defaultSubtypeCode": null,
   "fields": [
    {
     "name": "OBJECTID",
     "type": "esriFieldTypeOID",
     "alias": "OBJECTID",
     "domain": null
    },
    {
     "name": "Class",
     "type": "esriFieldTypeString",
     "alias": "Class",
     "length": 254,
     "domain": null
    },
    {
     "name": "Rank",
     "type": "esriFieldTypeDouble",
     "alias": "Rank",
     "domain": null
    },
    {
     "name": "Shape_Leng",
     "type": "esriFieldTypeDouble",
     "alias": "Shape_Leng",
     "domain": null
    },
    {
     "name": "SOURCECODE",
     "type": "esriFieldTypeString",
     "alias": "SOURCECODE",
     "length": 6,
     "domain": {
      "type": "codedValue",
      "name": "QA_SourceCode",
      "description": "Source of record shapes for QA purposes",
      "codedValues": [
       {
        "name": "Derived from a NZMS 260 Grid Reference.",
        "code": "NZMSGR"
       },
       {
        "name": "Derived from a NZTM Grid Reference",
        "code": "NZTMGR"
       },
       {
        "name": "Direct input from a GPS device",
        "code": "GPS"
       },
       {
        "name": "Derived from cadastral dataset",
        "code": "PARCEL"
       },
       {
        "name": "Manually derived by a user from a GIS application",
        "code": "MANCAP"
       },
       {
        "name": "Derivation unknown",
        "code": "UNKNWN"
       }
      ],
      "mergePolicy": "esriMPTDefaultValue",
      "splitPolicy": "esriSPTDefaultValue"
     }
    },
    {
     "name": "QARCODE",
     "type": "esriFieldTypeSmallInteger",
     "alias": "QARCODE",
     "domain": {
      "type": "codedValue",
      "name": "QA_QARCode",
      "description": "Description code for the accuracy of the GIS record.",
      "codedValues": [
       {
        "name": "Differential GPS (advanced) or Geodetic Land Survey.",
        "code": 1
       },
       {
        "name": "Standard handheld GPS OR accurate location sketch, confirmed by GIS.",
        "code": 2
       },
       {
        "name": "Site visit OR dillers GPS OR checked location sketch using GIS.",
        "code": 3
       },
       {
        "name": "Old Gridref ±100m, no location sketch, Location not checked.",
        "code": 4
       },
       {
        "name": "Proposed Location, should be within 50m of final location.",
        "code": 5
       },
       {
        "name": "Cadastral Accuracy, (1:10,000 scale accuracy)",
        "code": 6
       },
       {
        "name": "Unknown",
        "code": 0
       }
      ],
      "mergePolicy": "esriMPTDefaultValue",
      "splitPolicy": "esriSPTDefaultValue"
     }
    },
    {
     "name": "CREATEDBY",
     "type": "esriFieldTypeString",
     "alias": "CREATEDBY",
     "length": 16,
     "domain": null
    },
    {
     "name": "CREATEDDATE",
     "type": "esriFieldTypeDate",
     "alias": "CREATEDDATE",
     "length": 8,
     "domain": null
    },
    {
     "name": "MODIFIEDBY",
     "type": "esriFieldTypeString",
     "alias": "MODIFIEDBY",
     "length": 16,
     "domain": null
    },
    {
     "name": "MODIFIEDDATE",
     "type": "esriFieldTypeDate",
     "alias": "MODIFIEDDATE",
     "length": 8,
     "domain": null
    },
    {
     "name": "PERIMETER_M",
     "type": "esriFieldTypeDouble",
     "alias": "PERIMETER_M",
     "domain": null
    },
    {
     "name": "AREA_M2",
     "type": "esriFieldTypeDouble",
     "alias": "AREA_M2",
     "domain": null
    },
    {
     "name": "AREA_HA",
     "type": "esriFieldTypeDouble",
     "alias": "AREA_HA",
     "domain": null
    },
    {
     "name": "Shape",
     "type": "esriFieldTypeGeometry",
     "alias": "Shape",
     "domain": null
    },
    {
     "name": "Shape.STArea()",
     "type": "esriFieldTypeDouble",
     "alias": "Shape.STArea()",
     "domain": null
    },
    {
     "name": "Shape.STLength()",
     "type": "esriFieldTypeDouble",
     "alias": "Shape.STLength()",
     "domain": null
    }
   ],
   "geometryField": {
    "name": "Shape",
    "type": "esriFieldTypeGeometry",
    "alias": "Shape"
   },
   "indexes": [
    {
     "name": "R1589_pk",
     "fields": "OBJECTID",
     "isAscending": true,
     "isUnique": true,
     "description": ""
    },
    {
     "name": "S1313_idx",
     "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,
   "hasZ": true,
   "hasM": 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": true
   },
   "supportsDatumTransformation": true,
   "advancedQueryAnalyticCapabilities": {
    "supportsLinearRegression": true,
    "supportsAsync": false,
    "supportsPercentileAnalytic": true
   },
   "dateFieldsTimeReference": null,
   "preferredTimeReference": null,
   "datesInUnknownTimezone": false,
   "hasGeometryProperties": true,
   "geometryProperties": {
    "shapeAreaFieldName": "Shape.STArea()",
    "shapeLengthFieldName": "Shape.STLength()",
    "units": "esriMeters",
    "mapUnits": {"uwkid": 9001}
   },
   "hasMetadata": true,
   "isDataArchived": false,
   "archivingInfo": {
    "supportsQueryWithHistoricMoment": false,
    "startArchivingMoment": -1
   },
   "supportsCoordinatesQuantization": true,
   "supportsDynamicLegends": true
  }
 ],
 "tables": []
}