{
 "currentVersion": 11.3,
 "cimVersion": "3.3.0",
 "id": 1,
 "name": "Teed",
 "type": "Feature Layer",
 "description": "",
 "geometryType": "esriGeometryPolyline",
 "sourceSpatialReference": {
  "wkid": 3301,
  "latestWkid": 3301,
  "xyTolerance": 0.001,
  "zTolerance": 2,
  "mTolerance": 0.001,
  "falseX": -34999000,
  "falseY": -25103900,
  "xyUnits": 10000,
  "falseZ": 0,
  "zUnits": 1,
  "falseM": -11525.369175999997,
  "mUnits": 10000
 },
 "copyrightText": "",
 "parentLayer": {
  "id": 0,
  "name": "TEEREGISTER"
 },
 "subLayers": [],
 "minScale": 0,
 "maxScale": 0,
 "referenceScale": 0.0,
 "drawingInfo": {
  "renderer": {
   "type": "simple",
   "symbol": {
    "type": "esriSLS",
    "style": "esriSLSSolid",
    "color": [
     212,
     201,
     180,
     255
    ],
    "width": 3.5
   }
  },
  "scaleSymbols": true,
  "transparency": 0,
  "labelingInfo": null
 },
 "defaultVisibility": true,
 "extent": {
  "xmin": 621498.2273999974,
  "ymin": 6437079.826000001,
  "xmax": 648031.3400000036,
  "ymax": 6483354.248,
  "spatialReference": {
   "wkid": 3301,
   "latestWkid": 3301,
   "xyTolerance": 0.001,
   "zTolerance": 0.001,
   "mTolerance": 0.001,
   "falseX": -34999000,
   "falseY": -25103900,
   "xyUnits": 10000,
   "falseZ": -100000,
   "zUnits": 10000,
   "falseM": -100000,
   "mUnits": 10000
  }
 },
 "hasAttachments": false,
 "htmlPopupType": "esriServerHTMLPopupTypeAsHTMLText",
 "displayField": "NIMETUS",
 "typeIdField": null,
 "subtypeFieldName": null,
 "subtypeField": null,
 "defaultSubtypeCode": null,
 "fields": [
  {
   "name": "OBJECTID",
   "type": "esriFieldTypeOID",
   "alias": "OBJECTID",
   "domain": null
  },
  {
   "name": "TEE_NR",
   "type": "esriFieldTypeDouble",
   "alias": "Tee Nr",
   "domain": null
  },
  {
   "name": "NIMETUS",
   "type": "esriFieldTypeString",
   "alias": "Nimetus",
   "length": 66,
   "domain": null
  },
  {
   "name": "ALGUS",
   "type": "esriFieldTypeInteger",
   "alias": "Algus",
   "domain": null
  },
  {
   "name": "LÕPP",
   "type": "esriFieldTypeInteger",
   "alias": "Lõpp",
   "domain": null
  },
  {
   "name": "PIKKUS",
   "type": "esriFieldTypeInteger",
   "alias": "Pikkus",
   "domain": null
  },
  {
   "name": "STEE",
   "type": "esriFieldTypeInteger",
   "alias": "Tee liik",
   "domain": {
    "type": "codedValue",
    "name": "Tee_Liik",
    "description": "Tee kuuluvus",
    "codedValues": [
     {
      "name": "Valla tee",
      "code": 1
     },
     {
      "name": "Eratee",
      "code": 2
     },
     {
      "name": "RMK_tee",
      "code": 3
     },
     {
      "name": "Eratee_TRAM",
      "code": 4
     }
    ],
    "mergePolicy": "esriMPTDefaultValue",
    "splitPolicy": "esriSPTDefaultValue"
   }
  },
  {
   "name": "Tee_tüüp",
   "type": "esriFieldTypeString",
   "alias": "Tee tüüp",
   "length": 255,
   "domain": {
    "type": "codedValue",
    "name": "Tee_tüüp",
    "description": "Tee tüüp",
    "codedValues": [
     {
      "name": "Sõidutee",
      "code": "1"
     },
     {
      "name": "Kergtee",
      "code": "2"
     },
     {
      "name": "Parkla",
      "code": "3"
     }
    ],
    "mergePolicy": "esriMPTDefaultValue",
    "splitPolicy": "esriSPTDefaultValue"
   }
  },
  {
   "name": "MÄRKUSED",
   "type": "esriFieldTypeString",
   "alias": "Märkus",
   "length": 250,
   "domain": null
  },
  {
   "name": "GlobalID",
   "type": "esriFieldTypeGlobalID",
   "alias": "GlobalID",
   "length": 38,
   "domain": null
  },
  {
   "name": "created_user",
   "type": "esriFieldTypeString",
   "alias": "created_user",
   "length": 255,
   "domain": null
  },
  {
   "name": "created_date",
   "type": "esriFieldTypeDate",
   "alias": "created_date",
   "length": 8,
   "domain": null
  },
  {
   "name": "last_edited_user",
   "type": "esriFieldTypeString",
   "alias": "last_edited_user",
   "length": 255,
   "domain": null
  },
  {
   "name": "last_edited_date",
   "type": "esriFieldTypeDate",
   "alias": "last_edited_date",
   "length": 8,
   "domain": null
  },
  {
   "name": "Shape",
   "type": "esriFieldTypeGeometry",
   "alias": "Shape",
   "domain": null
  },
  {
   "name": "Shape.STLength()",
   "type": "esriFieldTypeDouble",
   "alias": "Shape.STLength()",
   "domain": null
  }
 ],
 "geometryField": {
  "name": "Shape",
  "type": "esriFieldTypeGeometry",
  "alias": "Shape"
 },
 "indexes": [
  {
   "name": "R13_pk",
   "fields": "OBJECTID",
   "isAscending": true,
   "isUnique": true,
   "description": ""
  },
  {
   "name": "UUID_13",
   "fields": "GlobalID",
   "isAscending": true,
   "isUnique": true,
   "description": ""
  },
  {
   "name": "S2_idx",
   "fields": "Shape",
   "isAscending": true,
   "isUnique": true,
   "description": ""
  }
 ],
 "subtypes": [],
 "relationships": [
  {
   "id": 9,
   "name": "DBO.Tolmutorje",
   "relatedTableId": 7,
   "role": "esriRelRoleOrigin",
   "keyField": "GlobalID",
   "cardinality": "esriRelCardinalityOneToMany",
   "composite": false,
   "catalogID": "{060C7A8D-1600-4754-ACD9-2E044776A3A2}"
  },
  {
   "id": 0,
   "name": "DBO.Talihooldus_teed",
   "relatedTableId": 4,
   "role": "esriRelRoleOrigin",
   "keyField": "GlobalID",
   "cardinality": "esriRelCardinalityOneToMany",
   "composite": false,
   "catalogID": "{66901D98-8A26-43F1-8909-35D749D185EA}"
  },
  {
   "id": 1,
   "name": "DBO.Harjamine_platsid",
   "relatedTableId": 14,
   "role": "esriRelRoleOrigin",
   "keyField": "GlobalID",
   "cardinality": "esriRelCardinalityOneToMany",
   "composite": false,
   "catalogID": "{7879E508-CF81-453B-A775-42915E33AD76}"
  },
  {
   "id": 3,
   "name": "DBO.Harjamine",
   "relatedTableId": 13,
   "role": "esriRelRoleOrigin",
   "keyField": "GlobalID",
   "cardinality": "esriRelCardinalityOneToMany",
   "composite": false,
   "catalogID": "{D3774AB3-FA67-4289-8426-4BF76BEB5FA5}"
  },
  {
   "id": 2,
   "name": "DBO.Greiderdamine",
   "relatedTableId": 9,
   "role": "esriRelRoleOrigin",
   "keyField": "GlobalID",
   "cardinality": "esriRelCardinalityOneToMany",
   "composite": false,
   "catalogID": "{324B1285-3B57-41A5-9F8C-A42B730DAD10}"
  },
  {
   "id": 5,
   "name": "DBO.Niitmine",
   "relatedTableId": 11,
   "role": "esriRelRoleOrigin",
   "keyField": "GlobalID",
   "cardinality": "esriRelCardinalityOneToMany",
   "composite": false,
   "catalogID": "{D8F985C0-B7FB-463D-B24F-B5262C6CE50A}"
  },
  {
   "id": 6,
   "name": "DBO.katte_margistus",
   "relatedTableId": 19,
   "role": "esriRelRoleOrigin",
   "keyField": "GlobalID",
   "cardinality": "esriRelCardinalityOneToMany",
   "composite": false,
   "catalogID": "{65BD598E-FF08-407C-9E89-CCFAC79BA949}"
  },
  {
   "id": 8,
   "name": "DBO.Liikluskorraldus",
   "relatedTableId": 17,
   "role": "esriRelRoleOrigin",
   "keyField": "GlobalID",
   "cardinality": "esriRelCardinalityOneToMany",
   "composite": false,
   "catalogID": "{A0BA77BA-F93D-4A84-AF9B-DB8438899F35}"
  },
  {
   "id": 4,
   "name": "DBO.PARI",
   "relatedTableId": 23,
   "role": "esriRelRoleOrigin",
   "keyField": "GlobalID",
   "cardinality": "esriRelCardinalityOneToMany",
   "composite": false,
   "catalogID": "{AC3C8B8D-7E2A-41DC-BBC0-F4C6838E4320}"
  },
  {
   "id": 7,
   "name": "DBO.Sulgemine",
   "relatedTableId": 21,
   "role": "esriRelRoleOrigin",
   "keyField": "GlobalID",
   "cardinality": "esriRelCardinalityOneToMany",
   "composite": false,
   "catalogID": "{73C89AB9-042C-47A0-9AD2-F9A3BF650EE5}"
  }
 ],
 "canModifyLayer": true,
 "canScaleSymbols": false,
 "hasLabels": false,
 "capabilities": "Query,Map,Data",
 "maxRecordCount": 2000,
 "supportsStatistics": true,
 "supportsExceedsLimitStatistics": true,
 "supportsAdvancedQueries": true,
 "hasZ": true,
 "hasM": true,
 "supportedQueryFormats": "JSON, geoJSON, PBF",
 "isDataVersioned": false,
 "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,
  "supportsQueryAnalytic": true,
  "supportsCurrentUserQueries": true
 },
 "supportsDatumTransformation": true,
 "advancedQueryAnalyticCapabilities": {
  "supportsLinearRegression": true,
  "supportsAsync": false,
  "supportsPercentileAnalytic": true
 },
 "dateFieldsTimeReference": null,
 "preferredTimeReference": null,
 "datesInUnknownTimezone": false,
 "hasGeometryProperties": true,
 "geometryProperties": {
  "shapeLengthFieldName": "Shape.STLength()",
  "units": "esriMeters",
  "mapUnits": {"uwkid": 9001}
 },
 "hasMetadata": true,
 "isDataArchived": false,
 "archivingInfo": {
  "supportsQueryWithHistoricMoment": false,
  "startArchivingMoment": -1
 },
 "supportsCoordinatesQuantization": true,
 "supportsDynamicLegends": true,
 "serviceItemId": "674b0ff0cc33432dab6beda7e6f96f22"
}