{
 "allowGeometryUpdates": true,
 "capabilities": "Create,Editing",
 "copyrightText": "",
 "defaultVisibility": true,
 "description": "",
 "drawingInfo": {
  "labelingInfo": null,
  "renderer": {
   "label": "Survey Point",
   "symbol": {
    "angle": 0,
    "color": [
     255,
     0,
     0,
     255
    ],
    "outline": {
     "color": [
      255,
      255,
      0,
      255
     ],
     "width": 1
    },
    "size": 8,
    "style": "esriSMSCircle",
    "type": "esriSMS",
    "xoffset": 0,
    "yoffset": 0
   },
   "type": "simple"
  },
  "transparency": 0
 },
 "extent": {
  "spatialReference": {"wkid": 4326},
  "type": "extent",
  "xmax": 180,
  "xmin": -180,
  "ymax": 90,
  "ymin": -90
 },
 "fields": [
  {
   "alias": "ObjectID",
   "defaultValue": null,
   "domain": null,
   "editable": false,
   "name": "objectid",
   "nullable": false,
   "type": "esriFieldTypeOID"
  },
  {
   "alias": "GlobalID",
   "defaultValue": null,
   "domain": null,
   "editable": false,
   "length": 38,
   "name": "globalid",
   "nullable": false,
   "type": "esriFieldTypeGlobalID"
  },
  {
   "alias": "created_user",
   "length": 255,
   "domain": null,
   "nullable": true,
   "type": "esriFieldTypeString",
   "editable": false,
   "name": "created_user"
  },
  {
   "alias": "created_date",
   "length": 29,
   "domain": null,
   "nullable": true,
   "type": "esriFieldTypeDate",
   "editable": false,
   "name": "created_date"
  },
  {
   "alias": "last_edited_user",
   "length": 255,
   "domain": null,
   "nullable": true,
   "type": "esriFieldTypeString",
   "editable": false,
   "name": "last_edited_user"
  },
  {
   "alias": "last_edited_date",
   "length": 29,
   "domain": null,
   "nullable": true,
   "type": "esriFieldTypeDate",
   "editable": false,
   "name": "last_edited_date"
  },
  {
   "type": "esriFieldTypeString",
   "name": "field_1",
   "alias": "ชื่อลูกค้า/ร้านค้า",
   "nullable": true,
   "editable": true,
   "defaultValue": null,
   "length": 255,
   "domain": null
  },
  {
   "type": "esriFieldTypeDouble",
   "name": "field_2",
   "alias": "เบอร์ติดต่อ",
   "nullable": true,
   "editable": true,
   "defaultValue": null,
   "domain": null
  },
  {
   "type": "esriFieldTypeString",
   "name": "field_3",
   "alias": "ประเภท",
   "nullable": true,
   "editable": true,
   "defaultValue": null,
   "length": 255,
   "domain": "{\"type\":\"codedValue\",\"name\":\"cvd_field_3\",\"codedValues\":[{\"name\":\"ลูกค้าเก่า\",\"code\":\"ลูกค้าเก่า\"},{\"name\":\"ลูกค้าใหม่\",\"code\":\"ลูกค้าใหม่\"}]}"
  },
  {
   "type": "esriFieldTypeString",
   "name": "field_4",
   "alias": "ยอดการสั่งซื้อ",
   "nullable": true,
   "editable": true,
   "defaultValue": null,
   "length": 255,
   "domain": "{\"type\":\"codedValue\",\"name\":\"cvd_field_4\",\"codedValues\":[{\"name\":\"> 10,000\",\"code\":\"> 10,000\"},{\"name\":\"5,000 - 10,000\",\"code\":\"5,000 - 10,000\"},{\"name\":\"< 5,000\",\"code\":\"< 5,000\"}]}"
  },
  {
   "type": "esriFieldTypeString",
   "name": "field_7",
   "alias": "เบอร์ติดต่อ",
   "nullable": true,
   "editable": true,
   "defaultValue": null,
   "length": 255
  }
 ],
 "indexes": [
  {
   "name": "uuid_368",
   "fields": "globalid",
   "isAcsending": true,
   "isUnique": true,
   "description": ""
  },
  {
   "name": "a307_ix1",
   "fields": "shape",
   "isAcsending": true,
   "isUnique": false,
   "description": ""
  },
  {
   "name": "r368_sde_rowid_uk",
   "fields": "objectid",
   "isAcsending": true,
   "isUnique": false,
   "description": ""
  }
 ],
 "geometryType": "esriGeometryPoint",
 "hasAttachments": true,
 "hasZ": false,
 "hasStaticData": false,
 "htmlPopupType": "esriServerHTMLPopupTypeAsHTMLText",
 "isDataVersioned": false,
 "maxRecordCount": 1000,
 "name": "survey",
 "objectIdField": "objectid",
 "globalIdField": "globalid",
 "relationships": [],
 "supportsAdvancedQueries": true,
 "supportsRollbackOnFailureParameter": true,
 "supportsStatistics": true,
 "type": "Feature Layer",
 "typeIdField": "",
 "types": [],
 "timeInfo": null,
 "maxScale": 0,
 "minScale": 0,
 "templates": [
  {
   "name": "New Feature",
   "description": "",
   "prototype": {
    "attributes": {}
   }
  }
 ],
 "propagateVisibleFields": true,
 "hasGeometryProperties": true,
 "editFieldsInfo": {
  "creationDateField": "created_date",
  "creatorField": "created_user",
  "editDateField": "last_edited_date",
  "editorField": "last_edited_user"
 },
 "id": 0,
 "allowUpdateWithoutMValues": true,
 "hasMetadata": false,
 "ownershipBasedAccessControlForFeatures": {
  "allowOthersToQuery": false,
  "allowOthersToUpdate": false,
  "allowOthersToDelete": false
 },
 "displayField": null,
 "viewSourceHasAttachments": true,
 "isView": true,
 "syncEnabled": false,
 "sourceSchemaChangesAllowed": true,
 "isUpdatableView": true,
 "advancedEditingCapabilities": {
  "supportedSqlFormatsInCalculate": [
   "standard"
  ]
 },
 "supportsApplyEditsWithGlobalIds": true,
 "supportsCalculate": true,
 "advancedQueryCapabilities": {
  "supportsReturningQueryExtent": true,
  "supportsStatistics": true,
  "supportsDistinct": true,
  "supportsPagination": true,
  "supportsOrderBy": true,
  "supportsQueryWithDistance": true,
  "supportsLod": false,
  "supportsPaginationOnAggregatedQueries": true,
  "supportsQueryWithResultType": true,
  "supportsCountDistinct": true,
  "supportsReturningGeometryCentroid": false,
  "supportsHavingClause": true,
  "supportsQueryWithLodSR": false,
  "supportsTopFeaturesQuery": false,
  "supportsOrderByOnlyOnLayerFields": false,
  "supportsPercentileStatistics": true,
  "supportsQueryAttachments": true,
  "supportsQueryAttachmentsWithReturnUrl": true,
  "supportsQueryWithDatumTransformation": true
 },
 "currentVersion": 10.8,
 "supportsCoordinatesQuantization": true,
 "supportsAttachmentsByUploadId": true,
 "supportsValidateSQL": true,
 "useStandardizedQueries": true,
 "syncCanReturnChanges": true,
 "supportedQueryFormats": "JSON, geoJSON, PBF",
 "supportsAsyncDelete": true,
 "supportsFieldDescriptionProperty": true,
 "standardMaxRecordCountNoGeometry": 16000,
 "standardMaxRecordCount": 16000,
 "tileMaxRecordCount": 4000,
 "maxRecordCountFactor": 1,
 "sqlParserVersion": "PG_10.6.1",
 "serviceItemId": "a5d5d2d854164f58bd7bc2c18be2cf8c"
}