{
  "layers" : [
    {
      "currentVersion" : 12, 
      "id" : 0, 
      "name" : "Single people and cheese", 
      "type" : "Feature Layer", 
      "serviceItemId" : "94275c07d64f4ab4892a26c6eaf8410b", 
      "cacheMaxAge" : 30, 
      "displayField" : "", 
      "description" : "", 
      "copyrightText" : "", 
      "defaultVisibility" : true, 
      "editingInfo" : {
        "lastEditDate" : 1551922957710, 
        "schemaLastEditDate" : 1551922957710, 
        "dataLastEditDate" : 1551922957710
      }, 
      "relationships" : [], 
      "isDataVersioned" : false, 
      "hasContingentValuesDefinition" : false, 
      "supportsAppend" : true, 
      "supportsCalculate" : true, 
      "supportsASyncCalculate" : true, 
      "supportsTruncate" : false, 
      "supportsAttachmentsByUploadId" : true, 
      "supportsAttachmentsResizing" : true, 
      "supportsRollbackOnFailureParameter" : true, 
      "supportsStatistics" : true, 
      "supportsExceedsLimitStatistics" : true, 
      "supportsAdvancedQueries" : true, 
      "supportsValidateSql" : true, 
      "supportsCoordinatesQuantization" : true, 
      "supportsLayerOverrides" : true, 
      "supportsTilesAndBasicQueriesMode" : true, 
      "supportsFieldDescriptionProperty" : true, 
      "supportsQuantizationEditMode" : true, 
      "supportsColumnStoreIndex" : true, 
      "supportsApplyEditsWithGlobalIds" : false, 
      "supportsMultiScaleGeometry" : true, 
      "supportsReturningQueryGeometry" : true, 
      "enableNullGeometry" : false, 
      "advancedQueryCapabilities" : {
        "supportsPagination" : true, 
        "supportsPaginationOnAggregatedQueries" : true, 
        "supportsQueryRelatedPagination" : true, 
        "supportsQueryWithDistance" : true, 
        "supportsOutDistance" : true, 
        "supportsReturningQueryExtent" : true, 
        "supportsStatistics" : true, 
        "supportsOrderBy" : true, 
        "supportsDistinct" : true, 
        "supportsQueryWithResultType" : true, 
        "supportsSqlExpression" : true, 
        "supportsTimeRelation" : true, 
        "supportsAdvancedQueryRelated" : true, 
        "supportsCountDistinct" : true, 
        "supportsPercentileStatistics" : true, 
        "supportsApproxPercentileStatistics" : true, 
        "supportsSpatialAggregationStatistics" : true, 
        "supportsTrueCurve" : true, 
        "supportedSpatialAggregationStatistics" : [
          "EnvelopeAggregate", 
          "CentroidAggregate", 
          "ConvexHullAggregate"
        ], 
        "supportsLod" : true, 
        "supportsQueryWithLodSR" : false, 
        "supportedLodTypes" : [
          "geohash"
        ], 
        "supportsReturningGeometryCentroid" : true, 
        "supportsReturningGeometryEnvelope" : true, 
        "supportsReturningGeometryProperties" : true, 
        "supportsQueryWithDatumTransformation" : true, 
        "supportsCurrentUserQueries" : true, 
        "supportsHavingClause" : true, 
        "supportsOutFieldSQLExpression" : true, 
        "supportsMaxRecordCountFactor" : true, 
        "supportsTopFeaturesQuery" : true, 
        "supportsDisjointSpatialRel" : true, 
        "supportsQueryWithCacheHint" : true, 
        "supportedOperationsWithCacheHint" : [
          "query", 
          "queryTopFilter", 
          "queryAnalytics", 
          "queryAttachments", 
          "queryRelated", 
          "queryBins", 
          "queryPivot"
        ], 
        "supportsQueryAnalytic" : true, 
        "supportsQueryPivot" : true, 
        "supportsQueryBins" : true, 
        "supportsDefaultSR" : true, 
        "supportsTranslations" : false, 
        "supportsAggIds" : true, 
        "supportsQueryWithCollation" : true, 
        "supportsISODOW" : true, 
        "supportsISOWeek" : true, 
        "supportsFullTextSearch" : true, 
        "fullTextSearchCapabilities" : {
          "supportsAccentSensitivity" : true, 
          "supportsStopWords" : true, 
          "supportsSearchOperator" : true, 
          "supportsOperator" : true
        }
      }, 
      "advancedQueryAnalyticCapabilities" : {
        "supportsLinearRegression" : true, 
        "supportsTrendlineRegression" : true, 
        "supportsAsync" : true, 
        "supportsPercentileAnalytic" : true
      }, 
      "queryBinsCapabilities" : {
        "supportsAsync" : true, 
        "supportsAutoIntervalBin" : true, 
        "supportsFixedIntervalBin" : true, 
        "supportsFixedBoundariesBin" : true, 
        "supportsDateBin" : true, 
        "supportsClassificationBin" : true, 
        "supportsStackBy" : true, 
        "supportsSplitBy" : true, 
        "supportsFirstDayOfWeek" : true, 
        "supportsSnapToData" : true, 
        "supportsReturnFullIntervalBin" : true, 
        "supportsReturnStackValueRange" : true, 
        "supportsNormalization" : true, 
        "supportedStatisticTypes" : [
          "COUNT", 
          "SUM", 
          "AVG", 
          "VAR", 
          "STDDEV", 
          "MIN", 
          "MAX", 
          "PERCENTILE_CONT", 
          "PERCENTILE_DISC", 
          "APPROX_PERCENTILE_CONT", 
          "APPROX_PERCENTILE_DISC", 
          "CentroidAggregate", 
          "EnvelopeAggregate", 
          "ConvexHullAggregate"
        ], 
        "supportedNormalizationTypes" : [
          "boxCox", 
          "field", 
          "inverse", 
          "log", 
          "naturalLog", 
          "percentOfTotal", 
          "squareRoot"
        ]
      }, 
      "supportedOperationsWithCollation" : "query,addField,updateField", 
      "advancedEditingCapabilities" : {
        "supportedSqlFormatsInCalculate" : [
          "standard"
        ], 
        "supportsAsyncApplyEdits" : true, 
        "supportsReturnEditResults" : true, 
        "supportsApplyEditsbyUploadID" : true, 
        "supportedApplyEditsUploadIDFormats" : "JSON,PBF", 
        "supportsTranslation" : false, 
        "supportsMaxTranslations" : 10
      }, 
      "infoInEstimates" : [
        "extent", 
        "count"
      ], 
      "useStandardizedQueries" : true, 
      "geometryType" : "esriGeometryPolygon", 
      "minScale" : 4622325, 
      "maxScale" : 1128, 
      "extent" : {
        "xmin" : -75.4717880762176, 
        "ymin" : 40.0791299359347, 
        "xmax" : -71.187511070820563, 
        "ymax" : 42.224980068930115, 
        "spatialReference" : {
          "wkid" : 4326, 
          "latestWkid" : 4326
        }
      }, 
      "drawingInfo":{"renderer":{"visualVariables":[{"type":"sizeInfo","target":"outline","expression":"view.scale","valueExpression":"$view.scale","stops":[{"size":1.5,"value":8673},{"size":0.75,"value":27104},{"size":0.375,"value":108415},{"size":0,"value":216830}]}],"type":"uniqueValue","valueExpression":"var field1 = $feature.X1057_A;\nvar normField1 = null;\nvar field2 = $feature.NEVMARR_CY;\nvar normField2 = $feature.MARBASE_CY;\nvar classes = 3;\nvar field1Val = IIf(IsEmpty(normField1), field1, (field1 / normField1));\nvar field2Val = IIf(IsEmpty(normField2), field2, (field2 / normField2));\n\nvar field1Breaks = [{\"minValue\":0,\"maxValue\":101.56924411320699,\"label\":\"0 - 101.57\"},{\"minValue\":101.56924411320699,\"maxValue\":311.782517226793,\"label\":\"101.57 - 311.78\"},{\"minValue\":311.782517226793,\"maxValue\":854.71,\"label\":\"311.78 - 854.71\"}];\n\nvar field2Breaks = [{\"minValue\":0,\"maxValue\":0.23584609625420716,\"label\":\"0 - 0.24\"},{\"minValue\":0.23584609625420716,\"maxValue\":0.522343903745793,\"label\":\"0.24 - 0.52\"},{\"minValue\":0.522343903745793,\"maxValue\":1,\"label\":\"0.52 - 1\"}];\n\nfunction getFieldCode (value, breaks, letter) {\n  var code = \"Other\";\n  for (var i in breaks){\n    code = IIf (value >= breaks[i].minValue && IIf(classes == i+1, value <= breaks[i].maxValue, value < breaks[i].maxValue), i+1, code);\n  }\n  code = IIf (letter, Decode( code, 1, \"A\", 2, \"B\", 3, \"C\", 4, \"D\", \"Other\" ), code);\n  return code;\n}\n\nvar field1Code = getFieldCode(field1Val, field1Breaks, false);\nvar field2Code = getFieldCode(field2Val, field2Breaks, true);\nvar code = IIf(field1Code == \"Other\" || field2Code == \"Other\", \"Other\", field2Code + field1Code);\nreturn code;","valueExpressionTitle":"Custom","defaultSymbol":null,"uniqueValueInfos":[{"value":"C3","symbol":{"color":[6,107,45,255],"outline":{"color":[153,153,153,128],"width":0.75,"type":"esriSLS","style":"esriSLSSolid","marker":null},"type":"esriSFS","style":"esriSFSSolid"},"label":"High Cheese, High Never Married C3"},{"value":"C2","symbol":{"color":[96,143,148,255],"outline":{"color":[153,153,153,128],"width":0.75,"type":"esriSLS","style":"esriSLSSolid","marker":null},"type":"esriSFS","style":"esriSFSSolid"},"label":"High Cheese, Med Never Married C2"},{"value":"C1","symbol":{"color":[80,170,255,255],"outline":{"color":[153,153,153,128],"width":0.75,"type":"esriSLS","style":"esriSLSSolid","marker":null},"type":"esriSFS","style":"esriSFSSolid"},"label":"High Cheese, Low Never Married C1"},{"value":"B3","symbol":{"color":[79,133,44,255],"outline":{"color":[153,153,153,128],"width":0.75,"type":"esriSLS","style":"esriSLSSolid","marker":null},"type":"esriSFS","style":"esriSFSSolid"},"label":"Med Cheese, High Never Married B3"},{"value":"B2","symbol":{"color":[170,180,160,255],"outline":{"color":[153,153,153,128],"width":0.75,"type":"esriSLS","style":"esriSLSSolid","marker":null},"type":"esriSFS","style":"esriSFSSolid"},"label":"Med Cheese, Med Never Married B2"},{"value":"B1","symbol":{"color":[177,219,245,255],"outline":{"color":[153,153,153,128],"width":0.75,"type":"esriSLS","style":"esriSLSSolid","marker":null},"type":"esriSFS","style":"esriSFSSolid"},"label":"Med Cheese, Low Never Married B1"},{"value":"A3","symbol":{"color":[209,209,0,255],"outline":{"color":[153,153,153,128],"width":0.75,"type":"esriSLS","style":"esriSLSSolid","marker":null},"type":"esriSFS","style":"esriSFSSolid"},"label":"Low Cheese, High Never Married A3"},{"value":"A2","symbol":{"color":[232,235,117,255],"outline":{"color":[153,153,153,128],"width":0.75,"type":"esriSLS","style":"esriSLSSolid","marker":null},"type":"esriSFS","style":"esriSFSSolid"},"label":"Low Cheese, Med Never Married A2"},{"value":"A1","symbol":{"color":[177,219,245,255],"outline":{"color":[153,153,153,128],"width":0.75,"type":"esriSLS","style":"esriSLSSolid","marker":null},"type":"esriSFS","style":"esriSFSSolid"},"label":"Low Cheese, Low Never Married A1"}]},"transparency":20}, 
      "allowGeometryUpdates" : true, 
      "trueCurveSupportMode" : "OGC", 
      "supportedCurveTypes" : [
        "esriGeometryCircularArc"
      ], 
      "supportedTrueCurvePbfFeatureEncodings" : [
        "esriCompressedShapeBuffer", 
        "esriDefault"
      ], 
      "allowTrueCurvesUpdates" : true, 
      "onlyAllowTrueCurveUpdatesByTrueCurveClients" : false, 
      "hasAttachments" : false, 
      "htmlPopupType" : "esriServerHTMLPopupTypeNone", 
      "hasM" : false, 
      "hasZ" : false, 
      "objectIdField" : "OBJECTID", 
      "uniqueIdField" : 
      {
        "name" : "OBJECTID", 
        "isSystemMaintained" : true
      }, 
      "globalIdField" : "", 
      "typeIdField" : "", 
      "collation" : {
        "locale" : "neutral", 
        "caseSensitive" : false, 
        "accentSensitive" : true
      }, 
      "fields" : [
        {
          "name" : "OBJECTID", 
          "type" : "esriFieldTypeOID", 
          "actualType" : "int", 
          "alias" : "OBJECTID", 
          "sqlType" : "sqlTypeInteger", 
          "nullable" : false, 
          "editable" : false, 
          "domain" : null, 
          "defaultValue" : null
        }, 
        {
          "name" : "FIPS", 
          "type" : "esriFieldTypeString", 
          "actualType" : "nvarchar", 
          "alias" : "FIPS", 
          "sqlType" : "sqlTypeNVarchar", 
          "length" : 12, 
          "nullable" : true, 
          "editable" : true, 
          "domain" : null, 
          "defaultValue" : null
        }, 
        {
          "name" : "COUNTY", 
          "type" : "esriFieldTypeString", 
          "actualType" : "nvarchar", 
          "alias" : "COUNTY", 
          "sqlType" : "sqlTypeNVarchar", 
          "length" : 32, 
          "nullable" : true, 
          "editable" : true, 
          "domain" : null, 
          "defaultValue" : null
        }, 
        {
          "name" : "STATE", 
          "type" : "esriFieldTypeString", 
          "actualType" : "nvarchar", 
          "alias" : "STATE", 
          "sqlType" : "sqlTypeNVarchar", 
          "length" : 2, 
          "nullable" : true, 
          "editable" : true, 
          "domain" : null, 
          "defaultValue" : null
        }, 
        {
          "name" : "POPULATION", 
          "type" : "esriFieldTypeInteger", 
          "actualType" : "int", 
          "alias" : "POP2014", 
          "sqlType" : "sqlTypeInteger", 
          "nullable" : true, 
          "editable" : true, 
          "domain" : null, 
          "defaultValue" : null
        }, 
        {
          "name" : "SQMI", 
          "type" : "esriFieldTypeDouble", 
          "actualType" : "decimal", 
          "alias" : "SQMI", 
          "sqlType" : "sqlTypeDecimal", 
          "nullable" : true, 
          "editable" : true, 
          "domain" : null, 
          "defaultValue" : null
        }, 
        {
          "name" : "ID", 
          "type" : "esriFieldTypeString", 
          "actualType" : "nvarchar", 
          "alias" : "ID", 
          "sqlType" : "sqlTypeNVarchar", 
          "length" : 256, 
          "nullable" : true, 
          "editable" : true, 
          "domain" : null, 
          "defaultValue" : null
        }, 
        {
          "name" : "sourceCountry", 
          "type" : "esriFieldTypeString", 
          "actualType" : "nvarchar", 
          "alias" : "sourceCountry", 
          "sqlType" : "sqlTypeNVarchar", 
          "length" : 256, 
          "nullable" : true, 
          "editable" : true, 
          "domain" : null, 
          "defaultValue" : null
        }, 
        {
          "name" : "ENRICH_FID", 
          "type" : "esriFieldTypeInteger", 
          "actualType" : "int", 
          "alias" : "ENRICH_FID", 
          "sqlType" : "sqlTypeInteger", 
          "nullable" : true, 
          "editable" : true, 
          "domain" : null, 
          "defaultValue" : null
        }, 
        {
          "name" : "aggregationMethod", 
          "type" : "esriFieldTypeString", 
          "actualType" : "nvarchar", 
          "alias" : "aggregationMethod", 
          "sqlType" : "sqlTypeNVarchar", 
          "length" : 256, 
          "nullable" : true, 
          "editable" : true, 
          "domain" : null, 
          "defaultValue" : null
        }, 
        {
          "name" : "HasData", 
          "type" : "esriFieldTypeInteger", 
          "actualType" : "int", 
          "alias" : "HasData", 
          "sqlType" : "sqlTypeInteger", 
          "nullable" : true, 
          "editable" : true, 
          "domain" : null, 
          "defaultValue" : null
        }, 
        {
          "name" : "X1057_X", 
          "type" : "esriFieldTypeDouble", 
          "actualType" : "decimal", 
          "alias" : "Cheese", 
          "sqlType" : "sqlTypeDecimal", 
          "nullable" : true, 
          "editable" : true, 
          "domain" : null, 
          "defaultValue" : null
        }, 
        {
          "name" : "X1057_A", 
          "type" : "esriFieldTypeDouble", 
          "actualType" : "decimal", 
          "alias" : "Cheese:Avg", 
          "sqlType" : "sqlTypeDecimal", 
          "nullable" : true, 
          "editable" : true, 
          "domain" : null, 
          "defaultValue" : null
        }, 
        {
          "name" : "X1057_I", 
          "type" : "esriFieldTypeDouble", 
          "actualType" : "decimal", 
          "alias" : "Cheese:Ind", 
          "sqlType" : "sqlTypeDecimal", 
          "nullable" : true, 
          "editable" : true, 
          "domain" : null, 
          "defaultValue" : null
        }, 
        {
          "name" : "NEVMARR_CY", 
          "type" : "esriFieldTypeDouble", 
          "actualType" : "decimal", 
          "alias" : "2017 Pop Age 15+: Never Married", 
          "sqlType" : "sqlTypeDecimal", 
          "nullable" : true, 
          "editable" : true, 
          "domain" : null, 
          "defaultValue" : null
        }, 
        {
          "name" : "MARRIED_CY", 
          "type" : "esriFieldTypeDouble", 
          "actualType" : "decimal", 
          "alias" : "2017 Pop Age 15+: Married", 
          "sqlType" : "sqlTypeDecimal", 
          "nullable" : true, 
          "editable" : true, 
          "domain" : null, 
          "defaultValue" : null
        }, 
        {
          "name" : "WIDOWED_CY", 
          "type" : "esriFieldTypeDouble", 
          "actualType" : "decimal", 
          "alias" : "2017 Pop Age 15+: Widowed", 
          "sqlType" : "sqlTypeDecimal", 
          "nullable" : true, 
          "editable" : true, 
          "domain" : null, 
          "defaultValue" : null
        }, 
        {
          "name" : "DIVORCD_CY", 
          "type" : "esriFieldTypeDouble", 
          "actualType" : "decimal", 
          "alias" : "2017 Pop Age 15+: Divorced", 
          "sqlType" : "sqlTypeDecimal", 
          "nullable" : true, 
          "editable" : true, 
          "domain" : null, 
          "defaultValue" : null
        }, 
        {
          "name" : "MARBASE_CY", 
          "type" : "esriFieldTypeDouble", 
          "actualType" : "decimal", 
          "alias" : "2017 Marital Status Base", 
          "sqlType" : "sqlTypeDecimal", 
          "nullable" : true, 
          "editable" : true, 
          "domain" : null, 
          "defaultValue" : null
        }
      ], 
      "indexes" : [
        {
          "name" : "PK__SINGLE_P__F4B70D85ED9C56E3", 
          "fields" : "OBJECTID", 
          "isAscending" : true, 
          "isUnique" : true, 
          "description" : "clustered, unique, primary key", 
          "indexType" : "Attribute"
        }, 
        {
          "name" : "USER_875.SINGLE_PEOPLE_AND_CHEESE_SINGLE_PEOPLE_AND_CHEESE_Shape_sidx", 
          "fields" : "Shape", 
          "isAscending" : false, 
          "isUnique" : false, 
          "description" : "Shape Index", 
          "indexType" : "Spatial"
        }, 
        {
          "name" : "NEVMARR_CY_Index", 
          "fields" : "NEVMARR_CY", 
          "isAscending" : true, 
          "isUnique" : false, 
          "description" : "NEVMARR_CY_Index", 
          "indexType" : "Attribute"
        }, 
        {
          "name" : "MARBASE_CY_Index", 
          "fields" : "MARBASE_CY", 
          "isAscending" : true, 
          "isUnique" : false, 
          "description" : "MARBASE_CY_Index", 
          "indexType" : "Attribute"
        }, 
        {
          "name" : "X1057_I_Index", 
          "fields" : "X1057_I", 
          "isAscending" : true, 
          "isUnique" : false, 
          "description" : "X1057_I_Index", 
          "indexType" : "Attribute"
        }
      ], 
      "dateFieldsTimeReference" : {
        "timeZone" : "UTC", 
        "timeZoneIANA" : "Etc/UTC", 
        "respectsDaylightSaving" : false
      }, 
      "preferredTimeReference" : null, 
      "types" : [], 
      "templates" : [
        {
          "name" : "New Feature", 
          "description" : "", 
          "drawingTool" : "esriFeatureEditToolPolygon", 
          "prototype" : {
            "attributes" : {
              "FIPS" : null, 
              "COUNTY" : null, 
              "STATE" : null, 
              "POPULATION" : null, 
              "SQMI" : null, 
              "ID" : null, 
              "sourceCountry" : null, 
              "ENRICH_FID" : null, 
              "aggregationMethod" : null, 
              "HasData" : null, 
              "X1057_X" : null, 
              "X1057_A" : null, 
              "X1057_I" : null, 
              "NEVMARR_CY" : null, 
              "MARRIED_CY" : null, 
              "WIDOWED_CY" : null, 
              "DIVORCD_CY" : null, 
              "MARBASE_CY" : null
            }
          }
        }
      ], 
      "supportedQueryFormats" : "JSON, geoJSON, PBF", 
      "supportedAppendFormats" : "sqlite,geoPackage,shapefile,filegdb,featureCollection,geojson,csv,excel,jsonl,featureService,pbf", 
      "supportedAppendSourceFilterFormats" : "sqlite,geoPackage,shapefile,filegdb,featureService", 
      "supportedExportFormats" : "csv,shapefile,sqlite,geoPackage,filegdb,featureCollection,geojson,kml,excel,parquet", 
      "supportedConvertFileFormats" : "JSON,PBF,Parquet", 
      "supportedConvertContentFormats" : "LayerEditCollection,FeatureCollection", 
      "supportedSpatialRelationships" : [
        "esriSpatialRelIntersects", 
        "esriSpatialRelContains", 
        "esriSpatialRelCrosses", 
        "esriSpatialRelEnvelopeIntersects", 
        "esriSpatialRelIndexIntersects", 
        "esriSpatialRelOverlaps", 
        "esriSpatialRelTouches", 
        "esriSpatialRelWithin", 
        "esriSpatialRelDisjoint", 
        "esriSpatialRelRelation"
      ], 
      "guidFormat" : "", 
      "supportsContingentValues" : true, 
      "supportsEditingContingentValues" : true, 
      "supportedContingentValuesFormats" : "JSON, PBF", 
      "supportsFieldGroups" : true, 
      "supportedSyncDataOptions" : 260, 
      "hasStaticData" : true, 
      "maxRecordCount" : 2000, 
      "standardMaxRecordCount" : 2000, 
      "maxIdsCount" : 1000000, 
      "standardMaxRecordCountNoGeometry" : 32000, 
      "tileMaxRecordCount" : 4000, 
      "maxRecordCountFactor" : 1, 
      "capabilities" : "Query"
    }
  ], 
  "tables" : []
}