{
 "tables": [],
 "layers": [
  {
   "isCoGoEnabled": false,
   "extent": {
    "ymin": 6757193.1257,
    "xmin": 471757.6480999999,
    "ymax": 6805999.4433,
    "xmax": 502416.3280999996,
    "spatialReference": {
     "falseM": -100000,
     "xyTolerance": 0.001,
     "mUnits": 10000,
     "zUnits": 10000,
     "latestWkid": 31982,
     "zTolerance": 0.001,
     "wkid": 31982,
     "xyUnits": 10000,
     "mTolerance": 0.001,
     "falseX": -5120900,
     "falseY": 1900,
     "falseZ": -100000
    }
   },
   "isDataBranchVersioned": false,
   "supportsApplyEditsWithGlobalIds": false,
   "maxRecordCount": 1000,
   "infoInEstimates": [
    "extent",
    "count"
   ],
   "datesInUnknownTimezone": false,
   "definitionQuery": "codigomodalidade <> 2",
   "type": "Feature Layer",
   "onlyAllowTrueCurveUpdatesByTrueCurveClients": true,
   "syncEnabled": false,
   "supportsAttachmentsByUploadId": true,
   "relationships": [],
   "supportsAttachmentsResizing": true,
   "cimVersion": "3.3.0",
   "isDataArchived": false,
   "id": 54,
   "supportsStatistics": true,
   "supportedExportFormats": "sqlite,filegdb,shapefile,csv,geojson",
   "standardMaxRecordCount": 2000,
   "isDataVersioned": false,
   "templates": [
    {
     "name": "Parcelamentos aprovados",
     "description": "",
     "drawingTool": "esriFeatureEditToolPolygon",
     "prototype": {
      "attributes": {
       "numerodecreto": null,
       "anoaprovacao": "00/00/0000",
       "dataultimaalteracao": null,
       "codigosituacao": 0,
       "numeroregistro": null,
       "codigomodalidade": 0,
       "datacadastro": null,
       "nomeusual": null,
       "nome": " ",
       "linkdocumento": null
      }
     }
    }
   ],
   "hasGeometryProperties": true,
   "supportsAdvancedQueries": true,
   "parentLayer": null,
   "currentVersion": 11.3,
   "canScaleSymbols": false,
   "hasZ": false,
   "advancedEditingCapabilities": {
    "supportsAsyncApplyEdits": true,
    "supportsApplyEditsbyUploadID": true,
    "supportsReturnEditResults": true,
    "supportedSqlFormatsInCalculate": [
     "standard"
    ],
    "supportedApplyEditsUploadIDFormats": "JSON"
   },
   "objectIdField": "codigoloteamento",
   "supportsQuantizationEditMode": true,
   "viewSourceHasAttachments": false,
   "name": "Parcelamentos aprovados",
   "allowTrueCurvesUpdates": false,
   "displayField": "nome",
   "supportsCalculate": true,
   "fields": [
    {
     "nullable": false,
     "defaultValue": null,
     "editable": false,
     "length": 4,
     "type": "esriFieldTypeOID",
     "modelName": "codigoloteamento",
     "domain": null,
     "name": "codigoloteamento",
     "alias": "codigoloteamento"
    },
    {
     "nullable": false,
     "editable": true,
     "defaultValue": null,
     "length": 120,
     "type": "esriFieldTypeString",
     "required": true,
     "modelName": "nome",
     "domain": null,
     "name": "nome",
     "alias": "nome"
    },
    {
     "nullable": true,
     "editable": true,
     "defaultValue": null,
     "length": 120,
     "type": "esriFieldTypeString",
     "modelName": "nomeusual",
     "domain": null,
     "name": "nomeusual",
     "alias": "nomeusual"
    },
    {
     "nullable": false,
     "editable": true,
     "defaultValue": null,
     "type": "esriFieldTypeInteger",
     "required": true,
     "modelName": "codigosituacao",
     "domain": {
      "splitPolicy": "esriSPTDefaultValue",
      "name": "SituacaoParcelamento",
      "description": "Situação do Loteamento",
      "type": "codedValue",
      "codedValues": [
       {
        "code": 1,
        "name": "Estudo de Viabilidade"
       },
       {
        "code": 2,
        "name": "Implantado"
       },
       {
        "code": 3,
        "name": "Em Implantação"
       }
      ],
      "mergePolicy": "esriMPTDefaultValue"
     },
     "name": "codigosituacao",
     "alias": "codigosituacao"
    },
    {
     "nullable": false,
     "editable": true,
     "defaultValue": null,
     "type": "esriFieldTypeInteger",
     "required": true,
     "modelName": "codigomodalidade",
     "domain": {
      "splitPolicy": "esriSPTDefaultValue",
      "name": "ModalidadeParcelamento",
      "description": "Modalidade do Loteamento",
      "type": "codedValue",
      "codedValues": [
       {
        "code": 3,
        "name": "Desmembramento > 10.000m²"
       },
       {
        "code": 1,
        "name": "Loteamento Aprovado"
       },
       {
        "code": 2,
        "name": "Loteamento Irregular"
       },
       {
        "code": 4,
        "name": "Loteamento Regularizado"
       },
       {
        "code": 5,
        "name": "Loteamento Regularizado - Prefaza"
       },
       {
        "code": 6,
        "name": "Parcelamento Consolidado"
       }
      ],
      "mergePolicy": "esriMPTDefaultValue"
     },
     "name": "codigomodalidade",
     "alias": "codigomodalidade"
    },
    {
     "nullable": true,
     "editable": true,
     "defaultValue": null,
     "length": 10,
     "type": "esriFieldTypeString",
     "modelName": "numeroregistro",
     "domain": null,
     "name": "numeroregistro",
     "alias": "numeroregistro"
    },
    {
     "nullable": true,
     "editable": true,
     "defaultValue": null,
     "precision": 1,
     "length": 29,
     "type": "esriFieldTypeDate",
     "modelName": "datacadastro",
     "domain": null,
     "name": "datacadastro",
     "alias": "datacadastro"
    },
    {
     "nullable": true,
     "editable": true,
     "defaultValue": null,
     "precision": 1,
     "length": 29,
     "type": "esriFieldTypeDate",
     "modelName": "dataultimaalteracao",
     "domain": null,
     "name": "dataultimaalteracao",
     "alias": "dataultimaalteracao"
    },
    {
     "nullable": true,
     "editable": true,
     "defaultValue": null,
     "length": 200,
     "type": "esriFieldTypeString",
     "modelName": "linkdocumento",
     "domain": null,
     "name": "linkdocumento",
     "alias": "linkdocumento"
    },
    {
     "nullable": true,
     "editable": true,
     "defaultValue": null,
     "length": 10,
     "type": "esriFieldTypeString",
     "modelName": "anoaprovacao",
     "domain": null,
     "name": "anoaprovacao",
     "alias": "Ano de Aprovação"
    },
    {
     "nullable": true,
     "editable": true,
     "defaultValue": null,
     "length": 100,
     "type": "esriFieldTypeString",
     "modelName": "numerodecreto",
     "domain": null,
     "name": "numerodecreto",
     "alias": "Número do Decreto"
    },
    {
     "nullable": true,
     "editable": true,
     "defaultValue": null,
     "length": 255,
     "type": "esriFieldTypeString",
     "modelName": "created_user",
     "domain": null,
     "name": "created_user",
     "alias": "created_user"
    },
    {
     "nullable": true,
     "editable": true,
     "defaultValue": null,
     "precision": 1,
     "length": 29,
     "type": "esriFieldTypeDate",
     "modelName": "created_date",
     "domain": null,
     "name": "created_date",
     "alias": "created_date"
    },
    {
     "nullable": true,
     "editable": true,
     "defaultValue": null,
     "length": 255,
     "type": "esriFieldTypeString",
     "modelName": "last_edited_user",
     "domain": null,
     "name": "last_edited_user",
     "alias": "last_edited_user"
    },
    {
     "nullable": true,
     "editable": true,
     "defaultValue": null,
     "precision": 1,
     "length": 29,
     "type": "esriFieldTypeDate",
     "modelName": "last_edited_date",
     "domain": null,
     "name": "last_edited_date",
     "alias": "last_edited_date"
    },
    {
     "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": {
    "respectsDaylightSaving": false,
    "timeZone": "UTC"
   },
   "supportsFieldDescriptionProperty": true,
   "hasM": false,
   "allowGeometryUpdates": true,
   "isView": true,
   "useStandardizedQueries": true,
   "globalIdField": null,
   "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,
   "viewDefinitionQuery": null,
   "isDataReplicaTracked": false,
   "standardMaxRecordCountNoGeometry": 16000,
   "supportsTruncate": false,
   "indexes": [
    {
     "name": "r1098_sde_rowid_uk",
     "isUnique": true,
     "description": "",
     "fields": "codigoloteamento",
     "isAscending": true
    },
    {
     "name": "a867_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",
   "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": false,
    "supportsQueryWithDistance": true,
    "supportsLod": true,
    "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
   },
   "subtypeField": "",
   "supportsValidateSQL": true,
   "enableZDefaults": true,
   "serviceItemId": "da239f81736740acb766b9a6a1675ab6",
   "allowUpdateWithoutMValues": true,
   "supportsCoordinatesQuantization": true,
   "types": [],
   "capabilities": "Query,Extract",
   "maxScale": 0,
   "supportsAppend": true,
   "supportsExceedsLimitStatistics": true,
   "sourceSchemaChangesAllowed": true,
   "defaultVisibility": true,
   "advancedQueryAnalyticCapabilities": {
    "supportsAsync": true,
    "supportsLinearRegression": true,
    "supportsPercentileAnalytic": false
   },
   "hasMetadata": true,
   "supportedAppendFormats": "shapefile,geojson,csv,featureCollection,excel,jsonl,featureService",
   "tileMaxRecordCount": 2000,
   "typeIdField": "",
   "supportsASyncCalculate": true,
   "supportedQueryFormats": "JSON, geoJSON, PBF",
   "sqlParserVersion": "PG_11.2.0",
   "drawingInfo": {
    "renderer": {
     "symbol": {
      "outline": {
       "color": [
        110,
        110,
        110,
        255
       ],
       "width": 0.7,
       "style": "esriSLSSolid",
       "type": "esriSLS"
      },
      "color": [
       224,
       199,
       252,
       255
      ],
      "style": "esriSFSSolid",
      "type": "esriSFS"
     },
     "type": "simple"
    },
    "scaleSymbols": true,
    "transparency": 0,
    "labelingInfo": null
   },
   "geometryField": {
    "sqlType": "sqlTypeOther",
    "nullable": true,
    "editable": true,
    "name": "shape",
    "typeName": "st_geometry",
    "length": 2147483647,
    "type": "esriFieldTypeGeometry"
   },
   "copyrightText": "",
   "zDefault": 0,
   "geometryType": "esriGeometryPolygon",
   "supportsLayerOverrides": true
  }
 ]
}