{ "currentVersion": 11.5, "cimVersion": "3.5.0", "id": 4, "name": "END_LatestSubmission_Status", "type": "Feature Layer", "description": "dbo.END_Submission_Status", "geometryType": "esriGeometryPolygon", "sourceSpatialReference": { "wkid": 102100, "latestWkid": 3857, "xyTolerance": 0.001, "zTolerance": 0.001, "mTolerance": 0.001, "falseX": -20037700, "falseY": -30241100, "xyUnits": 10000, "falseZ": -100000, "zUnits": 10000, "falseM": -100000, "mUnits": 10000 }, "spatialReference": { "wkid": 102100, "latestWkid": 3857, "xyTolerance": 0.001, "zTolerance": 0.001, "mTolerance": 0.001, "falseX": -20037700, "falseY": -30241100, "xyUnits": 10000, "falseZ": -100000, "zUnits": 10000, "falseM": -100000, "mUnits": 10000 }, "copyrightText": "", "parentLayer": null, "subLayers": [], "minScale": 0, "maxScale": 0, "referenceScale": 0.0, "drawingInfo": { "renderer": { "type": "uniqueValue", "valueExpression": "// DF48 OVERALL STATUS\n// TO-DO: PENDING TO EXCLUDE NON-DECLARED ONES!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!\n// Arcade expression to check if any of 4 fields match 2 specific values\nvar values = [ \"CORRECTION_REQUESTED\", \"FINAL_FEEDBACK\" ];\n\n// List of fields to check\nvar fields = [\n $feature.DF48_MAir_status,\n $feature.DF48_MRail_status,\n $feature.DF48_MRoad_status,\n $feature.DF48_Agg_status\n];\n\n// Loop through the fields and check if any match\nfor (var i = 0; i < Count(fields); i++) {\n var val = Trim(Text(fields[i])); // Get actual field value\n if (IndexOf(values, val) > -1) {\n return \"Draft\";\n }\n}\n\n// If none matched, return \"Final\"\nreturn \"Final\";\n\n\n", "valueExpressionTitle": "DF48_Overall_status", "uniqueValueGroups": [ { "heading": "DF48_Overall_status", "classes": [ { "label": "Draft", "description": "Draft", "symbol": { "type": "esriSFS", "style": "esriSFSSolid", "color": [ 242, 208, 142, 255 ], "outline": null }, "values": [ [ "Draft" ] ] }, { "label": "Final", "description": "Final", "symbol": { "type": "esriSFS", "style": "esriSFSSolid", "color": [ 229, 230, 230, 255 ], "outline": { "type": "esriSLS", "style": "esriSLSSolid", "color": [ 205, 206, 206, 255 ], "width": 0.4 } }, "values": [ [ "Final" ] ] } ] } ], "uniqueValueInfos": [ { "symbol": { "type": "esriSFS", "style": "esriSFSSolid", "color": [ 242, 208, 142, 255 ], "outline": null }, "value": "Draft", "label": "Draft" }, { "symbol": { "type": "esriSFS", "style": "esriSFSSolid", "color": [ 229, 230, 230, 255 ], "outline": { "type": "esriSLS", "style": "esriSLSSolid", "color": [ 205, 206, 206, 255 ], "width": 0.4 } }, "value": "Final", "label": "Final" } ], "fieldDelimiter": ",", "authoringInfo": { "colorRamp": { "type": "multipart", "colorRamps": [ { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 252, 208, 204, 255 ], "toColor": [ 252, 208, 204, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 182, 252, 185, 255 ], "toColor": [ 182, 252, 185, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 179, 179, 252, 255 ], "toColor": [ 179, 179, 252, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 189, 247, 252, 255 ], "toColor": [ 189, 247, 252, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 252, 245, 189, 255 ], "toColor": [ 252, 245, 189, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 252, 204, 252, 255 ], "toColor": [ 252, 204, 252, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 204, 216, 252, 255 ], "toColor": [ 204, 216, 252, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 215, 252, 216, 255 ], "toColor": [ 215, 252, 216, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 252, 192, 212, 255 ], "toColor": [ 252, 192, 212, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 221, 252, 189, 255 ], "toColor": [ 221, 252, 189, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 225, 182, 252, 255 ], "toColor": [ 225, 182, 252, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 252, 235, 215, 255 ], "toColor": [ 252, 235, 215, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 252, 184, 179, 255 ], "toColor": [ 252, 184, 179, 255 ] } ] } } }, "scaleSymbols": true, "transparency": 0, "labelingInfo": null }, "defaultVisibility": true, "extent": { "xmin": -7029958.048800001, "ymin": -2438312.6744000018, "xmax": 6215609.013, "ymax": 1.1464514068999998E7, "spatialReference": { "wkid": 102100, "latestWkid": 3857, "xyTolerance": 0.001, "zTolerance": 0.001, "mTolerance": 0.001, "falseX": -20037700, "falseY": -30241100, "xyUnits": 10000, "falseZ": -100000, "zUnits": 10000, "falseM": -100000, "mUnits": 10000 } }, "hasAttachments": false, "htmlPopupType": "esriServerHTMLPopupTypeAsHTMLText", "displayField": "dataProviderName", "typeIdField": null, "subtypeFieldName": null, "subtypeField": null, "defaultSubtypeCode": null, "fields": [ { "name": "countryCode", "type": "esriFieldTypeString", "alias": "countryCode", "length": 3, "domain": null }, { "name": "declarationAgglomerationSource", "type": "esriFieldTypeString", "alias": "declarationAgglomerationSource", "length": 255, "domain": null }, { "name": "declarationMajorRoadSource", "type": "esriFieldTypeString", "alias": "declarationMajorRoadSource", "length": 255, "domain": null }, { "name": "declarationMajorRailwaySource", "type": "esriFieldTypeString", "alias": "declarationMajorRailwaySource", "length": 255, "domain": null }, { "name": "declarationMajorAirportSource", "type": "esriFieldTypeString", "alias": "declarationMajorAirportSource", "length": 255, "domain": null }, { "name": "DF15_Complete", "type": "esriFieldTypeSmallInteger", "alias": "DF15_Complete", "domain": null }, { "name": "DF48_Complete", "type": "esriFieldTypeSmallInteger", "alias": "DF48_Complete", "domain": null }, { "name": "DF15_status", "type": "esriFieldTypeString", "alias": "DF15_status", "length": 100, "domain": null }, { "name": "DF48_MAir_status", "type": "esriFieldTypeString", "alias": "DF48_MAir_status", "length": 1073741822, "domain": null }, { "name": "DF48_MRail_status", "type": "esriFieldTypeString", "alias": "DF48_MRail_status", "length": 1073741822, "domain": null }, { "name": "DF48_MRoad_status", "type": "esriFieldTypeString", "alias": "DF48_MRoad_status", "length": 1073741822, "domain": null }, { "name": "DF48_Agg_status", "type": "esriFieldTypeString", "alias": "DF48_Agg_status", "length": 1073741822, "domain": null }, { "name": "DF15_ReleaseDate", "type": "esriFieldTypeDate", "alias": "DF15_ReleaseDate", "length": 8, "precision": 1, "domain": null }, { "name": "dataProviderId", "type": "esriFieldTypeInteger", "alias": "dataProviderId", "domain": null }, { "name": "dataProviderCode", "type": "esriFieldTypeString", "alias": "dataProviderCode", "length": 2, "domain": null }, { "name": "dataProviderName", "type": "esriFieldTypeString", "alias": "dataProviderName", "length": 50, "domain": null }, { "name": "countryName", "type": "esriFieldTypeString", "alias": "countryName", "length": 50, "domain": null }, { "name": "eeaGroup", "type": "esriFieldTypeString", "alias": "eeaGroup", "length": 50, "domain": null }, { "name": "eurostatGroup", "type": "esriFieldTypeString", "alias": "eurostatGroup", "length": 50, "domain": null }, { "name": "CNTR_ID", "type": "esriFieldTypeString", "alias": "CNTR_ID", "length": 2147483647, "domain": null }, { "name": "EU_STAT", "type": "esriFieldTypeString", "alias": "EU_STAT", "length": 2147483647, "domain": null }, { "name": "EFTA_STAT", "type": "esriFieldTypeString", "alias": "EFTA_STAT", "length": 2147483647, "domain": null }, { "name": "CC_STAT", "type": "esriFieldTypeString", "alias": "CC_STAT", "length": 2147483647, "domain": null }, { "name": "GEOM", "type": "esriFieldTypeGeometry", "alias": "GEOM", "domain": null }, { "name": "ESRI_OID", "type": "esriFieldTypeOID", "alias": "ESRI_OID", "length": 8, "domain": null } ], "geometryField": { "name": "GEOM", "type": "esriFieldTypeGeometry", "alias": "GEOM" }, "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, "hasMetadata": true, "isDataArchived": false, "archivingInfo": { "supportsQueryWithHistoricMoment": false, "startArchivingMoment": -1 }, "supportsCoordinatesQuantization": true, "supportsDynamicLegends": true, "uniqueIdInfo": { "type": "simple", "fields": [ "countryCode" ], "OIDFieldContainsHashValue": true }, "maxUniqueIDCount": 100000 }