FRAMES | NO FRAMES Description | Parameters | Examples | Response
Layer - Feature Service
URL http://<featureservice-url>/<layerId>
Supported Operations Query   Query Related Records   Add Features   Update Features   Delete Features   Apply Edits   Generate Renderer
Parent Resource Feature Service
Child Resources Feature

Description

The layer resource represents a single editable feature layer or non spatial table in a feature service.

For tables, it provides basic information about the table such as its id, name, fields, relationships with other tables or feature layers, etc.

For feature layers, in addition to the table information above, it provides information such as its geometry type, min and max scales, spatial reference, etc.

Both tables and feature layers publish one or more editable sub-types. This resource includes information about these types as well.

Each type includes information about the type such as the type id, name, definition expression, etc. Feature Layer sub-types also include a default symbol and a list of feature templates.

Each feature template includes a template name, description and a prototypical feature.

If a layer supports querying based on time, the response includes a timeInfo property. This gives information such as the start time field (or the time instance field), the end time field, the track ID field, the layer's time extent, and the suggested draw time interval.

If a layer has attachments, its hasAttachments property will be true.

New in 10.1 SP1

If ownership-based access control is enabled on features, ownershipBasedAccessControlForFeatures property of a layer will include an allowOthersToQuery property.

Prototype templates will not include read only fields such as the editor tracking fields.

supportsAdvancedQueries is true if the layer / table supports returnDistinctValues parameter in a query operation.

New in 10.1

Layer resource supports a new parameter - returnUpdates that accepts a boolean value. Use this parameter to retrieve updated timeExtent for the layer.

If a layer draws by default when you add the feature service to ArcMap, defaultVisibility will be true.

If a layer has editor tracking enabled, its editFieldsInfo property will include information about editor tracking fields: creationDateField, creatorField, editDateField, editorField and realm.

If ownership-based access control is enabled on features, ownershipBasedAccessControlForFeatures property of a layer will include allowOthersToUpdate, allowOthersToDelete and allowOthersToQuery properties.

The property supportsRollbackOnFailureParameter will be true if the layer supports setting the rollbackOnFailure parameter for edit operations. For example, apply edits, add features, update features, and delete features. The supportsRollbackOnFailureParameter will be true if the data is simple and non-versioned.

The property syncCanReturnChanges will be true if the data is versioned and has globalIds; this indicates the server has the abiltiy to return changes only. If syncCanReturnChanges is false the server will include all data for each layer in the response.

The property isDataVersioned will be true if the layer is versioned.

The property maxRecordCount returns the maximum number of records that will be returned at once for a query. This maximum applies to the query as a whole, and is not a maximum per layer.

The property capabilities now returns additional Create, Delete, Update and Uploads capabilities. Uploads capabilities will be included if Create, Delete or Update is enabled for a Feature Service. Editing capability will be included if Create, Delete and Update are enabled.

The property supportsStatistics indicates if the layer supports statistical functions in query operation.

The property supportsAdvancedQueries indicates if the layer supports orderBy in a query operation.

The property supportedQueryFormats returns the formats in which query results can be returned.

The property hasZ returns true if the features in the layer have Z values.

The property hasM returns true if the features in the layer have M values.

The property allowGeometryUpdates returns true if the geometry of the features in the layer can be edited.

Layer resource returns relatedTableId, cardinality, role, keyField, and composite, for all relationships. In addition the relationshiptableId and keyFieldInRelationshipTable properties are returned for attributed relationships only.

Layer resource now returns two new properties: effectiveMinScale and effectiveMaxScale. Effective minimum and maximum scale are calculated based on the minScale and maxScale values of the current layer and its ancestors. These represent the effective minimum and maximum scales at which the layer is visible.

The properties zDefault and enableZDefaults are returned for a service configured with default Z values.

The field property nullable indicates if the field can accept null values.

Resource Hierarchy

Layer

Parameters

Parameter Details
f Description: The response format. The default response format is html.

Values: html | json
returnUpdates //This option was added at 10.1

Description: If value is true then returns updated time extent. If the layer is not time-aware then returns an empty response.

Values: true | false

Example Usage

Example 1: Get information about layer 0 in "311Incidents" Feature Service on sampleserver3.

http://sampleserver3.arcgisonline.com/ArcGIS/rest/services/SanFrancisco/311Incidents/FeatureServer/0?f=pjson

JSON Response Syntax

{
"currentVersion": <currentVersion>, //Added at 10.0 SP1
//properties applicable to both feature layers and tables
"id" : <layerOrTableId>,
"name" : "<layerOrTableName>",
"type" : "<layerOrTableType>", //"Feature Layer" or "Table"
"description" : "<description>",
"copyrightText" : "<copyrightText>",
"defaultVisibility": <true | false>,//Added at 10.1
//Added at 10.1
 "editFieldsInfo": {
   "creationDateField": "<creationDateField>",
   "creatorField": "<creatorField>",
   "editDateField": "<editDateField>",
   "editorField": "<editorField>",
   "realm":"<realm>"
 },
 //Added at 10.1
 "ownershipBasedAccessControlForFeatures": {
  "allowOthersToUpdate": <true | false>,
  "allowOthersToDelete": <true | false>,
  "allowOthersToQuery": <true | false>
 },
 //Added at 10.1
 "syncCanReturnChanges": <true | false>,
 "relationships" : [
  {
    "id" : <relationshipId1>,
    "name" : "<relationshipName1>",
    "relatedTableId" : <relatedTableId1>,
    "cardinality" : "<esriRelCardinalityOneToOne>|<esriRelCardinalityOneToMany>|<esriRelCardinalityManyToMany>";,//Added at 10.1
    "role" : "<esriRelRoleOrigin>|<esriRelRoleDestination>";,//Added at 10.1
    "keyField" : "<keyFieldName2>",//Added at 10.1
    "composite" : <true>|<false>,//Added at 10.1
    "relationshipTableId": <attributedRelationshipClassTableId>,  //Added in 10.1. Returned only for attributed relationships
    "keyFieldInRelationshipTable": "<key field in AttributedRelationshipClass table that matches keyField>" //Added in 10.1. Returned only for attributed relationships
  },
  {
    "id" : <relationshipId2>,
    "name" : "<relationshipName2>",
    "relatedTableId" : <relatedTableId2>,
    "cardinality" : "<esriRelCardinalityOneToOne>|<esriRelCardinalityOneToMany>|<esriRelCardinalityManyToMany>";,//Added at 10.1
    "role" : "<esriRelRoleOrigin>|<esriRelRoleDestination>";,//Added at 10.1
    "keyField" : "<keyFieldName2>",//Added at 10.1
    "composite" : <true>|<false>,//Added at 10.1
    "relationshipTableId": <attributedRelationshipClassTableId>,  //Added in 10.1. Returned only for attributed relationships
    "keyFieldInRelationshipTable": "<key field in AttributedRelationshipClass table that matches keyField>" //Added in 10.1. Returned only for attributed relationships
  }
],
"isDataVersioned": <true | false>, //Added at 10.1
"supportsRollbackOnFailureParameter": <true | false>, //Added at 10.1
"supportsStatistics": <true | false>, //Added at 10.1
"supportsAdvancedQueries":<true | false>, //Added at 10.1
//properties applicable to feature layers only
"geometryType" : "<geometryType>",
"minScale" : <minScale>,
"maxScale" : <maxScale>,
"effectiveMinScale" : <effectiveMinScale>,
"effectiveMaxScale" : <effectiveMaxScale>,
"extent" :  <envelope>,

//for feature layers only
"drawingInfo" : {
  "renderer" : <renderer>,
  "transparency" : <transparency>,
  "labelingInfo" : <labelingInfo>
},
 "hasM":  <true | false>, //if the features in the layer have M values, the hasM property will be true
 "hasZ":  <true | false>, //if the features in the layer have Z values, the hasZ property will be true
//if the layer / table supports querying based on time
 "enableZDefaults": <true | false>,//Added at 10.1
 "zDefault": <zDefaultValue>,//Added at 10.1
 "allowGeometryUpdates": <true | false>,//Added at 10.1
"timeInfo" : {
  "startTimeField" : "<startTimeFieldName>",
  "endTimeField" : "<endTimeFieldName>",
  "trackIdField" : "<trackIdFieldName>",
  "timeExtent" : [<startTime>, <endTime>],
  "timeReference" : {
    "timeZone" : "<timeZone>",
    "respectsDaylightSaving" : <true | false>
  },
  "timeInterval" : <timeInterval>,
  "timeIntervalUnits" : "<timeIntervalUnits>"
},

//if the layer / table has attachments, the hasAttachments property will be true
"hasAttachments" : <true | false>

//from 10 onward - indicates whether the layer / table has htmlPopups
"htmlPopupType" : "<esriServerHTMLPopupTypeNone | esriServerHTMLPopupTypeAsURL | esriServerHTMLPopupTypeAsHTMLText>",

//layer / table fields
"objectIdField" : "<objectIdFieldName>",
"globalIdField" : "<globalIdFieldName>",
"displayField" : "<displayField>",
"typeIdField" : "<typeIFieldName>",
//from 10.0 fields of type (String, Date, GlobalID, GUID and XML) have an additional length property, editable properties
//from 10.1 fields have an additional nullable property
"fields" : [
  {"name" : "<fieldName1>", "type" : "<fieldType1>", "alias" : "<fieldAlias1>", "length" : "<length1>", "editable" : "<true | false>","nullable" : "<true | false>","domain" : <domain1>},
  {"name" : "<fieldName2>", "type" : "<fieldType2>", "alias" : "<fieldAlias1>", "length" : "<length2>", "editable" : "<true | false>","nullable" : "<true | false>", "domain" : <domain2>}
],
//layer / table sub-types
"types" : [
  {
    "id" : <typeId1>,
    "name" : "<typeName1>",
    "domains" : {
      "<domainField11>" : <domain11>,
      "<domainField12>" : <domain12>
    },
    "templates" : [
      {
        "name" : "<templateName11>",
        "description" : "<templateDescription11>",
        "prototype" : <prototypicalFeature11>
      },
      {
        "name" : "<templateName12>",
        "description" : "<templateDescription12>",
        "prototype" : <prototypicalFeature12>
      }
    ]
  },
  {
    "id" : <typeId2>,
    "name" : "<typeName2>",
    "domains" : {
      "<domainField11>" : <domain21>,
      "<domainField12>" : <domain22>
    },
    "templates" : [
      {
        "name" : "<templateName21>",
        "description" : "<templateDescription21>",
        "prototype" : <prototypicalFeature21>,
        "drawingTool": "esriFeatureEditToolNone | esriFeatureEditToolPoint | esriFeatureEditToolLine | esriFeatureEditToolPolygon |
                        esriFeatureEditToolAutoCompletePolygon | esriFeatureEditToolCircle | esriFeatureEditToolEllipse | esriFeatureEditToolRectangle |
                        esriFeatureEditToolFreehand"
      },
      {
        "name" : "<templateName22>",
        "description" : "<templateDescription22>",
        "prototype" : <prototypicalFeature22>,
        "drawingTool": "esriFeatureEditToolNone | esriFeatureEditToolPoint | esriFeatureEditToolLine | esriFeatureEditToolPolygon |
                        esriFeatureEditToolAutoCompletePolygon | esriFeatureEditToolCircle | esriFeatureEditToolEllipse | esriFeatureEditToolRectangle |
                        esriFeatureEditToolFreehand"
      }
    ]
  }
],

//layer / table templates - usually present when the layer / table has no sub-types
"templates" : [
  {
    "name" : "<templateName1>",
    "description" : "<templateDescription1>",
    "prototype" : <prototypicalFeature1>
  },
  {
    "name" : "<templateName2>",
    "description" : "<templateDescription2>",
    "prototype" : <prototypicalFeature2>
  }
],
//Maximum number of records returned in a query result
"maxRecordCount": <maxRecordCount> //Added at 10.1
"supportedQueryFormats": "<supportedQueryFormats>", //Added at 10.1
//comma separated list of supported capabilities - e.g. "Create,Delete,Query,Update,Editing". Create, Delete and Update capabilities were added at 10.1
"capabilities" : "<capabilities>"

}

JSON Response Example

{  
 "currentVersion": 10.1,
 "id": 0,
 "name": "Incidents",
 "type": "Feature Layer",
 "displayField" : "req_id",
 "description": "",
 "copyrightText": "",
 "defaultVisibility": true,
 "editFieldsInfo": {
  "creationDateField": "created_date",
  "creatorField": "created_user",
  "editDateField": "last_edited_date",
  "editorField": "last_edited_user"
 },
 "ownershipBasedAccessControlForFeatures": {
  "allowOthersToDelete": false,
  "allowOthersToUpdate": false,
  "allowOthersToQuery": true
 },
 "syncCanReturnChanges": true,
 "relationships": [
  {
   "id": 0,
   "name": "IncidentPriority",
   "relatedTableId": 1,
   "cardinality": "esriRelCardinalityOneToMany",
   "role": "esriRelRoleOrigin",
   "keyField": "OBJECTID",
   "composite": true
  }
 ],
 "isDataVersioned": true,
 "supportsRollbackOnFailureParameter": false,
 "supportsStatistics": true,
 "supportsAdvancedQueries": true,
 "geometryType": "esriGeometryPoint",
 "minScale": 0,
 "maxScale": 0,
 "extent": {
  "xmin": -122.51129560300001,
  "ymin": 33.75,
  "xmax": -111.85100243200002,
  "ymax": 37.828657556,
  "spatialReference": {
   "wkid": 4326,
   "latestWkid": 4326
  }
 },
 "drawingInfo": {
  "renderer": {
   "type": "uniqueValue",
   "field1": "REQ_TYPE",
   "field2": null,
   "field3": null,
   "fieldDelimiter": ", ",
   "defaultSymbol": null,
   "defaultLabel": null,
   "uniqueValueInfos": [
    {
     "symbol": {
      "type": "esriPMS",
      "url": "a3f2bf9c04e860d4f8cb6235fa1bc98b",
      "imageData": "iVBORw0KGgoAAAANSUhEUgAAABoAAAAaCAYAAACpSkzOAAAAAXNSR0IB2cksfwAAAAlwSFlzAAAOxAAADsQBlSsOGwAAAmhJREFUSInt1TFM20AUgOHfEooDqBKNh5YJJWKg6kIzdasadQojmciWQwyQrfGSAAOQLvaI2byVqFJbdWmnqp07kY7dIqZOiehQxZ5ehzgODrEJSDD1Lfb57t73nn1RZrinmPkPjcfqckZevfiL7franUFrhYx8dnvQB/q62K147NZQBPHAqvo8f6pLqTEZuw4SHR2f6Oa1QkYeP+yhZcHdhUoR6Ousr8KHXV1KR1exJEguLi5YWFiY2ImWheF85aUOHtBngNUyUrJ7ESyxo2KxiK7r+L4PQE3pYu0GrwvoB9chAoAP60/gdDsj5ZMRFguJCLTS4M0D80KlO5p0DMQCe/MRSinovw0RvHm8PtTfRfMlf6MNDxxjUK1tQC3AZlfx/vzE/OKjtnU+/oD1ZyNkZR/Oe9O9OgnvdrrwxsAD2DNIH3ah8g32DAB05ijZPuJmYpHkjvYMOAw6qHcHYw9ombBhkT7son5vMjc3WJKExELLOngesGOQdgKs92CQ8Pt70hsWALlcjoODA5RSrOx/ikVioa+/OqijI1quq3GiSWZpid75+WiBG823uJhLROIgAWi5bvjg9dYWjUYDQAOk0+mQzWbD8exsuO9mHVmWdXmokUoJQLPZlEajEf5+ms1mcGhSSc3EQ47j4DjOsEoA6rXa4FqvD5Fwfep65yokIpPWRaLdbkfGpmlyfHxMtVqdHpom8vk8jL5HUNls4p5xSNrt9ngiAFz3VJQqUygUxnMEByI9RG/1NxGGUmUNENu2h4VEMKXKifsj0KXTNrGqs7OzxPmpIdM0ExPk8/kbAxOhu4x7g/4BgoXu3hhnU2sAAAAASUVORK5CYII=",
      "contentType": "image/png",
      "width": 19,
      "height": 19,
      "angle": 0,
      "xoffset": 0,
      "yoffset": 0
     },
     "value": "Blocked Street or Sidewalk",
     "label": "Blocked Street or Sidewalk",
     "description": ""
    },
    {
     "symbol": {
      "type": "esriPMS",
      "url": "8d659f5c6151c2fac6ed34a71071a3da",
      "imageData": "iVBORw0KGgoAAAANSUhEUgAAABQAAAAMCAYAAABiDJ37AAAAAXNSR0IB2cksfwAAAAlwSFlzAAAOxAAADsQBlSsOGwAAAY1JREFUKJGl0j+Iz2EYAPDPw+lJZ+CY/B2kbCKkDEZMN8hoMBoMFmVSSqKUWIyXSThlQAZ/LgMZZFNncUhRvq6L8nTyGu6H3P3uDJ56h+d9n/fzvs/bO+A/ozGICr7DwKzFDTI34YfBwc+6biLoZtUslrlT1WpsbqyLzOuq7s8BZW5UdR6vVB3AWGNT41Zkjqra0tgWVUvxSOZYVI1H1cdfxF9gVD1oLMfalnlK1apgT3BE1X68DUZwI5hSNecJBubMkI1xDATvMY0lLfNaVB3v5Q8x1e9Nf4NtaGiHrnuJp8Gh3umfcFLmYVXLeqXf8LixO5joCzYWta9fDwa7Gq+DN1hppv1hVcPB3cZIsAJrsN28YObpqNraGA9GW+Y7VctlTqsaDJ7IHI6qC1jSuBLcnrflqDqLfYu4Cq3qOZ6pWo8vOKNqFBeDU/2gv0Em9bBe/qENDQ3rupst81ZUnWjckbm0VR0NLi0I9ovouheNc1F1EpPBsah63zL39vsu/wR7N71sZvyZq7q30J6fOkKkEEs/eqsAAAAASUVORK5CYII=",
      "contentType": "image/png",
      "width": 15,
      "height": 9,
      "angle": 0,
      "xoffset": 0,
      "yoffset": 0
     },
     "value": "Damaged Property",
     "label": "Damaged Property",
     "description": ""
    },
    {
     "symbol": {
      "type": "esriPMS",
      "url": "02e14ed8eea3344324aa9654e8628896",
      "imageData": "iVBORw0KGgoAAAANSUhEUgAAABoAAAAaCAYAAACpSkzOAAAAAXNSR0IB2cksfwAAAAlwSFlzAAAOxAAADsQBlSsOGwAAAiVJREFUSInt1EFIVFEUxvH/4DgnmUR8MTpjUJQPImgTIQbWoqCFixSEgoTaJFJZibawjNJCkiQIF5GImxaGGGIiZFiEBSa1ikLIGpLpWUNGb8J8OWfMsUVGFGZag5D4re4958KPe+BeN4sU99KFdovkpUBFu2rlTkjLEGmYUO/LLuzjCYW6VfuBF4Dcg2eo5teu9Wd3hexEOD+Nbn2jafLUtms+Oo5vDO4OhkK3ikX6Jg2jKVM14w1s6bTtWmD4r6EKwzj6yLLWxWHqs/qvFpjJqwYsq6hVdceZcNiogw9NhpGTZRjbr9j2MOACphcMXbbtSoA74OkjlHksiFUiUlMgcrEXbqL6eMBxzo9DFLhdLnJgBLY9VD0ZhufzhopFuiYhvkv1EGABvPJ6R9c4Tvp+r7esRdW6pppfDys6INqoeqnZNDsiwaAdXsiNrqsW/tos9Pkin0T871XH9gQCeTfC4bZTEC0RuRCBzaXB4MFSkRPpsHUEarMgr1O1FXj7W2i2lA8Ntc1Wb1GtroGUDphoVj1bBoHVIvtGoe6wSNoAPHii2jtvaK6cg4mZZWqOaXZmJ0lu9Nv+9N4pihqCg1U90P3P0PdUS6DdnyS5MSBp6gsuIA4bNxlGfY9tJw4Sg/QMdzIA0+5kXDN1Q1IFfjz2hP51rjl6S/j3XoaWof8H8nk89/vtdxtSPZ6VLnBPQzwWi407qq8TCh0JhaqAqj+dW7TRfQVgAs+jjDbsggAAAABJRU5ErkJggg==",
      "contentType": "image/png",
      "width": 19,
      "height": 19,
      "angle": 0,
      "xoffset": 0,
      "yoffset": 0
     },
     "value": "Graffiti Complaint - Public Property",
     "label": "Graffiti Complaint",
     "description": ""
    },
    {
     "symbol": {
      "type": "esriPMS",
      "url": "02e14ed8eea3344324aa9654e8628896",
      "imageData": "iVBORw0KGgoAAAANSUhEUgAAABoAAAAaCAYAAACpSkzOAAAAAXNSR0IB2cksfwAAAAlwSFlzAAAOxAAADsQBlSsOGwAAAiVJREFUSInt1EFIVFEUxvH/4DgnmUR8MTpjUJQPImgTIQbWoqCFixSEgoTaJFJZibawjNJCkiQIF5GImxaGGGIiZFiEBSa1ikLIGpLpWUNGb8J8OWfMsUVGFGZag5D4re4958KPe+BeN4sU99KFdovkpUBFu2rlTkjLEGmYUO/LLuzjCYW6VfuBF4Dcg2eo5teu9Wd3hexEOD+Nbn2jafLUtms+Oo5vDO4OhkK3ikX6Jg2jKVM14w1s6bTtWmD4r6EKwzj6yLLWxWHqs/qvFpjJqwYsq6hVdceZcNiogw9NhpGTZRjbr9j2MOACphcMXbbtSoA74OkjlHksiFUiUlMgcrEXbqL6eMBxzo9DFLhdLnJgBLY9VD0ZhufzhopFuiYhvkv1EGABvPJ6R9c4Tvp+r7esRdW6pppfDys6INqoeqnZNDsiwaAdXsiNrqsW/tos9Pkin0T871XH9gQCeTfC4bZTEC0RuRCBzaXB4MFSkRPpsHUEarMgr1O1FXj7W2i2lA8Ntc1Wb1GtroGUDphoVj1bBoHVIvtGoe6wSNoAPHii2jtvaK6cg4mZZWqOaXZmJ0lu9Nv+9N4pihqCg1U90P3P0PdUS6DdnyS5MSBp6gsuIA4bNxlGfY9tJw4Sg/QMdzIA0+5kXDN1Q1IFfjz2hP51rjl6S/j3XoaWof8H8nk89/vtdxtSPZ6VLnBPQzwWi407qq8TCh0JhaqAqj+dW7TRfQVgAs+jjDbsggAAAABJRU5ErkJggg==",
      "contentType": "image/png",
      "width": 19,
      "height": 19,
      "angle": 0,
      "xoffset": 0,
      "yoffset": 0
     },
     "value": "Graffiti Complaint \u2013 Private Property",
     "label": "Graffiti Complaint",
     "description": ""
    },
    {
     "symbol": {
      "type": "esriPMS",
      "url": "70f9dc50c41f81260d86a1f59d2d11fd",
      "imageData": "iVBORw0KGgoAAAANSUhEUgAAABYAAAAaCAYAAACzdqxAAAAAAXNSR0IB2cksfwAAAAlwSFlzAAAOxAAADsQBlSsOGwAAA1FJREFUSInd019oU1ccB/DvPefm3vQ2f9qYmMRio/inlYrNnKBzBTtB+hAROiuIIiIoRcWCD/ZFtCg+CI45wQkOh5NtYXNgERldJ6igdK1uEqIRq1Ux1eaP/XfbmzT35ubePQSjkpvN6vbi7+mc3znnw48fv8Pifwr2w4X9gGfttpWrdT23SlZQ/0KU5iaHJZtnpiXpdjjaj567/vPbwsyh1sYTU2klMDg84vmxq18Ine0xulfN8/hp76aPFxwP/nXkX+GO7Y03P633LbMIJshKDrtaGvD1+RsIdvcX3ZVl4MJvdw+3Nq/sPt3Zc6sk/NW+pt3VLvuy2/eG0H7yMgBga6AOOzc0YGQ8g+6+p0Vvno7KjKqmvwdQWxIWx9JtFp8H7SfPF3Lnfo2AEGBnyyeGMAD88Huopg7wRoCYIWyzCTMjj+JF+bOXImhurEfTcp8hLstA06blmyPBvi8MYY5jzYOxMcOqwg+GsGbFwpJVsxQrgBKtUGQ1x5uo4cO7j2NYt2qx4Vk+qL0knMpkJ+oXesuPta2Bs0KArgMmloBhAErJP6AAR5EoCROCh5V2wdvgskHTASWrglIKl70Mqqbj6p+PS8ImjrtgCH/X0bzPX+Pxa5oGMSWD51hUuWxgab41Y6OTCD+IGqIbVs+f7PjmWjF8Zv/6zz+qdR/JyCqnQ4PPU4nJtIzxyQwoYQAA0ZiIMxcjRWidz6EvrZ277ZcrAyiCfbMsB6wCz5lN+bSay0GaUuB2lCMxIiEaH8ep4Ktv3ej3ajXz3BNVTkd/hUD3th2//MfLswL87YHmlmq33S9KGZh5CimdBUsJvDOsCN2Pxbt77wtOuxBf+9miexsDS3tZQrpaj14KXwvFDNtSgD1OISBNySgzm5AcTWG2uwIAkFVz8vOEGDjdGbptKJSIAmwpMy9JTSmotAngORMAYHQiDSWr9uz5smta6BuwiWWqVDW/dlaUQdc1MABSGbV3uugbMBgIDMkPP2EIRCkDazmP8MOh4hGYDqzl9BTHUmthr2mghMGdgaTx0L4tnNM0aIr2ZGBwmJ8/2znLWs4jmhCfhYJ94feCn8XH5eSwuMVmpbqUki8SQhLRoZEdVwDxveDNBzvnvJZ3vQtmCP/X8Td+Qz8dmAROewAAAABJRU5ErkJggg==",
      "contentType": "image/png",
      "width": 16,
      "height": 19,
      "angle": 0,
      "xoffset": 0,
      "yoffset": 0
     },
     "value": "Sewer Issues",
     "label": "Sewer Issues",
     "description": ""
    },
    {
     "symbol": {
      "type": "esriPMS",
      "url": "aa575c1198ab54a70a84a7d98636d36f",
      "imageData": "iVBORw0KGgoAAAANSUhEUgAAABoAAAAaCAYAAACpSkzOAAAAAXNSR0IB2cksfwAAAAlwSFlzAAAOxAAADsQBlSsOGwAAAiJJREFUSIntljFoE1Ech79CCynhsL0OXih4WhDaSdQlYzk7SJoOCoFC6XJDBuukOAidOtghdAp0kJql4lKKgxgcpIuU3CIupdm0UeSuQy5KvOSKwzmYdya9u+QcLAr+l3fce/e+9z1+/LlhzqiG/4POBDQvz3tbHACQpknNtof+COiACiABUELiBnbsb2ODVFn2DCRGL0xyLqvB5jaqLHtxrWKDjI7JfvUtmQf3gG0MJFIxrWKBVFn2AA4diwSwpy+hlctYOT22VSyQsNFct+f9mJ7DKO2QlhkIGwgSNqbTRAEuTkwAcFSvk1hZgdIOIzEO2xckAqA8vIu5uh6Yr05fZ+b4PW+mrgy06gvKd67s3eo6iYg11dlZxmFgMCJBqix7OqDcz2OubURu4FY/ohx/xpqa7huMSJAIQGVtI9JGVOX8JJeSUl+rUJAIgKIvc1gsAMnQj0UG2zg0bi0y/vxlpFUA5PczaQRa7ulpjur1UNiHp0+YKZcxcnpoMAIg0c+U3CK7xQKjADj+fHe8XRzaHVgbeJbJoCUVHiGxdOoKe0B+nO/kwW1wEnLy7uqG+Gv1ZbRSsA/2gEQAAGj9HLphwkRUg+CavWIBLakEghEaBmvzMWM357idzULDBbfNScvl6+Wr8P0b+9YngM61/hoBriUV/1lNpV7UTHMhAErT9K2+vHoddobAZlGVpknNtBdCjWq2PRS37f9u/Z3/DP8E6Ae51s8rDmR+rwAAAABJRU5ErkJggg==",
      "contentType": "image/png",
      "width": 19,
      "height": 19,
      "angle": 0,
      "xoffset": 0,
      "yoffset": 0
     },
     "value": "Sidewalk and Curb Issues",
     "label": "Sidewalk and Curb Issues",
     "description": ""
    },
    {
     "symbol": {
      "type": "esriPMS",
      "url": "45eed95e4e80d90315b961eb07611082",
      "imageData": "iVBORw0KGgoAAAANSUhEUgAAABcAAAAaCAYAAABctMd+AAAAAXNSR0IB2cksfwAAAAlwSFlzAAAOxAAADsQBlSsOGwAAAstJREFUSInd1ltIFFEYB/D/XHRmdd3WVTeMlDRrRUSFSkE0fAylxB6MDLuQrM6YQVJCSKUvFUVZQS0sRIGs+RBdEOwCWRgV0s0QHyxME2I1bdVad3acOTu9rCXo6uDlpe/xP+f78c0czmFYrGKx/x8e37IlPcOLp4M8K48yzD0ugPR0iWzLo3f1rFVjjldVVb0LLtV04xZX/lYPTVLdGuxuI+KDcS0YwG1k0Kk9tpYqaWe5lvyCLBKrlvhy+6NhKqmsrPyyMN6Se90DIoaeBZApktoc3pMKAF3MCGuJeB+38/f2qwAKQ+Ou/GSAiKHZ+esRM2TZxA/knbhVfyPZv/6uIAgdc3ALjWjPAhMvUOw1/lUUAOGolic4HI6TgiCc/4e7ck95NFK/JHpW9atvsJkknHE6nRftdjthAaBkUq64b+a45eKxbApolWmz2+0ECE7ebuZuAzi9HLhUtfVnS1s7xGrRPpOxACCXvW6AK2cIFFMPIGkp+BjlXUdRVMbsbGZDNezruomW3INLxRNJnAFA73x4sMglgMkBEBYMpgDwHPD58JDPNsWDbrVG+WSQCAA4MJ35VgX5EakZJtKkpCcWi6U1NF7W9cBypyDbo03XQoOVA2mU4f0mM2kTKQMfh9cMK1HJRSXOdkN3IEtNTMiUbG2iKDaHeps5x9+z90U3gP0AIP9Ne6FW26YAJSpm2mQ6YthdXX6o3L/Il9J/K7IBcABAtIBZd4/eheESMQIATTNhY2Njus6yLryiCSa+UwnTWIChwqWaY6K8eJdO3DqZUkwFFEimMIUGBvX06MZZv7EQGIfMMT5e076uKG4al3YAAKsQjqbpyBXDG+tsz6L7/GYAMHoU3j36fI/D4RgRBMG1LLyhzvYwXGU3DG80foj4JdsoDQz//ZNtwutuunzlXJGBM9cIgvBzafiFvuL5n/QBeLnY4Kv7a/EHLsT2BAYRXBwAAAAASUVORK5CYII=",
      "contentType": "image/png",
      "width": 17,
      "height": 19,
      "angle": 0,
      "xoffset": 0,
      "yoffset": 0
     },
     "value": "Tree Maintenance or Damage",
     "label": "Tree Maintenance or Damage",
     "description": ""
    }
   ]
  },
  "transparency": 0,
  "labelingInfo": null
 },
 "hasM": false,
 "hasZ": false,
 "allowGeometryUpdates": true,
 "timeInfo": {
  "startTimeField": "REQ_DATE",
  "endTimeField": null,
  "trackIdField": null,
  "timeExtent": [
   965325661000,
   972216000000
  ],
  "timeReference": {
   "timeZone": "Pacific Standard Time",
   "respectsDaylightSaving": false
  },
  "timeInterval": 1,
  "timeIntervalUnits": "esriTimeUnitsDays",
  "exportOptions": {
   "useTime": true,
   "timeDataCumulative": false,
   "timeOffset": null,
   "timeOffsetUnits": null
  },
  "hasLiveData": false
 },
 "hasAttachments": true,
 "htmlPopupType": "esriServerHTMLPopupTypeNone",
 "objectIdField": "OBJECTID",
 "globalIdField": "GLOBALID",
 "displayField": "REQ_TYPE",
 "typeIdField": "REQ_TYPE",
 "fields": [
  {
   "name": "OBJECTID",
   "type": "esriFieldTypeOID",
   "alias": "Object ID",
   "domain": null,
   "editable": false,
   "nullable": false
  },
  {
   "name": "REQ_ID",
   "type": "esriFieldTypeString",
   "alias": "Request ID",
   "domain": null,
   "editable": true,
   "nullable": true,
   "length": 20
  },
  {
   "name": "REQ_TYPE",
   "type": "esriFieldTypeString",
   "alias": "Request Type",
   "domain": null,
   "editable": true,
   "nullable": true,
   "length": 40
  },
  {
   "name": "REQ_DATE",
   "type": "esriFieldTypeString",
   "alias": "Request Date",
   "domain": null,
   "editable": true,
   "nullable": true,
   "length": 30
  },
  {
   "name": "REQ_TIME",
   "type": "esriFieldTypeString",
   "alias": "Request Time",
   "domain": null,
   "editable": true,
   "nullable": true,
   "length": 20
  },
  {
   "name": "ADDRESS",
   "type": "esriFieldTypeString",
   "alias": "Address",
   "domain": null,
   "editable": true,
   "nullable": true,
   "length": 60
  },
  {
   "name": "DISTRICT",
   "type": "esriFieldTypeString",
   "alias": "District",
   "domain": null,
   "editable": true,
   "nullable": true,
   "length": 20
  },
  {
   "name": "STATUS",
   "type": "esriFieldTypeSmallInteger",
   "alias": "Status",
   "domain": {
    "type": "codedValue",
    "name": "StatusCodes",
    "codedValues": [
     {
      "name": "New",
      "code": 1
     },
     {
      "name": "Open",
      "code": 2
     },
     {
      "name": "Closed",
      "code": 3
     }
    ]
   },
   "editable": true,
   "nullable": true
  },
  {
   "name": "CREATED_USER",
   "type": "esriFieldTypeString",
   "alias": "created_user",
   "domain": null,
   "editable": false,
   "nullable": true,
   "length": 255
  },
  {
   "name": "CREATED_DATE",
   "type": "esriFieldTypeDate",
   "alias": "created_date",
   "domain": null,
   "editable": false,
   "nullable": true,
   "length": 36
  },
  {
   "name": "LAST_EDITED_USER",
   "type": "esriFieldTypeString",
   "alias": "last_edited_user",
   "domain": null,
   "editable": false,
   "nullable": true,
   "length": 255
  },
  {
   "name": "LAST_EDITED_DATE",
   "type": "esriFieldTypeDate",
   "alias": "last_edited_date",
   "domain": null,
   "editable": false,
   "nullable": true,
   "length": 36
  },
  {
   "name": "GLOBALID",
   "type": "esriFieldTypeGlobalID",
   "alias": "GlobalID",
   "domain": null,
   "editable": false,
   "nullable": false,
   "length": 38
  }
 ],
 "types": [
  {
   "id": "Graffiti Complaint \u2013 Private Property",
   "name": "Graffiti Complaint",
   "domains": {
    "STATUS": {"type": "inherited"}
   },
   "templates": [
    {
     "name": "Graffiti Complaint \u2013 Private Property",
     "description": "",
     "prototype": {
      "attributes": {
       "REQ_TYPE": "Graffiti Complaint \u2013 Private Property",
       "STATUS": 1,
       "DISTRICT": null,
       "REQ_ID": null,
       "REQ_DATE": null,
       "REQ_TIME": null,
       "ADDRESS": null
      }
     },
     "drawingTool": "esriFeatureEditToolPoint"
    }
   ]
  },
  {
   "id": "Blocked Street or Sidewalk",
   "name": "Blocked Street or Sidewalk",
   "domains": {
    "STATUS": {"type": "inherited"}
   },
   "templates": [
    {
     "name": "Blocked Street or Sidewalk",
     "description": "",
     "prototype": {
      "attributes": {
       "REQ_TYPE": "Blocked Street or Sidewalk",
       "STATUS": 1,
       "DISTRICT": null,
       "REQ_ID": null,
       "REQ_DATE": null,
       "REQ_TIME": null,
       "ADDRESS": null
      }
     },
     "drawingTool": "esriFeatureEditToolPoint"
    }
   ]
  },
  {
   "id": "Damaged Property",
   "name": "Damaged Property",
   "domains": {
    "STATUS": {"type": "inherited"}
   },
   "templates": [
    {
     "name": "Damaged Property",
     "description": "",
     "prototype": {
      "attributes": {
       "REQ_TYPE": "Damaged Property",
       "STATUS": 1,
       "DISTRICT": null,
       "REQ_ID": null,
       "REQ_DATE": null,
       "REQ_TIME": null,
       "ADDRESS": null
      }
     },
     "drawingTool": "esriFeatureEditToolPoint"
    }
   ]
  },
  {
   "id": "Graffiti Complaint - Public Property",
   "name": "Graffiti Complaint",
   "domains": {
    "STATUS": {"type": "inherited"}
   },
   "templates": [
    {
     "name": "Graffiti Complaint - Public Property",
     "description": "",
     "prototype": {
      "attributes": {
       "REQ_TYPE": "Graffiti Complaint - Public Property",
       "STATUS": 1,
       "DISTRICT": null,
       "REQ_ID": null,
       "REQ_DATE": null,
       "REQ_TIME": null,
       "ADDRESS": null
      }
     },
     "drawingTool": "esriFeatureEditToolPoint"
    }
   ]
  },
  {
   "id": "Sewer Issues",
   "name": "Sewer Issues",
   "domains": {
    "STATUS": {"type": "inherited"}
   },
   "templates": [
    {
     "name": "Sewer Issues",
     "description": "",
     "prototype": {
      "attributes": {
       "REQ_TYPE": "Sewer Issues",
       "STATUS": 1,
       "DISTRICT": null,
       "REQ_ID": null,
       "REQ_DATE": null,
       "REQ_TIME": null,
       "ADDRESS": null
      }
     },
     "drawingTool": "esriFeatureEditToolPoint"
    }
   ]
  },
  {
   "id": "Tree Maintenance or Damage",
   "name": "Tree Maintenance or Damage",
   "domains": {
    "STATUS": {"type": "inherited"}
   },
   "templates": [
    {
     "name": "Tree Maintenance or Damage",
     "description": "",
     "prototype": {
      "attributes": {
       "REQ_TYPE": "Tree Maintenance or Damage",
       "STATUS": 1,
       "DISTRICT": null,
       "REQ_ID": null,
       "REQ_DATE": null,
       "REQ_TIME": null,
       "ADDRESS": null
      }
     },
     "drawingTool": "esriFeatureEditToolPoint"
    }
   ]
  },
  {
   "id": "Sidewalk and Curb Issues",
   "name": "Sidewalk and Curb Issues",
   "domains": {
    "STATUS": {"type": "inherited"}
   },
   "templates": [
    {
     "name": "Sidewalk and Curb Issues",
     "description": "",
     "prototype": {
      "attributes": {
       "REQ_TYPE": "Sidewalk and Curb Issues",
       "STATUS": 1,
       "DISTRICT": null,
       "REQ_ID": null,
       "REQ_DATE": null,
       "REQ_TIME": null,
       "ADDRESS": null
      }
     },
     "drawingTool": "esriFeatureEditToolPoint"
    }
   ]
  }
 ],
 "templates": [],
 "maxRecordCount": 1000,
 "supportedQueryFormats": "JSON, AMF",
 "capabilities": "Create,Delete,Query,Update,Uploads,Editing"
}