{
  "layers" : [
    {
      "currentVersion" : 12, 
      "id" : 0, 
      "name" : "USA Zip Code Boundaries", 
      "type" : "Feature Layer", 
      "displayField" : "PO_NAME", 
      "description" : "This layer presents five-digit ZIP Code areas used by the U.S. Postal Service to deliver mail more effectively. The first digit of a five-digit ZIP Code divides the United States into 10 large groups of states numbered from 0 in the Northeast to 9 in the far West. Within these areas, each state is divided into an average of 10 smaller geographical areas, identified by the second and third digits. These digits, in conjunction with the first digit, represent a sectional center facility or a mail processing facility area. The fourth and fifth digits identify a post office, station, branch or local delivery area. It provides area, post office name, and population for each ZIP Code area in the United States.", 
      "copyrightText" : "source: Esri, TomTom", 
      "defaultVisibility" : true, 
      "relationships" : [], 
      "isDataVersioned" : false, 
      "supportsAppend" : false, 
      "supportsCalculate" : false, 
      "supportsASyncCalculate" : false, 
      "supportsTruncate" : false, 
      "supportsAttachmentsByUploadId" : false, 
      "supportsAttachmentsResizing" : false, 
      "supportsRollbackOnFailureParameter" : false, 
      "supportsStatistics" : false, 
      "supportsExceedsLimitStatistics" : false, 
      "supportsAdvancedQueries" : false, 
      "supportsValidateSql" : false, 
      "supportsCoordinatesQuantization" : false, 
      "supportsLayerOverrides" : false, 
      "supportsTilesAndBasicQueriesMode" : false, 
      "supportsColumnStoreIndex" : true, 
      "supportsApplyEditsWithGlobalIds" : false, 
      "supportsMultiScaleGeometry" : true, 
      "supportsReturningQueryGeometry" : false, 
      "enableNullGeometry" : false, 
      "hasGeometryProperties" : true, 
      "geometryProperties" : 
      {
        "shapeAreaFieldName" : "Shape__Area", 
        "shapeLengthFieldName" : "Shape__Length"
      }, 
      "useStandardizedQueries" : true, 
      "geometryType" : "esriGeometryPolygon", 
      "minScale" : 0, 
      "maxScale" : 0, 
      "extent" : {
        "xmin" : -19942590.665807381, 
        "ymin" : 1486500.9444157309, 
        "xmax" : 20012847.179425254, 
        "ymax" : 11537127.311200451, 
        "spatialReference" : {
          "wkid" : 102100, 
          "latestWkid" : 3857
        }
      }, 
      "drawingInfo":{"renderer":{"visualVariables":[{"type":"transparencyInfo","valueExpression":"$feature[\"Baseball\"];\n$feature[\"Basketball\"];\n$feature[\"Football\"];\n$feature[\"Golf\"];\n$feature[\"Hockey\"];\nvar fieldNames = [ \"Baseball\", \"Basketball\", \"Football\", \"Golf\", \"Hockey\" ];\nvar numFields = 5;\nvar maxValueField = null;\nvar maxValue = -Infinity;\nvar value, i, totalValue = null;\nfor(i = 0; i < numFields; i++) {\nvalue = $feature[fieldNames[i]];\nif(value > 0) {\nif(value > maxValue) {\nmaxValue = value;\nmaxValueField = fieldNames[i];\n}\nelse if (value == maxValue) {\nmaxValueField = null;\n}\n}\nif(value != null && value >= 0) {\nif (totalValue == null) { totalValue = 0; }\ntotalValue = totalValue + value;\n}\n}\nvar strength = null;\nif (maxValueField != null && totalValue > 0) {\nstrength = (maxValue / totalValue) * 100;\n}\nreturn strength;","stops":[{"value":20,"transparency":85},{"value":100,"transparency":0}],"legendOptions":{"title":"Strength of predominance"}}],"authoringInfo":{"type":"predominance","fields":["Baseball","Basketball","Football","Golf","Hockey"],"visualVariables":[{"type":"transparencyInfo","minSliderValue":0,"maxSliderValue":100}]},"type":"uniqueValue","valueExpression":"$feature[\"Baseball\"];\n$feature[\"Basketball\"];\n$feature[\"Football\"];\n$feature[\"Golf\"];\n$feature[\"Hockey\"];\nvar fieldNames = [ \"Baseball\", \"Basketball\", \"Football\", \"Golf\", \"Hockey\" ];\nvar numFields = 5;\nvar maxValueField = null;\nvar maxValue = -Infinity;\nvar value, i, totalValue = null;\nfor(i = 0; i < numFields; i++) {\nvalue = $feature[fieldNames[i]];\nif(value > 0) {\nif(value > maxValue) {\nmaxValue = value;\nmaxValueField = fieldNames[i];\n}\nelse if (value == maxValue) {\nmaxValueField = null;\n}\n}\n}\nreturn maxValueField;","valueExpressionTitle":"Predominant category","uniqueValueInfos":[{"value":"Baseball","label":"Baseball","symbol":{"color":[160,53,0,255],"outline":{"color":[153,153,153,255],"width":0.75,"type":"esriSLS","style":"esriSLSSolid","marker":null},"type":"esriSFS","style":"esriSFSSolid"}},{"value":"Basketball","label":"Basketball","symbol":{"color":[50,100,200,255],"outline":{"color":[153,153,153,255],"width":0.75,"type":"esriSLS","style":"esriSLSSolid","marker":null},"type":"esriSFS","style":"esriSFSSolid"}},{"value":"Football","label":"Football","symbol":{"color":[114,179,142,255],"outline":{"color":[153,153,153,255],"width":0.75,"type":"esriSLS","style":"esriSLSSolid","marker":null},"type":"esriSFS","style":"esriSFSSolid"}},{"value":"Golf","label":"Golf","symbol":{"color":[217,180,0,255],"outline":{"color":[153,153,153,255],"width":0.75,"type":"esriSLS","style":"esriSLSSolid","marker":null},"type":"esriSFS","style":"esriSFSSolid"}},{"value":"Hockey","label":"Hockey","symbol":{"color":[152,107,161,255],"outline":{"color":[153,153,153,255],"width":0.75,"type":"esriSLS","style":"esriSLSSolid","marker":null},"type":"esriSFS","style":"esriSFSSolid"}}]},"transparency":0}, 
      "allowGeometryUpdates" : false, 
      "trueCurveSupportMode" : "OGC", 
      "supportedCurveTypes" : [
        "esriGeometryCircularArc"
      ], 
      "supportedTrueCurvePbfFeatureEncodings" : [
        "esriCompressedShapeBuffer", 
        "esriDefault"
      ], 
      "allowTrueCurvesUpdates" : false, 
      "onlyAllowTrueCurveUpdatesByTrueCurveClients" : true, 
      "hasAttachments" : false, 
      "htmlPopupType" : "esriServerHTMLPopupTypeAsHTMLText", 
      "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", 
          "alias" : "OBJECTID", 
          "sqlType" : "sqlTypeOther", 
          "nullable" : false, 
          "editable" : false, 
          "domain" : null, 
          "defaultValue" : null
        }, 
        {
          "name" : "ZIP_CODE", 
          "type" : "esriFieldTypeString", 
          "alias" : "ZIP_CODE", 
          "sqlType" : "sqlTypeOther", 
          "length" : 10, 
          "nullable" : true, 
          "editable" : true, 
          "domain" : null, 
          "defaultValue" : null
        }, 
        {
          "name" : "PO_NAME", 
          "type" : "esriFieldTypeString", 
          "alias" : "PO_NAME", 
          "sqlType" : "sqlTypeOther", 
          "length" : 100, 
          "nullable" : true, 
          "editable" : true, 
          "domain" : null, 
          "defaultValue" : null
        }, 
        {
          "name" : "STATE", 
          "type" : "esriFieldTypeString", 
          "alias" : "STATE", 
          "sqlType" : "sqlTypeOther", 
          "length" : 2, 
          "nullable" : true, 
          "editable" : true, 
          "domain" : null, 
          "defaultValue" : null
        }, 
        {
          "name" : "POPULATION", 
          "type" : "esriFieldTypeInteger", 
          "alias" : "POP2015", 
          "sqlType" : "sqlTypeOther", 
          "nullable" : true, 
          "editable" : true, 
          "domain" : null, 
          "defaultValue" : null
        }, 
        {
          "name" : "POP_SQMI", 
          "type" : "esriFieldTypeDouble", 
          "alias" : "POP15_SQMI", 
          "sqlType" : "sqlTypeOther", 
          "nullable" : true, 
          "editable" : true, 
          "domain" : null, 
          "defaultValue" : null
        }, 
        {
          "name" : "SQMI", 
          "type" : "esriFieldTypeDouble", 
          "alias" : "SQMI", 
          "sqlType" : "sqlTypeOther", 
          "nullable" : true, 
          "editable" : true, 
          "domain" : null, 
          "defaultValue" : null
        }, 
        {
          "name" : "Basketball", 
          "type" : "esriFieldTypeInteger", 
          "alias" : "Basketball", 
          "sqlType" : "sqlTypeOther", 
          "nullable" : true, 
          "editable" : true, 
          "domain" : null, 
          "defaultValue" : null
        }, 
        {
          "name" : "Football", 
          "type" : "esriFieldTypeInteger", 
          "alias" : "Football", 
          "sqlType" : "sqlTypeOther", 
          "nullable" : true, 
          "editable" : true, 
          "domain" : null, 
          "defaultValue" : null
        }, 
        {
          "name" : "Baseball", 
          "type" : "esriFieldTypeInteger", 
          "alias" : "Baseball", 
          "sqlType" : "sqlTypeOther", 
          "nullable" : true, 
          "editable" : true, 
          "domain" : null, 
          "defaultValue" : null
        }, 
        {
          "name" : "Soccer", 
          "type" : "esriFieldTypeInteger", 
          "alias" : "Soccer", 
          "sqlType" : "sqlTypeOther", 
          "nullable" : true, 
          "editable" : true, 
          "domain" : null, 
          "defaultValue" : null
        }, 
        {
          "name" : "Hockey", 
          "type" : "esriFieldTypeInteger", 
          "alias" : "Hockey", 
          "sqlType" : "sqlTypeOther", 
          "nullable" : true, 
          "editable" : true, 
          "domain" : null, 
          "defaultValue" : null
        }, 
        {
          "name" : "Golf", 
          "type" : "esriFieldTypeInteger", 
          "alias" : "Golf", 
          "sqlType" : "sqlTypeOther", 
          "nullable" : true, 
          "editable" : true, 
          "domain" : null, 
          "defaultValue" : null
        }, 
        {
          "name" : "Shape__Area", 
          "type" : "esriFieldTypeDouble", 
          "alias" : "Shape__Area", 
          "sqlType" : "sqlTypeDouble", 
          "nullable" : true, 
          "editable" : false, 
          "domain" : null, 
          "defaultValue" : null
        }, 
        {
          "name" : "Shape__Length", 
          "type" : "esriFieldTypeDouble", 
          "alias" : "Shape__Length", 
          "sqlType" : "sqlTypeDouble", 
          "nullable" : true, 
          "editable" : false, 
          "domain" : null, 
          "defaultValue" : null
        }
      ], 
      "indexes" : [
        {
          "name" : "FDO_OBJECTID", 
          "fields" : "OBJECTID", 
          "isAscending" : true, 
          "isUnique" : true, 
          "description" : "", 
          "indexType" : "Attribute"
        }, 
        {
          "name" : "FDO_Shape", 
          "fields" : "Shape", 
          "isAscending" : true, 
          "isUnique" : false, 
          "description" : "", 
          "indexType" : "Spatial"
        }, 
        {
          "name" : "I3ZIP_CODE", 
          "fields" : "ZIP_CODE", 
          "isAscending" : true, 
          "isUnique" : false, 
          "description" : "", 
          "indexType" : "Attribute"
        }, 
        {
          "name" : "Shape__Area_Index", 
          "fields" : "Shape__Area", 
          "isAscending" : true, 
          "isUnique" : false, 
          "description" : "", 
          "indexType" : "Attribute"
        }, 
        {
          "name" : "Shape__Length_Index", 
          "fields" : "Shape__Length", 
          "isAscending" : true, 
          "isUnique" : false, 
          "description" : "", 
          "indexType" : "Attribute"
        }
      ], 
      "dateFieldsTimeReference" : {
        "timeZone" : "UTC", 
        "timeZoneIANA" : "Etc/UTC", 
        "respectsDaylightSaving" : false
      }, 
      "preferredTimeReference" : null, 
      "types" : [], 
      "templates" : [
        {
          "name" : "New Feature", 
          "description" : "", 
          "drawingTool" : "esriFeatureEditToolNone", 
          "prototype" : {
            "attributes" : {
              "ZIP_CODE" : null, 
              "PO_NAME" : null, 
              "STATE" : null, 
              "POPULATION" : null, 
              "POP_SQMI" : null, 
              "SQMI" : null, 
              "Basketball" : null, 
              "Football" : null, 
              "Baseball" : null, 
              "Soccer" : null, 
              "Hockey" : null, 
              "Golf" : null
            }
          }
        }
      ], 
      "supportedQueryFormats" : "", 
      "supportedExportFormats" : "", 
      "supportedConvertFileFormats" : "", 
      "supportedConvertContentFormats" : "", 
      "supportedSpatialRelationships" : [
        "esriSpatialRelIntersects", 
        "esriSpatialRelContains", 
        "esriSpatialRelCrosses", 
        "esriSpatialRelEnvelopeIntersects", 
        "esriSpatialRelIndexIntersects", 
        "esriSpatialRelOverlaps", 
        "esriSpatialRelTouches", 
        "esriSpatialRelWithin", 
        "esriSpatialRelDisjoint", 
        "esriSpatialRelRelation"
      ], 
      "guidFormat" : "", 
      "capabilities" : "Map"
    }
  ], 
  "tables" : []
}