{
 "currentVersion": 10.61,
 "id": 0,
 "name": "Yritystontit",
 "parentLayerId": -1,
 "defaultVisibility": true,
 "minScale": 0,
 "maxScale": 0,
 "type": "Feature Layer",
 "geometryType": "esriGeometryPolygon",
 "description": "",
 "copyrightText": "",
 "editFieldsInfo": null,
 "ownershipBasedAccessControlForFeatures": null,
 "syncCanReturnChanges": false,
 "relationships": [],
 "isDataVersioned": true,
 "supportsRollbackOnFailureParameter": false,
 "archivingInfo": {
  "supportsQueryWithHistoricMoment": false,
  "startArchivingMoment": -1
 },
 "supportsStatistics": true,
 "supportsAdvancedQueries": true,
 "supportsValidateSQL": true,
 "supportsCoordinatesQuantization": true,
 "supportsCalculate": false,
 "advancedQueryCapabilities": {
  "supportsPagination": true,
  "supportsTrueCurve": true,
  "supportsQueryWithDistance": true,
  "supportsReturningQueryExtent": true,
  "supportsStatistics": true,
  "supportsHavingClause": true,
  "supportsCountDistinct": true,
  "supportsOrderBy": true,
  "supportsDistinct": true,
  "supportsQueryWithResultType": true,
  "supportsReturningGeometryCentroid": true,
  "supportsSqlExpression": true
 },
 "extent": {
  "xmin": 2.44595384943E7,
  "ymin": 6824545.7866,
  "xmax": 2.44855719647E7,
  "ymax": 6861330.458,
  "spatialReference": {
   "wkid": 3878,
   "latestWkid": 3878
  }
 },
 "drawingInfo": {
  "renderer": {
   "type": "uniqueValue",
   "field1": "TILANNE",
   "field2": null,
   "field3": null,
   "defaultSymbol": null,
   "defaultLabel": null,
   "uniqueValueInfos": [
    {
     "symbol": {
      "type": "esriSFS",
      "style": "esriSFSSolid",
      "color": [
       255,
       0,
       0,
       255
      ],
      "outline": {
       "type": "esriSLS",
       "style": "esriSLSSolid",
       "color": [
        110,
        110,
        110,
        255
       ],
       "width": 0.4
      }
     },
     "value": "luovutettu",
     "label": "luovutettu",
     "description": ""
    },
    {
     "symbol": {
      "type": "esriSFS",
      "style": "esriSFSSolid",
      "color": [
       0,
       0,
       0,
       0
      ],
      "outline": {
       "type": "esriSLS",
       "style": "esriSLSDashDot",
       "color": [
        0,
        0,
        0,
        255
       ],
       "width": 1
      }
     },
     "value": "tulossa",
     "label": "tulossa",
     "description": ""
    },
    {
     "symbol": {
      "type": "esriSFS",
      "style": "esriSFSSolid",
      "color": [
       0,
       112,
       255,
       255
      ],
      "outline": {
       "type": "esriSLS",
       "style": "esriSLSSolid",
       "color": [
        78,
        78,
        78,
        255
       ],
       "width": 0.4
      }
     },
     "value": "vapaa",
     "label": "vapaa",
     "description": ""
    },
    {
     "symbol": {
      "type": "esriSFS",
      "style": "esriSFSBackwardDiagonal",
      "color": [
       0,
       0,
       0,
       255
      ],
      "outline": {
       "type": "esriSLS",
       "style": "esriSLSSolid",
       "color": [
        0,
        0,
        0,
        255
       ],
       "width": 0.4
      }
     },
     "value": "varattu",
     "label": "varattu",
     "description": ""
    }
   ],
   "fieldDelimiter": ","
  },
  "transparency": 0,
  "labelingInfo": null
 },
 "hasM": false,
 "hasZ": false,
 "allowGeometryUpdates": true,
 "allowTrueCurvesUpdates": false,
 "onlyAllowTrueCurveUpdatesByTrueCurveClients": false,
 "hasAttachments": false,
 "supportsApplyEditsWithGlobalIds": false,
 "htmlPopupType": "esriServerHTMLPopupTypeAsHTMLText",
 "objectIdField": "OBJECTID",
 "globalIdField": "",
 "displayField": "ALUE",
 "typeIdField": "TILANNE",
 "subtypeField": "",
 "fields": [
  {
   "name": "OBJECTID",
   "type": "esriFieldTypeOID",
   "alias": "OBJECTID",
   "domain": null,
   "editable": false,
   "nullable": false
  },
  {
   "name": "ALUE",
   "type": "esriFieldTypeString",
   "alias": "Alueen nimi",
   "domain": null,
   "editable": true,
   "nullable": true,
   "length": 100
  },
  {
   "name": "OSOITE",
   "type": "esriFieldTypeString",
   "alias": "Osoite",
   "domain": null,
   "editable": true,
   "nullable": true,
   "length": 100
  },
  {
   "name": "TUNNUS",
   "type": "esriFieldTypeString",
   "alias": "Tunnus kortteli/tontti",
   "domain": null,
   "editable": true,
   "nullable": true,
   "length": 50
  },
  {
   "name": "K_TARK",
   "type": "esriFieldTypeString",
   "alias": "Käyttötarkoitus",
   "domain": null,
   "editable": true,
   "nullable": true,
   "length": 20
  },
  {
   "name": "E_LUKU",
   "type": "esriFieldTypeDouble",
   "alias": "Tehokkuusluku",
   "domain": null,
   "editable": true,
   "nullable": true
  },
  {
   "name": "RAK_OIK",
   "type": "esriFieldTypeInteger",
   "alias": "Rakennusoikeus",
   "domain": null,
   "editable": true,
   "nullable": true
  },
  {
   "name": "HINTA",
   "type": "esriFieldTypeDouble",
   "alias": "Hinta",
   "domain": null,
   "editable": true,
   "nullable": true
  },
  {
   "name": "TILANNE",
   "type": "esriFieldTypeString",
   "alias": "Tilanne",
   "domain": {
    "type": "codedValue",
    "name": "Yritystontit_tilanne",
    "description": "Yritystonttien luovutuksen tilanne",
    "codedValues": [
     {
      "name": "tulossa",
      "code": "tulossa"
     },
     {
      "name": "vapaa",
      "code": "vapaa"
     },
     {
      "name": "varattu",
      "code": "varattu"
     },
     {
      "name": "luovutettu",
      "code": "luovutettu"
     }
    ],
    "mergePolicy": "esriMPTDefaultValue",
    "splitPolicy": "esriSPTDefaultValue"
   },
   "editable": true,
   "nullable": true,
   "length": 20
  },
  {
   "name": "LINKKI_1",
   "type": "esriFieldTypeString",
   "alias": "Kuvia",
   "domain": null,
   "editable": true,
   "nullable": true,
   "length": 250
  },
  {
   "name": "LINKKI_2",
   "type": "esriFieldTypeString",
   "alias": "Kaavatiedot",
   "domain": null,
   "editable": true,
   "nullable": true,
   "length": 250
  },
  {
   "name": "LINKKI_3",
   "type": "esriFieldTypeString",
   "alias": "Suunnitteluohjeet",
   "domain": null,
   "editable": true,
   "nullable": true,
   "length": 250
  }
 ],
 "geometryField": {
  "name": "SHAPE",
  "type": "esriFieldTypeGeometry",
  "alias": "SHAPE",
  "domain": null,
  "editable": true,
  "nullable": true,
  "defaultValue": null,
  "modelName": "SHAPE"
 },
 "dateFieldsTimeReference": {
  "timeZone": "UTC",
  "respectsDaylightSaving": false
 },
 "types": [
  {
   "id": "luovutettu",
   "name": "luovutettu",
   "domains": {
    "TILANNE": {"type": "inherited"}
   },
   "templates": [
    {
     "name": "luovutettu",
     "description": "",
     "prototype": {
      "attributes": {
       "HINTA": null,
       "LINKKI_3": null,
       "ALUE": null,
       "OSOITE": null,
       "TUNNUS": null,
       "K_TARK": null,
       "E_LUKU": null,
       "RAK_OIK": null,
       "TILANNE": "luovutettu",
       "LINKKI_1": null,
       "LINKKI_2": null
      }
     },
     "drawingTool": "esriFeatureEditToolPolygon"
    }
   ]
  },
  {
   "id": "tulossa",
   "name": "tulossa",
   "domains": {
    "TILANNE": {"type": "inherited"}
   },
   "templates": [
    {
     "name": "tulossa",
     "description": "",
     "prototype": {
      "attributes": {
       "HINTA": null,
       "LINKKI_3": null,
       "ALUE": null,
       "OSOITE": null,
       "TUNNUS": null,
       "K_TARK": null,
       "E_LUKU": null,
       "RAK_OIK": null,
       "TILANNE": "tulossa",
       "LINKKI_1": null,
       "LINKKI_2": null
      }
     },
     "drawingTool": "esriFeatureEditToolPolygon"
    }
   ]
  },
  {
   "id": "vapaa",
   "name": "vapaa",
   "domains": {
    "TILANNE": {"type": "inherited"}
   },
   "templates": [
    {
     "name": "vapaa",
     "description": "",
     "prototype": {
      "attributes": {
       "HINTA": null,
       "LINKKI_3": null,
       "ALUE": null,
       "OSOITE": null,
       "TUNNUS": null,
       "K_TARK": null,
       "E_LUKU": null,
       "RAK_OIK": null,
       "TILANNE": "vapaa",
       "LINKKI_1": null,
       "LINKKI_2": null
      }
     },
     "drawingTool": "esriFeatureEditToolPolygon"
    }
   ]
  },
  {
   "id": "varattu",
   "name": "varattu",
   "domains": {
    "TILANNE": {"type": "inherited"}
   },
   "templates": [
    {
     "name": "varattu",
     "description": "",
     "prototype": {
      "attributes": {
       "HINTA": null,
       "LINKKI_3": null,
       "ALUE": null,
       "OSOITE": null,
       "TUNNUS": null,
       "K_TARK": null,
       "E_LUKU": null,
       "RAK_OIK": null,
       "TILANNE": "varattu",
       "LINKKI_1": null,
       "LINKKI_2": null
      }
     },
     "drawingTool": "esriFeatureEditToolPolygon"
    }
   ]
  }
 ],
 "templates": [],
 "maxRecordCount": 1000,
 "supportedQueryFormats": "JSON, AMF, geoJSON",
 "capabilities": "Query,Update,Uploads,Editing",
 "useStandardizedQueries": true,
 "standardMaxRecordCount": 4000,
 "tileMaxRecordCount": 4000,
 "maxRecordCountFactor": 1
}