{
 "layers": [
  {
   "currentVersion": 10.91,
   "id": 0,
   "name": "Инфраструктурни објекти",
   "type": "Feature Layer",
   "parentLayer": null,
   "defaultVisibility": true,
   "minScale": 0,
   "maxScale": 0,
   "canScaleSymbols": false,
   "geometryType": "esriGeometryPoint",
   "description": "",
   "copyrightText": "",
   "editFieldsInfo": null,
   "ownershipBasedAccessControlForFeatures": null,
   "syncCanReturnChanges": false,
   "relationships": [],
   "isDataVersioned": true,
   "isDataArchived": false,
   "isCoGoEnabled": false,
   "supportsRollbackOnFailureParameter": false,
   "archivingInfo": {
    "supportsQueryWithHistoricMoment": false,
    "startArchivingMoment": -1
   },
   "supportsStatistics": true,
   "supportsAdvancedQueries": true,
   "supportsValidateSQL": true,
   "supportsCoordinatesQuantization": true,
   "supportsCalculate": false,
   "supportsDatumTransformation": true,
   "advancedQueryCapabilities": {
    "supportsPagination": true,
    "supportsTrueCurve": true,
    "supportsQueryWithDistance": true,
    "supportsReturningQueryExtent": true,
    "supportsStatistics": true,
    "supportsHavingClause": true,
    "supportsOrderBy": true,
    "supportsDistinct": true,
    "supportsCountDistinct": true,
    "supportsQueryWithResultType": true,
    "supportsReturningGeometryCentroid": false,
    "supportsSqlExpression": true,
    "supportsQueryWithDatumTransformation": true
   },
   "extent": {
    "xmin": "NaN",
    "ymin": "NaN",
    "xmax": "NaN",
    "ymax": "NaN",
    "spatialReference": {"wkt": "PROJCS[\"Bessel_1841_Transverse_Mercator\",GEOGCS[\"GCS_Bessel_1841\",DATUM[\"D_Bessel_1841\",SPHEROID[\"Bessel_1841\",6377397.155,299.1528128]],PRIMEM[\"Greenwich\",0.0],UNIT[\"Degree\",0.0174532925199433]],PROJECTION[\"Transverse_Mercator\"],PARAMETER[\"False_Easting\",7500000.0],PARAMETER[\"False_Northing\",0.0],PARAMETER[\"Central_Meridian\",21.0],PARAMETER[\"Scale_Factor\",0.9999],PARAMETER[\"Latitude_Of_Origin\",0.0],UNIT[\"Meter\",1.0]]"}
   },
   "sourceSpatialReference": {"wkt": "PROJCS[\"Bessel_1841_Transverse_Mercator\",GEOGCS[\"GCS_Bessel_1841\",DATUM[\"D_Bessel_1841\",SPHEROID[\"Bessel_1841\",6377397.155,299.1528128]],PRIMEM[\"Greenwich\",0.0],UNIT[\"Degree\",0.0174532925199433]],PROJECTION[\"Transverse_Mercator\"],PARAMETER[\"False_Easting\",7500000.0],PARAMETER[\"False_Northing\",0.0],PARAMETER[\"Central_Meridian\",21.0],PARAMETER[\"Scale_Factor\",0.9999],PARAMETER[\"Latitude_Of_Origin\",0.0],UNIT[\"Meter\",1.0]]"},
   "drawingInfo": {
    "renderer": {
     "type": "simple",
     "symbol": {
      "type": "esriPMS",
      "url": "a2bd56bbda56ecb22c6f30b14a3533f1",
      "imageData": "iVBORw0KGgoAAAANSUhEUgAAAAsAAAAKCAYAAABi8KSDAAAAAXNSR0IB2cksfwAAAAlwSFlzAAAOxAAADsQBlSsOGwAAALtJREFUGJWVz6FKRAEQBdAjLEz2gcmwn7AaBINuFEUMpm0WbSKI0X/wB1xMGkxisS/4AcZN/sIDm5dVsKwg8hSdNpfDZabnH9PrCqtqM8njX/ACLrGK119xVa0nmWIb9114VFVrkGQFB7iuqo15NsXVJ77DIMkLdjDDVpJDDHD7tXmW5BxHGOGmqoZYTnLceXNV9ZM84SHJGIs/Pphkr6rek+zjBLs4w9t3vFRVp0km8/2iaZpJ27Z9PMMH+4BDwMLTkyAAAAAASUVORK5CYII=",
      "contentType": "image/png",
      "width": 8,
      "height": 7,
      "angle": 0,
      "xoffset": 0,
      "yoffset": 0
     },
     "label": "",
     "description": ""
    },
    "transparency": 0,
    "labelingInfo": null
   },
   "hasM": false,
   "hasZ": false,
   "allowGeometryUpdates": true,
   "allowTrueCurvesUpdates": false,
   "onlyAllowTrueCurveUpdatesByTrueCurveClients": false,
   "hasAttachments": false,
   "supportsApplyEditsWithGlobalIds": false,
   "htmlPopupType": "esriServerHTMLPopupTypeAsHTMLText",
   "objectIdField": "OBJECTID",
   "globalIdField": "",
   "displayField": "InfrastructureNameMk",
   "typeIdField": "",
   "subtypeField": "",
   "fields": [
    {
     "name": "OBJECTID",
     "type": "esriFieldTypeOID",
     "alias": "OBJECTID",
     "domain": null,
     "editable": false,
     "nullable": false,
     "defaultValue": null,
     "modelName": "OBJECTID"
    },
    {
     "name": "InfrastructureObjectType",
     "type": "esriFieldTypeInteger",
     "alias": "Тип на објект",
     "domain": {
      "type": "codedValue",
      "name": "dInfrastructureType",
      "description": "",
      "codedValues": [
       {
        "name": "Мост",
        "code": 1
       },
       {
        "name": "Плоштад",
        "code": 2
       },
       {
        "name": "Трговски центар",
        "code": 3
       },
       {
        "name": "Подземен премин",
        "code": 4
       },
       {
        "name": "Надземен премин",
        "code": 5
       },
       {
        "name": "Парк",
        "code": 6
       },
       {
        "name": "Фонтана",
        "code": 7
       },
       {
        "name": "Улица",
        "code": 0
       }
      ],
      "mergePolicy": "esriMPTDefaultValue",
      "splitPolicy": "esriSPTDefaultValue"
     },
     "editable": true,
     "nullable": true,
     "defaultValue": null,
     "modelName": "InfrastructureObjectType"
    },
    {
     "name": "CrCode",
     "type": "esriFieldTypeString",
     "alias": "Матичен број од ЦР",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 15,
     "defaultValue": null,
     "modelName": "CrCode"
    },
    {
     "name": "InfrastructureNameMk",
     "type": "esriFieldTypeString",
     "alias": "Име на објект (МК)",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 50,
     "defaultValue": null,
     "modelName": "InfrastructureNameMk"
    },
    {
     "name": "InfrastructureNameEn",
     "type": "esriFieldTypeString",
     "alias": "Име на објект (EN)",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 50,
     "defaultValue": null,
     "modelName": "InfrastructureNameEn"
    },
    {
     "name": "PlaceCode",
     "type": "esriFieldTypeString",
     "alias": "Населено место",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 9,
     "defaultValue": null,
     "modelName": "PlaceCode"
    },
    {
     "name": "Note",
     "type": "esriFieldTypeString",
     "alias": "Забелешка",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 255,
     "defaultValue": null,
     "modelName": "Note"
    },
    {
     "name": "ValidFrom",
     "type": "esriFieldTypeDate",
     "alias": "Во важност од",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 8,
     "defaultValue": null,
     "modelName": "ValidFrom"
    },
    {
     "name": "ValidTo",
     "type": "esriFieldTypeDate",
     "alias": "До",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 8,
     "defaultValue": null,
     "modelName": "ValidTo"
    },
    {
     "name": "XCoordinate",
     "type": "esriFieldTypeDouble",
     "alias": "XCoordinate",
     "domain": null,
     "editable": true,
     "nullable": true,
     "defaultValue": null,
     "modelName": "XCoordinate"
    },
    {
     "name": "YCoordinate",
     "type": "esriFieldTypeDouble",
     "alias": "YCoordinate",
     "domain": null,
     "editable": true,
     "nullable": true,
     "defaultValue": null,
     "modelName": "YCoordinate"
    },
    {
     "name": "InfrastructureNameSq",
     "type": "esriFieldTypeString",
     "alias": "InfrastructureNameSq",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 50,
     "defaultValue": null,
     "modelName": "InfrastructureNameSq"
    }
   ],
   "geometryField": {
    "name": "SHAPE",
    "type": "esriFieldTypeGeometry",
    "alias": "SHAPE",
    "domain": null,
    "editable": true,
    "nullable": true,
    "defaultValue": null,
    "modelName": "SHAPE"
   },
   "indexes": [
    {
     "name": "R50_SDE_ROWID_UK",
     "fields": "OBJECTID",
     "isAscending": true,
     "isUnique": true,
     "description": ""
    },
    {
     "name": "G78PlaceCode",
     "fields": "PlaceCode",
     "isAscending": true,
     "isUnique": false,
     "description": ""
    },
    {
     "name": "a16_ix1",
     "fields": "SHAPE",
     "isAscending": true,
     "isUnique": true,
     "description": ""
    }
   ],
   "dateFieldsTimeReference": {
    "timeZone": "UTC",
    "respectsDaylightSaving": false
   },
   "types": [],
   "templates": [
    {
     "name": "Инфраструктурни објекти",
     "description": "",
     "prototype": {
      "attributes": {
       "InfrastructureNameSq": null,
       "InfrastructureObjectType": null,
       "CrCode": null,
       "InfrastructureNameMk": null,
       "InfrastructureNameEn": null,
       "PlaceCode": null,
       "Note": null,
       "ValidFrom": null,
       "ValidTo": null,
       "XCoordinate": null,
       "YCoordinate": null
      }
     },
     "drawingTool": "esriFeatureEditToolPoint"
    }
   ],
   "maxRecordCount": 1000,
   "supportedQueryFormats": "JSON, geoJSON",
   "capabilities": "Query,Create,Update,Delete,Uploads,Editing",
   "useStandardizedQueries": true,
   "standardMaxRecordCount": 32000,
   "tileMaxRecordCount": 8000,
   "standardMaxRecordCountNoGeometry": 32000,
   "maxRecordCountFactor": 1
  },
  {
   "currentVersion": 10.91,
   "id": 1,
   "name": "Куќни броеви",
   "type": "Feature Layer",
   "parentLayer": null,
   "defaultVisibility": true,
   "minScale": 0,
   "maxScale": 0,
   "canScaleSymbols": false,
   "geometryType": "esriGeometryPoint",
   "description": "",
   "copyrightText": "",
   "editFieldsInfo": null,
   "ownershipBasedAccessControlForFeatures": null,
   "syncCanReturnChanges": false,
   "relationships": [
    {
     "id": 0,
     "name": "STREETS",
     "relatedTableId": 5,
     "cardinality": "esriRelCardinalityOneToMany",
     "role": "esriRelRoleDestination",
     "keyField": "StreetId",
     "composite": false
    }
   ],
   "isDataVersioned": true,
   "isDataArchived": false,
   "isCoGoEnabled": false,
   "supportsRollbackOnFailureParameter": false,
   "archivingInfo": {
    "supportsQueryWithHistoricMoment": false,
    "startArchivingMoment": -1
   },
   "supportsStatistics": true,
   "supportsAdvancedQueries": true,
   "supportsValidateSQL": true,
   "supportsCoordinatesQuantization": true,
   "supportsCalculate": false,
   "supportsDatumTransformation": true,
   "advancedQueryCapabilities": {
    "supportsPagination": true,
    "supportsTrueCurve": true,
    "supportsQueryWithDistance": true,
    "supportsReturningQueryExtent": true,
    "supportsStatistics": true,
    "supportsHavingClause": true,
    "supportsOrderBy": true,
    "supportsDistinct": true,
    "supportsCountDistinct": true,
    "supportsQueryWithResultType": true,
    "supportsReturningGeometryCentroid": false,
    "supportsSqlExpression": true,
    "supportsQueryWithDatumTransformation": true
   },
   "extent": {
    "xmin": 7513507.020400001,
    "ymin": 4642549.159,
    "xmax": 7549097.3796999995,
    "ymax": 4663165.2042,
    "spatialReference": {"wkt": "PROJCS[\"Bessel_1841_Transverse_Mercator\",GEOGCS[\"GCS_Bessel_1841\",DATUM[\"D_Bessel_1841\",SPHEROID[\"Bessel_1841\",6377397.155,299.1528128]],PRIMEM[\"Greenwich\",0.0],UNIT[\"Degree\",0.0174532925199433]],PROJECTION[\"Transverse_Mercator\"],PARAMETER[\"False_Easting\",7500000.0],PARAMETER[\"False_Northing\",0.0],PARAMETER[\"Central_Meridian\",21.0],PARAMETER[\"Scale_Factor\",0.9999],PARAMETER[\"Latitude_Of_Origin\",0.0],UNIT[\"Meter\",1.0]]"}
   },
   "sourceSpatialReference": {"wkt": "PROJCS[\"Bessel_1841_Transverse_Mercator\",GEOGCS[\"GCS_Bessel_1841\",DATUM[\"D_Bessel_1841\",SPHEROID[\"Bessel_1841\",6377397.155,299.1528128]],PRIMEM[\"Greenwich\",0.0],UNIT[\"Degree\",0.0174532925199433]],PROJECTION[\"Transverse_Mercator\"],PARAMETER[\"False_Easting\",7500000.0],PARAMETER[\"False_Northing\",0.0],PARAMETER[\"Central_Meridian\",21.0],PARAMETER[\"Scale_Factor\",0.9999],PARAMETER[\"Latitude_Of_Origin\",0.0],UNIT[\"Meter\",1.0]]"},
   "drawingInfo": {
    "renderer": {
     "type": "simple",
     "symbol": {
      "type": "esriPMS",
      "url": "92b4aa6709db256cd116e582a3af8981",
      "imageData": "iVBORw0KGgoAAAANSUhEUgAAAAsAAAALCAYAAACprHcmAAAAAXNSR0IB2cksfwAAAAlwSFlzAAAOxAAADsQBlSsOGwAAADxJREFUGJVjYSABsDAwMDD8D2XYy8DALo1b2c+fjKsZ9FmgPGUGhp/yeAz9CTeZJGeMKkZWzLiaQYEYxQDiWggtkyhbygAAAABJRU5ErkJggg==",
      "contentType": "image/png",
      "width": 8,
      "height": 8,
      "angle": 0,
      "xoffset": 0,
      "yoffset": 0
     },
     "label": "",
     "description": ""
    },
    "transparency": 0,
    "labelingInfo": null
   },
   "hasM": false,
   "hasZ": false,
   "allowGeometryUpdates": true,
   "allowTrueCurvesUpdates": false,
   "onlyAllowTrueCurveUpdatesByTrueCurveClients": false,
   "hasAttachments": false,
   "supportsApplyEditsWithGlobalIds": false,
   "htmlPopupType": "esriServerHTMLPopupTypeAsHTMLText",
   "objectIdField": "OBJECTID",
   "globalIdField": "",
   "displayField": "PlaceCode",
   "typeIdField": "",
   "subtypeField": "",
   "fields": [
    {
     "name": "OBJECTID",
     "type": "esriFieldTypeOID",
     "alias": "OBJECTID",
     "domain": null,
     "editable": false,
     "nullable": false,
     "defaultValue": null,
     "modelName": "OBJECTID"
    },
    {
     "name": "StreetId",
     "type": "esriFieldTypeInteger",
     "alias": "ИД на улица",
     "domain": null,
     "editable": true,
     "nullable": true,
     "defaultValue": null,
     "modelName": "StreetId"
    },
    {
     "name": "PlaceCode",
     "type": "esriFieldTypeString",
     "alias": "Населено место",
     "domain": null,
     "editable": true,
     "nullable": false,
     "length": 9,
     "defaultValue": null,
     "modelName": "PlaceCode"
    },
    {
     "name": "BuildingNumber",
     "type": "esriFieldTypeString",
     "alias": "BuildingNumber",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 10,
     "defaultValue": null,
     "modelName": "BuildingNumber"
    },
    {
     "name": "BuildingNumberMark",
     "type": "esriFieldTypeString",
     "alias": "Знак",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 10,
     "defaultValue": null,
     "modelName": "BuildingNumberMark"
    },
    {
     "name": "CrCode",
     "type": "esriFieldTypeString",
     "alias": "Матичен број од ЦР",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 15,
     "defaultValue": null,
     "modelName": "CrCode"
    },
    {
     "name": "Description",
     "type": "esriFieldTypeString",
     "alias": "Назив на објект (опис)",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 255,
     "defaultValue": null,
     "modelName": "Description"
    },
    {
     "name": "BuildingType",
     "type": "esriFieldTypeInteger",
     "alias": "Тип на објект",
     "domain": {
      "type": "codedValue",
      "name": "dBuildingType",
      "description": "",
      "codedValues": [
       {
        "name": "Residental single unit",
        "code": 1
       },
       {
        "name": "Residental multiple units",
        "code": 2
       },
       {
        "name": "Commercial",
        "code": 3
       },
       {
        "name": "Governmental",
        "code": 4
       },
       {
        "name": "Industrial",
        "code": 5
       },
       {
        "name": "Educational",
        "code": 6
       },
       {
        "name": "Historical",
        "code": 7
       },
       {
        "name": "Religious",
        "code": 8
       },
       {
        "name": "Farm",
        "code": 9
       },
       {
        "name": "Healtcare",
        "code": 10
       },
       {
        "name": "Social-Cultural",
        "code": 11
       },
       {
        "name": "Sports",
        "code": 12
       },
       {
        "name": "Tourism",
        "code": 13
       },
       {
        "name": "Unknown",
        "code": 14
       }
      ],
      "mergePolicy": "esriMPTDefaultValue",
      "splitPolicy": "esriSPTDuplicate"
     },
     "editable": true,
     "nullable": true,
     "defaultValue": null,
     "modelName": "BuildingType"
    },
    {
     "name": "NumberType",
     "type": "esriFieldTypeInteger",
     "alias": "Тип на број",
     "domain": {
      "type": "codedValue",
      "name": "dNumberType",
      "description": "",
      "codedValues": [
       {
        "name": "Постоечки",
        "code": 1
       },
       {
        "name": "Предвиден",
        "code": 2
       },
       {
        "name": "Доделен",
        "code": 3
       },
       {
        "name": "Потврден",
        "code": 4
       }
      ],
      "mergePolicy": "esriMPTDefaultValue",
      "splitPolicy": "esriSPTDefaultValue"
     },
     "editable": true,
     "nullable": true,
     "defaultValue": null,
     "modelName": "NumberType"
    },
    {
     "name": "NumberOfEntrances",
     "type": "esriFieldTypeSmallInteger",
     "alias": "Број на влезови",
     "domain": null,
     "editable": true,
     "nullable": true,
     "defaultValue": null,
     "modelName": "NumberOfEntrances"
    },
    {
     "name": "NumberOfFloors",
     "type": "esriFieldTypeSmallInteger",
     "alias": "Број на катови",
     "domain": null,
     "editable": true,
     "nullable": true,
     "defaultValue": null,
     "modelName": "NumberOfFloors"
    },
    {
     "name": "HasTable",
     "type": "esriFieldTypeSmallInteger",
     "alias": "HasTable",
     "domain": null,
     "editable": true,
     "nullable": true,
     "defaultValue": null,
     "modelName": "HasTable"
    },
    {
     "name": "Note",
     "type": "esriFieldTypeString",
     "alias": "Забелешка",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 255,
     "defaultValue": null,
     "modelName": "Note"
    },
    {
     "name": "CadastralMunicipality",
     "type": "esriFieldTypeString",
     "alias": "Катастарска општина",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 50,
     "defaultValue": null,
     "modelName": "CadastralMunicipality"
    },
    {
     "name": "CadastralParcel",
     "type": "esriFieldTypeString",
     "alias": "Катастарска парцела",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 20,
     "defaultValue": null,
     "modelName": "CadastralParcel"
    },
    {
     "name": "ValidFrom",
     "type": "esriFieldTypeDate",
     "alias": "Во важност од",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 8,
     "defaultValue": null,
     "modelName": "ValidFrom"
    },
    {
     "name": "ValidTo",
     "type": "esriFieldTypeDate",
     "alias": "До",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 8,
     "defaultValue": null,
     "modelName": "ValidTo"
    },
    {
     "name": "XCoordinate",
     "type": "esriFieldTypeDouble",
     "alias": "XCoordinate",
     "domain": null,
     "editable": true,
     "nullable": true,
     "defaultValue": null,
     "modelName": "XCoordinate"
    },
    {
     "name": "YCoordinate",
     "type": "esriFieldTypeDouble",
     "alias": "YCoordinate",
     "domain": null,
     "editable": true,
     "nullable": true,
     "defaultValue": null,
     "modelName": "YCoordinate"
    },
    {
     "name": "Status",
     "type": "esriFieldTypeInteger",
     "alias": "Статус",
     "domain": {
      "type": "codedValue",
      "name": "dStatus",
      "description": "",
      "codedValues": [
       {
        "name": "Ima na Karta",
        "code": 1
       },
       {
        "name": "Ima na Satelitska snimka",
        "code": 2
       },
       {
        "name": "Ima na Karta i na Sat. snimka",
        "code": 3
       },
       {
        "name": "Ima gradezen poligon, nema na Sat snimka",
        "code": 4
       },
       {
        "name": "Dupli broj",
        "code": 5
       },
       {
        "name": "Objekt bez broj",
        "code": 6
       },
       {
        "name": "Терен",
        "code": 7
       }
      ],
      "mergePolicy": "esriMPTDefaultValue",
      "splitPolicy": "esriSPTDefaultValue"
     },
     "editable": true,
     "nullable": true,
     "defaultValue": null,
     "modelName": "Status"
    }
   ],
   "geometryField": {
    "name": "SHAPE",
    "type": "esriFieldTypeGeometry",
    "alias": "SHAPE",
    "domain": null,
    "editable": true,
    "nullable": true,
    "defaultValue": null,
    "modelName": "SHAPE"
   },
   "indexes": [
    {
     "name": "R51_SDE_ROWID_UK",
     "fields": "OBJECTID",
     "isAscending": true,
     "isUnique": true,
     "description": ""
    },
    {
     "name": "G79PlaceCode",
     "fields": "PlaceCode",
     "isAscending": true,
     "isUnique": false,
     "description": ""
    },
    {
     "name": "G79StreetId",
     "fields": "StreetId",
     "isAscending": true,
     "isUnique": false,
     "description": ""
    },
    {
     "name": "a17_ix1",
     "fields": "SHAPE",
     "isAscending": true,
     "isUnique": true,
     "description": ""
    }
   ],
   "dateFieldsTimeReference": {
    "timeZone": "UTC",
    "respectsDaylightSaving": false
   },
   "types": [],
   "templates": [
    {
     "name": "Куќни броеви",
     "description": "",
     "prototype": {
      "attributes": {
       "StreetId": null,
       "Status": null,
       "PlaceCode": " ",
       "BuildingNumber": null,
       "BuildingNumberMark": null,
       "CrCode": null,
       "Description": null,
       "BuildingType": null,
       "NumberType": null,
       "NumberOfEntrances": null,
       "NumberOfFloors": null,
       "HasTable": null,
       "Note": null,
       "CadastralMunicipality": null,
       "CadastralParcel": null,
       "ValidFrom": null,
       "ValidTo": null,
       "XCoordinate": null,
       "YCoordinate": null
      }
     },
     "drawingTool": "esriFeatureEditToolPoint"
    }
   ],
   "maxRecordCount": 1000,
   "supportedQueryFormats": "JSON, geoJSON",
   "capabilities": "Query,Create,Update,Delete,Uploads,Editing",
   "useStandardizedQueries": true,
   "standardMaxRecordCount": 32000,
   "tileMaxRecordCount": 8000,
   "standardMaxRecordCountNoGeometry": 32000,
   "maxRecordCountFactor": 1
  },
  {
   "currentVersion": 10.91,
   "id": 2,
   "name": "Улици",
   "type": "Feature Layer",
   "parentLayer": null,
   "defaultVisibility": true,
   "minScale": 0,
   "maxScale": 0,
   "canScaleSymbols": false,
   "geometryType": "esriGeometryPolyline",
   "description": "",
   "copyrightText": "",
   "editFieldsInfo": null,
   "ownershipBasedAccessControlForFeatures": null,
   "syncCanReturnChanges": false,
   "relationships": [
    {
     "id": 1,
     "name": "STREETS",
     "relatedTableId": 5,
     "cardinality": "esriRelCardinalityOneToMany",
     "role": "esriRelRoleDestination",
     "keyField": "StreetID",
     "composite": false
    }
   ],
   "isDataVersioned": true,
   "isDataArchived": false,
   "isCoGoEnabled": false,
   "supportsRollbackOnFailureParameter": false,
   "archivingInfo": {
    "supportsQueryWithHistoricMoment": false,
    "startArchivingMoment": -1
   },
   "supportsStatistics": true,
   "supportsAdvancedQueries": true,
   "supportsValidateSQL": true,
   "supportsCoordinatesQuantization": true,
   "supportsCalculate": false,
   "supportsDatumTransformation": true,
   "advancedQueryCapabilities": {
    "supportsPagination": true,
    "supportsTrueCurve": true,
    "supportsQueryWithDistance": true,
    "supportsReturningQueryExtent": true,
    "supportsStatistics": true,
    "supportsHavingClause": true,
    "supportsOrderBy": true,
    "supportsDistinct": true,
    "supportsCountDistinct": true,
    "supportsQueryWithResultType": true,
    "supportsReturningGeometryCentroid": false,
    "supportsSqlExpression": true,
    "supportsQueryWithDatumTransformation": true
   },
   "extent": {
    "xmin": 7512363.0319,
    "ymin": 4640233.4879,
    "xmax": 7549799.810799999,
    "ymax": 4665092.3943,
    "spatialReference": {"wkt": "PROJCS[\"Bessel_1841_Transverse_Mercator\",GEOGCS[\"GCS_Bessel_1841\",DATUM[\"D_Bessel_1841\",SPHEROID[\"Bessel_1841\",6377397.155,299.1528128]],PRIMEM[\"Greenwich\",0.0],UNIT[\"Degree\",0.0174532925199433]],PROJECTION[\"Transverse_Mercator\"],PARAMETER[\"False_Easting\",7500000.0],PARAMETER[\"False_Northing\",0.0],PARAMETER[\"Central_Meridian\",21.0],PARAMETER[\"Scale_Factor\",0.9999],PARAMETER[\"Latitude_Of_Origin\",0.0],UNIT[\"Meter\",1.0]]"}
   },
   "sourceSpatialReference": {"wkt": "PROJCS[\"Bessel_1841_Transverse_Mercator\",GEOGCS[\"GCS_Bessel_1841\",DATUM[\"D_Bessel_1841\",SPHEROID[\"Bessel_1841\",6377397.155,299.1528128]],PRIMEM[\"Greenwich\",0.0],UNIT[\"Degree\",0.0174532925199433]],PROJECTION[\"Transverse_Mercator\"],PARAMETER[\"False_Easting\",7500000.0],PARAMETER[\"False_Northing\",0.0],PARAMETER[\"Central_Meridian\",21.0],PARAMETER[\"Scale_Factor\",0.9999],PARAMETER[\"Latitude_Of_Origin\",0.0],UNIT[\"Meter\",1.0]]"},
   "drawingInfo": {
    "renderer": {
     "type": "simple",
     "symbol": {
      "type": "esriSLS",
      "style": "esriSLSSolid",
      "color": [
       255,
       211,
       127,
       255
      ],
      "width": 5
     },
     "label": "",
     "description": ""
    },
    "transparency": 0,
    "labelingInfo": null
   },
   "hasM": false,
   "hasZ": false,
   "allowGeometryUpdates": true,
   "allowTrueCurvesUpdates": false,
   "onlyAllowTrueCurveUpdatesByTrueCurveClients": false,
   "hasAttachments": false,
   "supportsApplyEditsWithGlobalIds": false,
   "htmlPopupType": "esriServerHTMLPopupTypeAsHTMLText",
   "objectIdField": "OBJECTID",
   "globalIdField": "",
   "displayField": "PlaceLeftCode",
   "typeIdField": "",
   "subtypeField": "",
   "fields": [
    {
     "name": "OBJECTID",
     "type": "esriFieldTypeOID",
     "alias": "OBJECTID",
     "domain": null,
     "editable": false,
     "nullable": false,
     "defaultValue": null,
     "modelName": "OBJECTID"
    },
    {
     "name": "StreetID",
     "type": "esriFieldTypeInteger",
     "alias": "ИД на улица",
     "domain": null,
     "editable": true,
     "nullable": true,
     "defaultValue": null,
     "modelName": "StreetID"
    },
    {
     "name": "PlaceLeftCode",
     "type": "esriFieldTypeString",
     "alias": "Населено место (лево)",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 9,
     "defaultValue": null,
     "modelName": "PlaceLeftCode"
    },
    {
     "name": "PlaceRightCode",
     "type": "esriFieldTypeString",
     "alias": "Населено место (десно)",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 9,
     "defaultValue": null,
     "modelName": "PlaceRightCode"
    },
    {
     "name": "Direction",
     "type": "esriFieldTypeInteger",
     "alias": "Насочност",
     "domain": {
      "type": "codedValue",
      "name": "dStreetSegmentDirection",
      "description": "",
      "codedValues": [
       {
        "name": "One-way street",
        "code": 1
       },
       {
        "name": "Two-way street",
        "code": 2
       },
       {
        "name": "Cul-de-sac",
        "code": 3
       }
      ],
      "mergePolicy": "esriMPTDefaultValue",
      "splitPolicy": "esriSPTDuplicate"
     },
     "editable": true,
     "nullable": true,
     "defaultValue": null,
     "modelName": "Direction"
    },
    {
     "name": "OldUniqueNumber",
     "type": "esriFieldTypeString",
     "alias": "Стар матичен број",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 15,
     "defaultValue": null,
     "modelName": "OldUniqueNumber"
    },
    {
     "name": "Status",
     "type": "esriFieldTypeInteger",
     "alias": "Статус",
     "domain": {
      "type": "codedValue",
      "name": "dStatus",
      "description": "",
      "codedValues": [
       {
        "name": "Ima na Karta",
        "code": 1
       },
       {
        "name": "Ima na Satelitska snimka",
        "code": 2
       },
       {
        "name": "Ima na Karta i na Sat. snimka",
        "code": 3
       },
       {
        "name": "Ima gradezen poligon, nema na Sat snimka",
        "code": 4
       },
       {
        "name": "Dupli broj",
        "code": 5
       },
       {
        "name": "Objekt bez broj",
        "code": 6
       },
       {
        "name": "Терен",
        "code": 7
       }
      ],
      "mergePolicy": "esriMPTDefaultValue",
      "splitPolicy": "esriSPTDefaultValue"
     },
     "editable": true,
     "nullable": true,
     "defaultValue": null,
     "modelName": "Status"
    },
    {
     "name": "HasTable",
     "type": "esriFieldTypeSmallInteger",
     "alias": "Табла за обележување",
     "domain": {
      "type": "codedValue",
      "name": "dHasTable",
      "description": "",
      "codedValues": [
       {
        "name": "Нема табела",
        "code": 0
       },
       {
        "name": "Има табела",
        "code": 1
       }
      ],
      "mergePolicy": "esriMPTDefaultValue",
      "splitPolicy": "esriSPTDefaultValue"
     },
     "editable": true,
     "nullable": true,
     "defaultValue": null,
     "modelName": "HasTable"
    },
    {
     "name": "Note",
     "type": "esriFieldTypeString",
     "alias": "Забелешка",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 255,
     "defaultValue": null,
     "modelName": "Note"
    },
    {
     "name": "ValidFrom",
     "type": "esriFieldTypeDate",
     "alias": "Во важност од",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 8,
     "defaultValue": null,
     "modelName": "ValidFrom"
    },
    {
     "name": "ValidTo",
     "type": "esriFieldTypeDate",
     "alias": "До",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 8,
     "defaultValue": null,
     "modelName": "ValidTo"
    }
   ],
   "geometryField": {
    "name": "SHAPE",
    "type": "esriFieldTypeGeometry",
    "alias": "SHAPE",
    "domain": null,
    "editable": true,
    "nullable": true,
    "defaultValue": null,
    "modelName": "SHAPE"
   },
   "indexes": [
    {
     "name": "R52_SDE_ROWID_UK",
     "fields": "OBJECTID",
     "isAscending": true,
     "isUnique": true,
     "description": ""
    },
    {
     "name": "G80PlaceLeftCode",
     "fields": "PlaceLeftCode",
     "isAscending": true,
     "isUnique": false,
     "description": ""
    },
    {
     "name": "G80PlaceRightCod",
     "fields": "PlaceRightCode",
     "isAscending": true,
     "isUnique": false,
     "description": ""
    },
    {
     "name": "G80StreetID",
     "fields": "StreetID",
     "isAscending": true,
     "isUnique": false,
     "description": ""
    },
    {
     "name": "a18_ix1",
     "fields": "SHAPE",
     "isAscending": true,
     "isUnique": true,
     "description": ""
    }
   ],
   "dateFieldsTimeReference": {
    "timeZone": "UTC",
    "respectsDaylightSaving": false
   },
   "types": [],
   "templates": [
    {
     "name": "Улици",
     "description": "",
     "prototype": {
      "attributes": {
       "ValidTo": null,
       "StreetID": null,
       "PlaceLeftCode": null,
       "PlaceRightCode": null,
       "Direction": null,
       "OldUniqueNumber": null,
       "Status": null,
       "HasTable": null,
       "Note": null,
       "ValidFrom": null
      }
     },
     "drawingTool": "esriFeatureEditToolLine"
    }
   ],
   "maxRecordCount": 1000,
   "supportedQueryFormats": "JSON, geoJSON",
   "capabilities": "Query,Create,Update,Delete,Uploads,Editing",
   "useStandardizedQueries": true,
   "standardMaxRecordCount": 8000,
   "tileMaxRecordCount": 4000,
   "standardMaxRecordCountNoGeometry": 32000,
   "maxRecordCountFactor": 1
  }
 ],
 "tables": [
  {
   "currentVersion": 10.91,
   "id": 3,
   "name": "ad2013teren.SDE.BuildingNumberHistory",
   "type": "Table",
   "description": "",
   "copyrightText": "",
   "editFieldsInfo": null,
   "ownershipBasedAccessControlForFeatures": null,
   "syncCanReturnChanges": false,
   "relationships": [],
   "isDataVersioned": false,
   "isDataArchived": false,
   "isCoGoEnabled": false,
   "supportsRollbackOnFailureParameter": true,
   "archivingInfo": {
    "supportsQueryWithHistoricMoment": false,
    "startArchivingMoment": -1
   },
   "supportsStatistics": true,
   "supportsAdvancedQueries": true,
   "supportsValidateSQL": true,
   "supportsCoordinatesQuantization": false,
   "supportsCalculate": true,
   "advancedQueryCapabilities": {
    "supportsPagination": true,
    "supportsTrueCurve": true,
    "supportsQueryWithDistance": true,
    "supportsReturningQueryExtent": true,
    "supportsStatistics": true,
    "supportsHavingClause": true,
    "supportsOrderBy": true,
    "supportsDistinct": true,
    "supportsCountDistinct": true,
    "supportsQueryWithResultType": true,
    "supportsReturningGeometryCentroid": false,
    "supportsSqlExpression": true
   },
   "hasAttachments": false,
   "supportsApplyEditsWithGlobalIds": false,
   "htmlPopupType": "esriServerHTMLPopupTypeNone",
   "objectIdField": "OBJECTID",
   "globalIdField": "",
   "displayField": "UserName",
   "typeIdField": "",
   "subtypeField": "",
   "fields": [
    {
     "name": "OBJECTID",
     "type": "esriFieldTypeOID",
     "alias": "OBJECTID",
     "domain": null,
     "editable": false,
     "nullable": false,
     "defaultValue": null,
     "modelName": "OBJECTID"
    },
    {
     "name": "ActionType",
     "type": "esriFieldTypeInteger",
     "alias": "Тип на акција",
     "domain": null,
     "editable": true,
     "nullable": true,
     "defaultValue": null,
     "modelName": "ActionType"
    },
    {
     "name": "ActionDate",
     "type": "esriFieldTypeDate",
     "alias": "ActionDate",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 8,
     "defaultValue": null,
     "modelName": "ActionDate"
    },
    {
     "name": "UserName",
     "type": "esriFieldTypeString",
     "alias": "Корисник",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 50,
     "defaultValue": null,
     "modelName": "UserName"
    },
    {
     "name": "BuildingNumberId",
     "type": "esriFieldTypeInteger",
     "alias": "ИД на број на објект",
     "domain": null,
     "editable": true,
     "nullable": true,
     "defaultValue": null,
     "modelName": "BuildingNumberId"
    },
    {
     "name": "BuildingNumberOld",
     "type": "esriFieldTypeString",
     "alias": "Стар број на објект",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 10,
     "defaultValue": null,
     "modelName": "BuildingNumberOld"
    },
    {
     "name": "BuildingNumberNew",
     "type": "esriFieldTypeString",
     "alias": "Нов број на објект",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 10,
     "defaultValue": null,
     "modelName": "BuildingNumberNew"
    },
    {
     "name": "BuildingNumberMarkOld",
     "type": "esriFieldTypeString",
     "alias": "Стар знак",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 10,
     "defaultValue": null,
     "modelName": "BuildingNumberMarkOld"
    },
    {
     "name": "BuildingNUmberMarkNew",
     "type": "esriFieldTypeString",
     "alias": "Нов знак",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 10,
     "defaultValue": null,
     "modelName": "BuildingNUmberMarkNew"
    },
    {
     "name": "StreetIdOld",
     "type": "esriFieldTypeInteger",
     "alias": "ИД на стара улица",
     "domain": null,
     "editable": true,
     "nullable": true,
     "defaultValue": null,
     "modelName": "StreetIdOld"
    },
    {
     "name": "StreetIdNew",
     "type": "esriFieldTypeInteger",
     "alias": "ИД на нова улица",
     "domain": null,
     "editable": true,
     "nullable": true,
     "defaultValue": null,
     "modelName": "StreetIdNew"
    },
    {
     "name": "StreetNameMkOld",
     "type": "esriFieldTypeString",
     "alias": "Старо име на улица (МК)",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 50,
     "defaultValue": null,
     "modelName": "StreetNameMkOld"
    },
    {
     "name": "StreetNameMkNew",
     "type": "esriFieldTypeString",
     "alias": "Ново име на улица (МК)",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 50,
     "defaultValue": null,
     "modelName": "StreetNameMkNew"
    },
    {
     "name": "StreetNameEnOld",
     "type": "esriFieldTypeString",
     "alias": "Старо име на улица (EN)",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 50,
     "defaultValue": null,
     "modelName": "StreetNameEnOld"
    },
    {
     "name": "StreetNameEnNew",
     "type": "esriFieldTypeString",
     "alias": "Ново име на улица (EN)",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 50,
     "defaultValue": null,
     "modelName": "StreetNameEnNew"
    },
    {
     "name": "PlaceCodeOld",
     "type": "esriFieldTypeString",
     "alias": "Старо населено место",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 9,
     "defaultValue": null,
     "modelName": "PlaceCodeOld"
    },
    {
     "name": "PlaceCodeNew",
     "type": "esriFieldTypeString",
     "alias": "Ново населено место",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 9,
     "defaultValue": null,
     "modelName": "PlaceCodeNew"
    },
    {
     "name": "CadastralMunicipalityOld",
     "type": "esriFieldTypeString",
     "alias": "CadastralMunicipalityOld",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 50,
     "defaultValue": null,
     "modelName": "CadastralMunicipalityOld"
    },
    {
     "name": "CadastralMunicipalityNew",
     "type": "esriFieldTypeString",
     "alias": "CadastralMunicipalityNew",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 50,
     "defaultValue": null,
     "modelName": "CadastralMunicipalityNew"
    },
    {
     "name": "CadastralParcelOld",
     "type": "esriFieldTypeString",
     "alias": "CadastralParcelOld",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 20,
     "defaultValue": null,
     "modelName": "CadastralParcelOld"
    },
    {
     "name": "CadastralParcelNew",
     "type": "esriFieldTypeString",
     "alias": "CadastralParcelNew",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 20,
     "defaultValue": null,
     "modelName": "CadastralParcelNew"
    },
    {
     "name": "CrCodeOld",
     "type": "esriFieldTypeString",
     "alias": "Стар матичен број од ЦР",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 15,
     "defaultValue": null,
     "modelName": "CrCodeOld"
    },
    {
     "name": "CrCodeNew",
     "type": "esriFieldTypeString",
     "alias": "Нов матичен број од ЦР",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 15,
     "defaultValue": null,
     "modelName": "CrCodeNew"
    },
    {
     "name": "StatusOld",
     "type": "esriFieldTypeString",
     "alias": "StatusOld",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 50,
     "defaultValue": null,
     "modelName": "StatusOld"
    },
    {
     "name": "StatusNew",
     "type": "esriFieldTypeString",
     "alias": "StatusNew",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 50,
     "defaultValue": null,
     "modelName": "StatusNew"
    },
    {
     "name": "BuildingTypeOld",
     "type": "esriFieldTypeString",
     "alias": "BuildingTypeOld",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 50,
     "defaultValue": null,
     "modelName": "BuildingTypeOld"
    },
    {
     "name": "BuildingTypeNew",
     "type": "esriFieldTypeString",
     "alias": "BuildingTypeNew",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 50,
     "defaultValue": null,
     "modelName": "BuildingTypeNew"
    },
    {
     "name": "NumberTypeOld",
     "type": "esriFieldTypeString",
     "alias": "NumberTypeOld",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 50,
     "defaultValue": null,
     "modelName": "NumberTypeOld"
    },
    {
     "name": "NumberTypeNew",
     "type": "esriFieldTypeString",
     "alias": "NumberTypeNew",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 50,
     "defaultValue": null,
     "modelName": "NumberTypeNew"
    },
    {
     "name": "NumberOfEntrancesOld",
     "type": "esriFieldTypeSmallInteger",
     "alias": "NumberOfEntrancesOld",
     "domain": null,
     "editable": true,
     "nullable": true,
     "defaultValue": null,
     "modelName": "NumberOfEntrancesOld"
    },
    {
     "name": "NumberOfEntrancesNew",
     "type": "esriFieldTypeSmallInteger",
     "alias": "NumberOfEntrancesNew",
     "domain": null,
     "editable": true,
     "nullable": true,
     "defaultValue": null,
     "modelName": "NumberOfEntrancesNew"
    },
    {
     "name": "NumberOfFloorsOld",
     "type": "esriFieldTypeSmallInteger",
     "alias": "NumberOfFloorsOld",
     "domain": null,
     "editable": true,
     "nullable": true,
     "defaultValue": null,
     "modelName": "NumberOfFloorsOld"
    },
    {
     "name": "NumberOfFloorsNew",
     "type": "esriFieldTypeSmallInteger",
     "alias": "NumberOfFloorsNew",
     "domain": null,
     "editable": true,
     "nullable": true,
     "defaultValue": null,
     "modelName": "NumberOfFloorsNew"
    },
    {
     "name": "HasTableOld",
     "type": "esriFieldTypeString",
     "alias": "HasTableOld",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 50,
     "defaultValue": null,
     "modelName": "HasTableOld"
    },
    {
     "name": "HasTableNew",
     "type": "esriFieldTypeString",
     "alias": "HasTableNew",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 50,
     "defaultValue": null,
     "modelName": "HasTableNew"
    },
    {
     "name": "DescriptionOld",
     "type": "esriFieldTypeString",
     "alias": "DescriptionOld",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 255,
     "defaultValue": null,
     "modelName": "DescriptionOld"
    },
    {
     "name": "DescriptionNew",
     "type": "esriFieldTypeString",
     "alias": "DescriptionNew",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 255,
     "defaultValue": null,
     "modelName": "DescriptionNew"
    },
    {
     "name": "NoteOld",
     "type": "esriFieldTypeString",
     "alias": "NoteOld",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 255,
     "defaultValue": null,
     "modelName": "NoteOld"
    },
    {
     "name": "NoteNew",
     "type": "esriFieldTypeString",
     "alias": "NoteNew",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 255,
     "defaultValue": null,
     "modelName": "NoteNew"
    },
    {
     "name": "ValidFromOld",
     "type": "esriFieldTypeDate",
     "alias": "ValidFromOld",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 8,
     "defaultValue": null,
     "modelName": "ValidFromOld"
    },
    {
     "name": "ValidFromNew",
     "type": "esriFieldTypeDate",
     "alias": "ValidFromNew",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 8,
     "defaultValue": null,
     "modelName": "ValidFromNew"
    },
    {
     "name": "ValidToOld",
     "type": "esriFieldTypeDate",
     "alias": "ValidToOld",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 8,
     "defaultValue": null,
     "modelName": "ValidToOld"
    },
    {
     "name": "ValidToNew",
     "type": "esriFieldTypeDate",
     "alias": "ValidToNew",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 8,
     "defaultValue": null,
     "modelName": "ValidToNew"
    },
    {
     "name": "XCoordinateOld",
     "type": "esriFieldTypeDouble",
     "alias": "XCoordinateOld",
     "domain": null,
     "editable": true,
     "nullable": true,
     "defaultValue": null,
     "modelName": "XCoordinateOld"
    },
    {
     "name": "XCoordinateNew",
     "type": "esriFieldTypeDouble",
     "alias": "XCoordinateNew",
     "domain": null,
     "editable": true,
     "nullable": true,
     "defaultValue": null,
     "modelName": "XCoordinateNew"
    },
    {
     "name": "YCoordinateOld",
     "type": "esriFieldTypeDouble",
     "alias": "YCoordinateOld",
     "domain": null,
     "editable": true,
     "nullable": true,
     "defaultValue": null,
     "modelName": "YCoordinateOld"
    },
    {
     "name": "YCoordinateNew",
     "type": "esriFieldTypeDouble",
     "alias": "YCoordinateNew",
     "domain": null,
     "editable": true,
     "nullable": true,
     "defaultValue": null,
     "modelName": "YCoordinateNew"
    }
   ],
   "indexes": [
    {
     "name": "R65_SDE_ROWID_UK",
     "fields": "OBJECTID",
     "isAscending": true,
     "isUnique": true,
     "description": ""
    }
   ],
   "dateFieldsTimeReference": {
    "timeZone": "UTC",
    "respectsDaylightSaving": false
   },
   "types": [],
   "templates": [
    {
     "name": "ad2013teren.SDE.BuildingNumberHistory",
     "description": "",
     "prototype": {
      "attributes": {
       "YCoordinateOld": null,
       "YCoordinateNew": null,
       "ActionType": null,
       "ActionDate": null,
       "UserName": null,
       "BuildingNumberId": null,
       "BuildingNumberOld": null,
       "BuildingNumberNew": null,
       "BuildingNumberMarkOld": null,
       "BuildingNUmberMarkNew": null,
       "StreetIdOld": null,
       "StreetIdNew": null,
       "StreetNameMkOld": null,
       "StreetNameMkNew": null,
       "StreetNameEnOld": null,
       "StreetNameEnNew": null,
       "PlaceCodeOld": null,
       "PlaceCodeNew": null,
       "CadastralMunicipalityOld": null,
       "CadastralMunicipalityNew": null,
       "CadastralParcelOld": null,
       "CadastralParcelNew": null,
       "CrCodeOld": null,
       "CrCodeNew": null,
       "StatusOld": null,
       "StatusNew": null,
       "BuildingTypeOld": null,
       "BuildingTypeNew": null,
       "NumberTypeOld": null,
       "NumberTypeNew": null,
       "NumberOfEntrancesOld": null,
       "NumberOfEntrancesNew": null,
       "NumberOfFloorsOld": null,
       "NumberOfFloorsNew": null,
       "HasTableOld": null,
       "HasTableNew": null,
       "DescriptionOld": null,
       "DescriptionNew": null,
       "NoteOld": null,
       "NoteNew": null,
       "ValidFromOld": null,
       "ValidFromNew": null,
       "ValidToOld": null,
       "ValidToNew": null,
       "XCoordinateOld": null,
       "XCoordinateNew": null
      }
     },
     "drawingTool": "esriFeatureEditToolNone"
    }
   ],
   "maxRecordCount": 1000,
   "supportedQueryFormats": "JSON, geoJSON",
   "capabilities": "Query,Create,Update,Delete,Uploads,Editing",
   "useStandardizedQueries": true,
   "standardMaxRecordCount": 32000,
   "tileMaxRecordCount": 1000,
   "maxRecordCountFactor": 1
  },
  {
   "currentVersion": 10.91,
   "id": 4,
   "name": "ad2013teren.SDE.InfrastructureObjectHistory",
   "type": "Table",
   "description": "",
   "copyrightText": "",
   "editFieldsInfo": null,
   "ownershipBasedAccessControlForFeatures": null,
   "syncCanReturnChanges": false,
   "relationships": [],
   "isDataVersioned": false,
   "isDataArchived": false,
   "isCoGoEnabled": false,
   "supportsRollbackOnFailureParameter": true,
   "archivingInfo": {
    "supportsQueryWithHistoricMoment": false,
    "startArchivingMoment": -1
   },
   "supportsStatistics": true,
   "supportsAdvancedQueries": true,
   "supportsValidateSQL": true,
   "supportsCoordinatesQuantization": false,
   "supportsCalculate": true,
   "advancedQueryCapabilities": {
    "supportsPagination": true,
    "supportsTrueCurve": true,
    "supportsQueryWithDistance": true,
    "supportsReturningQueryExtent": true,
    "supportsStatistics": true,
    "supportsHavingClause": true,
    "supportsOrderBy": true,
    "supportsDistinct": true,
    "supportsCountDistinct": true,
    "supportsQueryWithResultType": true,
    "supportsReturningGeometryCentroid": false,
    "supportsSqlExpression": true
   },
   "hasAttachments": false,
   "supportsApplyEditsWithGlobalIds": false,
   "htmlPopupType": "esriServerHTMLPopupTypeNone",
   "objectIdField": "OBJECTID",
   "globalIdField": "",
   "displayField": "UserName",
   "typeIdField": "",
   "subtypeField": "",
   "fields": [
    {
     "name": "OBJECTID",
     "type": "esriFieldTypeOID",
     "alias": "OBJECTID",
     "domain": null,
     "editable": false,
     "nullable": false,
     "defaultValue": null,
     "modelName": "OBJECTID"
    },
    {
     "name": "ActionType",
     "type": "esriFieldTypeInteger",
     "alias": "Тип на акција",
     "domain": null,
     "editable": true,
     "nullable": true,
     "defaultValue": null,
     "modelName": "ActionType"
    },
    {
     "name": "ActionDate",
     "type": "esriFieldTypeDate",
     "alias": "ActionDate",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 8,
     "defaultValue": null,
     "modelName": "ActionDate"
    },
    {
     "name": "UserName",
     "type": "esriFieldTypeString",
     "alias": "Корисник",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 50,
     "defaultValue": null,
     "modelName": "UserName"
    },
    {
     "name": "InfrastructureObjectId",
     "type": "esriFieldTypeInteger",
     "alias": "ИД на инфраструктурен објект",
     "domain": null,
     "editable": true,
     "nullable": true,
     "defaultValue": null,
     "modelName": "InfrastructureObjectId"
    },
    {
     "name": "InfrastructureObjectTypeOld",
     "type": "esriFieldTypeString",
     "alias": "InfrastructureObjectTypeOld",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 50,
     "defaultValue": null,
     "modelName": "InfrastructureObjectTypeOld"
    },
    {
     "name": "InfrastructureObjectTypeNew",
     "type": "esriFieldTypeString",
     "alias": "InfrastructureObjectTypeNew",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 50,
     "defaultValue": null,
     "modelName": "InfrastructureObjectTypeNew"
    },
    {
     "name": "InfrastructureObjectNameMkOld",
     "type": "esriFieldTypeString",
     "alias": "Старо име на инфраструктурен објект (МК)",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 50,
     "defaultValue": null,
     "modelName": "InfrastructureObjectNameMkOld"
    },
    {
     "name": "InfrastructureObjectNameMkNew",
     "type": "esriFieldTypeString",
     "alias": "Ново име на инфраструктурен објект (МК)",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 50,
     "defaultValue": null,
     "modelName": "InfrastructureObjectNameMkNew"
    },
    {
     "name": "InfrastructureObjectNameEnOld",
     "type": "esriFieldTypeString",
     "alias": "Старо име на инфраструктурен објект (EN)",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 50,
     "defaultValue": null,
     "modelName": "InfrastructureObjectNameEnOld"
    },
    {
     "name": "InfrastructureObjectNameEnNew",
     "type": "esriFieldTypeString",
     "alias": "Ново име на инфраструктурен објект (EN)",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 50,
     "defaultValue": null,
     "modelName": "InfrastructureObjectNameEnNew"
    },
    {
     "name": "CrCodeOld",
     "type": "esriFieldTypeString",
     "alias": "Стар матичен број од ЦР",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 15,
     "defaultValue": null,
     "modelName": "CrCodeOld"
    },
    {
     "name": "CrCodeNew",
     "type": "esriFieldTypeString",
     "alias": "Нов матичен број од ЦР",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 15,
     "defaultValue": null,
     "modelName": "CrCodeNew"
    },
    {
     "name": "PlaceCodeOld",
     "type": "esriFieldTypeString",
     "alias": "Старо населено место",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 9,
     "defaultValue": null,
     "modelName": "PlaceCodeOld"
    },
    {
     "name": "PlaceCodeNew",
     "type": "esriFieldTypeString",
     "alias": "Ново населено место",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 9,
     "defaultValue": null,
     "modelName": "PlaceCodeNew"
    },
    {
     "name": "NoteOld",
     "type": "esriFieldTypeString",
     "alias": "NoteOld",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 255,
     "defaultValue": null,
     "modelName": "NoteOld"
    },
    {
     "name": "NoteNew",
     "type": "esriFieldTypeString",
     "alias": "NoteNew",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 255,
     "defaultValue": null,
     "modelName": "NoteNew"
    },
    {
     "name": "ValidFromOld",
     "type": "esriFieldTypeDate",
     "alias": "ValidFrom",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 8,
     "defaultValue": null,
     "modelName": "ValidFromOld"
    },
    {
     "name": "ValidFromNew",
     "type": "esriFieldTypeDate",
     "alias": "ValidFromNew",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 8,
     "defaultValue": null,
     "modelName": "ValidFromNew"
    },
    {
     "name": "ValidToOld",
     "type": "esriFieldTypeDate",
     "alias": "ValidToOld",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 8,
     "defaultValue": null,
     "modelName": "ValidToOld"
    },
    {
     "name": "ValidToNew",
     "type": "esriFieldTypeDate",
     "alias": "ValidToNew",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 8,
     "defaultValue": null,
     "modelName": "ValidToNew"
    },
    {
     "name": "XCoordinateOld",
     "type": "esriFieldTypeDouble",
     "alias": "XCoordinateOld",
     "domain": null,
     "editable": true,
     "nullable": true,
     "defaultValue": null,
     "modelName": "XCoordinateOld"
    },
    {
     "name": "XCoordinateNew",
     "type": "esriFieldTypeDouble",
     "alias": "XCoordinateNew",
     "domain": null,
     "editable": true,
     "nullable": true,
     "defaultValue": null,
     "modelName": "XCoordinateNew"
    },
    {
     "name": "YCoordinateOld",
     "type": "esriFieldTypeDouble",
     "alias": "YCoordinateOld",
     "domain": null,
     "editable": true,
     "nullable": true,
     "defaultValue": null,
     "modelName": "YCoordinateOld"
    },
    {
     "name": "YCoordinateNew",
     "type": "esriFieldTypeDouble",
     "alias": "YCoordinateNew",
     "domain": null,
     "editable": true,
     "nullable": true,
     "defaultValue": null,
     "modelName": "YCoordinateNew"
    }
   ],
   "indexes": [
    {
     "name": "R66_SDE_ROWID_UK",
     "fields": "OBJECTID",
     "isAscending": true,
     "isUnique": true,
     "description": ""
    }
   ],
   "dateFieldsTimeReference": {
    "timeZone": "UTC",
    "respectsDaylightSaving": false
   },
   "types": [],
   "templates": [
    {
     "name": "ad2013teren.SDE.InfrastructureObjectHistory",
     "description": "",
     "prototype": {
      "attributes": {
       "YCoordinateOld": null,
       "YCoordinateNew": null,
       "ActionType": null,
       "ActionDate": null,
       "UserName": null,
       "InfrastructureObjectId": null,
       "InfrastructureObjectTypeOld": null,
       "InfrastructureObjectTypeNew": null,
       "InfrastructureObjectNameMkOld": null,
       "InfrastructureObjectNameMkNew": null,
       "InfrastructureObjectNameEnOld": null,
       "InfrastructureObjectNameEnNew": null,
       "CrCodeOld": null,
       "CrCodeNew": null,
       "PlaceCodeOld": null,
       "PlaceCodeNew": null,
       "NoteOld": null,
       "NoteNew": null,
       "ValidFromOld": null,
       "ValidFromNew": null,
       "ValidToOld": null,
       "ValidToNew": null,
       "XCoordinateOld": null,
       "XCoordinateNew": null
      }
     },
     "drawingTool": "esriFeatureEditToolNone"
    }
   ],
   "maxRecordCount": 1000,
   "supportedQueryFormats": "JSON, geoJSON",
   "capabilities": "Query,Create,Update,Delete,Uploads,Editing",
   "useStandardizedQueries": true,
   "standardMaxRecordCount": 32000,
   "tileMaxRecordCount": 1000,
   "maxRecordCountFactor": 1
  },
  {
   "currentVersion": 10.91,
   "id": 5,
   "name": "ad2013teren.SDE.STREETS",
   "type": "Table",
   "description": "",
   "copyrightText": "",
   "editFieldsInfo": null,
   "ownershipBasedAccessControlForFeatures": null,
   "syncCanReturnChanges": false,
   "relationships": [
    {
     "id": 0,
     "name": "BuildingNumbers",
     "relatedTableId": 1,
     "cardinality": "esriRelCardinalityOneToMany",
     "role": "esriRelRoleOrigin",
     "keyField": "OBJECTID",
     "composite": false
    },
    {
     "id": 1,
     "name": "StreetSegments",
     "relatedTableId": 2,
     "cardinality": "esriRelCardinalityOneToMany",
     "role": "esriRelRoleOrigin",
     "keyField": "OBJECTID",
     "composite": false
    }
   ],
   "isDataVersioned": false,
   "isDataArchived": false,
   "isCoGoEnabled": false,
   "supportsRollbackOnFailureParameter": true,
   "archivingInfo": {
    "supportsQueryWithHistoricMoment": false,
    "startArchivingMoment": -1
   },
   "supportsStatistics": true,
   "supportsAdvancedQueries": true,
   "supportsValidateSQL": true,
   "supportsCoordinatesQuantization": false,
   "supportsCalculate": true,
   "advancedQueryCapabilities": {
    "supportsPagination": true,
    "supportsTrueCurve": true,
    "supportsQueryWithDistance": true,
    "supportsReturningQueryExtent": true,
    "supportsStatistics": true,
    "supportsHavingClause": true,
    "supportsOrderBy": true,
    "supportsDistinct": true,
    "supportsCountDistinct": true,
    "supportsQueryWithResultType": true,
    "supportsReturningGeometryCentroid": false,
    "supportsSqlExpression": true
   },
   "hasAttachments": false,
   "supportsApplyEditsWithGlobalIds": false,
   "htmlPopupType": "esriServerHTMLPopupTypeNone",
   "objectIdField": "OBJECTID",
   "globalIdField": "",
   "displayField": "StreetNameMk",
   "typeIdField": "",
   "subtypeField": "",
   "fields": [
    {
     "name": "OBJECTID",
     "type": "esriFieldTypeOID",
     "alias": "OBJECTID",
     "domain": null,
     "editable": false,
     "nullable": false,
     "defaultValue": null,
     "modelName": "OBJECTID"
    },
    {
     "name": "StreetNameMk",
     "type": "esriFieldTypeString",
     "alias": "Име на улица (МК)",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 50,
     "defaultValue": null,
     "modelName": "StreetNameMk"
    },
    {
     "name": "StreetNameEn",
     "type": "esriFieldTypeString",
     "alias": "Име на улица (EN)",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 50,
     "defaultValue": null,
     "modelName": "StreetNameEn"
    },
    {
     "name": "CrCode",
     "type": "esriFieldTypeString",
     "alias": "Матичен број од ЦР",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 50,
     "defaultValue": null,
     "modelName": "CrCode"
    },
    {
     "name": "Type",
     "type": "esriFieldTypeInteger",
     "alias": "Тип",
     "domain": {
      "type": "codedValue",
      "name": "dStreetType",
      "description": "",
      "codedValues": [
       {
        "name": "Avenija",
        "code": 1
       },
       {
        "name": "Bulevar",
        "code": 2
       },
       {
        "name": "Ulica",
        "code": 3
       },
       {
        "name": "Avtopat",
        "code": 0
       },
       {
        "name": "Parking",
        "code": 99
       },
       {
        "name": "Vlez-Izlez/Pristap",
        "code": 98
       },
       {
        "name": "Pesacka pateka",
        "code": 97
       }
      ],
      "mergePolicy": "esriMPTDefaultValue",
      "splitPolicy": "esriSPTDefaultValue"
     },
     "editable": true,
     "nullable": true,
     "defaultValue": null,
     "modelName": "Type"
    },
    {
     "name": "Class",
     "type": "esriFieldTypeInteger",
     "alias": "Класа",
     "domain": {
      "type": "codedValue",
      "name": "dStreetClass",
      "description": "",
      "codedValues": [
       {
        "name": "Magistralna",
        "code": 1
       },
       {
        "name": "Sobirna",
        "code": 2
       },
       {
        "name": "Drugo\n99\tDrugo",
        "code": 99
       }
      ],
      "mergePolicy": "esriMPTDefaultValue",
      "splitPolicy": "esriSPTDefaultValue"
     },
     "editable": true,
     "nullable": true,
     "defaultValue": null,
     "modelName": "Class"
    },
    {
     "name": "Responsibility",
     "type": "esriFieldTypeInteger",
     "alias": "Надлежност",
     "domain": {
      "type": "codedValue",
      "name": "dResponsibility",
      "description": "",
      "codedValues": [
       {
        "name": "Град Скопје",
        "code": 1
       },
       {
        "name": "Општина",
        "code": 2
       }
      ],
      "mergePolicy": "esriMPTDefaultValue",
      "splitPolicy": "esriSPTDefaultValue"
     },
     "editable": true,
     "nullable": true,
     "defaultValue": null,
     "modelName": "Responsibility"
    },
    {
     "name": "InternalStatus",
     "type": "esriFieldTypeInteger",
     "alias": "Интерен статус",
     "domain": {
      "type": "codedValue",
      "name": "dInternalStatus",
      "description": "",
      "codedValues": [
       {
        "name": "Статус 1",
        "code": 1
       },
       {
        "name": "Статус 2",
        "code": 2
       }
      ],
      "mergePolicy": "esriMPTDefaultValue",
      "splitPolicy": "esriSPTDefaultValue"
     },
     "editable": true,
     "nullable": true,
     "defaultValue": null,
     "modelName": "InternalStatus"
    },
    {
     "name": "TechnicalNumber",
     "type": "esriFieldTypeString",
     "alias": "Технички број",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 4,
     "defaultValue": null,
     "modelName": "TechnicalNumber"
    },
    {
     "name": "Note",
     "type": "esriFieldTypeString",
     "alias": "Забелешка",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 255,
     "defaultValue": null,
     "modelName": "Note"
    },
    {
     "name": "ValidFrom",
     "type": "esriFieldTypeDate",
     "alias": "Во важност од",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 8,
     "defaultValue": null,
     "modelName": "ValidFrom"
    },
    {
     "name": "ValidTo",
     "type": "esriFieldTypeDate",
     "alias": "До",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 8,
     "defaultValue": null,
     "modelName": "ValidTo"
    },
    {
     "name": "StreetNameSq",
     "type": "esriFieldTypeString",
     "alias": "StreetNameSq",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 50,
     "defaultValue": null,
     "modelName": "StreetNameSq"
    }
   ],
   "indexes": [
    {
     "name": "R48_SDE_ROWID_UK",
     "fields": "OBJECTID",
     "isAscending": true,
     "isUnique": true,
     "description": ""
    }
   ],
   "dateFieldsTimeReference": {
    "timeZone": "UTC",
    "respectsDaylightSaving": false
   },
   "types": [],
   "templates": [
    {
     "name": "ad2013teren.SDE.STREETS",
     "description": "",
     "prototype": {
      "attributes": {
       "ValidTo": null,
       "StreetNameSq": null,
       "StreetNameMk": null,
       "StreetNameEn": null,
       "CrCode": null,
       "Type": null,
       "Class": null,
       "Responsibility": null,
       "InternalStatus": null,
       "TechnicalNumber": null,
       "Note": null,
       "ValidFrom": null
      }
     },
     "drawingTool": "esriFeatureEditToolNone"
    }
   ],
   "maxRecordCount": 1000,
   "supportedQueryFormats": "JSON, geoJSON",
   "capabilities": "Query,Create,Update,Delete,Uploads,Editing",
   "useStandardizedQueries": true,
   "standardMaxRecordCount": 32000,
   "tileMaxRecordCount": 1000,
   "maxRecordCountFactor": 1
  },
  {
   "currentVersion": 10.91,
   "id": 6,
   "name": "ad2013teren.SDE.StreetHistory",
   "type": "Table",
   "description": "",
   "copyrightText": "",
   "editFieldsInfo": null,
   "ownershipBasedAccessControlForFeatures": null,
   "syncCanReturnChanges": false,
   "relationships": [],
   "isDataVersioned": false,
   "isDataArchived": false,
   "isCoGoEnabled": false,
   "supportsRollbackOnFailureParameter": true,
   "archivingInfo": {
    "supportsQueryWithHistoricMoment": false,
    "startArchivingMoment": -1
   },
   "supportsStatistics": true,
   "supportsAdvancedQueries": true,
   "supportsValidateSQL": true,
   "supportsCoordinatesQuantization": false,
   "supportsCalculate": true,
   "advancedQueryCapabilities": {
    "supportsPagination": true,
    "supportsTrueCurve": true,
    "supportsQueryWithDistance": true,
    "supportsReturningQueryExtent": true,
    "supportsStatistics": true,
    "supportsHavingClause": true,
    "supportsOrderBy": true,
    "supportsDistinct": true,
    "supportsCountDistinct": true,
    "supportsQueryWithResultType": true,
    "supportsReturningGeometryCentroid": false,
    "supportsSqlExpression": true
   },
   "hasAttachments": false,
   "supportsApplyEditsWithGlobalIds": false,
   "htmlPopupType": "esriServerHTMLPopupTypeNone",
   "objectIdField": "OBJECTID",
   "globalIdField": "",
   "displayField": "StreetNameMkOld",
   "typeIdField": "",
   "subtypeField": "",
   "fields": [
    {
     "name": "OBJECTID",
     "type": "esriFieldTypeOID",
     "alias": "OBJECTID",
     "domain": null,
     "editable": false,
     "nullable": false,
     "defaultValue": null,
     "modelName": "OBJECTID"
    },
    {
     "name": "ActionType",
     "type": "esriFieldTypeInteger",
     "alias": "Тип на акција",
     "domain": null,
     "editable": true,
     "nullable": true,
     "defaultValue": null,
     "modelName": "ActionType"
    },
    {
     "name": "ActionDate",
     "type": "esriFieldTypeDate",
     "alias": "ActionDate",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 8,
     "defaultValue": null,
     "modelName": "ActionDate"
    },
    {
     "name": "UserName",
     "type": "esriFieldTypeString",
     "alias": "UserName",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 50,
     "defaultValue": null,
     "modelName": "UserName"
    },
    {
     "name": "StreetId",
     "type": "esriFieldTypeInteger",
     "alias": "ИД на улица",
     "domain": null,
     "editable": true,
     "nullable": true,
     "defaultValue": null,
     "modelName": "StreetId"
    },
    {
     "name": "StreetNameMkOld",
     "type": "esriFieldTypeString",
     "alias": "Старо име на улица (МК)",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 50,
     "defaultValue": null,
     "modelName": "StreetNameMkOld"
    },
    {
     "name": "StreetNameMkNew",
     "type": "esriFieldTypeString",
     "alias": "Ново име на улица (МК)",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 50,
     "defaultValue": null,
     "modelName": "StreetNameMkNew"
    },
    {
     "name": "StreetNameEnOld",
     "type": "esriFieldTypeString",
     "alias": "Старо име на улица (EN)",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 50,
     "defaultValue": null,
     "modelName": "StreetNameEnOld"
    },
    {
     "name": "StreetNameEnNew",
     "type": "esriFieldTypeString",
     "alias": "Ново име на улица (EN)",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 50,
     "defaultValue": null,
     "modelName": "StreetNameEnNew"
    },
    {
     "name": "CrCodeOld",
     "type": "esriFieldTypeString",
     "alias": "Стар матичен број од ЦР",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 50,
     "defaultValue": null,
     "modelName": "CrCodeOld"
    },
    {
     "name": "CrCodeNew",
     "type": "esriFieldTypeString",
     "alias": "Нов матичен број од ЦР",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 50,
     "defaultValue": null,
     "modelName": "CrCodeNew"
    },
    {
     "name": "PlaceCodeOld",
     "type": "esriFieldTypeString",
     "alias": "PlaceCodeOld",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 9,
     "defaultValue": null,
     "modelName": "PlaceCodeOld"
    },
    {
     "name": "PlaceCodeNew",
     "type": "esriFieldTypeString",
     "alias": "PlaceCodeNew",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 9,
     "defaultValue": null,
     "modelName": "PlaceCodeNew"
    },
    {
     "name": "PlaceNameOld",
     "type": "esriFieldTypeString",
     "alias": "PlaceNameOld",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 50,
     "defaultValue": null,
     "modelName": "PlaceNameOld"
    },
    {
     "name": "PlaceNameNew",
     "type": "esriFieldTypeString",
     "alias": "PlaceNameNew",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 50,
     "defaultValue": null,
     "modelName": "PlaceNameNew"
    },
    {
     "name": "TypeOld",
     "type": "esriFieldTypeString",
     "alias": "TypeOld",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 50,
     "defaultValue": null,
     "modelName": "TypeOld"
    },
    {
     "name": "TypeNew",
     "type": "esriFieldTypeString",
     "alias": "TypeNew",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 50,
     "defaultValue": null,
     "modelName": "TypeNew"
    },
    {
     "name": "ClassOld",
     "type": "esriFieldTypeString",
     "alias": "ClassOld",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 50,
     "defaultValue": null,
     "modelName": "ClassOld"
    },
    {
     "name": "ClassNew",
     "type": "esriFieldTypeString",
     "alias": "ClassNew",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 50,
     "defaultValue": null,
     "modelName": "ClassNew"
    },
    {
     "name": "ResponsibilityOld",
     "type": "esriFieldTypeString",
     "alias": "ResponsibilityOld",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 50,
     "defaultValue": null,
     "modelName": "ResponsibilityOld"
    },
    {
     "name": "ResponsibilityNew",
     "type": "esriFieldTypeString",
     "alias": "ResponsibilityNew",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 50,
     "defaultValue": null,
     "modelName": "ResponsibilityNew"
    },
    {
     "name": "InternalStatusOld",
     "type": "esriFieldTypeString",
     "alias": "InternalStatusOld",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 50,
     "defaultValue": null,
     "modelName": "InternalStatusOld"
    },
    {
     "name": "InternalStatusNew",
     "type": "esriFieldTypeString",
     "alias": "InternalStatusNew",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 50,
     "defaultValue": null,
     "modelName": "InternalStatusNew"
    },
    {
     "name": "TechnicalNumberOld",
     "type": "esriFieldTypeString",
     "alias": "TechnicalNumberOld",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 4,
     "defaultValue": null,
     "modelName": "TechnicalNumberOld"
    },
    {
     "name": "TechnicalNumberNew",
     "type": "esriFieldTypeString",
     "alias": "TechnicalNumberNew",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 4,
     "defaultValue": null,
     "modelName": "TechnicalNumberNew"
    },
    {
     "name": "NoteOld",
     "type": "esriFieldTypeString",
     "alias": "NoteOld",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 255,
     "defaultValue": null,
     "modelName": "NoteOld"
    },
    {
     "name": "NoteNew",
     "type": "esriFieldTypeString",
     "alias": "NoteNew",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 255,
     "defaultValue": null,
     "modelName": "NoteNew"
    },
    {
     "name": "ValidFromOld",
     "type": "esriFieldTypeDate",
     "alias": "ValidFromOld",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 8,
     "defaultValue": null,
     "modelName": "ValidFromOld"
    },
    {
     "name": "ValidFromNew",
     "type": "esriFieldTypeDate",
     "alias": "ValidFromNew",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 8,
     "defaultValue": null,
     "modelName": "ValidFromNew"
    },
    {
     "name": "ValidToOld",
     "type": "esriFieldTypeDate",
     "alias": "ValidToOld",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 8,
     "defaultValue": null,
     "modelName": "ValidToOld"
    },
    {
     "name": "ValidToNew",
     "type": "esriFieldTypeDate",
     "alias": "ValidToNew",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 8,
     "defaultValue": null,
     "modelName": "ValidToNew"
    },
    {
     "name": "StreetActionID",
     "type": "esriFieldTypeInteger",
     "alias": "ИД на акција",
     "domain": null,
     "editable": true,
     "nullable": true,
     "defaultValue": null,
     "modelName": "StreetActionID"
    }
   ],
   "indexes": [
    {
     "name": "R68_SDE_ROWID_UK",
     "fields": "OBJECTID",
     "isAscending": true,
     "isUnique": true,
     "description": ""
    }
   ],
   "dateFieldsTimeReference": {
    "timeZone": "UTC",
    "respectsDaylightSaving": false
   },
   "types": [],
   "templates": [
    {
     "name": "ad2013teren.SDE.StreetHistory",
     "description": "",
     "prototype": {
      "attributes": {
       "ValidToNew": null,
       "StreetActionID": null,
       "ActionType": null,
       "ActionDate": null,
       "UserName": null,
       "StreetId": null,
       "StreetNameMkOld": null,
       "StreetNameMkNew": null,
       "StreetNameEnOld": null,
       "StreetNameEnNew": null,
       "CrCodeOld": null,
       "CrCodeNew": null,
       "PlaceCodeOld": null,
       "PlaceCodeNew": null,
       "PlaceNameOld": null,
       "PlaceNameNew": null,
       "TypeOld": null,
       "TypeNew": null,
       "ClassOld": null,
       "ClassNew": null,
       "ResponsibilityOld": null,
       "ResponsibilityNew": null,
       "InternalStatusOld": null,
       "InternalStatusNew": null,
       "TechnicalNumberOld": null,
       "TechnicalNumberNew": null,
       "NoteOld": null,
       "NoteNew": null,
       "ValidFromOld": null,
       "ValidFromNew": null,
       "ValidToOld": null
      }
     },
     "drawingTool": "esriFeatureEditToolNone"
    }
   ],
   "maxRecordCount": 1000,
   "supportedQueryFormats": "JSON, geoJSON",
   "capabilities": "Query,Create,Update,Delete,Uploads,Editing",
   "useStandardizedQueries": true,
   "standardMaxRecordCount": 32000,
   "tileMaxRecordCount": 1000,
   "maxRecordCountFactor": 1
  },
  {
   "currentVersion": 10.91,
   "id": 7,
   "name": "ad2013teren.SDE.Places_Streets",
   "type": "Table",
   "description": "",
   "copyrightText": "",
   "editFieldsInfo": null,
   "ownershipBasedAccessControlForFeatures": null,
   "syncCanReturnChanges": false,
   "relationships": [],
   "isDataVersioned": false,
   "isDataArchived": false,
   "isCoGoEnabled": false,
   "supportsRollbackOnFailureParameter": false,
   "archivingInfo": {
    "supportsQueryWithHistoricMoment": false,
    "startArchivingMoment": -1
   },
   "supportsStatistics": true,
   "supportsAdvancedQueries": true,
   "supportsValidateSQL": true,
   "supportsCoordinatesQuantization": false,
   "supportsCalculate": true,
   "advancedQueryCapabilities": {
    "supportsPagination": true,
    "supportsTrueCurve": true,
    "supportsQueryWithDistance": true,
    "supportsReturningQueryExtent": true,
    "supportsStatistics": true,
    "supportsHavingClause": true,
    "supportsOrderBy": true,
    "supportsDistinct": true,
    "supportsCountDistinct": true,
    "supportsQueryWithResultType": true,
    "supportsReturningGeometryCentroid": false,
    "supportsSqlExpression": true
   },
   "hasAttachments": false,
   "supportsApplyEditsWithGlobalIds": false,
   "htmlPopupType": "esriServerHTMLPopupTypeNone",
   "objectIdField": "RID",
   "globalIdField": "",
   "displayField": "PlaceCode",
   "typeIdField": "",
   "subtypeField": "",
   "fields": [
    {
     "name": "RID",
     "type": "esriFieldTypeOID",
     "alias": "RID",
     "domain": null,
     "editable": false,
     "nullable": false,
     "defaultValue": null,
     "modelName": "RID"
    },
    {
     "name": "PlaceCode",
     "type": "esriFieldTypeString",
     "alias": "PlaceCode",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 9,
     "defaultValue": null,
     "modelName": "NTES_L5_CODE"
    },
    {
     "name": "StreetID",
     "type": "esriFieldTypeInteger",
     "alias": "StreetID",
     "domain": null,
     "editable": true,
     "nullable": true,
     "defaultValue": null,
     "modelName": "OBJECTID"
    }
   ],
   "indexes": [
    {
     "name": "R62_SDE_ROWID_UK",
     "fields": "RID",
     "isAscending": true,
     "isUnique": true,
     "description": ""
    },
    {
     "name": "GDB_99_PlaceCode",
     "fields": "PlaceCode",
     "isAscending": true,
     "isUnique": false,
     "description": ""
    },
    {
     "name": "GDB_99_StreetID",
     "fields": "StreetID",
     "isAscending": true,
     "isUnique": false,
     "description": ""
    }
   ],
   "dateFieldsTimeReference": {
    "timeZone": "UTC",
    "respectsDaylightSaving": false
   },
   "types": [],
   "templates": [
    {
     "name": "ad2013teren.SDE.Places_Streets",
     "description": "",
     "prototype": {
      "attributes": {
       "PlaceCode": null,
       "StreetID": null
      }
     },
     "drawingTool": "esriFeatureEditToolNone"
    }
   ],
   "maxRecordCount": 1000,
   "supportedQueryFormats": "JSON, geoJSON",
   "capabilities": "Query,Create,Update,Delete,Uploads,Editing",
   "useStandardizedQueries": true,
   "standardMaxRecordCount": 32000,
   "tileMaxRecordCount": 1000,
   "maxRecordCountFactor": 1
  },
  {
   "currentVersion": 10.91,
   "id": 8,
   "name": "ad2013teren.SDE.ADDRESSCERTIFICATES",
   "type": "Table",
   "description": "",
   "copyrightText": "",
   "editFieldsInfo": null,
   "ownershipBasedAccessControlForFeatures": null,
   "syncCanReturnChanges": false,
   "relationships": [],
   "isDataVersioned": false,
   "isDataArchived": false,
   "isCoGoEnabled": false,
   "supportsRollbackOnFailureParameter": true,
   "archivingInfo": {
    "supportsQueryWithHistoricMoment": false,
    "startArchivingMoment": -1
   },
   "supportsStatistics": true,
   "supportsAdvancedQueries": true,
   "supportsValidateSQL": true,
   "supportsCoordinatesQuantization": false,
   "supportsCalculate": true,
   "advancedQueryCapabilities": {
    "supportsPagination": true,
    "supportsTrueCurve": true,
    "supportsQueryWithDistance": true,
    "supportsReturningQueryExtent": true,
    "supportsStatistics": true,
    "supportsHavingClause": true,
    "supportsOrderBy": true,
    "supportsDistinct": true,
    "supportsCountDistinct": true,
    "supportsQueryWithResultType": true,
    "supportsReturningGeometryCentroid": false,
    "supportsSqlExpression": true
   },
   "hasAttachments": false,
   "supportsApplyEditsWithGlobalIds": false,
   "htmlPopupType": "esriServerHTMLPopupTypeNone",
   "objectIdField": "OBJECTID",
   "globalIdField": "",
   "displayField": "Name",
   "typeIdField": "",
   "subtypeField": "",
   "fields": [
    {
     "name": "OBJECTID",
     "type": "esriFieldTypeOID",
     "alias": "OBJECTID",
     "domain": null,
     "editable": false,
     "nullable": false,
     "defaultValue": null,
     "modelName": "OBJECTID"
    },
    {
     "name": "AddressCertificateNumber",
     "type": "esriFieldTypeString",
     "alias": "Број на уверение",
     "domain": null,
     "editable": true,
     "nullable": false,
     "length": 50,
     "defaultValue": null,
     "modelName": "AddressCertificateNumber"
    },
    {
     "name": "AddressCertificateDate",
     "type": "esriFieldTypeDate",
     "alias": "Датум",
     "domain": null,
     "editable": true,
     "nullable": false,
     "length": 8,
     "defaultValue": null,
     "modelName": "AddressCertificateDate"
    },
    {
     "name": "Name",
     "type": "esriFieldTypeString",
     "alias": "Име",
     "domain": null,
     "editable": true,
     "nullable": false,
     "length": 50,
     "defaultValue": null,
     "modelName": "Name"
    },
    {
     "name": "Surname",
     "type": "esriFieldTypeString",
     "alias": "Презиме",
     "domain": null,
     "editable": true,
     "nullable": false,
     "length": 50,
     "defaultValue": null,
     "modelName": "Surname"
    },
    {
     "name": "PlaceCode",
     "type": "esriFieldTypeString",
     "alias": "Населено место",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 9,
     "defaultValue": null,
     "modelName": "PlaceCode"
    },
    {
     "name": "StreetId",
     "type": "esriFieldTypeInteger",
     "alias": "ИД на улица",
     "domain": null,
     "editable": true,
     "nullable": true,
     "defaultValue": null,
     "modelName": "StreetId"
    },
    {
     "name": "StreetNameMk",
     "type": "esriFieldTypeString",
     "alias": "Име на улица (МК)",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 50,
     "defaultValue": null,
     "modelName": "StreetNameMk"
    },
    {
     "name": "StreetNameEn",
     "type": "esriFieldTypeString",
     "alias": "Име на улица (EN)",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 50,
     "defaultValue": null,
     "modelName": "StreetNameEn"
    },
    {
     "name": "BuildingNumberId",
     "type": "esriFieldTypeInteger",
     "alias": "ИД на број на објект",
     "domain": null,
     "editable": true,
     "nullable": true,
     "defaultValue": null,
     "modelName": "BuildingNumberId"
    },
    {
     "name": "BuildingNumber",
     "type": "esriFieldTypeString",
     "alias": "Број на објект",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 10,
     "defaultValue": null,
     "modelName": "BuildingNumber"
    },
    {
     "name": "BuildingNumberMark",
     "type": "esriFieldTypeString",
     "alias": "Буква",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 10,
     "defaultValue": null,
     "modelName": "BuildingNumberMark"
    },
    {
     "name": "Kp",
     "type": "esriFieldTypeString",
     "alias": "Kp",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 50,
     "defaultValue": null,
     "modelName": "Kp"
    },
    {
     "name": "Ko",
     "type": "esriFieldTypeString",
     "alias": "Ko",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 50,
     "defaultValue": null,
     "modelName": "Ko"
    },
    {
     "name": "Note",
     "type": "esriFieldTypeString",
     "alias": "Забелешка",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 255,
     "defaultValue": null,
     "modelName": "Note"
    },
    {
     "name": "UserNameCreate",
     "type": "esriFieldTypeString",
     "alias": "UserNameCreate",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 50,
     "defaultValue": null,
     "modelName": "UserNameCreate"
    },
    {
     "name": "UserNameChange",
     "type": "esriFieldTypeString",
     "alias": "UserNameChange",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 50,
     "defaultValue": null,
     "modelName": "UserNameChange"
    }
   ],
   "indexes": [
    {
     "name": "R63_SDE_ROWID_UK",
     "fields": "OBJECTID",
     "isAscending": true,
     "isUnique": true,
     "description": ""
    }
   ],
   "dateFieldsTimeReference": {
    "timeZone": "UTC",
    "respectsDaylightSaving": false
   },
   "types": [],
   "templates": [
    {
     "name": "ad2013teren.SDE.ADDRESSCERTIFICATES",
     "description": "",
     "prototype": {
      "attributes": {
       "UserNameCreate": null,
       "UserNameChange": null,
       "AddressCertificateNumber": " ",
       "AddressCertificateDate": -2209161600000,
       "Name": " ",
       "Surname": " ",
       "PlaceCode": null,
       "StreetId": null,
       "StreetNameMk": null,
       "StreetNameEn": null,
       "BuildingNumberId": null,
       "BuildingNumber": null,
       "BuildingNumberMark": null,
       "Kp": null,
       "Ko": null,
       "Note": null
      }
     },
     "drawingTool": "esriFeatureEditToolNone"
    }
   ],
   "maxRecordCount": 1000,
   "supportedQueryFormats": "JSON, geoJSON",
   "capabilities": "Query,Create,Update,Delete,Uploads,Editing",
   "useStandardizedQueries": true,
   "standardMaxRecordCount": 32000,
   "tileMaxRecordCount": 1000,
   "maxRecordCountFactor": 1
  },
  {
   "currentVersion": 10.91,
   "id": 9,
   "name": "AD2013Rabotna.SDE.ADDRESSCERTIFICATESHISTORY",
   "type": "Table",
   "description": "",
   "copyrightText": "",
   "editFieldsInfo": null,
   "ownershipBasedAccessControlForFeatures": null,
   "syncCanReturnChanges": false,
   "relationships": [],
   "isDataVersioned": false,
   "isDataArchived": false,
   "isCoGoEnabled": false,
   "supportsRollbackOnFailureParameter": true,
   "archivingInfo": {
    "supportsQueryWithHistoricMoment": false,
    "startArchivingMoment": -1
   },
   "supportsStatistics": true,
   "supportsAdvancedQueries": true,
   "supportsValidateSQL": true,
   "supportsCoordinatesQuantization": false,
   "supportsCalculate": true,
   "advancedQueryCapabilities": {
    "supportsPagination": true,
    "supportsTrueCurve": true,
    "supportsQueryWithDistance": true,
    "supportsReturningQueryExtent": true,
    "supportsStatistics": true,
    "supportsHavingClause": true,
    "supportsOrderBy": true,
    "supportsDistinct": true,
    "supportsCountDistinct": true,
    "supportsQueryWithResultType": true,
    "supportsReturningGeometryCentroid": false,
    "supportsSqlExpression": true
   },
   "hasAttachments": false,
   "supportsApplyEditsWithGlobalIds": false,
   "htmlPopupType": "esriServerHTMLPopupTypeNone",
   "objectIdField": "OBJECTID",
   "globalIdField": "",
   "displayField": "UserName",
   "typeIdField": "",
   "subtypeField": "",
   "fields": [
    {
     "name": "OBJECTID",
     "type": "esriFieldTypeOID",
     "alias": "OBJECTID",
     "domain": null,
     "editable": false,
     "nullable": false,
     "defaultValue": null,
     "modelName": "OBJECTID"
    },
    {
     "name": "OBJECTID_1",
     "type": "esriFieldTypeInteger",
     "alias": "OBJECTID_1",
     "domain": null,
     "editable": true,
     "nullable": false,
     "defaultValue": null,
     "modelName": "OBJECTID_1"
    },
    {
     "name": "ActionType",
     "type": "esriFieldTypeInteger",
     "alias": "ActionType",
     "domain": null,
     "editable": true,
     "nullable": true,
     "defaultValue": null,
     "modelName": "ActionType"
    },
    {
     "name": "ActionDate",
     "type": "esriFieldTypeDate",
     "alias": "ActionDate",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 8,
     "defaultValue": null,
     "modelName": "ActionDate"
    },
    {
     "name": "UserName",
     "type": "esriFieldTypeString",
     "alias": "UserName",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 50,
     "defaultValue": null,
     "modelName": "UserName"
    },
    {
     "name": "AddressCertificateId",
     "type": "esriFieldTypeInteger",
     "alias": "AddressCertificateId",
     "domain": null,
     "editable": true,
     "nullable": true,
     "defaultValue": null,
     "modelName": "AddressCertificateId"
    },
    {
     "name": "AddressCertificateNumberOld",
     "type": "esriFieldTypeString",
     "alias": "AddressCertificateNumberOld",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 50,
     "defaultValue": null,
     "modelName": "AddressCertificateNumberOld"
    },
    {
     "name": "AddressCertificateNumberNew",
     "type": "esriFieldTypeString",
     "alias": "AddressCertificateNumberNew",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 50,
     "defaultValue": null,
     "modelName": "AddressCertificateNumberNew"
    },
    {
     "name": "AddressCertificateDateOld",
     "type": "esriFieldTypeDate",
     "alias": "AddressCertificateDateOld",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 8,
     "defaultValue": null,
     "modelName": "AddressCertificateDateOld"
    },
    {
     "name": "AddressCertificateDateNew",
     "type": "esriFieldTypeDate",
     "alias": "AddressCertificateDateNew",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 8,
     "defaultValue": null,
     "modelName": "AddressCertificateDateNew"
    },
    {
     "name": "NameOld",
     "type": "esriFieldTypeString",
     "alias": "NameOld",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 50,
     "defaultValue": null,
     "modelName": "NameOld"
    },
    {
     "name": "NameNew",
     "type": "esriFieldTypeString",
     "alias": "NameNew",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 50,
     "defaultValue": null,
     "modelName": "NameNew"
    },
    {
     "name": "SurnameOld",
     "type": "esriFieldTypeString",
     "alias": "SurnameOld",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 50,
     "defaultValue": null,
     "modelName": "SurnameOld"
    },
    {
     "name": "SurnameNew",
     "type": "esriFieldTypeString",
     "alias": "SurnameNew",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 50,
     "defaultValue": null,
     "modelName": "SurnameNew"
    },
    {
     "name": "PlaceCodeOld",
     "type": "esriFieldTypeString",
     "alias": "PlaceCodeOld",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 9,
     "defaultValue": null,
     "modelName": "PlaceCodeOld"
    },
    {
     "name": "PlaceCodeNew",
     "type": "esriFieldTypeString",
     "alias": "PlaceCodeNew",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 9,
     "defaultValue": null,
     "modelName": "PlaceCodeNew"
    },
    {
     "name": "StreetIdOld",
     "type": "esriFieldTypeInteger",
     "alias": "StreetIdOld",
     "domain": null,
     "editable": true,
     "nullable": true,
     "defaultValue": null,
     "modelName": "StreetIdOld"
    },
    {
     "name": "StreetIdNew",
     "type": "esriFieldTypeInteger",
     "alias": "StreetIdNew",
     "domain": null,
     "editable": true,
     "nullable": true,
     "defaultValue": null,
     "modelName": "StreetIdNew"
    },
    {
     "name": "StreetNameOld",
     "type": "esriFieldTypeString",
     "alias": "StreetNameOld",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 50,
     "defaultValue": null,
     "modelName": "StreetNameOld"
    },
    {
     "name": "StreetNameNew",
     "type": "esriFieldTypeString",
     "alias": "StreetNameNew",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 50,
     "defaultValue": null,
     "modelName": "StreetNameNew"
    },
    {
     "name": "BuildingNumberIdOld",
     "type": "esriFieldTypeInteger",
     "alias": "BuildingNumberIdOld",
     "domain": null,
     "editable": true,
     "nullable": true,
     "defaultValue": null,
     "modelName": "BuildingNumberIdOld"
    },
    {
     "name": "BuildingNumberIdNew",
     "type": "esriFieldTypeInteger",
     "alias": "BuildingNumberIdNew",
     "domain": null,
     "editable": true,
     "nullable": true,
     "defaultValue": null,
     "modelName": "BuildingNumberIdNew"
    },
    {
     "name": "BuildingNumberOld",
     "type": "esriFieldTypeString",
     "alias": "BuildingNumberOld",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 10,
     "defaultValue": null,
     "modelName": "BuildingNumberOld"
    },
    {
     "name": "BuildingNumberNew",
     "type": "esriFieldTypeString",
     "alias": "BuildingNumberNew",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 10,
     "defaultValue": null,
     "modelName": "BuildingNumberNew"
    },
    {
     "name": "BuildingNumberMarkOld",
     "type": "esriFieldTypeString",
     "alias": "BuildingNumberMarkOld",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 10,
     "defaultValue": null,
     "modelName": "BuildingNumberMarkOld"
    },
    {
     "name": "BuildingNumberMarkNew",
     "type": "esriFieldTypeString",
     "alias": "BuildingNumberMarkNew",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 10,
     "defaultValue": null,
     "modelName": "BuildingNumberMarkNew"
    },
    {
     "name": "KpOld",
     "type": "esriFieldTypeString",
     "alias": "KpOld",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 50,
     "defaultValue": null,
     "modelName": "KpOld"
    },
    {
     "name": "KpNew",
     "type": "esriFieldTypeString",
     "alias": "KpNew",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 50,
     "defaultValue": null,
     "modelName": "KpNew"
    },
    {
     "name": "KoOld",
     "type": "esriFieldTypeString",
     "alias": "KoOld",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 50,
     "defaultValue": null,
     "modelName": "KoOld"
    },
    {
     "name": "KoNew",
     "type": "esriFieldTypeString",
     "alias": "KoNew",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 50,
     "defaultValue": null,
     "modelName": "KoNew"
    },
    {
     "name": "NoteOld",
     "type": "esriFieldTypeString",
     "alias": "NoteOld",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 255,
     "defaultValue": null,
     "modelName": "NoteOld"
    },
    {
     "name": "NoteNew",
     "type": "esriFieldTypeString",
     "alias": "NoteNew",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 255,
     "defaultValue": null,
     "modelName": "NoteNew"
    }
   ],
   "indexes": [
    {
     "name": "R64_SDE_ROWID_UK",
     "fields": "OBJECTID",
     "isAscending": true,
     "isUnique": true,
     "description": ""
    }
   ],
   "dateFieldsTimeReference": {
    "timeZone": "UTC",
    "respectsDaylightSaving": false
   },
   "types": [],
   "templates": [
    {
     "name": "AD2013Rabotna.SDE.ADDRESSCERTIFICATESHISTORY",
     "description": "",
     "prototype": {
      "attributes": {
       "NoteOld": null,
       "NoteNew": null,
       "OBJECTID_1": 0,
       "ActionType": null,
       "ActionDate": null,
       "UserName": null,
       "AddressCertificateId": null,
       "AddressCertificateNumberOld": null,
       "AddressCertificateNumberNew": null,
       "AddressCertificateDateOld": null,
       "AddressCertificateDateNew": null,
       "NameOld": null,
       "NameNew": null,
       "SurnameOld": null,
       "SurnameNew": null,
       "PlaceCodeOld": null,
       "PlaceCodeNew": null,
       "StreetIdOld": null,
       "StreetIdNew": null,
       "StreetNameOld": null,
       "StreetNameNew": null,
       "BuildingNumberIdOld": null,
       "BuildingNumberIdNew": null,
       "BuildingNumberOld": null,
       "BuildingNumberNew": null,
       "BuildingNumberMarkOld": null,
       "BuildingNumberMarkNew": null,
       "KpOld": null,
       "KpNew": null,
       "KoOld": null,
       "KoNew": null
      }
     },
     "drawingTool": "esriFeatureEditToolNone"
    }
   ],
   "maxRecordCount": 1000,
   "supportedQueryFormats": "JSON, geoJSON",
   "capabilities": "Query,Create,Update,Delete,Uploads,Editing",
   "useStandardizedQueries": true,
   "standardMaxRecordCount": 32000,
   "tileMaxRecordCount": 1000,
   "maxRecordCountFactor": 1
  },
  {
   "currentVersion": 10.91,
   "id": 10,
   "name": "AD2013Rabotna.SDE.StreetSegmentHistory",
   "type": "Table",
   "description": "",
   "copyrightText": "",
   "editFieldsInfo": null,
   "ownershipBasedAccessControlForFeatures": null,
   "syncCanReturnChanges": false,
   "relationships": [],
   "isDataVersioned": false,
   "isDataArchived": false,
   "isCoGoEnabled": false,
   "supportsRollbackOnFailureParameter": true,
   "archivingInfo": {
    "supportsQueryWithHistoricMoment": false,
    "startArchivingMoment": -1
   },
   "supportsStatistics": true,
   "supportsAdvancedQueries": true,
   "supportsValidateSQL": true,
   "supportsCoordinatesQuantization": false,
   "supportsCalculate": true,
   "advancedQueryCapabilities": {
    "supportsPagination": true,
    "supportsTrueCurve": true,
    "supportsQueryWithDistance": true,
    "supportsReturningQueryExtent": true,
    "supportsStatistics": true,
    "supportsHavingClause": true,
    "supportsOrderBy": true,
    "supportsDistinct": true,
    "supportsCountDistinct": true,
    "supportsQueryWithResultType": true,
    "supportsReturningGeometryCentroid": false,
    "supportsSqlExpression": true
   },
   "hasAttachments": false,
   "supportsApplyEditsWithGlobalIds": false,
   "htmlPopupType": "esriServerHTMLPopupTypeNone",
   "objectIdField": "OBJECTID",
   "globalIdField": "",
   "displayField": "UserName",
   "typeIdField": "",
   "subtypeField": "",
   "fields": [
    {
     "name": "OBJECTID",
     "type": "esriFieldTypeOID",
     "alias": "OBJECTID",
     "domain": null,
     "editable": false,
     "nullable": false,
     "defaultValue": null,
     "modelName": "OBJECTID"
    },
    {
     "name": "ActionType",
     "type": "esriFieldTypeInteger",
     "alias": "Тип на акција",
     "domain": null,
     "editable": true,
     "nullable": true,
     "defaultValue": null,
     "modelName": "ActionType"
    },
    {
     "name": "ActionDate",
     "type": "esriFieldTypeDate",
     "alias": "ActionDate",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 8,
     "defaultValue": null,
     "modelName": "ActionDate"
    },
    {
     "name": "UserName",
     "type": "esriFieldTypeString",
     "alias": "UserName",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 50,
     "defaultValue": null,
     "modelName": "UserName"
    },
    {
     "name": "StreetSegmentId",
     "type": "esriFieldTypeInteger",
     "alias": "ИД на уличен сегмент",
     "domain": null,
     "editable": true,
     "nullable": true,
     "defaultValue": null,
     "modelName": "StreetSegmentId"
    },
    {
     "name": "StreetIdOld",
     "type": "esriFieldTypeInteger",
     "alias": "ИД на стара улица",
     "domain": null,
     "editable": true,
     "nullable": true,
     "defaultValue": null,
     "modelName": "StreetIdOld"
    },
    {
     "name": "StreetIdNew",
     "type": "esriFieldTypeInteger",
     "alias": "ИД на нова улица",
     "domain": null,
     "editable": true,
     "nullable": true,
     "defaultValue": null,
     "modelName": "StreetIdNew"
    },
    {
     "name": "StreetNameMkOld",
     "type": "esriFieldTypeString",
     "alias": "Старо име на улица (МК)",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 50,
     "defaultValue": null,
     "modelName": "StreetNameMkOld"
    },
    {
     "name": "StreetNameMkNew",
     "type": "esriFieldTypeString",
     "alias": "Ново име на улица (МК)",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 50,
     "defaultValue": null,
     "modelName": "StreetNameMkNew"
    },
    {
     "name": "StreetNameEnOld",
     "type": "esriFieldTypeString",
     "alias": "Старо име на улица (EN)",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 50,
     "defaultValue": null,
     "modelName": "StreetNameEnOld"
    },
    {
     "name": "StreetNameEnNew",
     "type": "esriFieldTypeString",
     "alias": "Ново име на улица (EN)",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 50,
     "defaultValue": null,
     "modelName": "StreetNameEnNew"
    },
    {
     "name": "PlaceLeftCodeOld",
     "type": "esriFieldTypeString",
     "alias": "Старо населено место (лево)",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 9,
     "defaultValue": null,
     "modelName": "PlaceLeftCodeOld"
    },
    {
     "name": "PlaceLeftCodeNew",
     "type": "esriFieldTypeString",
     "alias": "Ново населено место (лево)",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 9,
     "defaultValue": null,
     "modelName": "PlaceLeftCodeNew"
    },
    {
     "name": "PlaceRightCodeOld",
     "type": "esriFieldTypeString",
     "alias": "Старо населено место (десно)",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 9,
     "defaultValue": null,
     "modelName": "PlaceRightCodeOld"
    },
    {
     "name": "PlaceRightCodeNew",
     "type": "esriFieldTypeString",
     "alias": "Ново населено место (десно)",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 9,
     "defaultValue": null,
     "modelName": "PlaceRightCodeNew"
    },
    {
     "name": "DirectionOld",
     "type": "esriFieldTypeString",
     "alias": "DirectionNew",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 50,
     "defaultValue": null,
     "modelName": "DirectionOld"
    },
    {
     "name": "DirectionNew",
     "type": "esriFieldTypeString",
     "alias": "DirectionOld",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 50,
     "defaultValue": null,
     "modelName": "DirectionNew"
    },
    {
     "name": "OldUniqueNumberOld",
     "type": "esriFieldTypeString",
     "alias": "OldUniqueNumberOld",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 50,
     "defaultValue": null,
     "modelName": "OldUniqueNumberOld"
    },
    {
     "name": "OldUniqueNumberNew",
     "type": "esriFieldTypeString",
     "alias": "OldUniqueNumberNew",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 50,
     "defaultValue": null,
     "modelName": "OldUniqueNumberNew"
    },
    {
     "name": "StatusOld",
     "type": "esriFieldTypeString",
     "alias": "StatusOld",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 50,
     "defaultValue": null,
     "modelName": "StatusOld"
    },
    {
     "name": "StatusNew",
     "type": "esriFieldTypeString",
     "alias": "StatusNew",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 50,
     "defaultValue": null,
     "modelName": "StatusNew"
    },
    {
     "name": "HasTableOld",
     "type": "esriFieldTypeString",
     "alias": "HasTableOld",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 50,
     "defaultValue": null,
     "modelName": "HasTableOld"
    },
    {
     "name": "HasTableNew",
     "type": "esriFieldTypeString",
     "alias": "HasTableNew",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 50,
     "defaultValue": null,
     "modelName": "HasTableNew"
    },
    {
     "name": "NoteOld",
     "type": "esriFieldTypeString",
     "alias": "NoteOld",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 50,
     "defaultValue": null,
     "modelName": "NoteOld"
    },
    {
     "name": "NoteNew",
     "type": "esriFieldTypeString",
     "alias": "NoteNew",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 50,
     "defaultValue": null,
     "modelName": "NoteNew"
    },
    {
     "name": "ValidFromOld",
     "type": "esriFieldTypeDate",
     "alias": "ValidFromOld",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 8,
     "defaultValue": null,
     "modelName": "ValidFromOld"
    },
    {
     "name": "ValidFromNew",
     "type": "esriFieldTypeDate",
     "alias": "ValidFromNew",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 8,
     "defaultValue": null,
     "modelName": "ValidFromNew"
    },
    {
     "name": "ValidToOld",
     "type": "esriFieldTypeDate",
     "alias": "ValidToOld",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 8,
     "defaultValue": null,
     "modelName": "ValidToOld"
    },
    {
     "name": "ValidToNew",
     "type": "esriFieldTypeDate",
     "alias": "ValidToNew",
     "domain": null,
     "editable": true,
     "nullable": true,
     "length": 8,
     "defaultValue": null,
     "modelName": "ValidToNew"
    },
    {
     "name": "ActionID",
     "type": "esriFieldTypeInteger",
     "alias": "ActionId",
     "domain": null,
     "editable": true,
     "nullable": true,
     "defaultValue": null,
     "modelName": "ActionID"
    }
   ],
   "indexes": [
    {
     "name": "R69_SDE_ROWID_UK",
     "fields": "OBJECTID",
     "isAscending": true,
     "isUnique": true,
     "description": ""
    }
   ],
   "dateFieldsTimeReference": {
    "timeZone": "UTC",
    "respectsDaylightSaving": false
   },
   "types": [],
   "templates": [
    {
     "name": "AD2013Rabotna.SDE.StreetSegmentHistory",
     "description": "",
     "prototype": {
      "attributes": {
       "ValidToNew": null,
       "ActionID": null,
       "ActionType": null,
       "ActionDate": null,
       "UserName": null,
       "StreetSegmentId": null,
       "StreetIdOld": null,
       "StreetIdNew": null,
       "StreetNameMkOld": null,
       "StreetNameMkNew": null,
       "StreetNameEnOld": null,
       "StreetNameEnNew": null,
       "PlaceLeftCodeOld": null,
       "PlaceLeftCodeNew": null,
       "PlaceRightCodeOld": null,
       "PlaceRightCodeNew": null,
       "DirectionOld": null,
       "DirectionNew": null,
       "OldUniqueNumberOld": null,
       "OldUniqueNumberNew": null,
       "StatusOld": null,
       "StatusNew": null,
       "HasTableOld": null,
       "HasTableNew": null,
       "NoteOld": null,
       "NoteNew": null,
       "ValidFromOld": null,
       "ValidFromNew": null,
       "ValidToOld": null
      }
     },
     "drawingTool": "esriFeatureEditToolNone"
    }
   ],
   "maxRecordCount": 1000,
   "supportedQueryFormats": "JSON, geoJSON",
   "capabilities": "Query,Create,Update,Delete,Uploads,Editing",
   "useStandardizedQueries": true,
   "standardMaxRecordCount": 32000,
   "tileMaxRecordCount": 1000,
   "maxRecordCountFactor": 1
  }
 ]
}