{ "extent": { "ymin": -90, "xmin": -180, "ymax": 90, "xmax": 180, "spatialReference": {"wkid": 4326}, "type": "extent" }, "supportsApplyEditsWithGlobalIds": true, "maxRecordCount": 1000, "attachmentProperties": [ { "fieldName": "attachmentid", "isEnabled": true, "name": "id" }, { "fieldName": "globalid", "isEnabled": true, "name": "globalId" }, { "fieldName": "att_name", "isEnabled": true, "name": "name" }, { "fieldName": "data_size", "isEnabled": true, "name": "size" }, { "fieldName": "content_type", "isEnabled": true, "name": "contentType" }, { "fieldName": "keywords", "isEnabled": true, "name": "keywords" }, { "fieldName": "exifinfo", "isEnabled": true, "name": "exifInfo" } ], "attachmentFields": [ { "nullable": false, "editable": false, "defaultValue": null, "domain": null, "name": "attachmentid", "alias": "attachmentid", "type": "esriFieldTypeOID" }, { "nullable": false, "editable": false, "defaultValue": null, "domain": null, "length": 38, "name": "globalid", "alias": "globalid", "type": "esriFieldTypeGlobalID" }, { "nullable": false, "editable": false, "defaultValue": null, "domain": null, "length": 250, "name": "att_name", "alias": "att_name", "type": "esriFieldTypeString" }, { "nullable": false, "editable": false, "defaultValue": null, "domain": null, "name": "data_size", "alias": "data_size", "type": "esriFieldTypeInteger" }, { "nullable": false, "editable": false, "defaultValue": null, "domain": null, "length": 150, "name": "content_type", "alias": "content_type", "type": "esriFieldTypeString" }, { "nullable": true, "editable": false, "defaultValue": null, "domain": null, "length": 2048, "name": "keywords", "alias": "keywords", "type": "esriFieldTypeString" }, { "nullable": true, "editable": false, "defaultValue": null, "domain": null, "length": 1073741822, "name": "exifinfo", "alias": "exifinfo", "type": "esriFieldTypeString" } ], "infoInEstimates": [ "extent", "count" ], "definitionQuery": "((incident_type = 'training') AND (created_date BETWEEN CURRENT_TIMESTAMP- INTERVAL '30' DAY AND CURRENT_TIMESTAMP))", "type": "Feature Layer", "hasStaticData": false, "syncEnabled": true, "supportsAttachmentsByUploadId": true, "relationships": [], "supportsAttachmentsResizing": true, "id": 0, "supportsStatistics": true, "supportedExportFormats": "sqlite,filegdb", "standardMaxRecordCount": 16000, "isDataVersioned": false, "templates": [], "hasGeometryProperties": true, "supportsAdvancedQueries": true, "currentVersion": 10.91, "hasZ": false, "advancedEditingCapabilities": { "supportsAsyncApplyEdits": false, "supportedSqlFormatsInCalculate": [ "standard" ] }, "objectIdField": "objectid", "supportsQuantizationEditMode": true, "viewSourceHasAttachments": true, "name": "Impact Note Training", "displayField": "objectid", "supportsCalculate": true, "fields": [ { "nullable": false, "editable": false, "defaultValue": null, "length": 4, "type": "esriFieldTypeOID", "domain": null, "name": "objectid", "alias": "ObjectID" }, { "nullable": false, "editable": false, "defaultValue": null, "length": 38, "type": "esriFieldTypeGlobalID", "domain": null, "name": "globalid", "alias": "GlobalID" }, { "nullable": true, "editable": true, "defaultValue": null, "length": 255, "type": "esriFieldTypeString", "domain": null, "name": "regions", "alias": "Region of this Event/Impact" }, { "nullable": true, "editable": true, "defaultValue": null, "length": 1000, "type": "esriFieldTypeString", "domain": null, "name": "incident_type", "alias": "Incident Type" }, { "nullable": true, "editable": true, "defaultValue": null, "length": 255, "type": "esriFieldTypeString", "domain": null, "name": "incident_type_other", "alias": "Other" }, { "nullable": true, "editable": true, "defaultValue": null, "length": 255, "type": "esriFieldTypeString", "domain": null, "name": "damaged", "alias": "Is there Damage?" }, { "nullable": true, "editable": true, "defaultValue": null, "length": 255, "type": "esriFieldTypeString", "domain": null, "name": "desc_damage", "alias": "Describe Damage" }, { "nullable": true, "editable": true, "defaultValue": null, "length": 255, "type": "esriFieldTypeString", "domain": null, "name": "hazard", "alias": "Is there a Hazard?" }, { "nullable": true, "editable": true, "defaultValue": null, "length": 255, "type": "esriFieldTypeString", "domain": null, "name": "desc_hazard", "alias": "Describe Hazard" }, { "nullable": true, "editable": true, "defaultValue": null, "length": 1000, "type": "esriFieldTypeString", "domain": null, "name": "further_details", "alias": "Further Details" }, { "nullable": true, "editable": true, "defaultValue": null, "length": 255, "type": "esriFieldTypeString", "domain": null, "name": "your_full_name", "alias": "Your Full Name" }, { "nullable": true, "editable": true, "defaultValue": null, "length": 255, "type": "esriFieldTypeString", "domain": null, "name": "agency", "alias": "Agency" }, { "nullable": true, "editable": true, "defaultValue": null, "length": 255, "type": "esriFieldTypeString", "domain": null, "name": "agency_other", "alias": "Other" }, { "nullable": true, "editable": true, "defaultValue": null, "length": 255, "type": "esriFieldTypeString", "domain": null, "name": "your_station_or_brigade", "alias": "Station/Brigade/Group" }, { "nullable": true, "editable": true, "defaultValue": null, "length": 255, "type": "esriFieldTypeString", "domain": null, "name": "streetaddress_calc", "alias": "streetaddress_calc" }, { "nullable": true, "editable": true, "defaultValue": null, "length": 255, "type": "esriFieldTypeString", "domain": null, "name": "streetname_calc", "alias": "streetname_calc" }, { "nullable": true, "editable": true, "defaultValue": null, "length": 255, "type": "esriFieldTypeString", "domain": null, "name": "suburb_calc", "alias": "suburb_calc" }, { "nullable": true, "editable": true, "defaultValue": null, "length": 255, "type": "esriFieldTypeString", "domain": null, "name": "postcode_calc", "alias": "postcode_calc" }, { "nullable": true, "editable": false, "defaultValue": null, "length": 29, "type": "esriFieldTypeDate", "domain": null, "name": "created_date", "alias": "created_date" }, { "nullable": true, "editable": false, "defaultValue": null, "length": 29, "type": "esriFieldTypeDate", "domain": null, "name": "last_edited_date", "alias": "last_edited_date" } ], "maxRecordCountFactor": 1, "dateFieldsTimeReference": { "respectsDaylightSaving": false, "timeZone": "UTC" }, "supportsFieldDescriptionProperty": true, "hasM": false, "allowGeometryUpdates": true, "isView": true, "useStandardizedQueries": true, "globalIdField": "globalid", "description": "", "syncCanReturnChanges": true, "supportsAsyncDelete": true, "isUpdatableView": true, "supportedSpatialRelationships": [ "esriSpatialRelIntersects", "esriSpatialRelContains", "esriSpatialRelCrosses", "esriSpatialRelEnvelopeIntersects", "esriSpatialRelOverlaps", "esriSpatialRelTouches", "esriSpatialRelWithin" ], "supportsRollbackOnFailureParameter": true, "viewDefinitionQuery": "((incident_type = 'training') AND (created_date BETWEEN CURRENT_TIMESTAMP- INTERVAL '30' DAY AND CURRENT_TIMESTAMP))", "standardMaxRecordCountNoGeometry": 16000, "indexes": [ { "name": "r337_sde_rowid_uk", "isUnique": true, "description": "", "fields": "objectid", "isAscending": true }, { "name": "uuid_337", "isUnique": true, "description": "", "fields": "globalid", "isAscending": true }, { "name": "a207_ix1", "isUnique": false, "description": "", "fields": "shape", "isAscending": true } ], "htmlPopupType": "esriServerHTMLPopupTypeAsHTMLText", "editFieldsInfo": { "editDateField": "last_edited_date", "editorField": "last_edited_user", "creationDateField": "created_date", "creatorField": "created_user" }, "minScale": 0, "hasAttachments": true, "advancedQueryCapabilities": { "supportsSqlExpression": true, "supportsQueryWithResultType": true, "supportsQueryWithCacheHint": false, "supportsQueryWithDatumTransformation": true, "supportsQueryAttachmentsWithReturnUrl": true, "supportsQueryDateBins": false, "supportsQueryWithLodSR": true, "supportsPaginationOnAggregatedQueries": true, "supportsPagination": true, "supportsMaxRecordCountFactor": true, "supportsStatistics": true, "supportsOrderBy": true, "supportsQueryWithDistance": true, "supportsLod": true, "supportsCountDistinct": true, "supportsQueryAttachments": true, "supportsReturningQueryExtent": true, "supportsQueryAttachmentsCountOnly": true, "supportsOrderByOnlyOnLayerFields": false, "supportsOutFieldSqlExpression": true, "supportsTopFeaturesQuery": true, "supportsDistinct": true, "supportsReturningGeometryCentroid": false, "supportsQueryAnalytic": true, "supportsPercentileStatistics": true, "supportsHavingClause": true }, "supportsValidateSQL": true, "allowUpdateWithoutMValues": true, "types": [], "supportsCoordinatesQuantization": true, "capabilities": "Query,Sync", "maxScale": 0, "supportsAppend": true, "supportsExceedsLimitStatistics": true, "sourceSchemaChangesAllowed": true, "defaultVisibility": true, "advancedQueryAnalyticCapabilities": { "supportsAsync": false, "supportsLinearRegression": true, "supportsPercentileAnalytic": false }, "hasMetadata": false, "supportedAppendFormats": "shapefile,geojson,csv,featureCollection,excel", "tileMaxRecordCount": 4000, "typeIdField": "", "supportedQueryFormats": "JSON, geoJSON, PBF", "sqlParserVersion": "PG_10.9.1", "drawingInfo": { "renderer": { "valueExpression": "var training = $feature[\"incident_type\"]\nvar hazard = $feature.hazard\nvar damage = $feature.damaged\nconsole(training, hazard, damage)\n\nif ((hazard == 'yes' || damage == 'yes') && (training == 'training')){\n return 'Yes (Training)'\n \n} else if ((hazard == 'no' && damage == 'no') && (training == 'training')){\n return 'No (Training)'\n \n}\n", "defaultSymbol": null, "valueExpressionTitle": "Is Damage or Hazard Present?", "uniqueValueInfos": [ { "symbol": { "outline": { "color": [ 153, 153, 153, 64 ], "width": 0.75, "style": "esriSLSSolid", "type": "esriSLS" }, "color": [ 255, 170, 0, 255 ], "size": 16.5, "yoffset": 0, "xoffset": 0, "angle": 0, "style": "esriSMSCircle", "type": "esriSMS" }, "label": "Yes (Training)", "value": "Yes (Training)" }, { "symbol": { "outline": { "color": [ 153, 153, 153, 64 ], "width": 0.75, "style": "esriSLSSolid", "type": "esriSLS" }, "color": [ 76, 230, 0, 255 ], "size": 16.5, "yoffset": 0, "xoffset": 0, "angle": 0, "style": "esriSMSCircle", "type": "esriSMS" }, "label": "No (Training)", "value": "No (Training)" } ], "type": "uniqueValue" }, "transparency": 0 }, "copyrightText": "", "geometryType": "esriGeometryPoint", "serviceItemId": "8ccdcc15b77b4b5abe801a154099aa53" }