{ "currentVersion": 11.5, "cimVersion": "3.5.0", "id": 2, "name": "Petroleum Permit Applications", "type": "Feature Layer", "description": "Spatial representation of areas under application for petroleum prospecting, exploration or mining permits.", "geometryType": "esriGeometryPolygon", "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 }, "spatialReference": { "wkid": 2193, "latestWkid": 2193, "xyTolerance": 0.001, "zTolerance": 0.001, "mTolerance": 0.001, "falseX": -4020900, "falseY": 1900, "xyUnits": 4.504455473910538E8, "falseZ": -100000, "zUnits": 10000, "falseM": -100000, "mUnits": 10000 }, "copyrightText": "Ministry of Business, Innovation and Employment", "parentLayer": null, "subLayers": [], "minScale": 0, "maxScale": 0, "referenceScale": 0.0, "drawingInfo": { "renderer": { "type": "uniqueValue", "valueExpression": "\n// Classify application type based on permit and speculative status\nif (\n $feature.PERMIT_TYPE_CODE == 'Prospecting Permit' &&\n ($feature.PERMIT_NONEXCLUSIVE_YN == 'Y' || \n $feature.CHANGE_SPECULATIVE == 'Yes')\n) {\n return 'Speculative Prospecting Permit';\n}\nelse if (\n $feature.PERMIT_TYPE_CODE == 'Prospecting Permit' &&\n ($feature.PERMIT_NONEXCLUSIVE_YN == 'N' || \n $feature.CHANGE_SPECULATIVE == 'No' || \n IsEmpty($feature.CHANGE_SPECULATIVE) || \n IsEmpty($feature.PERMIT_NONEXCLUSIVE_YN))\n) {\n return 'Prospecting Permit (Non-Speculative)';\n}\nelse if ($feature.PERMIT_TYPE_CODE == 'Mining Permit') {\n return 'Mining Permit';\n}\nelse if ($feature.PERMIT_TYPE_CODE == 'Exploration Permit') {\n return 'Exploration Permit';\n}\nelse {\n return 'Other';\n}\n\n\n", "valueExpressionTitle": "Permit Applications", "uniqueValueGroups": [ { "heading": "", "classes": [ { "label": "Mining Permit", "description": "Mining Permit", "symbol": { "type": "esriSFS", "style": "esriSFSBackwardDiagonal", "color": [ 0, 76, 115, 255 ], "outline": { "type": "esriSLS", "style": "esriSLSSolid", "color": [ 0, 0, 0, 255 ], "width": 0.4 } }, "values": [ [ "Mining Permit" ] ] }, { "label": "Exploration Permit", "description": "Exploration Permit", "symbol": { "type": "esriSFS", "style": "esriSFSBackwardDiagonal", "color": [ 143, 196, 177, 255 ], "outline": { "type": "esriSLS", "style": "esriSLSSolid", "color": [ 52, 52, 52, 255 ], "width": 0.4 } }, "values": [ [ "Exploration Permit" ] ] }, { "label": "Prospecting Permit (Non-Speculative)", "description": "Prospecting Permit (Non-Speculative)", "symbol": { "type": "esriSFS", "style": "esriSFSBackwardDiagonal", "color": [ 171, 205, 102, 255 ], "outline": { "type": "esriSLS", "style": "esriSLSSolid", "color": [ 0, 0, 0, 255 ], "width": 0.4 } }, "values": [ [ "Prospecting Permit (Non-Speculative)" ] ] }, { "label": "Speculative Prospecting Permit", "description": "Speculative Prospecting Permit", "symbol": { "type": "esriSFS", "style": "esriSFSBackwardDiagonal", "color": [ 215, 158, 158, 255 ], "outline": { "type": "esriSLS", "style": "esriSLSSolid", "color": [ 52, 52, 52, 255 ], "width": 0.4 } }, "values": [ [ "Speculative Prospecting Permit" ] ] } ] } ], "uniqueValueInfos": [ { "symbol": { "type": "esriSFS", "style": "esriSFSBackwardDiagonal", "color": [ 0, 76, 115, 255 ], "outline": { "type": "esriSLS", "style": "esriSLSSolid", "color": [ 0, 0, 0, 255 ], "width": 0.4 } }, "value": "Mining Permit", "label": "Mining Permit" }, { "symbol": { "type": "esriSFS", "style": "esriSFSBackwardDiagonal", "color": [ 143, 196, 177, 255 ], "outline": { "type": "esriSLS", "style": "esriSLSSolid", "color": [ 52, 52, 52, 255 ], "width": 0.4 } }, "value": "Exploration Permit", "label": "Exploration Permit" }, { "symbol": { "type": "esriSFS", "style": "esriSFSBackwardDiagonal", "color": [ 171, 205, 102, 255 ], "outline": { "type": "esriSLS", "style": "esriSLSSolid", "color": [ 0, 0, 0, 255 ], "width": 0.4 } }, "value": "Prospecting Permit (Non-Speculative)", "label": "Prospecting Permit (Non-Speculative)" }, { "symbol": { "type": "esriSFS", "style": "esriSFSBackwardDiagonal", "color": [ 215, 158, 158, 255 ], "outline": { "type": "esriSLS", "style": "esriSLSSolid", "color": [ 52, 52, 52, 255 ], "width": 0.4 } }, "value": "Speculative Prospecting Permit", "label": "Speculative Prospecting Permit" } ], "fieldDelimiter": ",", "authoringInfo": { "colorRamp": { "type": "multipart", "colorRamps": [ { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 215, 252, 237, 255 ], "toColor": [ 215, 252, 237, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 251, 179, 252, 255 ], "toColor": [ 251, 179, 252, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 252, 195, 192, 255 ], "toColor": [ 252, 195, 192, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 180, 252, 179, 255 ], "toColor": [ 180, 252, 179, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 179, 213, 252, 255 ], "toColor": [ 179, 213, 252, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 252, 244, 189, 255 ], "toColor": [ 252, 244, 189, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 252, 215, 249, 255 ], "toColor": [ 252, 215, 249, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 190, 182, 252, 255 ], "toColor": [ 190, 182, 252, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 204, 252, 208, 255 ], "toColor": [ 204, 252, 208, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 179, 238, 252, 255 ], "toColor": [ 179, 238, 252, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 252, 215, 184, 255 ], "toColor": [ 252, 215, 184, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 252, 237, 215, 255 ], "toColor": [ 252, 237, 215, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 224, 202, 252, 255 ], "toColor": [ 224, 202, 252, 255 ] } ] } } }, "scaleSymbols": true, "transparency": 0, "labelingInfo": null }, "defaultVisibility": true, "extent": { "xmin": -4.7568774551045E7, "ymin": -1.325182646081E7, "xmax": 5.0768774551045E7, "ymax": 3.325182646081E7, "spatialReference": { "wkid": 2193, "latestWkid": 2193, "xyTolerance": 0.001, "zTolerance": 0.001, "mTolerance": 0.001, "falseX": -4020900, "falseY": 1900, "xyUnits": 4.504455473910538E8, "falseZ": -100000, "zUnits": 10000, "falseM": -100000, "mUnits": 10000 } }, "hasAttachments": false, "htmlPopupType": "esriServerHTMLPopupTypeAsHTMLText", "displayField": "PERMIT_NUMBER", "typeIdField": null, "subtypeFieldName": null, "subtypeField": null, "defaultSubtypeCode": null, "fields": [ { "name": "Change_Speculative", "type": "esriFieldTypeString", "alias": "Change_Speculative", "length": 10, "domain": null }, { "name": "OBJECTID", "type": "esriFieldTypeOID", "alias": "OBJECTID", "domain": null }, { "name": "Permit_Nonexclusive_YN", "type": "esriFieldTypeString", "alias": "PERMIT_NONEXCLUSIVE_YN", "length": 1, "domain": null }, { "name": "SHAPE", "type": "esriFieldTypeGeometry", "alias": "SHAPE", "domain": null }, { "name": "Change_Type", "type": "esriFieldTypeString", "alias": "CHANGE_TYPE", "length": 30, "domain": null }, { "name": "Change_Description", "type": "esriFieldTypeString", "alias": "CHANGE_DESCRIPTION", "length": 255, "domain": null }, { "name": "Change_Status", "type": "esriFieldTypeString", "alias": "CHANGE_STATUS", "length": 30, "domain": null }, { "name": "Permit_Area_Unit", "type": "esriFieldTypeString", "alias": "PERMIT_AREA_UNIT", "length": 4, "domain": null }, { "name": "Permit_Location", "type": "esriFieldTypeString", "alias": "Location", "length": 50, "domain": null }, { "name": "Permit_Type_Code", "type": "esriFieldTypeString", "alias": "Application Type", "length": 30, "domain": null }, { "name": "Permit_Type_Description", "type": "esriFieldTypeString", "alias": "PERMIT_TYPE_DESCRIPTION", "length": 255, "domain": null }, { "name": "Permit_Allocation_Method", "type": "esriFieldTypeString", "alias": "PERMIT_ALLOCATION_METHOD", "length": 10, "domain": null }, { "name": "Owners", "type": "esriFieldTypeString", "alias": "Owners", "length": 255, "domain": null }, { "name": "Share_Percentage", "type": "esriFieldTypeString", "alias": "SHARE_PERCENTAGE", "length": 50, "domain": null }, { "name": "Operator", "type": "esriFieldTypeString", "alias": "Operator", "length": 220, "domain": null }, { "name": "Minerals", "type": "esriFieldTypeString", "alias": "Minerals", "length": 1000, "domain": null }, { "name": "SHAPE.STArea()", "type": "esriFieldTypeDouble", "alias": "SHAPE.STArea()", "domain": null }, { "name": "SHAPE.STLength()", "type": "esriFieldTypeDouble", "alias": "SHAPE.STLength()", "domain": null }, { "name": "Associated_Permits", "type": "esriFieldTypeString", "alias": "ASSOCIATED_PERMITS", "length": 10, "domain": null }, { "name": "Extend_Area_by", "type": "esriFieldTypeString", "alias": "EXTEND_AREA_BY", "length": 14, "domain": null }, { "name": "Permit_Area", "type": "esriFieldTypeString", "alias": "PERMIT_AREA", "length": 12, "domain": null }, { "name": "Permit_Offshore_Onshore", "type": "esriFieldTypeString", "alias": "PERMIT_OFFSHORE_ONSHORE", "length": 10, "domain": null }, { "name": "Permit_MP", "type": "esriFieldTypeString", "alias": "PERMIT_MP", "length": 100, "domain": null }, { "name": "Subsequent_to_Permit", "type": "esriFieldTypeString", "alias": "SUBSEQUENT_TO_PERMIT", "length": 10, "domain": null }, { "name": "Change_Allocation_Method", "type": "esriFieldTypeString", "alias": "CHANGE_ALLOCATION_METHOD", "length": 6, "domain": null }, { "name": "Reduce_Area_by", "type": "esriFieldTypeString", "alias": "REDUCE_AREA_BY", "length": 14, "domain": null }, { "name": "Change_Status_Date", "type": "esriFieldTypeDate", "alias": "CHANGE_STATUS_DATE", "length": 8, "domain": null }, { "name": "Submitted_Date", "type": "esriFieldTypeDate", "alias": "SUBMITTED_DATE", "length": 8, "domain": null }, { "name": "Received_Date", "type": "esriFieldTypeDate", "alias": "RECEIVED_DATE", "length": 8, "domain": null }, { "name": "Permit_Commencement_Date", "type": "esriFieldTypeDate", "alias": "PERMIT_COMMENCEMENT_DATE", "length": 8, "domain": null }, { "name": "Permit_Expiry_Date", "type": "esriFieldTypeDate", "alias": "PERMIT_EXPIRY_DATE", "length": 8, "domain": null }, { "name": "Permit_Grant_Date", "type": "esriFieldTypeDate", "alias": "PERMIT_GRANT_DATE", "length": 8, "domain": null }, { "name": "Permit_Received_Date", "type": "esriFieldTypeDate", "alias": "PERMIT_RECEIVED_DATE", "length": 8, "domain": null }, { "name": "B1_PER_ID1", "type": "esriFieldTypeString", "alias": "B1_PER_ID1", "length": 10, "domain": null }, { "name": "B1_PER_ID2", "type": "esriFieldTypeString", "alias": "B1_PER_ID2", "length": 10, "domain": null }, { "name": "B1_PER_ID3", "type": "esriFieldTypeString", "alias": "B1_PER_ID3", "length": 10, "domain": null }, { "name": "Application_ID", "type": "esriFieldTypeString", "alias": "Application_ID", "length": 30, "domain": null }, { "name": "Reduce_Area_by_unit", "type": "esriFieldTypeString", "alias": "Reduce_Area_by_unit", "length": 4, "domain": null }, { "name": "Extend_Area_by_unit", "type": "esriFieldTypeString", "alias": "Extend_Area_by_unit", "length": 4, "domain": null }, { "name": "Permit_Duration_in_Years", "type": "esriFieldTypeInteger", "alias": "Permit_Duration_in_Years", "domain": null }, { "name": "Permit_Duration_in_Months", "type": "esriFieldTypeInteger", "alias": "Permit_Duration_in_Months", "domain": null }, { "name": "Commodity", "type": "esriFieldTypeString", "alias": "Commodity", "length": 9, "domain": null }, { "name": "Permit_Speculative", "type": "esriFieldTypeString", "alias": "Permit_Speculative", "length": 10, "domain": null }, { "name": "Operation_Name", "type": "esriFieldTypeString", "alias": "Operation_Name", "length": 100, "domain": null } ], "geometryField": { "name": "SHAPE", "type": "esriFieldTypeGeometry", "alias": "SHAPE" }, "indexes": null, "subtypes": [], "relationships": [], "canModifyLayer": true, "canScaleSymbols": false, "hasLabels": false, "capabilities": "Map,Query,Data", "maxRecordCount": 2000, "maxSelectionCount": 2000, "supportsStatistics": true, "supportsExceedsLimitStatistics": true, "supportsAdvancedQueries": true, "supportedQueryFormats": "JSON, geoJSON, PBF", "isDataVersioned": false, "ownershipBasedAccessControlForFeatures": {"allowOthersToQuery": true}, "useStandardizedQueries": true, "supportedSpatialRelationships": [ "esriSpatialRelIntersects", "esriSpatialRelContains", "esriSpatialRelCrosses", "esriSpatialRelEnvelopeIntersects", "esriSpatialRelIndexIntersects", "esriSpatialRelOverlaps", "esriSpatialRelTouches", "esriSpatialRelWithin", "esriSpatialRelRelation" ], "advancedQueryCapabilities": { "useStandardizedQueries": true, "supportsStatistics": true, "supportsPercentileStatistics": true, "supportsHavingClause": true, "supportsOrderBy": true, "supportsDistinct": true, "supportsCountDistinct": true, "supportsAdvancedQueryRelated": true, "supportsQueryRelatedPagination": true, "supportsPagination": true, "supportsLod": false, "supportsQueryWithLodSR": false, "supportsTrueCurve": true, "supportsQueryWithDatumTransformation": true, "supportsReturningQueryExtent": true, "supportsQueryWithDistance": true, "supportsSqlExpression": true, "supportsTimeRelation": true, "supportsSqlFormat": false, "supportsQueryAnalytic": true, "supportsCurrentUserQueries": 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, "serviceItemId": "03dbbee2e6e248ca8bdce7015f00d206" }