{
 "layers": [
  {
   "currentVersion": 10.61,
   "id": 0,
   "name": "Asuntoalueet",
   "type": "Feature Layer",
   "description": "",
   "geometryType": "esriGeometryPolygon",
   "sourceSpatialReference": {
    "wkid": 3878,
    "latestWkid": 3878
   },
   "copyrightText": "",
   "parentLayer": null,
   "subLayers": [],
   "minScale": 0,
   "maxScale": 0,
   "drawingInfo": {
    "renderer": {
     "type": "simple",
     "symbol": {
      "type": "esriSFS",
      "style": "esriSFSSolid",
      "color": [
       0,
       77,
       168,
       255
      ],
      "outline": {
       "type": "esriSLS",
       "style": "esriSLSSolid",
       "color": [
        52,
        52,
        52,
        255
       ],
       "width": 2
      }
     },
     "label": "",
     "description": ""
    },
    "transparency": 0,
    "labelingInfo": [
     {
      "labelPlacement": "esriServerPolygonPlacementAlwaysHorizontal",
      "where": null,
      "labelExpression": "[Nimi]",
      "useCodedValues": true,
      "symbol": {
       "type": "esriTS",
       "color": [
        0,
        0,
        0,
        255
       ],
       "backgroundColor": null,
       "borderLineColor": null,
       "borderLineSize": null,
       "verticalAlignment": "bottom",
       "horizontalAlignment": "center",
       "rightToLeft": false,
       "angle": 0,
       "xoffset": 0,
       "yoffset": 0,
       "kerning": true,
       "haloColor": null,
       "haloSize": null,
       "font": {
        "family": "Arial",
        "size": 10,
        "style": "normal",
        "weight": "bold",
        "decoration": "none"
       }
      },
      "minScale": 0,
      "maxScale": 0
     }
    ]
   },
   "defaultVisibility": true,
   "extent": {
    "xmin": 2.44956710551E7,
    "ymin": 6814916.580400001,
    "xmax": 2.45319903349E7,
    "ymax": 6828719.2797,
    "spatialReference": {
     "wkid": 3878,
     "latestWkid": 3878
    }
   },
   "hasAttachments": false,
   "htmlPopupType": "esriServerHTMLPopupTypeAsHTMLText",
   "displayField": "nimi",
   "typeIdField": null,
   "subtypeFieldName": null,
   "subtypeField": null,
   "defaultSubtypeCode": null,
   "fields": [
    {
     "name": "objectid",
     "type": "esriFieldTypeOID",
     "alias": "objectid",
     "domain": null
    },
    {
     "name": "nimi",
     "type": "esriFieldTypeString",
     "alias": "Nimi",
     "length": 250,
     "domain": null
    },
    {
     "name": "linkki",
     "type": "esriFieldTypeString",
     "alias": "Linkki",
     "length": 250,
     "domain": null
    },
    {
     "name": "shape",
     "type": "esriFieldTypeGeometry",
     "alias": "shape",
     "domain": null
    },
    {
     "name": "kartalle",
     "type": "esriFieldTypeString",
     "alias": "kartalle",
     "length": 5,
     "domain": {
      "type": "codedValue",
      "name": "asuntoalueet_kartalle",
      "description": "Piirretäänkö asuntoalueen symboli kartalle vai ei",
      "codedValues": [
       {
        "name": "Kyllä",
        "code": "kylla"
       },
       {
        "name": "Ei",
        "code": "ei"
       }
      ],
      "mergePolicy": "esriMPTDefaultValue",
      "splitPolicy": "esriSPTDefaultValue"
     }
    },
    {
     "name": "last_edited_date",
     "type": "esriFieldTypeDate",
     "alias": "last_edited_date",
     "length": 8,
     "domain": null
    },
    {
     "name": "globalid",
     "type": "esriFieldTypeGlobalID",
     "alias": "globalid",
     "length": 38,
     "domain": null
    }
   ],
   "geometryField": {
    "name": "shape",
    "type": "esriFieldTypeGeometry",
    "alias": "shape"
   },
   "indexes": [
    {
     "name": "uuid_156",
     "fields": "globalid",
     "isAscending": true,
     "isUnique": false,
     "description": ""
    },
    {
     "name": "a140_ix1",
     "fields": "shape",
     "isAscending": true,
     "isUnique": true,
     "description": ""
    }
   ],
   "subtypes": [],
   "relationships": [],
   "canModifyLayer": true,
   "canScaleSymbols": false,
   "hasLabels": true,
   "capabilities": "Map,Query,Data",
   "maxRecordCount": 1000,
   "supportsStatistics": true,
   "supportsAdvancedQueries": true,
   "supportedQueryFormats": "JSON, AMF, geoJSON",
   "isDataVersioned": true,
   "ownershipBasedAccessControlForFeatures": {"allowOthersToQuery": true},
   "useStandardizedQueries": true,
   "advancedQueryCapabilities": {
    "useStandardizedQueries": true,
    "supportsStatistics": true,
    "supportsHavingClause": true,
    "supportsCountDistinct": true,
    "supportsOrderBy": true,
    "supportsDistinct": true,
    "supportsPagination": true,
    "supportsTrueCurve": true,
    "supportsReturningQueryExtent": true,
    "supportsQueryWithDistance": true,
    "supportsSqlExpression": true
   },
   "supportsDatumTransformation": true,
   "dateFieldsTimeReference": null,
   "supportsCoordinatesQuantization": true
  },
  {
   "currentVersion": 10.61,
   "id": 1,
   "name": "Tontit",
   "type": "Feature Layer",
   "description": "",
   "geometryType": "esriGeometryPolygon",
   "sourceSpatialReference": {
    "wkid": 3878,
    "latestWkid": 3878
   },
   "copyrightText": "",
   "parentLayer": null,
   "subLayers": [],
   "minScale": 0,
   "maxScale": 0,
   "drawingInfo": {
    "renderer": {
     "type": "uniqueValue",
     "field1": "tila_df",
     "field2": null,
     "field3": null,
     "defaultSymbol": {
      "type": "esriSFS",
      "style": "esriSFSSolid",
      "color": [
       201,
       242,
       208,
       255
      ],
      "outline": {
       "type": "esriSLS",
       "style": "esriSLSSolid",
       "color": [
        110,
        110,
        110,
        255
       ],
       "width": 0.4
      }
     },
     "defaultLabel": "<all other values>",
     "uniqueValueInfos": [
      {
       "symbol": {
        "type": "esriSFS",
        "style": "esriSFSSolid",
        "color": [
         204,
         204,
         204,
         255
        ],
        "outline": {
         "type": "esriSLS",
         "style": "esriSLSSolid",
         "color": [
          110,
          110,
          110,
          255
         ],
         "width": 0.4
        }
       },
       "value": "4",
       "label": "luovutettu",
       "description": ""
      },
      {
       "symbol": {
        "type": "esriSFS",
        "style": "esriSFSSolid",
        "color": [
         255,
         255,
         115,
         255
        ],
        "outline": {
         "type": "esriSLS",
         "style": "esriSLSSolid",
         "color": [
          104,
          104,
          104,
          255
         ],
         "width": 1
        }
       },
       "value": "3",
       "label": "tulossa",
       "description": ""
      },
      {
       "symbol": {
        "type": "esriSFS",
        "style": "esriSFSSolid",
        "color": [
         0,
         92,
         230,
         255
        ],
        "outline": {
         "type": "esriSLS",
         "style": "esriSLSSolid",
         "color": [
          110,
          110,
          110,
          255
         ],
         "width": 0.4
        }
       },
       "value": "1",
       "label": "vapaa",
       "description": ""
      },
      {
       "symbol": {
        "type": "esriSFS",
        "style": "esriSFSSolid",
        "color": [
         255,
         0,
         0,
         255
        ],
        "outline": {
         "type": "esriSLS",
         "style": "esriSLSSolid",
         "color": [
          110,
          110,
          110,
          255
         ],
         "width": 0.4
        }
       },
       "value": "2",
       "label": "varattu",
       "description": ""
      }
     ],
     "fieldDelimiter": ","
    },
    "transparency": 0,
    "labelingInfo": null
   },
   "defaultVisibility": true,
   "extent": {
    "xmin": 2.4496553645E7,
    "ymin": 6815681.756000001,
    "xmax": 2.452958165E7,
    "ymax": 6823489.9793,
    "spatialReference": {
     "wkid": 3878,
     "latestWkid": 3878
    }
   },
   "hasAttachments": false,
   "htmlPopupType": "esriServerHTMLPopupTypeAsHTMLText",
   "displayField": "tontti_nro",
   "typeIdField": null,
   "subtypeFieldName": null,
   "subtypeField": null,
   "defaultSubtypeCode": null,
   "fields": [
    {
     "name": "objectid_1",
     "type": "esriFieldTypeOID",
     "alias": "objectid_1",
     "domain": null
    },
    {
     "name": "tontti_nro",
     "type": "esriFieldTypeString",
     "alias": "TONTTI_NRO",
     "length": 20,
     "domain": null
    },
    {
     "name": "kortteli",
     "type": "esriFieldTypeString",
     "alias": "KORTTELI",
     "length": 20,
     "domain": null
    },
    {
     "name": "osoite",
     "type": "esriFieldTypeString",
     "alias": "OSOITE",
     "length": 50,
     "domain": null
    },
    {
     "name": "pinta_ala",
     "type": "esriFieldTypeString",
     "alias": "PINTA_ALA",
     "length": 20,
     "domain": null
    },
    {
     "name": "rak_oikeus",
     "type": "esriFieldTypeString",
     "alias": "RAK_OIKEUS",
     "length": 20,
     "domain": null
    },
    {
     "name": "kokonaishi",
     "type": "esriFieldTypeInteger",
     "alias": "KOKONAISHI",
     "domain": null
    },
    {
     "name": "tila",
     "type": "esriFieldTypeString",
     "alias": "TILA",
     "length": 20,
     "domain": null
    },
    {
     "name": "vuokra",
     "type": "esriFieldTypeString",
     "alias": "Vuokra",
     "length": 10,
     "domain": null
    },
    {
     "name": "asemakaava",
     "type": "esriFieldTypeString",
     "alias": "ASEMAKAAVA",
     "length": 200,
     "domain": null
    },
    {
     "name": "r_no",
     "type": "esriFieldTypeString",
     "alias": "R_NO",
     "length": 20,
     "domain": null
    },
    {
     "name": "hakuaika",
     "type": "esriFieldTypeString",
     "alias": "HAKUAIKA",
     "length": 15,
     "domain": null
    },
    {
     "name": "rak_tapa_o",
     "type": "esriFieldTypeString",
     "alias": "RAK_TAPA_O",
     "length": 200,
     "domain": null
    },
    {
     "name": "julkisivu",
     "type": "esriFieldTypeString",
     "alias": "JULKISIVU",
     "length": 15,
     "domain": null
    },
    {
     "name": "hakuohje",
     "type": "esriFieldTypeString",
     "alias": "HAKUOHJE",
     "length": 200,
     "domain": null
    },
    {
     "name": "hakulomake",
     "type": "esriFieldTypeString",
     "alias": "HAKULOMAKE",
     "length": 200,
     "domain": null
    },
    {
     "name": "kerrosluku",
     "type": "esriFieldTypeString",
     "alias": "KERROSLUKU",
     "length": 20,
     "domain": null
    },
    {
     "name": "laji",
     "type": "esriFieldTypeString",
     "alias": "LAJI",
     "length": 5,
     "domain": null
    },
    {
     "name": "tila_df",
     "type": "esriFieldTypeSmallInteger",
     "alias": "TILA_DF",
     "domain": {
      "type": "codedValue",
      "name": "Tila_1",
      "description": "Tontin luovutustilanne",
      "codedValues": [
       {
        "name": "vapaa",
        "code": 1
       },
       {
        "name": "varattu",
        "code": 2
       },
       {
        "name": "tulossa",
        "code": 3
       },
       {
        "name": "luovutettu",
        "code": 4
       }
      ],
      "mergePolicy": "esriMPTDefaultValue",
      "splitPolicy": "esriSPTDefaultValue"
     }
    },
    {
     "name": "shape",
     "type": "esriFieldTypeGeometry",
     "alias": "shape",
     "domain": null
    },
    {
     "name": "last_edited_date",
     "type": "esriFieldTypeDate",
     "alias": "last_edited_date",
     "length": 8,
     "domain": null
    },
    {
     "name": "globalid",
     "type": "esriFieldTypeGlobalID",
     "alias": "globalid",
     "length": 38,
     "domain": null
    }
   ],
   "geometryField": {
    "name": "shape",
    "type": "esriFieldTypeGeometry",
    "alias": "shape"
   },
   "indexes": [
    {
     "name": "r155_sde_rowid_uk",
     "fields": "objectid_1",
     "isAscending": true,
     "isUnique": true,
     "description": ""
    },
    {
     "name": "uuid_155",
     "fields": "globalid",
     "isAscending": true,
     "isUnique": false,
     "description": ""
    },
    {
     "name": "uuid_oid_155",
     "fields": "globalid,objectid_1",
     "isAscending": true,
     "isUnique": true,
     "description": ""
    },
    {
     "name": "a139_ix1",
     "fields": "shape",
     "isAscending": true,
     "isUnique": true,
     "description": ""
    }
   ],
   "subtypes": [],
   "relationships": [],
   "canModifyLayer": true,
   "canScaleSymbols": false,
   "hasLabels": false,
   "capabilities": "Map,Query,Data",
   "maxRecordCount": 1000,
   "supportsStatistics": true,
   "supportsAdvancedQueries": true,
   "supportedQueryFormats": "JSON, AMF, geoJSON",
   "isDataVersioned": true,
   "ownershipBasedAccessControlForFeatures": {"allowOthersToQuery": true},
   "useStandardizedQueries": true,
   "advancedQueryCapabilities": {
    "useStandardizedQueries": true,
    "supportsStatistics": true,
    "supportsHavingClause": true,
    "supportsCountDistinct": true,
    "supportsOrderBy": true,
    "supportsDistinct": true,
    "supportsPagination": true,
    "supportsTrueCurve": true,
    "supportsReturningQueryExtent": true,
    "supportsQueryWithDistance": true,
    "supportsSqlExpression": true
   },
   "supportsDatumTransformation": true,
   "dateFieldsTimeReference": null,
   "supportsCoordinatesQuantization": true
  },
  {
   "currentVersion": 10.61,
   "id": 2,
   "name": "Vapaat_tontit",
   "type": "Feature Layer",
   "description": "",
   "geometryType": "esriGeometryPolygon",
   "sourceSpatialReference": {
    "wkid": 3878,
    "latestWkid": 3878
   },
   "copyrightText": "",
   "parentLayer": null,
   "subLayers": [],
   "minScale": 0,
   "maxScale": 0,
   "drawingInfo": {
    "renderer": {
     "type": "uniqueValue",
     "field1": "tila_df",
     "field2": null,
     "field3": null,
     "defaultSymbol": null,
     "defaultLabel": null,
     "uniqueValueInfos": [
      {
       "symbol": {
        "type": "esriSFS",
        "style": "esriSFSSolid",
        "color": [
         0,
         92,
         230,
         255
        ],
        "outline": {
         "type": "esriSLS",
         "style": "esriSLSSolid",
         "color": [
          110,
          110,
          110,
          255
         ],
         "width": 0.4
        }
       },
       "value": "1",
       "label": "vapaa",
       "description": ""
      }
     ],
     "fieldDelimiter": ","
    },
    "transparency": 0,
    "labelingInfo": null
   },
   "defaultVisibility": true,
   "extent": {
    "xmin": 2.4496553645E7,
    "ymin": 6815681.756000001,
    "xmax": 2.452958165E7,
    "ymax": 6823489.9793,
    "spatialReference": {
     "wkid": 3878,
     "latestWkid": 3878
    }
   },
   "hasAttachments": false,
   "htmlPopupType": "esriServerHTMLPopupTypeAsHTMLText",
   "displayField": "tontti_nro",
   "typeIdField": null,
   "subtypeFieldName": null,
   "subtypeField": null,
   "defaultSubtypeCode": null,
   "fields": [
    {
     "name": "objectid_1",
     "type": "esriFieldTypeOID",
     "alias": "objectid_1",
     "domain": null
    },
    {
     "name": "tontti_nro",
     "type": "esriFieldTypeString",
     "alias": "TONTTI_NRO",
     "length": 20,
     "domain": null
    },
    {
     "name": "kortteli",
     "type": "esriFieldTypeString",
     "alias": "KORTTELI",
     "length": 20,
     "domain": null
    },
    {
     "name": "osoite",
     "type": "esriFieldTypeString",
     "alias": "OSOITE",
     "length": 50,
     "domain": null
    },
    {
     "name": "pinta_ala",
     "type": "esriFieldTypeString",
     "alias": "PINTA_ALA",
     "length": 20,
     "domain": null
    },
    {
     "name": "rak_oikeus",
     "type": "esriFieldTypeString",
     "alias": "RAK_OIKEUS",
     "length": 20,
     "domain": null
    },
    {
     "name": "kokonaishi",
     "type": "esriFieldTypeInteger",
     "alias": "KOKONAISHI",
     "domain": null
    },
    {
     "name": "tila",
     "type": "esriFieldTypeString",
     "alias": "TILA",
     "length": 20,
     "domain": null
    },
    {
     "name": "vuokra",
     "type": "esriFieldTypeString",
     "alias": "Vuokra",
     "length": 10,
     "domain": null
    },
    {
     "name": "asemakaava",
     "type": "esriFieldTypeString",
     "alias": "ASEMAKAAVA",
     "length": 200,
     "domain": null
    },
    {
     "name": "r_no",
     "type": "esriFieldTypeString",
     "alias": "R_NO",
     "length": 20,
     "domain": null
    },
    {
     "name": "hakuaika",
     "type": "esriFieldTypeString",
     "alias": "HAKUAIKA",
     "length": 15,
     "domain": null
    },
    {
     "name": "rak_tapa_o",
     "type": "esriFieldTypeString",
     "alias": "RAK_TAPA_O",
     "length": 200,
     "domain": null
    },
    {
     "name": "julkisivu",
     "type": "esriFieldTypeString",
     "alias": "JULKISIVU",
     "length": 15,
     "domain": null
    },
    {
     "name": "hakuohje",
     "type": "esriFieldTypeString",
     "alias": "HAKUOHJE",
     "length": 200,
     "domain": null
    },
    {
     "name": "hakulomake",
     "type": "esriFieldTypeString",
     "alias": "HAKULOMAKE",
     "length": 200,
     "domain": null
    },
    {
     "name": "kerrosluku",
     "type": "esriFieldTypeString",
     "alias": "KERROSLUKU",
     "length": 20,
     "domain": null
    },
    {
     "name": "laji",
     "type": "esriFieldTypeString",
     "alias": "LAJI",
     "length": 5,
     "domain": null
    },
    {
     "name": "tila_df",
     "type": "esriFieldTypeSmallInteger",
     "alias": "TILA_DF",
     "domain": {
      "type": "codedValue",
      "name": "Tila_1",
      "description": "Tontin luovutustilanne",
      "codedValues": [
       {
        "name": "vapaa",
        "code": 1
       },
       {
        "name": "varattu",
        "code": 2
       },
       {
        "name": "tulossa",
        "code": 3
       },
       {
        "name": "luovutettu",
        "code": 4
       }
      ],
      "mergePolicy": "esriMPTDefaultValue",
      "splitPolicy": "esriSPTDefaultValue"
     }
    },
    {
     "name": "shape",
     "type": "esriFieldTypeGeometry",
     "alias": "shape",
     "domain": null
    },
    {
     "name": "last_edited_date",
     "type": "esriFieldTypeDate",
     "alias": "last_edited_date",
     "length": 8,
     "domain": null
    },
    {
     "name": "globalid",
     "type": "esriFieldTypeGlobalID",
     "alias": "globalid",
     "length": 38,
     "domain": null
    }
   ],
   "geometryField": {
    "name": "shape",
    "type": "esriFieldTypeGeometry",
    "alias": "shape"
   },
   "indexes": [
    {
     "name": "uuid_155",
     "fields": "globalid",
     "isAscending": true,
     "isUnique": false,
     "description": ""
    },
    {
     "name": "a139_ix1",
     "fields": "shape",
     "isAscending": true,
     "isUnique": true,
     "description": ""
    }
   ],
   "subtypes": [],
   "relationships": [],
   "canModifyLayer": true,
   "canScaleSymbols": false,
   "hasLabels": false,
   "capabilities": "Map,Query,Data",
   "maxRecordCount": 1000,
   "supportsStatistics": true,
   "supportsAdvancedQueries": true,
   "supportedQueryFormats": "JSON, AMF, geoJSON",
   "isDataVersioned": true,
   "ownershipBasedAccessControlForFeatures": {"allowOthersToQuery": true},
   "useStandardizedQueries": true,
   "advancedQueryCapabilities": {
    "useStandardizedQueries": true,
    "supportsStatistics": true,
    "supportsHavingClause": true,
    "supportsCountDistinct": true,
    "supportsOrderBy": true,
    "supportsDistinct": true,
    "supportsPagination": true,
    "supportsTrueCurve": true,
    "supportsReturningQueryExtent": true,
    "supportsQueryWithDistance": true,
    "supportsSqlExpression": true
   },
   "supportsDatumTransformation": true,
   "dateFieldsTimeReference": null,
   "supportsCoordinatesQuantization": true
  }
 ],
 "tables": []
}