{
 "tables": [
  {
   "extent": {
    "ymin": 4022358.6184583767,
    "xmin": -9587791.894737381,
    "ymax": 4038057.369082943,
    "xmax": -9559572.403821286,
    "spatialReference": {"wkid": 102100}
   },
   "supportsApplyEditsWithGlobalIds": true,
   "maxRecordCount": 1000,
   "type": "Table",
   "hasStaticData": false,
   "supportsAttachmentsByUploadId": true,
   "syncEnabled": false,
   "editingInfo": {},
   "relationships": [
    {
     "keyField": "jurisdictionname",
     "role": "esriRelRoleDestination",
     "composite": false,
     "name": "VotingJurisdictions",
     "relatedTableId": 0,
     "id": 0,
     "cardinality": "esriRelCardinalityOneToMany"
    }
   ],
   "supportsAttachmentsResizing": true,
   "id": 1,
   "supportsStatistics": true,
   "supportedExportFormats": "sqlite,filegdb,shapefile,csv,geojson",
   "standardMaxRecordCount": 16000,
   "isDataVersioned": false,
   "templates": [
    {
     "name": "Election Results",
     "description": "",
     "drawingTool": "esriFeatureEditToolNone",
     "prototype": {
      "attributes": {
       "candidate": null,
       "contest": null,
       "jurisdictionname": null,
       "percvote": null,
       "category": null,
       "numvotes": null,
       "party": null
      }
     }
    }
   ],
   "supportsAdvancedQueries": true,
   "currentVersion": 11.4,
   "advancedEditingCapabilities": {
    "supportsAsyncApplyEdits": true,
    "supportsApplyEditsbyUploadID": true,
    "supportsReturnEditResults": true,
    "supportedSqlFormatsInCalculate": [
     "standard"
    ],
    "supportedApplyEditsUploadIDFormats": "JSON,PBF"
   },
   "objectIdField": "objectid",
   "supportsQuantizationEditMode": true,
   "viewSourceHasAttachments": false,
   "name": "Election Results",
   "displayField": "jurisdictionname",
   "supportsCalculate": true,
   "fields": [
    {
     "nullable": false,
     "editable": false,
     "defaultValue": null,
     "length": 4,
     "type": "esriFieldTypeOID",
     "domain": null,
     "name": "objectid",
     "alias": "OBJECTID"
    },
    {
     "nullable": true,
     "editable": true,
     "defaultValue": null,
     "domain": null,
     "name": "contest",
     "length": 255,
     "alias": "Contest",
     "type": "esriFieldTypeString"
    },
    {
     "nullable": true,
     "editable": true,
     "defaultValue": null,
     "domain": {
      "name": "ElectionResults_b393418e07fd438794f398a8bc796973_category_Domain",
      "type": "codedValue",
      "codedValues": [
       {
        "code": "Elected Office",
        "name": "Elected Office"
       },
       {
        "code": "Proposition",
        "name": "Proposition"
       }
      ]
     },
     "name": "category",
     "length": 255,
     "alias": "Contest Category",
     "type": "esriFieldTypeString"
    },
    {
     "nullable": true,
     "editable": true,
     "defaultValue": null,
     "domain": null,
     "name": "jurisdictionname",
     "length": 255,
     "alias": "Jurisdiction Name",
     "type": "esriFieldTypeString"
    },
    {
     "nullable": true,
     "editable": true,
     "defaultValue": null,
     "domain": null,
     "name": "candidate",
     "length": 255,
     "alias": "Candidate",
     "type": "esriFieldTypeString"
    },
    {
     "nullable": true,
     "editable": true,
     "defaultValue": null,
     "length": 50,
     "description": "{\"fieldValueType\":\"nameOrTitle\",\"value\":\"\"}",
     "type": "esriFieldTypeString",
     "domain": {
      "name": "ElectionResults_b393418e07fd438794f398a8bc796973_party_Domain",
      "type": "codedValue",
      "codedValues": [
       {
        "code": "1",
        "name": "Candidate 1"
       },
       {
        "code": "2",
        "name": "Candidate 2"
       },
       {
        "code": "3",
        "name": "Candidate 3"
       },
       {
        "code": "4",
        "name": "Candidate 4"
       },
       {
        "code": "5",
        "name": "Candidate 5"
       },
       {
        "code": "6",
        "name": "Candidate 6"
       },
       {
        "code": "7",
        "name": "Candidate 7"
       }
      ]
     },
     "name": "party",
     "alias": "Party"
    },
    {
     "nullable": true,
     "editable": true,
     "defaultValue": null,
     "domain": null,
     "name": "numvotes",
     "alias": "Number of Votes",
     "type": "esriFieldTypeInteger"
    },
    {
     "nullable": true,
     "editable": true,
     "defaultValue": null,
     "domain": null,
     "name": "percvote",
     "alias": "Percent Vote",
     "type": "esriFieldTypeDouble"
    },
    {
     "nullable": false,
     "editable": false,
     "defaultValue": "NEWID() WITH VALUES",
     "length": 38,
     "type": "esriFieldTypeGlobalID",
     "domain": null,
     "name": "globalid",
     "alias": "GlobalID"
    },
    {
     "nullable": true,
     "editable": false,
     "defaultValue": null,
     "domain": null,
     "precision": 1,
     "name": "created_date",
     "length": 29,
     "alias": "CreationDate",
     "type": "esriFieldTypeDate"
    },
    {
     "nullable": true,
     "editable": false,
     "defaultValue": null,
     "domain": null,
     "name": "created_user",
     "length": 128,
     "alias": "Creator",
     "type": "esriFieldTypeString"
    },
    {
     "nullable": true,
     "editable": false,
     "defaultValue": null,
     "domain": null,
     "precision": 1,
     "name": "last_edited_date",
     "length": 29,
     "alias": "EditDate",
     "type": "esriFieldTypeDate"
    },
    {
     "nullable": true,
     "editable": false,
     "defaultValue": null,
     "domain": null,
     "name": "last_edited_user",
     "length": 128,
     "alias": "Editor",
     "type": "esriFieldTypeString"
    }
   ],
   "maxRecordCountFactor": 1,
   "dateFieldsTimeReference": {
    "timeZoneIANA": "Etc/UTC",
    "respectsDaylightSaving": false,
    "timeZone": "UTC"
   },
   "supportsFieldDescriptionProperty": true,
   "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,
   "isDataReplicaTracked": false,
   "supportsTruncate": false,
   "indexes": [
    {
     "name": "r1283_sde_rowid_uk",
     "isUnique": true,
     "description": "",
     "fields": "objectid",
     "isAscending": true
    },
    {
     "name": "uuid_1283",
     "isUnique": true,
     "description": "",
     "fields": "globalid",
     "isAscending": true
    }
   ],
   "supportedAppendSourceFilterFormats": "featureService",
   "editFieldsInfo": {
    "editDateField": "last_edited_date",
    "editorField": "last_edited_user",
    "creationDateField": "created_date",
    "creatorField": "created_user"
   },
   "htmlPopupType": "esriServerHTMLPopupTypeNone",
   "exceedsLimitFactor": 1,
   "GUIDFormat": "O",
   "hasAttachments": false,
   "queryBinsCapabilities": {
    "supportedStatisticTypes": [
     "count",
     "sum",
     "min",
     "max",
     "avg",
     "stddev",
     "var",
     "percentile_cont",
     "percentile_disc"
    ],
    "supportsFixedIntervalBin": true,
    "supportsAutoIntervalBin": true,
    "supportsFixedBoundariesBin": true,
    "supportsDateBin": true
   },
   "advancedQueryCapabilities": {
    "supportsSqlExpression": true,
    "supportsQueryWithResultType": true,
    "supportsQueryRelatedPagination": true,
    "supportsQueryWithCacheHint": false,
    "supportsQueryWithDatumTransformation": true,
    "supportsCurrentUserQueries": true,
    "supportsQueryAttachmentsWithReturnUrl": true,
    "supportsDefaultSR": true,
    "supportsQueryDateBins": false,
    "supportsQueryWithLodSR": false,
    "supportsPaginationOnAggregatedQueries": true,
    "supportsMaxRecordCountFactor": true,
    "supportsPagination": true,
    "supportsStatistics": true,
    "supportsOrderBy": true,
    "supportsFullTextSearch": true,
    "supportsLod": false,
    "supportsSpatialAggregationStatistics": false,
    "supportsAdvancedQueryRelated": true,
    "supportsQueryAttachments": true,
    "supportsQueryAttachmentsCountOnly": true,
    "supportsReturningQueryExtent": true,
    "supportsOrderByOnlyOnLayerFields": false,
    "supportsOutFieldSqlExpression": true,
    "supportsTopFeaturesQuery": true,
    "supportsDistinct": true,
    "supportsQueryAnalytic": true,
    "supportsPercentileStatistics": true,
    "supportsHavingClause": true
   },
   "supportsValidateSql": true,
   "serviceItemId": "5d329d14257f41438d8bd9dd56b278c7",
   "supportsValidateSQL": true,
   "supportsCoordinatesQuantization": true,
   "types": [],
   "capabilities": "Query",
   "supportsAppend": true,
   "supportsExceedsLimitStatistics": true,
   "sourceSchemaChangesAllowed": true,
   "defaultVisibility": true,
   "advancedQueryAnalyticCapabilities": {
    "supportsAsync": true,
    "supportsLinearRegression": true,
    "supportsPercentileAnalytic": false
   },
   "hasMetadata": false,
   "supportedAppendFormats": "csv,excel,featureCollection,featureService,geojson,jsonl,pbf,shapefile",
   "uniqueIdField": {
    "isSystemMaintained": true,
    "name": "objectid"
   },
   "tileMaxRecordCount": 4000,
   "typeIdField": "",
   "supportsASyncCalculate": true,
   "supportedQueryFormats": "JSON, geoJSON, PBF",
   "sqlParserVersion": "PG_11.4.0",
   "copyrightText": "Esri",
   "supportsLayerOverrides": true
  }
 ],
 "layers": [
  {
   "extent": {
    "ymin": 4022358.6184583767,
    "xmin": -9587791.894737381,
    "ymax": 4038057.369082943,
    "xmax": -9559572.403821286,
    "spatialReference": {"wkid": 102100}
   },
   "supportsApplyEditsWithGlobalIds": true,
   "maxRecordCount": 1000,
   "type": "Feature Layer",
   "hasStaticData": false,
   "supportsAttachmentsByUploadId": true,
   "syncEnabled": false,
   "editingInfo": {},
   "relationships": [
    {
     "keyField": "jurisdictionname",
     "role": "esriRelRoleOrigin",
     "composite": false,
     "name": "ElectionResults",
     "relatedTableId": 1,
     "id": 0,
     "cardinality": "esriRelCardinalityOneToMany"
    }
   ],
   "supportsAttachmentsResizing": true,
   "id": 0,
   "supportsStatistics": true,
   "supportedExportFormats": "sqlite,filegdb,shapefile,csv,geojson",
   "standardMaxRecordCount": 2000,
   "isDataVersioned": false,
   "templates": [
    {
     "name": "Voting Jurisdictions",
     "description": "",
     "drawingTool": "esriFeatureEditToolPolygon",
     "prototype": {
      "attributes": {
       "ballotsnotcast": null,
       "jurisdictionname": null,
       "jurisdictiontype": null,
       "ballotscast": null,
       "regvoters": null
      }
     }
    }
   ],
   "hasGeometryProperties": true,
   "supportsAdvancedQueries": true,
   "currentVersion": 11.4,
   "hasZ": true,
   "advancedEditingCapabilities": {
    "supportsAsyncApplyEdits": true,
    "supportsApplyEditsbyUploadID": true,
    "supportsReturnEditResults": true,
    "supportedSqlFormatsInCalculate": [
     "standard"
    ],
    "supportedApplyEditsUploadIDFormats": "JSON,PBF"
   },
   "objectIdField": "objectid",
   "supportsQuantizationEditMode": true,
   "viewSourceHasAttachments": false,
   "name": "Voting Jurisdictions",
   "displayField": "jurisdictionname",
   "supportsCalculate": true,
   "fields": [
    {
     "nullable": false,
     "editable": false,
     "defaultValue": null,
     "length": 4,
     "type": "esriFieldTypeOID",
     "domain": null,
     "name": "objectid",
     "alias": "OBJECTID"
    },
    {
     "nullable": true,
     "editable": true,
     "defaultValue": null,
     "domain": null,
     "name": "jurisdictionname",
     "length": 255,
     "alias": "Jurisdiction Name",
     "type": "esriFieldTypeString"
    },
    {
     "nullable": true,
     "editable": true,
     "defaultValue": null,
     "domain": {
      "name": "ElectionResults_b393418e07fd438794f398a8bc796973_jurisdictiontype_Domain",
      "type": "codedValue",
      "codedValues": [
       {
        "code": "County",
        "name": "County"
       },
       {
        "code": "Municipality",
        "name": "Municipality"
       },
       {
        "code": "Precinct",
        "name": "Precinct"
       }
      ]
     },
     "name": "jurisdictiontype",
     "length": 255,
     "alias": "Jurisdiction Type",
     "type": "esriFieldTypeString"
    },
    {
     "nullable": true,
     "editable": true,
     "defaultValue": null,
     "domain": null,
     "name": "regvoters",
     "alias": "Registered Voters",
     "type": "esriFieldTypeInteger"
    },
    {
     "nullable": true,
     "editable": true,
     "defaultValue": null,
     "domain": null,
     "name": "ballotscast",
     "alias": "Ballots Cast",
     "type": "esriFieldTypeInteger"
    },
    {
     "nullable": true,
     "editable": true,
     "defaultValue": null,
     "domain": null,
     "name": "ballotsnotcast",
     "alias": "Ballots Not Cast",
     "type": "esriFieldTypeInteger"
    },
    {
     "nullable": false,
     "editable": false,
     "defaultValue": "NEWID() WITH VALUES",
     "length": 38,
     "type": "esriFieldTypeGlobalID",
     "domain": null,
     "name": "globalid",
     "alias": "GlobalID"
    },
    {
     "nullable": true,
     "editable": false,
     "defaultValue": null,
     "domain": null,
     "precision": 1,
     "name": "created_date",
     "length": 29,
     "alias": "CreationDate",
     "type": "esriFieldTypeDate"
    },
    {
     "nullable": true,
     "editable": false,
     "defaultValue": null,
     "domain": null,
     "name": "created_user",
     "length": 128,
     "alias": "Creator",
     "type": "esriFieldTypeString"
    },
    {
     "nullable": true,
     "editable": false,
     "defaultValue": null,
     "domain": null,
     "precision": 1,
     "name": "last_edited_date",
     "length": 29,
     "alias": "EditDate",
     "type": "esriFieldTypeDate"
    },
    {
     "nullable": true,
     "editable": false,
     "defaultValue": null,
     "domain": null,
     "name": "last_edited_user",
     "length": 128,
     "alias": "Editor",
     "type": "esriFieldTypeString"
    },
    {
     "virtual": true,
     "nullable": true,
     "editable": false,
     "defaultValue": null,
     "domain": null,
     "name": "SHAPE__Length",
     "alias": "SHAPE__Length",
     "type": "esriFieldTypeDouble"
    },
    {
     "virtual": true,
     "nullable": true,
     "editable": false,
     "defaultValue": null,
     "domain": null,
     "name": "SHAPE__Area",
     "alias": "SHAPE__Area",
     "type": "esriFieldTypeDouble"
    }
   ],
   "maxRecordCountFactor": 1,
   "dateFieldsTimeReference": {
    "timeZoneIANA": "Etc/UTC",
    "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"
   ],
   "geometryProperties": {
    "shapeAreaFieldName": "SHAPE__Area",
    "shapeLengthFieldName": "SHAPE__Length",
    "units": "esriMeters"
   },
   "supportsRollbackOnFailureParameter": true,
   "standardMaxRecordCountNoGeometry": 16000,
   "isDataReplicaTracked": false,
   "supportsTruncate": false,
   "indexes": [
    {
     "name": "r1282_sde_rowid_uk",
     "isUnique": true,
     "description": "",
     "fields": "objectid",
     "isAscending": true
    },
    {
     "name": "uuid_1282",
     "isUnique": true,
     "description": "",
     "fields": "globalid",
     "isAscending": true
    },
    {
     "name": "a814_ix1",
     "isUnique": false,
     "description": "",
     "fields": "shape",
     "isAscending": true
    }
   ],
   "supportedAppendSourceFilterFormats": "featureService",
   "editFieldsInfo": {
    "editDateField": "last_edited_date",
    "editorField": "last_edited_user",
    "creationDateField": "created_date",
    "creatorField": "created_user"
   },
   "htmlPopupType": "esriServerHTMLPopupTypeAsHTMLText",
   "exceedsLimitFactor": 1,
   "GUIDFormat": "O",
   "minScale": 0,
   "hasAttachments": false,
   "queryBinsCapabilities": {
    "supportedStatisticTypes": [
     "count",
     "sum",
     "min",
     "max",
     "avg",
     "stddev",
     "var",
     "percentile_cont",
     "percentile_disc"
    ],
    "supportsFixedIntervalBin": true,
    "supportsAutoIntervalBin": true,
    "supportsFixedBoundariesBin": true,
    "supportsDateBin": true
   },
   "advancedQueryCapabilities": {
    "supportsSqlExpression": true,
    "supportsQueryWithResultType": true,
    "supportsQueryRelatedPagination": true,
    "supportsQueryWithCacheHint": false,
    "supportsQueryWithDatumTransformation": true,
    "supportsCurrentUserQueries": true,
    "supportsQueryAttachmentsWithReturnUrl": true,
    "supportsDefaultSR": true,
    "supportsQueryDateBins": false,
    "supportsQueryWithLodSR": true,
    "supportsPaginationOnAggregatedQueries": true,
    "supportsPagination": true,
    "supportsMaxRecordCountFactor": true,
    "supportsStatistics": true,
    "supportsOrderBy": true,
    "supportsReturningGeometryProperties": true,
    "supportsFullTextSearch": true,
    "supportsQueryWithDistance": true,
    "supportsLod": true,
    "supportsSpatialAggregationStatistics": false,
    "supportsCountDistinct": true,
    "supportsAdvancedQueryRelated": true,
    "supportsQueryAttachments": true,
    "supportsReturningQueryExtent": true,
    "supportsQueryAttachmentsCountOnly": true,
    "supportsOrderByOnlyOnLayerFields": false,
    "supportsOutFieldSqlExpression": true,
    "supportsTopFeaturesQuery": true,
    "supportsReturningGeometryEnvelope": true,
    "supportsDistinct": true,
    "supportsReturningGeometryCentroid": true,
    "supportsQueryAnalytic": true,
    "supportsPercentileStatistics": true,
    "supportsHavingClause": true
   },
   "supportsValidateSql": true,
   "enableZDefaults": false,
   "serviceItemId": "5d329d14257f41438d8bd9dd56b278c7",
   "supportsValidateSQL": true,
   "allowUpdateWithoutMValues": true,
   "supportsCoordinatesQuantization": true,
   "types": [],
   "capabilities": "Query",
   "maxScale": 4513,
   "supportsAppend": true,
   "supportsExceedsLimitStatistics": true,
   "sourceSchemaChangesAllowed": true,
   "defaultVisibility": true,
   "advancedQueryAnalyticCapabilities": {
    "supportsAsync": true,
    "supportsLinearRegression": true,
    "supportsPercentileAnalytic": false
   },
   "hasMetadata": false,
   "supportedAppendFormats": "csv,excel,featureCollection,featureService,geojson,jsonl,pbf,shapefile",
   "uniqueIdField": {
    "isSystemMaintained": true,
    "name": "objectid"
   },
   "tileMaxRecordCount": 2000,
   "typeIdField": "",
   "supportsASyncCalculate": true,
   "supportedQueryFormats": "JSON, geoJSON, PBF",
   "supportsMultiScaleGeometry": true,
   "sqlParserVersion": "PG_11.4.0",
   "drawingInfo": {
    "renderer": {
     "symbol": {
      "outline": {
       "color": [
        255,
        255,
        255,
        191
       ],
       "width": 0.75,
       "style": "esriSLSSolid",
       "type": "esriSLS"
      },
      "color": null,
      "style": "esriSFSSolid",
      "type": "esriSFS"
     },
     "visualVariables": [
      {
       "valueExpression": "$view.scale",
       "expression": "view.scale",
       "stops": [
        {
         "size": 0.93,
         "value": 28266
        },
        {
         "size": 0.75,
         "value": 88331
        },
        {
         "size": 0.375,
         "value": 353324
        },
        {
         "size": 0,
         "value": 706648
        }
       ],
       "type": "sizeInfo",
       "target": "outline"
      }
     ],
     "type": "simple"
    },
    "transparency": 25,
    "labelingInfo": [
     {
      "symbol": {
       "backgroundColor": null,
       "kerning": true,
       "color": [
        255,
        255,
        255,
        255
       ],
       "yoffset": 0,
       "xoffset": 0,
       "haloColor": null,
       "rotated": false,
       "type": "esriTS",
       "borderLineColor": null,
       "horizontalAlignment": "center",
       "haloSize": 0,
       "angle": 0,
       "rightToLeft": false,
       "text": "",
       "font": {
        "size": 8.25,
        "weight": "normal",
        "style": "normal",
        "family": "Arial Unicode MS",
        "decoration": "none"
       }
      },
      "maxScale": 0,
      "where": null,
      "minScale": 40000,
      "labelExpressionInfo": {
       "expression": "$feature[\"jurisdictionname\"]",
       "value": "{jurisdictionname}"
      },
      "labelExpression": null,
      "useCodedValues": true,
      "labelPlacement": "esriServerPolygonPlacementAlwaysHorizontal"
     }
    ]
   },
   "geometryField": {
    "sqlType": "sqlTypeOther",
    "nullable": true,
    "editable": true,
    "name": "shape",
    "typeName": "st_geometry",
    "length": 2147483647,
    "type": "esriFieldTypeGeometry"
   },
   "copyrightText": "",
   "zDefault": 0,
   "geometryType": "esriGeometryPolygon",
   "supportsLayerOverrides": true
  }
 ]
}