{ "currentVersion": 11.1, "cimVersion": "3.1.0", "id": 0, "name": "Rivers for Allocation", "type": "Feature Layer", "parentLayer": null, "defaultVisibility": true, "minScale": 0, "maxScale": 0, "canScaleSymbols": false, "geometryType": "esriGeometryPolyline", "description": "", "copyrightText": "", "editFieldsInfo": null, "ownershipBasedAccessControlForFeatures": null, "syncCanReturnChanges": false, "relationships": [], "isDataVersioned": false, "isDataArchived": false, "infoInEstimates": [ "extent", "count" ], "isDataBranchVersioned": false, "isDataReplicaTracked": false, "isCoGoEnabled": false, "supportsRollbackOnFailureParameter": true, "archivingInfo": { "supportsQueryWithHistoricMoment": false, "startArchivingMoment": -1 }, "supportsStatistics": true, "supportsExceedsLimitStatistics": true, "supportsAdvancedQueries": true, "supportsValidateSQL": true, "supportsCoordinatesQuantization": true, "supportsQuantizationEditMode": true, "supportsCalculate": true, "supportsASyncCalculate": true, "supportsDatumTransformation": true, "advancedQueryCapabilities": { "supportsPagination": true, "supportsTrueCurve": true, "supportsQueryWithDistance": true, "supportsReturningQueryExtent": true, "supportsStatistics": true, "supportsPercentileStatistics": true, "supportsHavingClause": true, "supportsOrderBy": true, "supportsDistinct": true, "supportsCountDistinct": true, "supportsQueryWithResultType": true, "supportsReturningGeometryCentroid": false, "supportsSqlExpression": true, "supportsQueryWithDatumTransformation": true, "supportsLod": false, "supportsQueryWithLodSR": false, "supportsQueryAnalytic": true }, "advancedQueryAnalyticCapabilities": { "supportsLinearRegression": true, "supportsAsync": false, "supportsPercentileAnalytic": true }, "advancedEditingCapabilities": { "supportedSqlFormatsInCalculate": [ "standard" ], "supportsAsyncApplyEdits": true, "supportsApplyEditsbyUploadID": true, "supportedApplyEditsUploadIDFormats": "JSON" }, "hasGeometryProperties": true, "geometryProperties": { "shapeLengthFieldName": "Shape__Length", "units": "esriMeters" }, "hasMetadata": true, "extent": { "xmin": 1324242.8504999997, "ymin": 5005422.0973, "xmax": 1687421.8288000003, "ymax": 5359222.8168, "spatialReference": { "wkid": 2193, "latestWkid": 2193, "xyTolerance": 0.001, "zTolerance": 0.001, "mTolerance": 0.001, "falseX": -4020900, "falseY": 1900, "xyUnits": 10000, "falseZ": -100000, "zUnits": 10000, "falseM": -100000, "mUnits": 10000 } }, "sourceSpatialReference": { "wkid": 2193, "latestWkid": 2193, "xyTolerance": 0.001, "zTolerance": 0.001, "mTolerance": 0.001, "falseX": -4020900, "falseY": 1900, "xyUnits": 10000, "falseZ": 0, "zUnits": 1, "falseM": 0, "mUnits": 1 }, "drawingInfo": { "renderer": { "type": "uniqueValue", "valueExpression": "var name = $feature.PlanName\nvar block = $feature.Block\n\nif (name == \"Canterbury\"){\nif (block == \"A Block\"){\nreturn \"Canterbury Default\"}}\n\nif (name == \"Kairaki / McIntosh\"){\nif (block == \"A Block\"){\nreturn \"Canterbury Default\"}}\n\nif (name == \"Eyre River\"){\nif (block == \"A Block\"){\nreturn \"Canterbury Default\"}}\n\nif (name == \"Elms Creek\"){\nif (block == \"A Block\"){\nreturn \"Canterbury Default\"}}\n\nif (name == \"Grehan Stream\"){\nif (block == \"A Block\"){\nreturn \"Canterbury Default\"}}\n\nif (name == \"Levels and Seadown Plains Area\"){\nif (block == \"A Block\"){\nreturn \"Canterbury Default\"}}\n\nif (name == \"Waitaki Catchment\"){\nreturn \"Waitaki Default\"}\n\nif (block == \"A Block\"){\nreturn \"A Block\"}\n\nif (block == \"B Block\"){\nreturn \"B Block\"}\n\nif (block == \"C Block\"){\nreturn \"C Block\"}\n\nif (block == \"AA Block\"){\nreturn \"AA Block\"}\n\nif (FIND(\"A Block\",block) == 0){\nreturn \"A Block\"}\n\nif (FIND(\"B Block\",block) == 0){\nreturn \"B Block\"}", "valueExpressionTitle": "Custom", "uniqueValueInfos": [ { "symbol": { "type": "esriSLS", "style": "esriSLSSolid", "color": [ 117, 112, 179, 255 ], "width": 1 }, "value": "A Block", "label": "A Block" }, { "symbol": { "type": "esriSLS", "style": "esriSLSSolid", "color": [ 230, 152, 0, 255 ], "width": 1 }, "value": "AA Block", "label": "AA Block" }, { "symbol": { "type": "esriSLS", "style": "esriSLSSolid", "color": [ 27, 158, 119, 255 ], "width": 1 }, "value": "B Block", "label": "B Block" }, { "symbol": { "type": "esriSLS", "style": "esriSLSSolid", "color": [ 231, 41, 138, 255 ], "width": 1 }, "value": "C Block", "label": "C Block" }, { "symbol": { "type": "esriSLS", "style": "esriSLSSolid", "color": [ 156, 156, 156, 255 ], "width": 1 }, "value": "Canterbury Default", "label": "Canterbury Default" }, { "symbol": { "type": "esriSLS", "style": "esriSLSSolid", "color": [ 215, 194, 158, 255 ], "width": 1 }, "value": "Waitaki Default", "label": "Waitaki Default" } ], "fieldDelimiter": ",", "authoringInfo": { "colorRamp": { "type": "multipart", "colorRamps": [ { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 27, 158, 119, 255 ], "toColor": [ 27, 158, 119, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 217, 95, 2, 255 ], "toColor": [ 217, 95, 2, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 117, 112, 179, 255 ], "toColor": [ 117, 112, 179, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 232, 42, 140, 255 ], "toColor": [ 232, 42, 140, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 102, 166, 30, 255 ], "toColor": [ 102, 166, 30, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 230, 169, 2, 255 ], "toColor": [ 230, 169, 2, 255 ] } ] } } }, "scaleSymbols": true, "transparency": 0, "labelingInfo": null }, "hasM": false, "hasZ": false, "allowGeometryUpdates": true, "allowTrueCurvesUpdates": true, "onlyAllowTrueCurveUpdatesByTrueCurveClients": true, "hasAttachments": false, "supportsApplyEditsWithGlobalIds": false, "htmlPopupType": "esriServerHTMLPopupTypeAsHTMLText", "objectIdField": "OBJECTID", "globalIdField": "GlobalID", "displayField": "PlanName", "typeIdField": "", "subtypeField": "", "fields": [ { "name": "OBJECTID", "type": "esriFieldTypeOID", "alias": "OBJECTID", "domain": null, "editable": false, "nullable": false, "defaultValue": null, "modelName": "OBJECTID" }, { "name": "PlanName", "type": "esriFieldTypeString", "alias": "Name", "domain": null, "editable": true, "nullable": true, "length": 255, "defaultValue": null, "modelName": "PlanName" }, { "name": "Block", "type": "esriFieldTypeString", "alias": "Block", "domain": null, "editable": true, "nullable": true, "length": 100, "defaultValue": null, "modelName": "Block" }, { "name": "Plan_", "type": "esriFieldTypeString", "alias": "Plan", "domain": null, "editable": true, "nullable": true, "length": 255, "defaultValue": null, "modelName": "Plan_" }, { "name": "PlanStatus", "type": "esriFieldTypeString", "alias": "Plan Status", "domain": null, "editable": true, "nullable": true, "length": 30, "defaultValue": null, "modelName": "PlanStatus" }, { "name": "AllocationURL", "type": "esriFieldTypeString", "alias": "Consented Allocation", "domain": null, "editable": true, "nullable": true, "length": 255, "defaultValue": null, "modelName": "AllocationURL" }, { "name": "SpatialUnitID", "type": "esriFieldTypeString", "alias": "SpatialUnitID", "domain": null, "editable": true, "nullable": true, "length": 30, "defaultValue": null, "modelName": "SpatialUnitID" }, { "name": "GlobalID", "type": "esriFieldTypeGlobalID", "alias": "GlobalID", "domain": null, "editable": false, "nullable": false, "length": 38, "defaultValue": null, "modelName": "GlobalID" }, { "name": "ModifiedBy", "type": "esriFieldTypeString", "alias": "ModifiedBy", "domain": null, "editable": true, "nullable": true, "length": 50, "defaultValue": null, "modelName": "ModifiedBy" }, { "name": "ModifiedDate", "type": "esriFieldTypeDate", "alias": "ModifiedDate", "domain": null, "editable": true, "nullable": true, "length": 8, "defaultValue": null, "modelName": "ModifiedDate" }, { "name": "OBJECTID_P", "type": "esriFieldTypeDouble", "alias": "OBJECTID_P", "domain": null, "editable": true, "nullable": true, "defaultValue": null, "modelName": "OBJECTID_P" }, { "name": "PlanSection", "type": "esriFieldTypeString", "alias": "PlanSection", "domain": null, "editable": true, "nullable": true, "length": 255, "defaultValue": null, "modelName": "PlanSection" }, { "name": "Shape__Length", "type": "esriFieldTypeDouble", "alias": "Shape.STLength()", "domain": null, "editable": false, "nullable": true, "defaultValue": null, "modelName": "Shape.STLength()" } ], "geometryField": { "name": "Shape", "type": "esriFieldTypeGeometry", "alias": "Shape", "domain": null, "editable": true, "nullable": true, "defaultValue": null, "modelName": "Shape" }, "indexes": [ { "name": "R2827_pk", "fields": "OBJECTID", "isAscending": true, "isUnique": true, "description": "" }, { "name": "UUID_2827", "fields": "GlobalID", "isAscending": true, "isUnique": false, "description": "" }, { "name": "S2272_idx", "fields": "Shape", "isAscending": true, "isUnique": true, "description": "" } ], "datesInUnknownTimezone": false, "dateFieldsTimeReference": { "timeZone": "UTC", "respectsDaylightSaving": false }, "preferredTimeReference": null, "types": [], "templates": [ { "name": "Rivers for Allocation", "description": "", "prototype": { "attributes": { "PlanSection": null, "OBJECTID_P": null, "PlanName": null, "Block": null, "Plan_": null, "PlanStatus": null, "AllocationURL": null, "SpatialUnitID": null, "ModifiedDate": null, "ModifiedBy": null } }, "drawingTool": "esriFeatureEditToolLine" } ], "maxRecordCount": 2000, "supportedQueryFormats": "JSON, geoJSON, PBF", "supportedExportFormats": "sqlite,filegdb,shapefile,csv,geojson", "capabilities": "Query", "useStandardizedQueries": true, "supportedSpatialRelationships": [ "esriSpatialRelIntersects", "esriSpatialRelContains", "esriSpatialRelCrosses", "esriSpatialRelEnvelopeIntersects", "esriSpatialRelIndexIntersects", "esriSpatialRelOverlaps", "esriSpatialRelTouches", "esriSpatialRelWithin", "esriSpatialRelRelation" ], "standardMaxRecordCount": 8000, "tileMaxRecordCount": 4000, "standardMaxRecordCountNoGeometry": 32000, "maxRecordCountFactor": 1 }