{
 "currentVersion": 11.3,
 "cimVersion": "3.3.0",
 "id": 7,
 "name": "Permit",
 "type": "Table",
 "description": "",
 "copyrightText": "",
 "editFieldsInfo": {
  "creationDateField": "created_date",
  "creatorField": "created_user",
  "editDateField": "last_edited_date",
  "editorField": "last_edited_user"
 },
 "ownershipBasedAccessControlForFeatures": null,
 "syncCanReturnChanges": true,
 "relationships": [
  {
   "id": 5,
   "name": "AAH_PICK_UP",
   "relatedTableId": 6,
   "cardinality": "esriRelCardinalityOneToMany",
   "role": "esriRelRoleOrigin",
   "keyField": "GlobalID",
   "composite": true,
   "catalogID": "{FE053F6C-25CA-4814-89C1-7B19E9A69454}"
  },
  {
   "id": 0,
   "name": "AAH_GROUP",
   "relatedTableId": 0,
   "cardinality": "esriRelCardinalityOneToMany",
   "role": "esriRelRoleDestination",
   "keyField": "REL_GLOBALID",
   "composite": true,
   "catalogID": "{6B18BE61-5867-4379-8B15-0DEFB6983395}"
  },
  {
   "id": 1,
   "name": "AAH_GROUP",
   "relatedTableId": 1,
   "cardinality": "esriRelCardinalityOneToMany",
   "role": "esriRelRoleDestination",
   "keyField": "REL_GLOBALID",
   "composite": true,
   "catalogID": "{6B18BE61-5867-4379-8B15-0DEFB6983395}"
  },
  {
   "id": 2,
   "name": "AAH_GROUP",
   "relatedTableId": 2,
   "cardinality": "esriRelCardinalityOneToMany",
   "role": "esriRelRoleDestination",
   "keyField": "REL_GLOBALID",
   "composite": true,
   "catalogID": "{6B18BE61-5867-4379-8B15-0DEFB6983395}"
  },
  {
   "id": 3,
   "name": "AAH_GROUP",
   "relatedTableId": 3,
   "cardinality": "esriRelCardinalityOneToMany",
   "role": "esriRelRoleDestination",
   "keyField": "REL_GLOBALID",
   "composite": true,
   "catalogID": "{6B18BE61-5867-4379-8B15-0DEFB6983395}"
  },
  {
   "id": 4,
   "name": "AAH_GROUP",
   "relatedTableId": 5,
   "cardinality": "esriRelCardinalityOneToMany",
   "role": "esriRelRoleDestination",
   "keyField": "REL_GLOBALID",
   "composite": true,
   "catalogID": "{6B18BE61-5867-4379-8B15-0DEFB6983395}"
  }
 ],
 "isDataVersioned": false,
 "isDataArchived": true,
 "infoInEstimates": [
  "count"
 ],
 "isDataBranchVersioned": false,
 "isDataReplicaTracked": false,
 "isCoGoEnabled": false,
 "supportsRollbackOnFailureParameter": false,
 "archivingInfo": {
  "supportsQueryWithHistoricMoment": true,
  "startArchivingMoment": 1707575920000
 },
 "supportsStatistics": true,
 "supportsExceedsLimitStatistics": true,
 "supportsAdvancedQueries": true,
 "supportsValidateSQL": true,
 "supportsCoordinatesQuantization": false,
 "supportsCalculate": true,
 "supportsASyncCalculate": true,
 "advancedQueryCapabilities": {
  "supportsPagination": true,
  "supportsTrueCurve": true,
  "supportsQueryWithDistance": true,
  "supportsReturningQueryExtent": true,
  "supportsStatistics": true,
  "supportsPercentileStatistics": true,
  "supportsHavingClause": true,
  "supportsOrderBy": true,
  "supportsDistinct": true,
  "supportsCountDistinct": true,
  "supportsAdvancedQueryRelated": true,
  "supportsQueryRelatedPagination": true,
  "supportsCurrentUserQueries": true,
  "supportsQueryAttachments": true,
  "supportsQueryAttachmentsWithReturnUrl": true,
  "supportsQueryWithResultType": true,
  "supportsReturningGeometryCentroid": false,
  "supportsSqlExpression": true,
  "supportsLod": false,
  "supportsQueryWithLodSR": false,
  "supportsQueryAnalytic": true
 },
 "advancedQueryAnalyticCapabilities": {
  "supportsLinearRegression": true,
  "supportsAsync": true,
  "supportsPercentileAnalytic": true
 },
 "advancedEditingCapabilities": {
  "supportedSqlFormatsInCalculate": [
   "standard"
  ],
  "supportsAsyncApplyEdits": true,
  "supportsApplyEditsbyUploadID": true,
  "supportedApplyEditsUploadIDFormats": "JSON"
 },
 "hasMetadata": true,
 "hasAttachments": true,
 "supportsAttachmentsByUploadId": true,
 "supportsAttachmentsResizing": true,
 "supportsApplyEditsWithGlobalIds": true,
 "htmlPopupType": "esriServerHTMLPopupTypeNone",
 "objectIdField": "OBJECTID",
 "globalIdField": "GlobalID",
 "displayField": "PERMIT_ID",
 "typeIdField": "",
 "subtypeField": "",
 "fields": [
  {
   "name": "PERMIT_ID",
   "type": "esriFieldTypeString",
   "alias": "Permit ID",
   "domain": null,
   "editable": true,
   "nullable": true,
   "length": 10,
   "defaultValue": null,
   "modelName": "PERMIT_ID"
  },
  {
   "name": "PERMIT_STATUS",
   "type": "esriFieldTypeString",
   "alias": "Permit Status",
   "domain": {
    "type": "codedValue",
    "name": "D_AAH_PERMIT_STATUS",
    "description": "D_AAH_PERMIT_STATUS",
    "codedValues": [
     {
      "name": "Active",
      "code": "A"
     },
     {
      "name": "Retired",
      "code": "R"
     },
     {
      "name": "Proposed",
      "code": "P"
     },
     {
      "name": "Cancelled",
      "code": "C"
     }
    ],
    "mergePolicy": "esriMPTDefaultValue",
    "splitPolicy": "esriSPTDefaultValue"
   },
   "editable": true,
   "nullable": true,
   "length": 10,
   "defaultValue": "A",
   "modelName": "PERMIT_STATUS"
  },
  {
   "name": "PERMIT_NUMBER",
   "type": "esriFieldTypeDouble",
   "alias": "Permit Number",
   "domain": null,
   "editable": true,
   "nullable": true,
   "defaultValue": null,
   "modelName": "PERMIT_NUMBER"
  },
  {
   "name": "PERMIT_ISSUE_DATE",
   "type": "esriFieldTypeDate",
   "alias": "Permit Issue Date",
   "domain": null,
   "editable": true,
   "nullable": true,
   "length": 8,
   "defaultValue": null,
   "modelName": "PERMIT_ISSUE_DATE"
  },
  {
   "name": "PERMIT_END_DATE",
   "type": "esriFieldTypeDate",
   "alias": "Permit End Date",
   "domain": null,
   "editable": true,
   "nullable": true,
   "length": 8,
   "defaultValue": null,
   "modelName": "PERMIT_END_DATE"
  },
  {
   "name": "PERMIT_COMMENT",
   "type": "esriFieldTypeString",
   "alias": "Comments",
   "domain": null,
   "editable": true,
   "nullable": true,
   "length": 2500,
   "defaultValue": null,
   "modelName": "PERMIT_COMMENT"
  },
  {
   "name": "PERMIT_ON_FILE",
   "type": "esriFieldTypeString",
   "alias": "Permit on File",
   "domain": {
    "type": "codedValue",
    "name": "D_GENERIC_YES_NO_FIELD",
    "description": "Yes / No",
    "codedValues": [
     {
      "name": "Yes",
      "code": "Y"
     },
     {
      "name": "No",
      "code": "N"
     }
    ],
    "mergePolicy": "esriMPTDefaultValue",
    "splitPolicy": "esriSPTDefaultValue"
   },
   "editable": true,
   "nullable": true,
   "length": 1,
   "defaultValue": "N",
   "modelName": "PERMIT_ON_FILE"
  },
  {
   "name": "REL_GLOBALID",
   "type": "esriFieldTypeGUID",
   "alias": "REL_GLOBALID",
   "domain": null,
   "editable": true,
   "nullable": true,
   "length": 38,
   "defaultValue": null,
   "modelName": "REL_GLOBALID"
  },
  {
   "name": "created_user",
   "type": "esriFieldTypeString",
   "alias": "created_user",
   "domain": null,
   "editable": false,
   "nullable": true,
   "length": 255,
   "defaultValue": null,
   "modelName": "created_user"
  },
  {
   "name": "created_date",
   "type": "esriFieldTypeDate",
   "alias": "created_date",
   "domain": null,
   "editable": false,
   "nullable": true,
   "length": 8,
   "defaultValue": null,
   "modelName": "created_date"
  },
  {
   "name": "last_edited_user",
   "type": "esriFieldTypeString",
   "alias": "last_edited_user",
   "domain": null,
   "editable": false,
   "nullable": true,
   "length": 255,
   "defaultValue": null,
   "modelName": "last_edited_user"
  },
  {
   "name": "last_edited_date",
   "type": "esriFieldTypeDate",
   "alias": "last_edited_date",
   "domain": null,
   "editable": false,
   "nullable": true,
   "length": 8,
   "defaultValue": null,
   "modelName": "last_edited_date"
  },
  {
   "name": "sys_updated_date",
   "type": "esriFieldTypeDate",
   "alias": "sys_updated_date",
   "domain": null,
   "editable": true,
   "nullable": true,
   "length": 8,
   "defaultValue": null,
   "modelName": "sys_updated_date"
  },
  {
   "name": "GlobalID",
   "type": "esriFieldTypeGlobalID",
   "alias": "GlobalID",
   "domain": null,
   "editable": false,
   "nullable": false,
   "length": 38,
   "defaultValue": null,
   "modelName": "GlobalID"
  },
  {
   "name": "OBJECTID",
   "type": "esriFieldTypeOID",
   "alias": "OBJECTID",
   "domain": null,
   "editable": false,
   "nullable": false,
   "defaultValue": null,
   "modelName": "OBJECTID"
  }
 ],
 "indexes": [
  {
   "name": "UUID_26",
   "fields": "GlobalID",
   "isAscending": true,
   "isUnique": true,
   "description": ""
  },
  {
   "name": "G171REL_GLOBALID",
   "fields": "REL_GLOBALID",
   "isAscending": true,
   "isUnique": false,
   "description": ""
  },
  {
   "name": "gdb_ct3_26",
   "fields": "OBJECTID",
   "isAscending": true,
   "isUnique": false,
   "description": ""
  }
 ],
 "datesInUnknownTimezone": false,
 "dateFieldsTimeReference": {
  "timeZone": "UTC",
  "respectsDaylightSaving": false
 },
 "preferredTimeReference": null,
 "types": [],
 "templates": [
  {
   "name": "Permit",
   "description": "",
   "prototype": {
    "attributes": {
     "sys_updated_date": null,
     "PERMIT_ID": null,
     "PERMIT_STATUS": "A",
     "PERMIT_NUMBER": null,
     "PERMIT_ISSUE_DATE": null,
     "PERMIT_END_DATE": null,
     "PERMIT_COMMENT": null,
     "PERMIT_ON_FILE": "N",
     "REL_GLOBALID": null
    }
   },
   "drawingTool": "esriFeatureEditToolNone"
  }
 ],
 "maxRecordCount": 1000,
 "supportedQueryFormats": "JSON, geoJSON, PBF",
 "supportedExportFormats": "sqlite,filegdb,shapefile,csv,geojson",
 "capabilities": "Query,Update,Uploads,Editing,ChangeTracking",
 "useStandardizedQueries": true,
 "bigIntegerRestrictedTo53Bits": true,
 "attachmentProperties": [
  {
   "name": "id",
   "fieldName": "ATTACHMENTID",
   "isEnabled": true
  },
  {
   "name": "globalId",
   "fieldName": "GLOBALID",
   "isEnabled": true
  },
  {
   "name": "name",
   "fieldName": "ATT_NAME",
   "isEnabled": true
  },
  {
   "name": "size",
   "fieldName": "DATA_SIZE",
   "isEnabled": true
  },
  {
   "name": "contentType",
   "fieldName": "CONTENT_TYPE",
   "isEnabled": true
  },
  {
   "name": "keywords",
   "fieldName": "KEYWORDS",
   "isEnabled": false
  },
  {
   "name": "exifInfo",
   "fieldName": "EXIFINFO",
   "isEnabled": false
  }
 ],
 "attachmentFields": [
  {
   "name": "ATTACHMENTID",
   "type": "esriFieldTypeOID",
   "alias": "ATTACHMENTID",
   "domain": null,
   "editable": false,
   "nullable": false,
   "defaultValue": null
  },
  {
   "name": "GLOBALID",
   "type": "esriFieldTypeGlobalID",
   "alias": "GLOBALID",
   "domain": null,
   "editable": false,
   "nullable": false,
   "length": 38,
   "defaultValue": null
  },
  {
   "name": "ATT_NAME",
   "type": "esriFieldTypeString",
   "alias": "ATT_NAME",
   "domain": null,
   "editable": true,
   "nullable": false,
   "length": 250,
   "defaultValue": null
  },
  {
   "name": "DATA_SIZE",
   "type": "esriFieldTypeInteger",
   "alias": "DATA_SIZE",
   "domain": null,
   "editable": true,
   "nullable": false,
   "defaultValue": null
  },
  {
   "name": "CONTENT_TYPE",
   "type": "esriFieldTypeString",
   "alias": "CONTENT_TYPE",
   "domain": null,
   "editable": true,
   "nullable": false,
   "length": 150,
   "defaultValue": null
  }
 ],
 "standardMaxRecordCount": 32000,
 "tileMaxRecordCount": 1000,
 "maxRecordCountFactor": 1
}