{
 "layers": [
  {
   "currentVersion": 11.3,
   "cimVersion": "3.3.0",
   "id": 0,
   "name": "Gräs",
   "type": "Feature Layer",
   "description": "",
   "geometryType": "esriGeometryPolygon",
   "sourceSpatialReference": {
    "wkid": 3010,
    "latestWkid": 3010,
    "xyTolerance": 0.001,
    "zTolerance": 0.001,
    "mTolerance": 0.001,
    "falseX": -5473200,
    "falseY": -10002100,
    "xyUnits": 10000,
    "falseZ": 0,
    "zUnits": 1,
    "falseM": 0,
    "mUnits": 1
   },
   "copyrightText": "",
   "parentLayer": null,
   "subLayers": [],
   "minScale": 0,
   "maxScale": 0,
   "referenceScale": 0.0,
   "drawingInfo": {
    "renderer": {
     "type": "simple",
     "symbol": {
      "type": "esriSMS",
      "style": "esriSMSCircle",
      "color": [
       0,
       0,
       0,
       0
      ],
      "size": 4,
      "angle": 0,
      "xoffset": 0,
      "yoffset": 0,
      "outline": {
       "color": [
        0,
        0,
        0,
        255
       ],
       "width": 1
      }
     }
    },
    "scaleSymbols": true,
    "transparency": 0,
    "labelingInfo": null
   },
   "defaultVisibility": true,
   "extent": {
    "xmin": 123859.98190000001,
    "ymin": 6385918.8258,
    "xmax": 161804.01750000007,
    "ymax": 6440430.7016,
    "spatialReference": {
     "wkid": 3010,
     "latestWkid": 3010,
     "xyTolerance": 0.001,
     "zTolerance": 0.001,
     "mTolerance": 0.001,
     "falseX": -5473200,
     "falseY": -10002100,
     "xyUnits": 10000,
     "falseZ": -100000,
     "zUnits": 10000,
     "falseM": -100000,
     "mUnits": 10000
    }
   },
   "hasAttachments": true,
   "attachmentProperties": [
    {
     "name": "id",
     "fieldName": "ATTACHMENTID",
     "isEnabled": true
    },
    {
     "name": "globalid",
     "fieldName": "GLOBALID",
     "isEnabled": false
    },
    {
     "name": "keywords",
     "fieldName": "KEYWORDS",
     "isEnabled": false
    },
    {
     "name": "name",
     "fieldName": "ATT_NAME",
     "isEnabled": true
    },
    {
     "name": "contentType",
     "fieldName": "CONTENT_TYPE",
     "isEnabled": true
    },
    {
     "name": "size",
     "fieldName": "DATA_SIZE",
     "isEnabled": true
    },
    {
     "name": "exifInfo",
     "fieldName": "EXIFINFO",
     "isEnabled": false
    }
   ],
   "attachmentFields": [
    {
     "name": "ATTACHMENTID",
     "type": "esriFieldTypeOID",
     "alias": "ATTACHMENTID",
     "editable": false,
     "nullable": false,
     "length": 4,
     "domain": null
    },
    {
     "name": "ATT_NAME",
     "type": "esriFieldTypeString",
     "alias": "ATT_NAME",
     "editable": true,
     "nullable": false,
     "length": 250,
     "domain": null
    },
    {
     "name": "CONTENT_TYPE",
     "type": "esriFieldTypeString",
     "alias": "CONTENT_TYPE",
     "editable": true,
     "nullable": false,
     "length": 150,
     "domain": null
    },
    {
     "name": "DATA_SIZE",
     "type": "esriFieldTypeInteger",
     "alias": "DATA_SIZE",
     "editable": true,
     "nullable": false,
     "length": 4,
     "domain": null
    }
   ],
   "htmlPopupType": "esriServerHTMLPopupTypeAsHTMLText",
   "displayField": "created_date",
   "typeIdField": "GrassType",
   "subtypeFieldName": "GrassType",
   "subtypeField": "GrassType",
   "defaultSubtypeCode": 1,
   "fields": [
    {
     "name": "OBJECTID",
     "type": "esriFieldTypeOID",
     "alias": "OBJECTID",
     "domain": null
    },
    {
     "name": "created_date",
     "type": "esriFieldTypeDate",
     "alias": "Skapad datum",
     "length": 8,
     "domain": null
    },
    {
     "name": "created_user",
     "type": "esriFieldTypeString",
     "alias": "Skapad av",
     "length": 255,
     "domain": null
    },
    {
     "name": "last_edited_date",
     "type": "esriFieldTypeDate",
     "alias": "Modifierat datum",
     "length": 8,
     "domain": null
    },
    {
     "name": "last_edited_user",
     "type": "esriFieldTypeString",
     "alias": "Modifierad av",
     "length": 255,
     "domain": null
    },
    {
     "name": "Description",
     "type": "esriFieldTypeString",
     "alias": "Beskrivning",
     "length": 100,
     "domain": null
    },
    {
     "name": "ConstructionYear",
     "type": "esriFieldTypeSmallInteger",
     "alias": "Anläggningsår",
     "domain": {
      "type": "range",
      "name": "ptYearList",
      "description": "",
      "range": [
       1800,
       2050
      ],
      "mergePolicy": "esriMPTDefaultValue",
      "splitPolicy": "esriSPTDefaultValue"
     }
    },
    {
     "name": "Amount",
     "type": "esriFieldTypeDouble",
     "alias": "Mängd",
     "domain": null
    },
    {
     "name": "GrassType",
     "type": "esriFieldTypeSmallInteger",
     "alias": "Grästyp",
     "domain": null
    },
    {
     "name": "Type",
     "type": "esriFieldTypeInteger",
     "alias": "Typ",
     "domain": {
      "type": "codedValue",
      "name": "ptGrassType_Bruksgräsmatta",
      "description": "",
      "codedValues": [
       {
        "name": "Parkering vid badplats",
        "code": 2
       },
       {
        "name": "Bruksgräsmatta vid badplats",
        "code": 1
       },
       {
        "name": "Bruksgräsmatta",
        "code": 0
       },
       {
        "name": "Bruksgräsmatta med vårlök",
        "code": 3
       }
      ],
      "mergePolicy": "esriMPTDefaultValue",
      "splitPolicy": "esriSPTDuplicate"
     }
    },
    {
     "name": "AdditionalInformation",
     "type": "esriFieldTypeInteger",
     "alias": "Tilläggsinformation",
     "domain": {
      "type": "codedValue",
      "name": "ptGrass_AdditionalInfo",
      "description": "",
      "codedValues": [],
      "mergePolicy": "esriMPTDefaultValue",
      "splitPolicy": "esriSPTDefaultValue"
     }
    },
    {
     "name": "Entreprenadomrade",
     "type": "esriFieldTypeInteger",
     "alias": "Entreprenadområde",
     "domain": {
      "type": "codedValue",
      "name": "ptCategory",
      "description": "",
      "codedValues": [
       {
        "name": "Område 2",
        "code": 2
       },
       {
        "name": "Område 1",
        "code": 1
       },
       {
        "name": "Område 3",
        "code": 3
       }
      ],
      "mergePolicy": "esriMPTDefaultValue",
      "splitPolicy": "esriSPTDefaultValue"
     }
    },
    {
     "name": "SectionGID",
     "type": "esriFieldTypeGUID",
     "alias": "Sektion GID",
     "length": 38,
     "domain": null
    },
    {
     "name": "Shape",
     "type": "esriFieldTypeGeometry",
     "alias": "Shape",
     "domain": null
    },
    {
     "name": "EndastTillsyn",
     "type": "esriFieldTypeSmallInteger",
     "alias": "Endast tillsyn",
     "domain": {
      "type": "codedValue",
      "name": "endast_tillsyn",
      "description": "",
      "codedValues": [
       {
        "name": "Nej",
        "code": 0
       },
       {
        "name": "Ja",
        "code": 1
       }
      ],
      "mergePolicy": "esriMPTDefaultValue",
      "splitPolicy": "esriSPTDefaultValue"
     }
    },
    {
     "name": "Shape.STArea()",
     "type": "esriFieldTypeDouble",
     "alias": "Shape.STArea()",
     "domain": null
    },
    {
     "name": "Shape.STLength()",
     "type": "esriFieldTypeDouble",
     "alias": "Shape.STLength()",
     "domain": null
    }
   ],
   "geometryField": {
    "name": "Shape",
    "type": "esriFieldTypeGeometry",
    "alias": "Shape"
   },
   "indexes": [
    {
     "name": "R30_pk",
     "fields": "OBJECTID",
     "isAscending": true,
     "isUnique": true,
     "description": ""
    },
    {
     "name": "S15_idx",
     "fields": "Shape",
     "isAscending": true,
     "isUnique": true,
     "description": ""
    }
   ],
   "types": [
    {
     "domains": {
      "ConstructionYear": {"type": "inherited"},
      "Type": {"type": "inherited"},
      "AdditionalInformation": {"type": "inherited"},
      "Entreprenadomrade": {"type": "inherited"},
      "EndastTillsyn": {"type": "inherited"}
     },
     "id": 2,
     "name": "Bruksgräsmatta"
    },
    {
     "domains": {
      "ConstructionYear": {"type": "inherited"},
      "Type": {
       "type": "codedValue",
       "name": "ptGrassType_HögvuxenGräsyta",
       "description": "",
       "codedValues": [],
       "mergePolicy": "esriMPTDefaultValue",
       "splitPolicy": "esriSPTDuplicate"
      },
      "AdditionalInformation": {"type": "inherited"},
      "Entreprenadomrade": {"type": "inherited"},
      "EndastTillsyn": {"type": "inherited"}
     },
     "id": 3,
     "name": "Högvuxen gräsyta"
    },
    {
     "domains": {
      "ConstructionYear": {"type": "inherited"},
      "Type": {
       "type": "codedValue",
       "name": "ptGrassType_Stadsäng",
       "description": "",
       "codedValues": [],
       "mergePolicy": "esriMPTDefaultValue",
       "splitPolicy": "esriSPTDuplicate"
      },
      "AdditionalInformation": {"type": "inherited"},
      "Entreprenadomrade": {"type": "inherited"},
      "EndastTillsyn": {"type": "inherited"}
     },
     "id": 4,
     "name": "Stadsäng"
    },
    {
     "domains": {
      "ConstructionYear": {"type": "inherited"},
      "Type": {
       "type": "codedValue",
       "name": "ptGrassType_BruksgräsmattaSällanKlippt",
       "description": "",
       "codedValues": [],
       "mergePolicy": "esriMPTDefaultValue",
       "splitPolicy": "esriSPTDuplicate"
      },
      "AdditionalInformation": {"type": "inherited"},
      "Entreprenadomrade": {"type": "inherited"},
      "EndastTillsyn": {"type": "inherited"}
     },
     "id": 1,
     "name": "Bruksgräsmatta sällan klippt"
    },
    {
     "domains": {
      "ConstructionYear": {"type": "inherited"},
      "Type": {
       "type": "codedValue",
       "name": "ptGrassType_Paradgräsmatta",
       "description": "",
       "codedValues": [],
       "mergePolicy": "esriMPTDefaultValue",
       "splitPolicy": "esriSPTDefaultValue"
      },
      "AdditionalInformation": {"type": "inherited"},
      "Entreprenadomrade": {"type": "inherited"},
      "EndastTillsyn": {"type": "inherited"}
     },
     "id": 5,
     "name": "Paradgräsmatta"
    }
   ],
   "subtypes": [
    {
     "domains": {
      "ConstructionYear": {"type": "inherited"},
      "Type": {"type": "inherited"},
      "AdditionalInformation": {"type": "inherited"},
      "Entreprenadomrade": {"type": "inherited"},
      "EndastTillsyn": {"type": "inherited"}
     },
     "defaultValues": {
      "created_date": null,
      "created_user": null,
      "last_edited_date": null,
      "last_edited_user": null,
      "Description": null,
      "ConstructionYear": null,
      "Amount": null,
      "GrassType": null,
      "Type": null,
      "AdditionalInformation": null,
      "Entreprenadomrade": null,
      "SectionGID": null,
      "EndastTillsyn": null
     },
     "code": 2,
     "name": "Bruksgräsmatta"
    },
    {
     "domains": {
      "ConstructionYear": {"type": "inherited"},
      "Type": {
       "type": "codedValue",
       "name": "ptGrassType_HögvuxenGräsyta",
       "description": "",
       "codedValues": [],
       "mergePolicy": "esriMPTDefaultValue",
       "splitPolicy": "esriSPTDuplicate"
      },
      "AdditionalInformation": {"type": "inherited"},
      "Entreprenadomrade": {"type": "inherited"},
      "EndastTillsyn": {"type": "inherited"}
     },
     "defaultValues": {
      "created_date": null,
      "created_user": null,
      "last_edited_date": null,
      "last_edited_user": null,
      "Description": null,
      "ConstructionYear": null,
      "Amount": null,
      "GrassType": null,
      "Type": null,
      "AdditionalInformation": null,
      "Entreprenadomrade": null,
      "SectionGID": null,
      "EndastTillsyn": null
     },
     "code": 3,
     "name": "Högvuxen gräsyta"
    },
    {
     "domains": {
      "ConstructionYear": {"type": "inherited"},
      "Type": {
       "type": "codedValue",
       "name": "ptGrassType_Stadsäng",
       "description": "",
       "codedValues": [],
       "mergePolicy": "esriMPTDefaultValue",
       "splitPolicy": "esriSPTDuplicate"
      },
      "AdditionalInformation": {"type": "inherited"},
      "Entreprenadomrade": {"type": "inherited"},
      "EndastTillsyn": {"type": "inherited"}
     },
     "defaultValues": {
      "created_date": null,
      "created_user": null,
      "last_edited_date": null,
      "last_edited_user": null,
      "Description": null,
      "ConstructionYear": null,
      "Amount": null,
      "GrassType": null,
      "Type": null,
      "AdditionalInformation": null,
      "Entreprenadomrade": null,
      "SectionGID": null,
      "EndastTillsyn": null
     },
     "code": 4,
     "name": "Stadsäng"
    },
    {
     "domains": {
      "ConstructionYear": {"type": "inherited"},
      "Type": {
       "type": "codedValue",
       "name": "ptGrassType_BruksgräsmattaSällanKlippt",
       "description": "",
       "codedValues": [],
       "mergePolicy": "esriMPTDefaultValue",
       "splitPolicy": "esriSPTDuplicate"
      },
      "AdditionalInformation": {"type": "inherited"},
      "Entreprenadomrade": {"type": "inherited"},
      "EndastTillsyn": {"type": "inherited"}
     },
     "defaultValues": {
      "created_date": null,
      "created_user": null,
      "last_edited_date": null,
      "last_edited_user": null,
      "Description": null,
      "ConstructionYear": null,
      "Amount": null,
      "GrassType": null,
      "Type": null,
      "AdditionalInformation": null,
      "Entreprenadomrade": null,
      "SectionGID": null,
      "EndastTillsyn": null
     },
     "code": 1,
     "name": "Bruksgräsmatta sällan klippt"
    },
    {
     "domains": {
      "ConstructionYear": {"type": "inherited"},
      "Type": {
       "type": "codedValue",
       "name": "ptGrassType_Paradgräsmatta",
       "description": "",
       "codedValues": [],
       "mergePolicy": "esriMPTDefaultValue",
       "splitPolicy": "esriSPTDefaultValue"
      },
      "AdditionalInformation": {"type": "inherited"},
      "Entreprenadomrade": {"type": "inherited"},
      "EndastTillsyn": {"type": "inherited"}
     },
     "defaultValues": {
      "created_date": null,
      "created_user": null,
      "last_edited_date": null,
      "last_edited_user": null,
      "Description": null,
      "ConstructionYear": null,
      "Amount": null,
      "GrassType": null,
      "Type": null,
      "AdditionalInformation": null,
      "Entreprenadomrade": null,
      "SectionGID": null,
      "EndastTillsyn": null
     },
     "code": 5,
     "name": "Paradgräsmatta"
    }
   ],
   "relationships": [],
   "canModifyLayer": true,
   "canScaleSymbols": false,
   "hasLabels": false,
   "capabilities": "Query,Map,Data",
   "maxRecordCount": 2000,
   "supportsStatistics": true,
   "supportsExceedsLimitStatistics": true,
   "supportsAdvancedQueries": true,
   "supportedQueryFormats": "JSON, geoJSON, PBF",
   "isDataVersioned": true,
   "ownershipBasedAccessControlForFeatures": {"allowOthersToQuery": true},
   "useStandardizedQueries": true,
   "supportedSpatialRelationships": [
    "esriSpatialRelIntersects",
    "esriSpatialRelContains",
    "esriSpatialRelCrosses",
    "esriSpatialRelEnvelopeIntersects",
    "esriSpatialRelIndexIntersects",
    "esriSpatialRelOverlaps",
    "esriSpatialRelTouches",
    "esriSpatialRelWithin",
    "esriSpatialRelRelation"
   ],
   "advancedQueryCapabilities": {
    "useStandardizedQueries": true,
    "supportsStatistics": true,
    "supportsPercentileStatistics": true,
    "supportsHavingClause": true,
    "supportsOrderBy": true,
    "supportsDistinct": true,
    "supportsCountDistinct": true,
    "supportsAdvancedQueryRelated": true,
    "supportsQueryRelatedPagination": true,
    "supportsPagination": true,
    "supportsLod": false,
    "supportsQueryWithLodSR": false,
    "supportsTrueCurve": true,
    "supportsQueryWithDatumTransformation": true,
    "supportsReturningQueryExtent": true,
    "supportsQueryWithDistance": true,
    "supportsSqlExpression": true,
    "supportsTimeRelation": true,
    "supportsSqlFormat": false,
    "supportsQueryAttachments": true,
    "supportsQueryAttachmentsWithReturnUrl": true,
    "supportsQueryAnalytic": true,
    "supportsCurrentUserQueries": true
   },
   "supportsDatumTransformation": true,
   "advancedQueryAnalyticCapabilities": {
    "supportsLinearRegression": true,
    "supportsAsync": false,
    "supportsPercentileAnalytic": true
   },
   "dateFieldsTimeReference": null,
   "preferredTimeReference": null,
   "datesInUnknownTimezone": false,
   "hasGeometryProperties": true,
   "geometryProperties": {
    "shapeAreaFieldName": "Shape.STArea()",
    "shapeLengthFieldName": "Shape.STLength()",
    "units": "esriMeters",
    "mapUnits": {"uwkid": 9001}
   },
   "hasMetadata": true,
   "isDataArchived": false,
   "archivingInfo": {
    "supportsQueryWithHistoricMoment": false,
    "startArchivingMoment": -1
   },
   "supportsCoordinatesQuantization": true,
   "supportsDynamicLegends": true,
   "serviceItemId": "aa785d141ada4a7e97858e7110ee13c8"
  },
  {
   "currentVersion": 11.3,
   "cimVersion": "3.3.0",
   "id": 1,
   "name": "Gräs",
   "type": "Feature Layer",
   "description": "",
   "geometryType": "esriGeometryPolygon",
   "sourceSpatialReference": {
    "wkid": 3010,
    "latestWkid": 3010,
    "xyTolerance": 0.001,
    "zTolerance": 0.001,
    "mTolerance": 0.001,
    "falseX": -5473200,
    "falseY": -10002100,
    "xyUnits": 10000,
    "falseZ": 0,
    "zUnits": 1,
    "falseM": 0,
    "mUnits": 1
   },
   "copyrightText": "",
   "parentLayer": null,
   "subLayers": [],
   "minScale": 0,
   "maxScale": 0,
   "referenceScale": 0.0,
   "drawingInfo": {
    "renderer": {
     "type": "uniqueValue",
     "field1": "created_date",
     "defaultSymbol": {
      "type": "esriSFS",
      "style": "esriSFSSolid",
      "color": [
       230,
       0,
       169,
       255
      ],
      "outline": {
       "type": "esriSLS",
       "style": "esriSLSSolid",
       "color": [
        0,
        0,
        0,
        255
       ],
       "width": 0.4
      }
     },
     "defaultLabel": "<alla andra värden>",
     "uniqueValueGroups": [],
     "uniqueValueInfos": [],
     "fieldDelimiter": ",",
     "authoringInfo": {
      "colorRamp": {
       "type": "multipart",
       "colorRamps": [
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          207,
          252,
          247,
          255
         ],
         "toColor": [
          207,
          252,
          247,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          244,
          179,
          252,
          255
         ],
         "toColor": [
          244,
          179,
          252,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          252,
          190,
          179,
          255
         ],
         "toColor": [
          252,
          190,
          179,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          194,
          252,
          179,
          255
         ],
         "toColor": [
          194,
          252,
          179,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          187,
          208,
          252,
          255
         ],
         "toColor": [
          187,
          208,
          252,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          252,
          239,
          192,
          255
         ],
         "toColor": [
          252,
          239,
          192,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          252,
          212,
          246,
          255
         ],
         "toColor": [
          252,
          212,
          246,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          218,
          252,
          212,
          255
         ],
         "toColor": [
          218,
          252,
          212,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          210,
          187,
          252,
          255
         ],
         "toColor": [
          210,
          187,
          252,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          252,
          227,
          215,
          255
         ],
         "toColor": [
          252,
          227,
          215,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          252,
          179,
          212,
          255
         ],
         "toColor": [
          252,
          179,
          212,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          187,
          252,
          226,
          255
         ],
         "toColor": [
          187,
          252,
          226,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          184,
          235,
          252,
          255
         ],
         "toColor": [
          184,
          235,
          252,
          255
         ]
        }
       ]
      }
     }
    },
    "scaleSymbols": true,
    "transparency": 30,
    "labelingInfo": null
   },
   "defaultVisibility": true,
   "extent": {
    "xmin": 123859.98190000001,
    "ymin": 6385918.8258,
    "xmax": 161804.01750000007,
    "ymax": 6440430.7016,
    "spatialReference": {
     "wkid": 3010,
     "latestWkid": 3010,
     "xyTolerance": 0.001,
     "zTolerance": 0.001,
     "mTolerance": 0.001,
     "falseX": -5473200,
     "falseY": -10002100,
     "xyUnits": 10000,
     "falseZ": -100000,
     "zUnits": 10000,
     "falseM": -100000,
     "mUnits": 10000
    }
   },
   "hasAttachments": true,
   "attachmentProperties": [
    {
     "name": "id",
     "fieldName": "ATTACHMENTID",
     "isEnabled": true
    },
    {
     "name": "globalid",
     "fieldName": "GLOBALID",
     "isEnabled": false
    },
    {
     "name": "keywords",
     "fieldName": "KEYWORDS",
     "isEnabled": false
    },
    {
     "name": "name",
     "fieldName": "ATT_NAME",
     "isEnabled": true
    },
    {
     "name": "contentType",
     "fieldName": "CONTENT_TYPE",
     "isEnabled": true
    },
    {
     "name": "size",
     "fieldName": "DATA_SIZE",
     "isEnabled": true
    },
    {
     "name": "exifInfo",
     "fieldName": "EXIFINFO",
     "isEnabled": false
    }
   ],
   "attachmentFields": [
    {
     "name": "ATTACHMENTID",
     "type": "esriFieldTypeOID",
     "alias": "ATTACHMENTID",
     "editable": false,
     "nullable": false,
     "length": 4,
     "domain": null
    },
    {
     "name": "ATT_NAME",
     "type": "esriFieldTypeString",
     "alias": "ATT_NAME",
     "editable": true,
     "nullable": false,
     "length": 250,
     "domain": null
    },
    {
     "name": "CONTENT_TYPE",
     "type": "esriFieldTypeString",
     "alias": "CONTENT_TYPE",
     "editable": true,
     "nullable": false,
     "length": 150,
     "domain": null
    },
    {
     "name": "DATA_SIZE",
     "type": "esriFieldTypeInteger",
     "alias": "DATA_SIZE",
     "editable": true,
     "nullable": false,
     "length": 4,
     "domain": null
    }
   ],
   "htmlPopupType": "esriServerHTMLPopupTypeAsHTMLText",
   "displayField": "created_date",
   "typeIdField": "GrassType",
   "subtypeFieldName": "GrassType",
   "subtypeField": "GrassType",
   "defaultSubtypeCode": 1,
   "fields": [
    {
     "name": "OBJECTID",
     "type": "esriFieldTypeOID",
     "alias": "OBJECTID",
     "domain": null
    },
    {
     "name": "created_date",
     "type": "esriFieldTypeDate",
     "alias": "Skapad datum",
     "length": 8,
     "domain": null
    },
    {
     "name": "created_user",
     "type": "esriFieldTypeString",
     "alias": "Skapad av",
     "length": 255,
     "domain": null
    },
    {
     "name": "last_edited_date",
     "type": "esriFieldTypeDate",
     "alias": "Modifierat datum",
     "length": 8,
     "domain": null
    },
    {
     "name": "last_edited_user",
     "type": "esriFieldTypeString",
     "alias": "Modifierad av",
     "length": 255,
     "domain": null
    },
    {
     "name": "Description",
     "type": "esriFieldTypeString",
     "alias": "Beskrivning",
     "length": 100,
     "domain": null
    },
    {
     "name": "ConstructionYear",
     "type": "esriFieldTypeSmallInteger",
     "alias": "Anläggningsår",
     "domain": {
      "type": "range",
      "name": "ptYearList",
      "description": "",
      "range": [
       1800,
       2050
      ],
      "mergePolicy": "esriMPTDefaultValue",
      "splitPolicy": "esriSPTDefaultValue"
     }
    },
    {
     "name": "Amount",
     "type": "esriFieldTypeDouble",
     "alias": "Mängd",
     "domain": null
    },
    {
     "name": "GrassType",
     "type": "esriFieldTypeSmallInteger",
     "alias": "Grästyp",
     "domain": null
    },
    {
     "name": "Type",
     "type": "esriFieldTypeInteger",
     "alias": "Typ",
     "domain": {
      "type": "codedValue",
      "name": "ptGrassType_Bruksgräsmatta",
      "description": "",
      "codedValues": [
       {
        "name": "Parkering vid badplats",
        "code": 2
       },
       {
        "name": "Bruksgräsmatta vid badplats",
        "code": 1
       },
       {
        "name": "Bruksgräsmatta",
        "code": 0
       },
       {
        "name": "Bruksgräsmatta med vårlök",
        "code": 3
       }
      ],
      "mergePolicy": "esriMPTDefaultValue",
      "splitPolicy": "esriSPTDuplicate"
     }
    },
    {
     "name": "AdditionalInformation",
     "type": "esriFieldTypeInteger",
     "alias": "Tilläggsinformation",
     "domain": {
      "type": "codedValue",
      "name": "ptGrass_AdditionalInfo",
      "description": "",
      "codedValues": [],
      "mergePolicy": "esriMPTDefaultValue",
      "splitPolicy": "esriSPTDefaultValue"
     }
    },
    {
     "name": "Entreprenadomrade",
     "type": "esriFieldTypeInteger",
     "alias": "Entreprenadområde",
     "domain": {
      "type": "codedValue",
      "name": "ptCategory",
      "description": "",
      "codedValues": [
       {
        "name": "Område 2",
        "code": 2
       },
       {
        "name": "Område 1",
        "code": 1
       },
       {
        "name": "Område 3",
        "code": 3
       }
      ],
      "mergePolicy": "esriMPTDefaultValue",
      "splitPolicy": "esriSPTDefaultValue"
     }
    },
    {
     "name": "SectionGID",
     "type": "esriFieldTypeGUID",
     "alias": "Sektion GID",
     "length": 38,
     "domain": null
    },
    {
     "name": "Shape",
     "type": "esriFieldTypeGeometry",
     "alias": "Shape",
     "domain": null
    },
    {
     "name": "EndastTillsyn",
     "type": "esriFieldTypeSmallInteger",
     "alias": "Endast tillsyn",
     "domain": {
      "type": "codedValue",
      "name": "endast_tillsyn",
      "description": "",
      "codedValues": [
       {
        "name": "Nej",
        "code": 0
       },
       {
        "name": "Ja",
        "code": 1
       }
      ],
      "mergePolicy": "esriMPTDefaultValue",
      "splitPolicy": "esriSPTDefaultValue"
     }
    },
    {
     "name": "Shape.STArea()",
     "type": "esriFieldTypeDouble",
     "alias": "Shape.STArea()",
     "domain": null
    },
    {
     "name": "Shape.STLength()",
     "type": "esriFieldTypeDouble",
     "alias": "Shape.STLength()",
     "domain": null
    }
   ],
   "geometryField": {
    "name": "Shape",
    "type": "esriFieldTypeGeometry",
    "alias": "Shape"
   },
   "indexes": [
    {
     "name": "R30_pk",
     "fields": "OBJECTID",
     "isAscending": true,
     "isUnique": true,
     "description": ""
    },
    {
     "name": "S15_idx",
     "fields": "Shape",
     "isAscending": true,
     "isUnique": true,
     "description": ""
    }
   ],
   "types": [
    {
     "domains": {
      "ConstructionYear": {"type": "inherited"},
      "Type": {"type": "inherited"},
      "AdditionalInformation": {"type": "inherited"},
      "Entreprenadomrade": {"type": "inherited"},
      "EndastTillsyn": {"type": "inherited"}
     },
     "id": 2,
     "name": "Bruksgräsmatta"
    },
    {
     "domains": {
      "ConstructionYear": {"type": "inherited"},
      "Type": {
       "type": "codedValue",
       "name": "ptGrassType_HögvuxenGräsyta",
       "description": "",
       "codedValues": [],
       "mergePolicy": "esriMPTDefaultValue",
       "splitPolicy": "esriSPTDuplicate"
      },
      "AdditionalInformation": {"type": "inherited"},
      "Entreprenadomrade": {"type": "inherited"},
      "EndastTillsyn": {"type": "inherited"}
     },
     "id": 3,
     "name": "Högvuxen gräsyta"
    },
    {
     "domains": {
      "ConstructionYear": {"type": "inherited"},
      "Type": {
       "type": "codedValue",
       "name": "ptGrassType_Stadsäng",
       "description": "",
       "codedValues": [],
       "mergePolicy": "esriMPTDefaultValue",
       "splitPolicy": "esriSPTDuplicate"
      },
      "AdditionalInformation": {"type": "inherited"},
      "Entreprenadomrade": {"type": "inherited"},
      "EndastTillsyn": {"type": "inherited"}
     },
     "id": 4,
     "name": "Stadsäng"
    },
    {
     "domains": {
      "ConstructionYear": {"type": "inherited"},
      "Type": {
       "type": "codedValue",
       "name": "ptGrassType_BruksgräsmattaSällanKlippt",
       "description": "",
       "codedValues": [],
       "mergePolicy": "esriMPTDefaultValue",
       "splitPolicy": "esriSPTDuplicate"
      },
      "AdditionalInformation": {"type": "inherited"},
      "Entreprenadomrade": {"type": "inherited"},
      "EndastTillsyn": {"type": "inherited"}
     },
     "id": 1,
     "name": "Bruksgräsmatta sällan klippt"
    },
    {
     "domains": {
      "ConstructionYear": {"type": "inherited"},
      "Type": {
       "type": "codedValue",
       "name": "ptGrassType_Paradgräsmatta",
       "description": "",
       "codedValues": [],
       "mergePolicy": "esriMPTDefaultValue",
       "splitPolicy": "esriSPTDefaultValue"
      },
      "AdditionalInformation": {"type": "inherited"},
      "Entreprenadomrade": {"type": "inherited"},
      "EndastTillsyn": {"type": "inherited"}
     },
     "id": 5,
     "name": "Paradgräsmatta"
    }
   ],
   "subtypes": [
    {
     "domains": {
      "ConstructionYear": {"type": "inherited"},
      "Type": {"type": "inherited"},
      "AdditionalInformation": {"type": "inherited"},
      "Entreprenadomrade": {"type": "inherited"},
      "EndastTillsyn": {"type": "inherited"}
     },
     "defaultValues": {
      "created_date": null,
      "created_user": null,
      "last_edited_date": null,
      "last_edited_user": null,
      "Description": null,
      "ConstructionYear": null,
      "Amount": null,
      "GrassType": null,
      "Type": null,
      "AdditionalInformation": null,
      "Entreprenadomrade": null,
      "SectionGID": null,
      "EndastTillsyn": null
     },
     "code": 2,
     "name": "Bruksgräsmatta"
    },
    {
     "domains": {
      "ConstructionYear": {"type": "inherited"},
      "Type": {
       "type": "codedValue",
       "name": "ptGrassType_HögvuxenGräsyta",
       "description": "",
       "codedValues": [],
       "mergePolicy": "esriMPTDefaultValue",
       "splitPolicy": "esriSPTDuplicate"
      },
      "AdditionalInformation": {"type": "inherited"},
      "Entreprenadomrade": {"type": "inherited"},
      "EndastTillsyn": {"type": "inherited"}
     },
     "defaultValues": {
      "created_date": null,
      "created_user": null,
      "last_edited_date": null,
      "last_edited_user": null,
      "Description": null,
      "ConstructionYear": null,
      "Amount": null,
      "GrassType": null,
      "Type": null,
      "AdditionalInformation": null,
      "Entreprenadomrade": null,
      "SectionGID": null,
      "EndastTillsyn": null
     },
     "code": 3,
     "name": "Högvuxen gräsyta"
    },
    {
     "domains": {
      "ConstructionYear": {"type": "inherited"},
      "Type": {
       "type": "codedValue",
       "name": "ptGrassType_Stadsäng",
       "description": "",
       "codedValues": [],
       "mergePolicy": "esriMPTDefaultValue",
       "splitPolicy": "esriSPTDuplicate"
      },
      "AdditionalInformation": {"type": "inherited"},
      "Entreprenadomrade": {"type": "inherited"},
      "EndastTillsyn": {"type": "inherited"}
     },
     "defaultValues": {
      "created_date": null,
      "created_user": null,
      "last_edited_date": null,
      "last_edited_user": null,
      "Description": null,
      "ConstructionYear": null,
      "Amount": null,
      "GrassType": null,
      "Type": null,
      "AdditionalInformation": null,
      "Entreprenadomrade": null,
      "SectionGID": null,
      "EndastTillsyn": null
     },
     "code": 4,
     "name": "Stadsäng"
    },
    {
     "domains": {
      "ConstructionYear": {"type": "inherited"},
      "Type": {
       "type": "codedValue",
       "name": "ptGrassType_BruksgräsmattaSällanKlippt",
       "description": "",
       "codedValues": [],
       "mergePolicy": "esriMPTDefaultValue",
       "splitPolicy": "esriSPTDuplicate"
      },
      "AdditionalInformation": {"type": "inherited"},
      "Entreprenadomrade": {"type": "inherited"},
      "EndastTillsyn": {"type": "inherited"}
     },
     "defaultValues": {
      "created_date": null,
      "created_user": null,
      "last_edited_date": null,
      "last_edited_user": null,
      "Description": null,
      "ConstructionYear": null,
      "Amount": null,
      "GrassType": null,
      "Type": null,
      "AdditionalInformation": null,
      "Entreprenadomrade": null,
      "SectionGID": null,
      "EndastTillsyn": null
     },
     "code": 1,
     "name": "Bruksgräsmatta sällan klippt"
    },
    {
     "domains": {
      "ConstructionYear": {"type": "inherited"},
      "Type": {
       "type": "codedValue",
       "name": "ptGrassType_Paradgräsmatta",
       "description": "",
       "codedValues": [],
       "mergePolicy": "esriMPTDefaultValue",
       "splitPolicy": "esriSPTDefaultValue"
      },
      "AdditionalInformation": {"type": "inherited"},
      "Entreprenadomrade": {"type": "inherited"},
      "EndastTillsyn": {"type": "inherited"}
     },
     "defaultValues": {
      "created_date": null,
      "created_user": null,
      "last_edited_date": null,
      "last_edited_user": null,
      "Description": null,
      "ConstructionYear": null,
      "Amount": null,
      "GrassType": null,
      "Type": null,
      "AdditionalInformation": null,
      "Entreprenadomrade": null,
      "SectionGID": null,
      "EndastTillsyn": null
     },
     "code": 5,
     "name": "Paradgräsmatta"
    }
   ],
   "relationships": [],
   "canModifyLayer": true,
   "canScaleSymbols": false,
   "hasLabels": false,
   "capabilities": "Query,Map,Data",
   "maxRecordCount": 2000,
   "supportsStatistics": true,
   "supportsExceedsLimitStatistics": true,
   "supportsAdvancedQueries": true,
   "supportedQueryFormats": "JSON, geoJSON, PBF",
   "isDataVersioned": true,
   "ownershipBasedAccessControlForFeatures": {"allowOthersToQuery": true},
   "useStandardizedQueries": true,
   "supportedSpatialRelationships": [
    "esriSpatialRelIntersects",
    "esriSpatialRelContains",
    "esriSpatialRelCrosses",
    "esriSpatialRelEnvelopeIntersects",
    "esriSpatialRelIndexIntersects",
    "esriSpatialRelOverlaps",
    "esriSpatialRelTouches",
    "esriSpatialRelWithin",
    "esriSpatialRelRelation"
   ],
   "advancedQueryCapabilities": {
    "useStandardizedQueries": true,
    "supportsStatistics": true,
    "supportsPercentileStatistics": true,
    "supportsHavingClause": true,
    "supportsOrderBy": true,
    "supportsDistinct": true,
    "supportsCountDistinct": true,
    "supportsAdvancedQueryRelated": true,
    "supportsQueryRelatedPagination": true,
    "supportsPagination": true,
    "supportsLod": false,
    "supportsQueryWithLodSR": false,
    "supportsTrueCurve": true,
    "supportsQueryWithDatumTransformation": true,
    "supportsReturningQueryExtent": true,
    "supportsQueryWithDistance": true,
    "supportsSqlExpression": true,
    "supportsTimeRelation": true,
    "supportsSqlFormat": false,
    "supportsQueryAttachments": true,
    "supportsQueryAttachmentsWithReturnUrl": true,
    "supportsQueryAnalytic": true,
    "supportsCurrentUserQueries": true
   },
   "supportsDatumTransformation": true,
   "advancedQueryAnalyticCapabilities": {
    "supportsLinearRegression": true,
    "supportsAsync": false,
    "supportsPercentileAnalytic": true
   },
   "dateFieldsTimeReference": null,
   "preferredTimeReference": null,
   "datesInUnknownTimezone": false,
   "hasGeometryProperties": true,
   "geometryProperties": {
    "shapeAreaFieldName": "Shape.STArea()",
    "shapeLengthFieldName": "Shape.STLength()",
    "units": "esriMeters",
    "mapUnits": {"uwkid": 9001}
   },
   "hasMetadata": true,
   "isDataArchived": false,
   "archivingInfo": {
    "supportsQueryWithHistoricMoment": false,
    "startArchivingMoment": -1
   },
   "supportsCoordinatesQuantization": true,
   "supportsDynamicLegends": true,
   "serviceItemId": "aa785d141ada4a7e97858e7110ee13c8"
  }
 ],
 "tables": []
}