{
 "currentVersion": 10.61,
 "cimVersion": "2.2.0",
 "id": 1,
 "name": "Lainvoimaiset yleiskaavat",
 "type": "Feature Layer",
 "parentLayer": null,
 "defaultVisibility": true,
 "minScale": 0,
 "maxScale": 0,
 "geometryType": "esriGeometryPolygon",
 "description": "",
 "copyrightText": "",
 "editFieldsInfo": null,
 "ownershipBasedAccessControlForFeatures": null,
 "syncCanReturnChanges": false,
 "relationships": [],
 "isDataVersioned": false,
 "isDataArchived": false,
 "isCoGoEnabled": false,
 "supportsRollbackOnFailureParameter": true,
 "archivingInfo": {
  "supportsQueryWithHistoricMoment": false,
  "startArchivingMoment": -1
 },
 "supportsStatistics": true,
 "supportsAdvancedQueries": true,
 "supportsValidateSQL": true,
 "supportsCoordinatesQuantization": true,
 "supportsCalculate": true,
 "advancedQueryCapabilities": {
  "supportsPagination": true,
  "supportsTrueCurve": true,
  "supportsQueryWithDistance": true,
  "supportsReturningQueryExtent": true,
  "supportsStatistics": true,
  "supportsHavingClause": true,
  "supportsOrderBy": true,
  "supportsDistinct": true,
  "supportsCountDistinct": true,
  "supportsQueryWithResultType": true,
  "supportsReturningGeometryCentroid": true,
  "supportsSqlExpression": true
 },
 "hasMetadata": true,
 "extent": {
  "xmin": 24472053,
  "ymin": 6805320,
  "xmax": 24486205,
  "ymax": 6819884,
  "spatialReference": {
   "wkid": 3878,
   "latestWkid": 3878,
   "xyTolerance": 0.001,
   "zTolerance": 0.001,
   "mTolerance": 0.001,
   "falseX": 18876800,
   "falseY": -10002100,
   "xyUnits": 10000,
   "falseZ": -100000,
   "zUnits": 10000,
   "falseM": -100000,
   "mUnits": 10000
  }
 },
 "sourceSpatialReference": {
  "wkid": 3878,
  "latestWkid": 3878,
  "xyTolerance": 0.001,
  "zTolerance": 0.001,
  "mTolerance": 0.001,
  "falseX": 18876800,
  "falseY": -10002100,
  "xyUnits": 10000,
  "falseZ": -100000,
  "zUnits": 10000,
  "falseM": -100000,
  "mUnits": 10000
 },
 "drawingInfo": {
  "renderer": {
   "type": "simple",
   "symbol": {
    "type": "esriSFS",
    "style": "esriSFSSolid",
    "color": [
     0,
     64,
     117,
     51
    ],
    "outline": {
     "type": "esriSLS",
     "style": "esriSLSSolid",
     "color": [
      0,
      64,
      117,
      255
     ],
     "width": 1
    }
   }
  },
  "transparency": 0,
  "labelingInfo": null
 },
 "hasM": false,
 "hasZ": false,
 "allowGeometryUpdates": false,
 "allowTrueCurvesUpdates": true,
 "onlyAllowTrueCurveUpdatesByTrueCurveClients": true,
 "hasAttachments": false,
 "supportsApplyEditsWithGlobalIds": false,
 "htmlPopupType": "esriServerHTMLPopupTypeAsHTMLText",
 "objectIdField": "objectid",
 "globalIdField": "",
 "displayField": "tyonimi",
 "typeIdField": "",
 "subtypeField": "",
 "fields": [
  {
   "name": "objectid",
   "type": "esriFieldTypeOID",
   "alias": "objectid",
   "domain": null,
   "editable": false,
   "nullable": false,
   "defaultValue": null,
   "modelName": "objectid"
  },
  {
   "name": "tyonimi",
   "type": "esriFieldTypeString",
   "alias": "tyonimi",
   "domain": null,
   "editable": true,
   "nullable": true,
   "length": 255,
   "defaultValue": null,
   "modelName": "tyonimi"
  },
  {
   "name": "tyyppi",
   "type": "esriFieldTypeString",
   "alias": "tyyppi",
   "domain": null,
   "editable": true,
   "nullable": true,
   "length": 255,
   "defaultValue": null,
   "modelName": "tyyppi"
  },
  {
   "name": "kunnanosa",
   "type": "esriFieldTypeSmallInteger",
   "alias": "kunnanosa",
   "domain": null,
   "editable": true,
   "nullable": true,
   "defaultValue": null,
   "modelName": "kunnanosa"
  },
  {
   "name": "kaavanro",
   "type": "esriFieldTypeSmallInteger",
   "alias": "kaavanro",
   "domain": null,
   "editable": true,
   "nullable": true,
   "defaultValue": null,
   "modelName": "kaavanro"
  },
  {
   "name": "vaihe",
   "type": "esriFieldTypeString",
   "alias": "vaihe",
   "domain": null,
   "editable": true,
   "nullable": true,
   "length": 255,
   "defaultValue": null,
   "modelName": "vaihe"
  },
  {
   "name": "vaihe_alku",
   "type": "esriFieldTypeDate",
   "alias": "vaihe_alku",
   "domain": null,
   "editable": true,
   "nullable": true,
   "length": 8,
   "defaultValue": null,
   "modelName": "vaihe_alku"
  },
  {
   "name": "vaihe_loppu",
   "type": "esriFieldTypeDate",
   "alias": "vaihe_loppu",
   "domain": null,
   "editable": true,
   "nullable": true,
   "length": 8,
   "defaultValue": null,
   "modelName": "vaihe_loppu"
  },
  {
   "name": "syntypvm",
   "type": "esriFieldTypeDate",
   "alias": "syntypvm",
   "domain": null,
   "editable": true,
   "nullable": true,
   "length": 8,
   "defaultValue": null,
   "modelName": "syntypvm"
  },
  {
   "name": "kuolinpvm",
   "type": "esriFieldTypeDate",
   "alias": "kuolinpvm",
   "domain": null,
   "editable": true,
   "nullable": true,
   "length": 8,
   "defaultValue": null,
   "modelName": "kuolinpvm"
  },
  {
   "name": "url",
   "type": "esriFieldTypeString",
   "alias": "url",
   "domain": null,
   "editable": true,
   "nullable": true,
   "length": 255,
   "defaultValue": null,
   "modelName": "url"
  },
  {
   "name": "lisätietoja",
   "type": "esriFieldTypeString",
   "alias": "lisätietoja",
   "domain": null,
   "editable": true,
   "nullable": true,
   "length": 255,
   "defaultValue": null,
   "modelName": "lisätietoja"
  },
  {
   "name": "tavoitevuosi",
   "type": "esriFieldTypeSmallInteger",
   "alias": "tavoitevuosi",
   "domain": null,
   "editable": true,
   "nullable": true,
   "defaultValue": null,
   "modelName": "tavoitevuosi"
  },
  {
   "name": "rtapaohje",
   "type": "esriFieldTypeString",
   "alias": "rtapaohje",
   "domain": null,
   "editable": true,
   "nullable": true,
   "length": 4,
   "defaultValue": null,
   "modelName": "rtapaohje"
  }
 ],
 "geometryField": {
  "name": "shape",
  "type": "esriFieldTypeGeometry",
  "alias": "shape",
  "domain": null,
  "editable": false,
  "nullable": true,
  "defaultValue": null,
  "modelName": "shape"
 },
 "dateFieldsTimeReference": {
  "timeZone": "FLE Standard Time",
  "respectsDaylightSaving": true
 },
 "types": [],
 "templates": [
  {
   "name": "Lainvoimaiset yleiskaavat",
   "description": "",
   "prototype": {
    "attributes": {
     "tavoitevuosi": null,
     "rtapaohje": null,
     "tyonimi": null,
     "tyyppi": null,
     "kunnanosa": null,
     "kaavanro": null,
     "vaihe": null,
     "vaihe_alku": null,
     "vaihe_loppu": null,
     "syntypvm": null,
     "kuolinpvm": null,
     "url": null,
     "lisätietoja": null
    }
   },
   "drawingTool": "esriFeatureEditToolPolygon"
  }
 ],
 "maxRecordCount": 2000,
 "supportedQueryFormats": "JSON, AMF, geoJSON",
 "capabilities": "Query,Uploads",
 "useStandardizedQueries": true,
 "standardMaxRecordCount": 4000,
 "tileMaxRecordCount": 4000,
 "maxRecordCountFactor": 1
}