{
 "layers": [
  {
   "currentVersion": 10.61,
   "id": 0,
   "name": "Yleiskaavat vireillä",
   "type": "Feature Layer",
   "description": "",
   "geometryType": "esriGeometryPolygon",
   "sourceSpatialReference": {
    "wkid": 3878,
    "latestWkid": 3878,
    "vcsWkid": 105793,
    "latestVcsWkid": 3900
   },
   "copyrightText": "",
   "parentLayer": null,
   "subLayers": [],
   "minScale": 0,
   "maxScale": 0,
   "drawingInfo": {
    "renderer": {
     "type": "simple",
     "symbol": {
      "type": "esriSFS",
      "style": "esriSFSSolid",
      "color": [
       0,
       0,
       0,
       0
      ],
      "outline": {
       "type": "esriSLS",
       "style": "esriSLSDash",
       "color": [
        0,
        169,
        230,
        255
       ],
       "width": 2
      }
     },
     "label": "",
     "description": ""
    },
    "transparency": 0,
    "labelingInfo": [
     {
      "labelPlacement": "esriServerPolygonPlacementAlwaysHorizontal",
      "where": null,
      "labelExpression": "[tila]",
      "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": [
        255,
        255,
        255,
        255
       ],
       "haloSize": 1,
       "font": {
        "family": "Arial",
        "size": 8,
        "style": "normal",
        "weight": "normal",
        "decoration": "none"
       }
      },
      "minScale": 80000,
      "maxScale": 2500
     }
    ]
   },
   "defaultVisibility": true,
   "extent": {
    "xmin": 2.4468228893E7,
    "ymin": 6823072.981199998,
    "xmax": 2.4491830220200002E7,
    "ymax": 6872313.413699999,
    "spatialReference": {
     "wkid": 3878,
     "latestWkid": 3878,
     "vcsWkid": 105793,
     "latestVcsWkid": 3900
    }
   },
   "hasAttachments": true,
   "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": 255,
     "domain": null
    },
    {
     "name": "hyvaksytty",
     "type": "esriFieldTypeDate",
     "alias": "Hyväksytty pvm",
     "length": 8,
     "domain": null
    },
    {
     "name": "kaava",
     "type": "esriFieldTypeString",
     "alias": "Kaavakartta URL",
     "length": 255,
     "domain": null
    },
    {
     "name": "tila",
     "type": "esriFieldTypeString",
     "alias": "Kaavan tila",
     "length": 255,
     "domain": {
      "type": "codedValue",
      "name": "kaavantila",
      "description": "Kaavan käsittelyvaihe",
      "codedValues": [
       {
        "name": "Vireillä",
        "code": "vireilla"
       },
       {
        "name": "Luonnos",
        "code": "luonnos"
       },
       {
        "name": "Ehdotus",
        "code": "ehdotus"
       },
       {
        "name": "Hyväksytty",
        "code": "hyvaksytty"
       },
       {
        "name": "Valitus",
        "code": "valitus"
       },
       {
        "name": "Kumottu",
        "code": "kumottu"
       },
       {
        "name": "Kumottu osittain",
        "code": "kumottu_osin"
       },
       {
        "name": "Lainvoimainen",
        "code": "voimassa"
       }
      ],
      "mergePolicy": "esriMPTDefaultValue",
      "splitPolicy": "esriSPTDefaultValue"
     }
    },
    {
     "name": "kaavaid",
     "type": "esriFieldTypeString",
     "alias": "Kaava-ID",
     "length": 255,
     "domain": null
    },
    {
     "name": "ryhti_id",
     "type": "esriFieldTypeString",
     "alias": "Ryhti-ID",
     "length": 255,
     "domain": null
    }
   ],
   "geometryField": {},
   "indexes": null,
   "subtypes": [],
   "relationships": [],
   "canModifyLayer": true,
   "canScaleSymbols": false,
   "hasLabels": true,
   "capabilities": "Map,Query,Data",
   "maxRecordCount": 1000,
   "supportsStatistics": true,
   "supportsAdvancedQueries": true,
   "hasZ": true,
   "supportedQueryFormats": "JSON, AMF, geoJSON",
   "isDataVersioned": false,
   "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": "Asemakaavat vireillä",
   "type": "Feature Layer",
   "description": "",
   "geometryType": "esriGeometryPolygon",
   "sourceSpatialReference": {
    "wkid": 3878,
    "latestWkid": 3878,
    "vcsWkid": 105793,
    "latestVcsWkid": 3900
   },
   "copyrightText": "",
   "parentLayer": null,
   "subLayers": [],
   "minScale": 0,
   "maxScale": 0,
   "drawingInfo": {
    "renderer": {
     "type": "simple",
     "symbol": {
      "type": "esriSFS",
      "style": "esriSFSSolid",
      "color": [
       0,
       0,
       0,
       0
      ],
      "outline": {
       "type": "esriSLS",
       "style": "esriSLSDash",
       "color": [
        255,
        0,
        197,
        255
       ],
       "width": 2
      }
     },
     "label": "",
     "description": ""
    },
    "transparency": 0,
    "labelingInfo": [
     {
      "labelPlacement": "esriServerPolygonPlacementAlwaysHorizontal",
      "where": null,
      "labelExpression": "[tila]",
      "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": [
        255,
        255,
        255,
        255
       ],
       "haloSize": 1,
       "font": {
        "family": "Arial",
        "size": 8,
        "style": "normal",
        "weight": "normal",
        "decoration": "none"
       }
      },
      "minScale": 80000.00000000857,
      "maxScale": 2499.9999999933007
     }
    ]
   },
   "defaultVisibility": true,
   "extent": {
    "xmin": 2.44582434442E7,
    "ymin": 6823428.4125000015,
    "xmax": 2.44861693424E7,
    "ymax": 6864873.974100001,
    "spatialReference": {
     "wkid": 3878,
     "latestWkid": 3878,
     "vcsWkid": 105793,
     "latestVcsWkid": 3900
    }
   },
   "hasAttachments": true,
   "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": "Kaavan nimi",
     "length": 150,
     "domain": null
    },
    {
     "name": "hyvaksytty_pvm",
     "type": "esriFieldTypeDate",
     "alias": "Hyväksytty pvm",
     "length": 8,
     "domain": null
    },
    {
     "name": "kaava",
     "type": "esriFieldTypeString",
     "alias": "Kaavakartta URL",
     "length": 255,
     "domain": null
    },
    {
     "name": "tila",
     "type": "esriFieldTypeString",
     "alias": "Kaavan tila",
     "length": 255,
     "domain": {
      "type": "codedValue",
      "name": "kaavantila",
      "description": "Kaavan käsittelyvaihe",
      "codedValues": [
       {
        "name": "Vireillä",
        "code": "vireilla"
       },
       {
        "name": "Luonnos",
        "code": "luonnos"
       },
       {
        "name": "Ehdotus",
        "code": "ehdotus"
       },
       {
        "name": "Hyväksytty",
        "code": "hyvaksytty"
       },
       {
        "name": "Valitus",
        "code": "valitus"
       },
       {
        "name": "Kumottu",
        "code": "kumottu"
       },
       {
        "name": "Kumottu osittain",
        "code": "kumottu_osin"
       },
       {
        "name": "Lainvoimainen",
        "code": "voimassa"
       }
      ],
      "mergePolicy": "esriMPTDefaultValue",
      "splitPolicy": "esriSPTDefaultValue"
     }
    },
    {
     "name": "kaavaid",
     "type": "esriFieldTypeString",
     "alias": "Kaava-ID",
     "length": 255,
     "domain": null
    },
    {
     "name": "ryhti_id",
     "type": "esriFieldTypeString",
     "alias": "Ryhti-ID",
     "length": 255,
     "domain": null
    }
   ],
   "geometryField": {},
   "indexes": null,
   "subtypes": [],
   "relationships": [],
   "canModifyLayer": true,
   "canScaleSymbols": false,
   "hasLabels": true,
   "capabilities": "Map,Query,Data",
   "maxRecordCount": 1000,
   "supportsStatistics": true,
   "supportsAdvancedQueries": true,
   "hasZ": true,
   "supportedQueryFormats": "JSON, AMF, geoJSON",
   "isDataVersioned": false,
   "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": "Rantakaavat vireillä",
   "type": "Feature Layer",
   "description": "",
   "geometryType": "esriGeometryPolygon",
   "sourceSpatialReference": {
    "wkid": 3878,
    "latestWkid": 3878,
    "vcsWkid": 105793,
    "latestVcsWkid": 3900
   },
   "copyrightText": "",
   "parentLayer": null,
   "subLayers": [],
   "minScale": 0,
   "maxScale": 0,
   "drawingInfo": {
    "renderer": {
     "type": "simple",
     "symbol": {
      "type": "esriSFS",
      "style": "esriSFSSolid",
      "color": [
       0,
       0,
       0,
       0
      ],
      "outline": {
       "type": "esriSLS",
       "style": "esriSLSDash",
       "color": [
        56,
        168,
        0,
        255
       ],
       "width": 2
      }
     },
     "label": "",
     "description": ""
    },
    "transparency": 0,
    "labelingInfo": [
     {
      "labelPlacement": "esriServerPolygonPlacementAlwaysHorizontal",
      "where": null,
      "labelExpression": "[tila]",
      "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": [
        255,
        255,
        255,
        255
       ],
       "haloSize": 1,
       "font": {
        "family": "Arial",
        "size": 8,
        "style": "normal",
        "weight": "normal",
        "decoration": "none"
       }
      },
      "minScale": 80000,
      "maxScale": 2500
     }
    ]
   },
   "defaultVisibility": true,
   "extent": {
    "xmin": 2.44585082453E7,
    "ymin": 6829523.965,
    "xmax": 2.44939633465E7,
    "ymax": 6894448.8422,
    "spatialReference": {
     "wkid": 3878,
     "latestWkid": 3878,
     "vcsWkid": 105793,
     "latestVcsWkid": 3900
    }
   },
   "hasAttachments": true,
   "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": "Kaavan nimi",
     "length": 150,
     "domain": null
    },
    {
     "name": "hyvaksytty_pvm",
     "type": "esriFieldTypeDate",
     "alias": "Hyväksytty pvm",
     "length": 8,
     "domain": null
    },
    {
     "name": "kaavakartta",
     "type": "esriFieldTypeString",
     "alias": "Kaavakartta URL",
     "length": 255,
     "domain": null
    },
    {
     "name": "kaavatyyppi",
     "type": "esriFieldTypeString",
     "alias": "Kaavatyyppi",
     "length": 255,
     "domain": {
      "type": "codedValue",
      "name": "kaavatyyppi",
      "description": "Kaavatyyppi, AK, YK, RAK, ROYK",
      "codedValues": [
       {
        "name": "Asemakaava",
        "code": "ak"
       },
       {
        "name": "Yleiskaava",
        "code": "yk"
       },
       {
        "name": "Ranta-asemakaava",
        "code": "rak"
       },
       {
        "name": "Rantaosayleiskaava",
        "code": "royk"
       }
      ],
      "mergePolicy": "esriMPTDefaultValue",
      "splitPolicy": "esriSPTDefaultValue"
     }
    },
    {
     "name": "tila",
     "type": "esriFieldTypeString",
     "alias": "Kaavan tila",
     "length": 255,
     "domain": {
      "type": "codedValue",
      "name": "kaavantila",
      "description": "Kaavan käsittelyvaihe",
      "codedValues": [
       {
        "name": "Vireillä",
        "code": "vireilla"
       },
       {
        "name": "Luonnos",
        "code": "luonnos"
       },
       {
        "name": "Ehdotus",
        "code": "ehdotus"
       },
       {
        "name": "Hyväksytty",
        "code": "hyvaksytty"
       },
       {
        "name": "Valitus",
        "code": "valitus"
       },
       {
        "name": "Kumottu",
        "code": "kumottu"
       },
       {
        "name": "Kumottu osittain",
        "code": "kumottu_osin"
       },
       {
        "name": "Lainvoimainen",
        "code": "voimassa"
       }
      ],
      "mergePolicy": "esriMPTDefaultValue",
      "splitPolicy": "esriSPTDefaultValue"
     }
    },
    {
     "name": "kaavaid",
     "type": "esriFieldTypeString",
     "alias": "Kaava-ID",
     "length": 255,
     "domain": null
    },
    {
     "name": "ryhti_id",
     "type": "esriFieldTypeString",
     "alias": "Ryhti-ID",
     "length": 255,
     "domain": null
    }
   ],
   "geometryField": {},
   "indexes": null,
   "subtypes": [],
   "relationships": [],
   "canModifyLayer": true,
   "canScaleSymbols": false,
   "hasLabels": true,
   "capabilities": "Map,Query,Data",
   "maxRecordCount": 1000,
   "supportsStatistics": true,
   "supportsAdvancedQueries": true,
   "supportedQueryFormats": "JSON, AMF, geoJSON",
   "isDataVersioned": false,
   "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": []
}