{
 "tables": [],
 "layers": [
  {
   "isCoGoEnabled": false,
   "extent": {
    "ymin": 4642588.9812,
    "xmin": 481619.1043999996,
    "ymax": 4654417.8521,
    "xmax": 491689.28729999997,
    "spatialReference": {
     "falseM": -100000,
     "xyTolerance": 0.001,
     "mUnits": 10000,
     "zUnits": 10000,
     "latestWkid": 25831,
     "zTolerance": 0.001,
     "wkid": 25831,
     "xyUnits": 10000,
     "mTolerance": 0.001,
     "falseX": -5120900,
     "falseY": -9998100,
     "falseZ": -100000
    }
   },
   "isDataBranchVersioned": false,
   "supportedContingentValuesFormats": "JSON, PBF",
   "supportsApplyEditsWithGlobalIds": false,
   "maxRecordCount": 2000,
   "infoInEstimates": [
    "extent",
    "count"
   ],
   "type": "Feature Layer",
   "onlyAllowTrueCurveUpdatesByTrueCurveClients": true,
   "supportsAttachmentsByUploadId": true,
   "relationships": [],
   "supportsAttachmentsResizing": true,
   "cimVersion": "2.6.0",
   "isDataArchived": false,
   "id": 1,
   "supportsStatistics": true,
   "supportedExportFormats": "sqlite,filegdb,shapefile,csv,geojson",
   "standardMaxRecordCount": 2000,
   "isDataVersioned": false,
   "templates": [
    {
     "name": "brt",
     "description": "",
     "drawingTool": "esriFeatureEditToolPolygon",
     "prototype": {
      "attributes": {
       "seccio_sensal": null,
       "regidor": null,
       "serveis_socials": null,
       "pressupostos_participats": null,
       "codi_edifi": null,
       "abs": null,
       "pcat1": null,
       "zona_bressol": null,
       "pcat2": null,
       "codi_carrer": null,
       "codi_illa__sensal": null,
       "carrer": null,
       "cpostal": null,
       "barri": null,
       "id_sector": null,
       "districte": null,
       "zona_primaria": " ",
       "sector": null,
       "zona_secundaria": null,
       "districte_censal": null
      }
     }
    }
   ],
   "hasGeometryProperties": true,
   "supportsAdvancedQueries": true,
   "parentLayer": null,
   "currentVersion": 11.2,
   "canScaleSymbols": false,
   "hasZ": false,
   "advancedEditingCapabilities": {
    "supportsAsyncApplyEdits": true,
    "supportsApplyEditsbyUploadID": true,
    "supportsReturnEditResults": true,
    "supportedSqlFormatsInCalculate": [
     "standard"
    ],
    "supportedApplyEditsUploadIDFormats": "JSON"
   },
   "objectIdField": "objectid",
   "supportsQuantizationEditMode": true,
   "hasContingentValuesDefinition": true,
   "name": "brt",
   "allowTrueCurvesUpdates": false,
   "displayField": "codi_carrer",
   "supportsCalculate": true,
   "fields": [
    {
     "modelName": "OBJECTID_1",
     "nullable": false,
     "defaultValue": null,
     "editable": false,
     "domain": null,
     "name": "objectid",
     "alias": "OBJECTID_1",
     "type": "esriFieldTypeOID"
    },
    {
     "modelName": "CODIAJUNT",
     "nullable": true,
     "editable": true,
     "defaultValue": null,
     "domain": null,
     "name": "codi_carrer",
     "length": 4,
     "alias": "Codi_Carrer",
     "type": "esriFieldTypeString"
    },
    {
     "modelName": "NOM_COMPLE",
     "nullable": true,
     "editable": true,
     "defaultValue": null,
     "domain": null,
     "name": "carrer",
     "length": 100,
     "alias": "Carrer",
     "type": "esriFieldTypeString"
    },
    {
     "modelName": "zona_primaria",
     "nullable": false,
     "editable": true,
     "defaultValue": null,
     "domain": null,
     "name": "zona_primaria",
     "length": 255,
     "alias": "Zona_primaria",
     "type": "esriFieldTypeString"
    },
    {
     "modelName": "zona_bressol",
     "nullable": true,
     "editable": true,
     "defaultValue": null,
     "domain": null,
     "name": "zona_bressol",
     "length": 50,
     "alias": "Zona Escoles Bressol",
     "type": "esriFieldTypeString"
    },
    {
     "modelName": "seccio_sensal",
     "nullable": true,
     "editable": true,
     "defaultValue": null,
     "domain": null,
     "name": "seccio_sensal",
     "alias": "SECCIO_SENSAL",
     "type": "esriFieldTypeDouble"
    },
    {
     "modelName": "codi_illa__sensal",
     "nullable": true,
     "editable": true,
     "defaultValue": null,
     "domain": null,
     "name": "codi_illa__sensal",
     "alias": "Codi Illa",
     "type": "esriFieldTypeDouble"
    },
    {
     "modelName": "districte_censal",
     "nullable": true,
     "editable": true,
     "defaultValue": null,
     "domain": null,
     "name": "districte_censal",
     "alias": "Districte Censal",
     "type": "esriFieldTypeDouble"
    },
    {
     "modelName": "serveis_socials",
     "nullable": true,
     "editable": true,
     "defaultValue": null,
     "domain": null,
     "name": "serveis_socials",
     "length": 50,
     "alias": "Serveis Socials",
     "type": "esriFieldTypeString"
    },
    {
     "modelName": "abs",
     "nullable": true,
     "editable": true,
     "defaultValue": null,
     "domain": null,
     "name": "abs",
     "length": 25,
     "alias": "Àrea Bàsica de Salut",
     "type": "esriFieldTypeString"
    },
    {
     "modelName": "cpostal",
     "nullable": true,
     "editable": true,
     "defaultValue": null,
     "domain": null,
     "name": "cpostal",
     "length": 5,
     "alias": "Codi Postal",
     "type": "esriFieldTypeString"
    },
    {
     "modelName": "pressupostos_participats",
     "nullable": true,
     "editable": true,
     "defaultValue": null,
     "domain": null,
     "name": "pressupostos_participats",
     "length": 50,
     "alias": "Zona Pressupostos Participats",
     "type": "esriFieldTypeString"
    },
    {
     "modelName": "pcat1",
     "nullable": true,
     "editable": true,
     "defaultValue": null,
     "domain": null,
     "name": "pcat1",
     "length": 7,
     "alias": "PCAT1",
     "type": "esriFieldTypeString"
    },
    {
     "modelName": "pcat2",
     "nullable": true,
     "editable": true,
     "defaultValue": null,
     "domain": null,
     "name": "pcat2",
     "length": 7,
     "alias": "PCAT2",
     "type": "esriFieldTypeString"
    },
    {
     "modelName": "codi_edifi",
     "nullable": true,
     "editable": true,
     "defaultValue": null,
     "domain": null,
     "name": "codi_edifi",
     "alias": "Codi Edifici",
     "type": "esriFieldTypeDouble"
    },
    {
     "modelName": "DISTRICTE",
     "nullable": true,
     "editable": true,
     "defaultValue": null,
     "domain": null,
     "name": "districte",
     "alias": "Districte",
     "type": "esriFieldTypeSmallInteger"
    },
    {
     "modelName": "barri",
     "nullable": true,
     "editable": true,
     "defaultValue": null,
     "domain": null,
     "name": "barri",
     "length": 25,
     "alias": "Barri",
     "type": "esriFieldTypeString"
    },
    {
     "modelName": "id_sector",
     "nullable": true,
     "editable": true,
     "defaultValue": null,
     "domain": null,
     "name": "id_sector",
     "alias": "Sector ID",
     "type": "esriFieldTypeSmallInteger"
    },
    {
     "modelName": "sector",
     "nullable": true,
     "editable": true,
     "defaultValue": null,
     "domain": null,
     "name": "sector",
     "length": 100,
     "alias": "Sector",
     "type": "esriFieldTypeString"
    },
    {
     "modelName": "regidor",
     "nullable": true,
     "editable": true,
     "defaultValue": null,
     "domain": null,
     "name": "regidor",
     "length": 50,
     "alias": "Regidor/a",
     "type": "esriFieldTypeString"
    },
    {
     "modelName": "zona_secundaria",
     "nullable": true,
     "editable": true,
     "defaultValue": null,
     "domain": null,
     "name": "zona_secundaria",
     "length": 50,
     "alias": "Zona_Secundaria",
     "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": {
    "respectsDaylightSaving": false,
    "timeZone": "UTC"
   },
   "supportsFieldDescriptionProperty": true,
   "hasM": false,
   "allowGeometryUpdates": true,
   "useStandardizedQueries": true,
   "globalIdField": null,
   "description": "",
   "syncCanReturnChanges": true,
   "supportsAsyncDelete": true,
   "supportedSpatialRelationships": [
    "esriSpatialRelIntersects",
    "esriSpatialRelContains",
    "esriSpatialRelCrosses",
    "esriSpatialRelEnvelopeIntersects",
    "esriSpatialRelOverlaps",
    "esriSpatialRelTouches",
    "esriSpatialRelWithin"
   ],
   "geometryProperties": {
    "shapeAreaFieldName": "SHAPE__Area",
    "shapeLengthFieldName": "SHAPE__Length",
    "units": "esriMeters"
   },
   "supportsRollbackOnFailureParameter": true,
   "isDataReplicaTracked": false,
   "standardMaxRecordCountNoGeometry": 16000,
   "supportsTruncate": true,
   "indexes": [
    {
     "name": "r822_sde_rowid_uk",
     "isUnique": true,
     "description": "",
     "fields": "objectid",
     "isAscending": true
    },
    {
     "name": "a500_ix1",
     "isUnique": true,
     "description": "",
     "fields": "shape",
     "isAscending": true
    }
   ],
   "editFieldsInfo": null,
   "htmlPopupType": "esriServerHTMLPopupTypeAsHTMLText",
   "minScale": 0,
   "hasAttachments": false,
   "advancedQueryCapabilities": {
    "supportsSqlExpression": true,
    "supportsQueryWithResultType": true,
    "supportsQueryRelatedPagination": true,
    "supportsQueryWithCacheHint": false,
    "supportsQueryWithDatumTransformation": true,
    "supportsQueryNumericBins": false,
    "supportsCurrentUserQueries": true,
    "supportsQueryAttachmentsWithReturnUrl": true,
    "supportsQueryDateBins": false,
    "supportsQueryWithLodSR": true,
    "supportsPaginationOnAggregatedQueries": true,
    "supportsPagination": true,
    "supportsMaxRecordCountFactor": true,
    "supportsStatistics": true,
    "supportsOrderBy": true,
    "supportsReturningGeometryProperties": true,
    "supportsQueryWithDistance": true,
    "supportsLod": true,
    "supportsCountDistinct": true,
    "supportsAdvancedQueryRelated": true,
    "supportsQueryAttachments": true,
    "supportsReturningQueryExtent": true,
    "supportsQueryAttachmentsCountOnly": true,
    "supportsOrderByOnlyOnLayerFields": false,
    "supportsOutFieldSqlExpression": true,
    "supportsTopFeaturesQuery": true,
    "supportsReturningGeometryEnvelope": false,
    "supportsDistinct": true,
    "supportsReturningGeometryCentroid": true,
    "supportsQueryAnalytic": true,
    "supportsPercentileStatistics": true,
    "supportsHavingClause": true
   },
   "supportsValidateSQL": true,
   "enableZDefaults": true,
   "serviceItemId": "aa03f8e5cdb740aa9c364694c3e7fb29",
   "allowUpdateWithoutMValues": true,
   "supportsCoordinatesQuantization": true,
   "types": [],
   "capabilities": "Query",
   "maxScale": 0,
   "supportsAppend": true,
   "supportsExceedsLimitStatistics": true,
   "defaultVisibility": true,
   "advancedQueryAnalyticCapabilities": {
    "supportsAsync": true,
    "supportsLinearRegression": true,
    "supportsPercentileAnalytic": false
   },
   "hasMetadata": true,
   "supportedAppendFormats": "shapefile,geojson,csv,featureCollection,excel,jsonl",
   "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": [
       221,
       209,
       252,
       255
      ],
      "style": "esriSFSSolid",
      "type": "esriSFS"
     },
     "type": "simple"
    },
    "scaleSymbols": true,
    "transparency": 0,
    "labelingInfo": null
   },
   "copyrightText": "",
   "zDefault": 0,
   "geometryType": "esriGeometryPolygon",
   "supportsLayerOverrides": true
  }
 ]
}