{
 "tables": [],
 "layers": [
  {
   "extent": {
    "ymin": -90,
    "xmin": -180,
    "ymax": 90,
    "xmax": 180,
    "spatialReference": {"wkid": 4326},
    "type": "extent"
   },
   "supportsApplyEditsWithGlobalIds": true,
   "maxRecordCount": 1000,
   "attachmentProperties": [
    {
     "fieldName": "attachmentid",
     "isEnabled": true,
     "name": "id"
    },
    {
     "fieldName": "globalid",
     "isEnabled": true,
     "name": "globalId"
    },
    {
     "fieldName": "att_name",
     "isEnabled": true,
     "name": "name"
    },
    {
     "fieldName": "data_size",
     "isEnabled": true,
     "name": "size"
    },
    {
     "fieldName": "content_type",
     "isEnabled": true,
     "name": "contentType"
    },
    {
     "fieldName": "keywords",
     "isEnabled": true,
     "name": "keywords"
    },
    {
     "fieldName": "exifinfo",
     "isEnabled": true,
     "name": "exifInfo"
    }
   ],
   "attachmentFields": [
    {
     "sqlType": "sqlTypeInteger",
     "nullable": false,
     "editable": false,
     "defaultValue": null,
     "domain": null,
     "name": "attachmentid",
     "alias": "attachmentid",
     "type": "esriFieldTypeOID",
     "sqlTypeCode": 4
    },
    {
     "sqlType": "sqlTypeVarchar",
     "nullable": false,
     "editable": false,
     "defaultValue": null,
     "domain": null,
     "length": 38,
     "name": "globalid",
     "alias": "globalid",
     "type": "esriFieldTypeGlobalID",
     "sqlTypeCode": 12
    },
    {
     "sqlType": "sqlTypeVarchar",
     "nullable": false,
     "editable": false,
     "defaultValue": null,
     "domain": null,
     "length": 250,
     "name": "att_name",
     "alias": "att_name",
     "type": "esriFieldTypeString",
     "sqlTypeCode": 12
    },
    {
     "sqlType": "sqlTypeInteger",
     "nullable": false,
     "editable": false,
     "defaultValue": null,
     "domain": null,
     "name": "data_size",
     "alias": "data_size",
     "type": "esriFieldTypeInteger",
     "sqlTypeCode": 4
    },
    {
     "sqlType": "sqlTypeVarchar",
     "nullable": false,
     "editable": false,
     "defaultValue": null,
     "domain": null,
     "length": 150,
     "name": "content_type",
     "alias": "content_type",
     "type": "esriFieldTypeString",
     "sqlTypeCode": 12
    },
    {
     "sqlType": "sqlTypeVarchar",
     "nullable": true,
     "editable": false,
     "defaultValue": null,
     "domain": null,
     "length": 2048,
     "name": "keywords",
     "alias": "keywords",
     "type": "esriFieldTypeString",
     "sqlTypeCode": 12
    },
    {
     "sqlType": "sqlTypeVarchar",
     "nullable": true,
     "editable": false,
     "defaultValue": null,
     "domain": null,
     "length": 1073741822,
     "name": "exifinfo",
     "alias": "exifinfo",
     "type": "esriFieldTypeString",
     "sqlTypeCode": 12
    }
   ],
   "infoInEstimates": [
    "extent",
    "count"
   ],
   "ownershipBasedAccessControlForFeatures": {
    "allowOthersToUpdate": false,
    "allowOthersToQuery": true,
    "allowOthersToDelete": false
   },
   "type": "Feature Layer",
   "hasStaticData": false,
   "syncEnabled": false,
   "supportsAttachmentsByUploadId": true,
   "relationships": [],
   "supportsAttachmentsResizing": true,
   "id": 0,
   "supportsStatistics": true,
   "supportedExportFormats": "sqlite,filegdb",
   "standardMaxRecordCount": 16000,
   "isDataVersioned": false,
   "templates": [
    {
     "name": "New Feature",
     "description": "",
     "prototype": {
      "attributes": {}
     }
    }
   ],
   "hasGeometryProperties": true,
   "supportsAdvancedQueries": true,
   "currentVersion": 10.91,
   "hasZ": false,
   "advancedEditingCapabilities": {
    "supportsAsyncApplyEdits": false,
    "supportedSqlFormatsInCalculate": [
     "standard"
    ]
   },
   "objectIdField": "objectid",
   "timeInfo": null,
   "supportsQuantizationEditMode": true,
   "viewSourceHasAttachments": true,
   "name": "survey",
   "displayField": null,
   "supportsCalculate": true,
   "fields": [
    {
     "nullable": false,
     "defaultValue": null,
     "editable": false,
     "length": 4,
     "type": "esriFieldTypeOID",
     "domain": null,
     "name": "objectid",
     "alias": "ObjectID"
    },
    {
     "nullable": false,
     "defaultValue": null,
     "editable": false,
     "length": 38,
     "type": "esriFieldTypeGlobalID",
     "domain": null,
     "name": "globalid",
     "alias": "GlobalID"
    },
    {
     "nullable": true,
     "editable": false,
     "defaultValue": null,
     "domain": null,
     "length": 255,
     "name": "created_user",
     "alias": "created_user",
     "type": "esriFieldTypeString"
    },
    {
     "nullable": true,
     "editable": false,
     "defaultValue": null,
     "domain": null,
     "length": 29,
     "name": "created_date",
     "alias": "created_date",
     "type": "esriFieldTypeDate"
    },
    {
     "nullable": true,
     "editable": false,
     "defaultValue": null,
     "domain": null,
     "length": 255,
     "name": "last_edited_user",
     "alias": "last_edited_user",
     "type": "esriFieldTypeString"
    },
    {
     "nullable": true,
     "editable": false,
     "defaultValue": null,
     "domain": null,
     "length": 29,
     "name": "last_edited_date",
     "alias": "last_edited_date",
     "type": "esriFieldTypeDate"
    },
    {
     "nullable": true,
     "editable": true,
     "defaultValue": null,
     "domain": {
      "name": "survey123_a72bba5ea35a42ba8906d00f2a2f2832_cvd__1_has_the_driver_attended_any",
      "type": "codedValue",
      "codedValues": [
       {
        "code": "Yes",
        "name": "Yes"
       },
       {
        "code": "No",
        "name": "No"
       }
      ]
     },
     "name": "_1_has_the_driver_attended_any",
     "length": 255,
     "alias": "1. Has the driver attended any advanced training course?",
     "type": "esriFieldTypeString"
    },
    {
     "nullable": true,
     "editable": true,
     "defaultValue": null,
     "domain": {
      "name": "survey123_a72bba5ea35a42ba8906d00f2a2f2832_cvd__2_has_the_driver_attended_any",
      "type": "codedValue",
      "codedValues": [
       {
        "code": "Yes",
        "name": "Yes"
       },
       {
        "code": "No",
        "name": "No"
       }
      ]
     },
     "name": "_2_has_the_driver_attended_any",
     "length": 255,
     "alias": "2. Has the driver attended any work place training course? (Including a refresher course)?",
     "type": "esriFieldTypeString"
    },
    {
     "nullable": true,
     "editable": true,
     "defaultValue": null,
     "name": "_3_how_many_years_experience_of",
     "alias": "3. How many years experience of driving does the driver have?",
     "type": "esriFieldTypeDouble"
    },
    {
     "nullable": true,
     "editable": true,
     "defaultValue": null,
     "name": "_4_how_many_years_has_the_drive",
     "alias": "4. How many years has the driver been employed as a driver by the company?",
     "type": "esriFieldTypeDouble"
    },
    {
     "nullable": true,
     "editable": true,
     "defaultValue": null,
     "domain": {
      "name": "survey123_a72bba5ea35a42ba8906d00f2a2f2832_cvd__5_has_the_driver_had_any_accid",
      "type": "codedValue",
      "codedValues": [
       {
        "code": "Yes",
        "name": "Yes"
       },
       {
        "code": "No",
        "name": "No"
       }
      ]
     },
     "name": "_5_has_the_driver_had_any_accid",
     "length": 255,
     "alias": "5. Has the driver had any accident in the last 5 years?",
     "type": "esriFieldTypeString"
    },
    {
     "nullable": true,
     "editable": true,
     "defaultValue": null,
     "name": "_6_what_are_the_most_common_en",
     "length": 1000,
     "alias": "6. What are the most common, en-route driver frustrations?",
     "type": "esriFieldTypeString"
    },
    {
     "nullable": true,
     "editable": true,
     "defaultValue": null,
     "domain": {
      "name": "survey123_a72bba5ea35a42ba8906d00f2a2f2832_cvd__7_has_the_driver_received_any",
      "type": "codedValue",
      "codedValues": [
       {
        "code": "Yes",
        "name": "Yes"
       },
       {
        "code": "No",
        "name": "No"
       }
      ]
     },
     "name": "_7_has_the_driver_received_any",
     "length": 255,
     "alias": "7. Has the driver received any training in South Africa or outside of SA?",
     "type": "esriFieldTypeString"
    },
    {
     "nullable": true,
     "editable": true,
     "defaultValue": null,
     "domain": {
      "name": "survey123_a72bba5ea35a42ba8906d00f2a2f2832_cvd__8_does_the_driver_have_a_valid",
      "type": "codedValue",
      "codedValues": [
       {
        "code": "Yes",
        "name": "Yes"
       },
       {
        "code": "No",
        "name": "No"
       }
      ]
     },
     "name": "_8_does_the_driver_have_a_valid",
     "length": 255,
     "alias": "8. Does the driver have a valid driving license?",
     "type": "esriFieldTypeString"
    },
    {
     "nullable": true,
     "editable": true,
     "defaultValue": null,
     "domain": {
      "name": "survey123_a72bba5ea35a42ba8906d00f2a2f2832_cvd__9_does_the_driver_have_a_valid",
      "type": "codedValue",
      "codedValues": [
       {
        "code": "Yes",
        "name": "Yes"
       },
       {
        "code": "No",
        "name": "No"
       }
      ]
     },
     "name": "_9_does_the_driver_have_a_valid",
     "length": 255,
     "alias": "9. Does the driver have a valid PrDP?",
     "type": "esriFieldTypeString"
    },
    {
     "nullable": true,
     "editable": true,
     "defaultValue": null,
     "domain": {
      "name": "survey123_a72bba5ea35a42ba8906d00f2a2f2832_cvd__10_is_the_driver_allowed_accor",
      "type": "codedValue",
      "codedValues": [
       {
        "code": "Yes",
        "name": "Yes"
       },
       {
        "code": "No",
        "name": "No"
       },
       {
        "code": "other",
        "name": "Other"
       }
      ]
     },
     "name": "_10_is_the_driver_allowed_accor",
     "length": 255,
     "alias": "10. Is the driver allowed according to the PrDp to transport the cargo he is carrying?",
     "type": "esriFieldTypeString"
    },
    {
     "nullable": true,
     "editable": true,
     "defaultValue": "",
     "name": "untitled_question_11_other",
     "length": 255,
     "alias": "Other - 10. Is the driver allowed according to the PrDp to transport the cargo he is carrying?",
     "type": "esriFieldTypeString"
    }
   ],
   "maxRecordCountFactor": 1,
   "dateFieldsTimeReference": {
    "respectsDaylightSaving": false,
    "timeZone": "UTC"
   },
   "supportsFieldDescriptionProperty": true,
   "allowGeometryUpdates": true,
   "isView": true,
   "useStandardizedQueries": true,
   "globalIdField": "globalid",
   "description": "",
   "syncCanReturnChanges": true,
   "supportsAsyncDelete": true,
   "isUpdatableView": true,
   "supportedSpatialRelationships": [
    "esriSpatialRelIntersects",
    "esriSpatialRelContains",
    "esriSpatialRelCrosses",
    "esriSpatialRelEnvelopeIntersects",
    "esriSpatialRelOverlaps",
    "esriSpatialRelTouches",
    "esriSpatialRelWithin"
   ],
   "supportsRollbackOnFailureParameter": true,
   "isDataReplicaTracked": false,
   "standardMaxRecordCountNoGeometry": 16000,
   "indexes": [
    {
     "name": "uuid_1521",
     "isUnique": true,
     "description": "",
     "fields": "globalid",
     "isAscending": true
    },
    {
     "name": "a1146_ix1",
     "isUnique": false,
     "description": "",
     "fields": "shape",
     "isAscending": true
    },
    {
     "name": "r1521_sde_rowid_uk",
     "isUnique": false,
     "description": "",
     "fields": "objectid",
     "isAscending": true
    }
   ],
   "htmlPopupType": "esriServerHTMLPopupTypeAsHTMLText",
   "editFieldsInfo": {
    "editDateField": "last_edited_date",
    "editorField": "last_edited_user",
    "creationDateField": "created_date",
    "creatorField": "created_user"
   },
   "minScale": 0,
   "hasAttachments": true,
   "advancedQueryCapabilities": {
    "supportsSqlExpression": true,
    "supportsQueryWithResultType": true,
    "supportsQueryWithCacheHint": false,
    "supportsQueryWithDatumTransformation": true,
    "supportsQueryAttachmentsWithReturnUrl": true,
    "supportsQueryDateBins": false,
    "supportsQueryWithLodSR": true,
    "supportsPaginationOnAggregatedQueries": true,
    "supportsPagination": true,
    "supportsMaxRecordCountFactor": true,
    "supportsStatistics": true,
    "supportsOrderBy": true,
    "supportsQueryWithDistance": true,
    "supportsLod": true,
    "supportsCountDistinct": true,
    "supportsQueryAttachments": true,
    "supportsReturningQueryExtent": true,
    "supportsQueryAttachmentsCountOnly": true,
    "supportsOrderByOnlyOnLayerFields": false,
    "supportsOutFieldSqlExpression": true,
    "supportsTopFeaturesQuery": true,
    "supportsDistinct": true,
    "supportsReturningGeometryCentroid": false,
    "supportsQueryAnalytic": true,
    "supportsPercentileStatistics": true,
    "supportsHavingClause": true
   },
   "serviceItemId": "de15526911534335b7a57ffa5f7915c1",
   "supportsValidateSQL": true,
   "allowUpdateWithoutMValues": true,
   "types": [],
   "supportsCoordinatesQuantization": true,
   "capabilities": "Query,Extract",
   "maxScale": 0,
   "supportsAppend": true,
   "supportsExceedsLimitStatistics": true,
   "sourceSchemaChangesAllowed": true,
   "defaultVisibility": true,
   "advancedQueryAnalyticCapabilities": {
    "supportsAsync": false,
    "supportsLinearRegression": true,
    "supportsPercentileAnalytic": false
   },
   "hasMetadata": false,
   "supportedAppendFormats": "shapefile,geojson,csv,featureCollection,excel",
   "tileMaxRecordCount": 4000,
   "typeIdField": "",
   "supportedQueryFormats": "JSON, geoJSON, PBF",
   "propagateVisibleFields": true,
   "sqlParserVersion": "PG_10.9.1",
   "drawingInfo": {
    "renderer": {
     "symbol": {
      "outline": {
       "color": [
        255,
        255,
        0,
        255
       ],
       "width": 1
      },
      "color": [
       255,
       0,
       0,
       255
      ],
      "size": 8,
      "yoffset": 0,
      "xoffset": 0,
      "angle": 0,
      "style": "esriSMSCircle",
      "type": "esriSMS"
     },
     "label": "Survey Point",
     "type": "simple"
    },
    "transparency": 0,
    "labelingInfo": null
   },
   "copyrightText": "",
   "geometryType": "esriGeometryPoint"
  }
 ]
}