{ "currentVersion": 11.5, "cimVersion": "3.5.0", "id": 2, "name": "Inspections", "type": "Table", "description": "", "copyrightText": "", "editFieldsInfo": { "creationDateField": "created_date", "creatorField": "created_user", "editDateField": "last_edited_date", "editorField": "last_edited_user", "dateFieldsTimeReference": { "timeZone": "UTC", "timeZoneIANA": "Etc/UTC", "respectsDaylightSaving": false } }, "ownershipBasedAccessControlForFeatures": null, "syncCanReturnChanges": true, "relationships": [ { "id": 1, "name": "BackflowDevice", "relatedTableId": 0, "cardinality": "esriRelCardinalityOneToMany", "role": "esriRelRoleDestination", "keyField": "DeviceGUID", "composite": false, "catalogID": "{E49207CF-B7E8-40C0-ABBE-DE005A1B9823}" } ], "isDataVersioned": true, "isDataArchived": true, "infoInEstimates": [ "count" ], "isDataBranchVersioned": true, "isDataReplicaTracked": false, "isCoGoEnabled": false, "supportsRollbackOnFailureParameter": false, "archivingInfo": { "supportsQueryWithHistoricMoment": true, "startArchivingMoment": 1786966313000 }, "supportsStatistics": true, "supportsExceedsLimitStatistics": true, "supportsAdvancedQueries": true, "supportsValidateSQL": true, "supportsCoordinatesQuantization": false, "supportsCalculate": true, "supportsASyncCalculate": true, "advancedQueryCapabilities": { "supportsPagination": true, "supportsQueryWithDistance": true, "supportsReturningQueryExtent": true, "supportsStatistics": true, "supportsPercentileStatistics": true, "supportsHavingClause": true, "supportsOrderBy": true, "supportsDistinct": true, "supportsCountDistinct": true, "supportsAdvancedQueryRelated": true, "supportsQueryRelatedPagination": true, "supportsCurrentUserQueries": true, "supportsFullTextSearch": true, "fullTextSearchCapabilities": { "supportsSearchOperator": true, "supportsOperator": false, "supportsSqlExpressionInFullText": true }, "fullTextSearchableFields": [], "supportsQueryAttachments": true, "supportsQueryAttachmentsWithReturnUrl": true, "supportsQueryWithResultType": true, "supportsReturningGeometryCentroid": false, "supportsReturningGeometryEnvelope": false, "supportsSqlExpression": true, "supportsLod": false, "supportsQueryWithLodSR": false, "supportsQueryAnalytic": false, "supportsQueryWithCacheHint": false }, "advancedEditingCapabilities": { "supportedSqlFormatsInCalculate": [ "standard" ], "supportsAsyncApplyEdits": true, "supportsApplyEditsbyUploadID": true, "supportedApplyEditsUploadIDFormats": "JSON,PBF" }, "hasMetadata": true, "hasAttachments": true, "supportsAttachmentsByUploadId": true, "supportsAttachmentsResizing": true, "supportsApplyEditsWithGlobalIds": true, "supportsOidReservation": true, "htmlPopupType": "esriServerHTMLPopupTypeNone", "objectIdField": "OBJECTID", "globalIdField": "GlobalID", "displayField": "inspector_name", "typeIdField": "", "subtypeField": "", "fields": [ { "name": "OBJECTID", "type": "esriFieldTypeOID", "alias": "OBJECTID", "domain": null, "editable": false, "nullable": false, "defaultValue": null, "modelName": "OBJECTID" }, { "name": "GlobalID", "type": "esriFieldTypeGlobalID", "alias": "GlobalID", "domain": null, "editable": false, "nullable": false, "length": 38, "defaultValue": null, "modelName": "GlobalID" }, { "name": "InspectionType", "type": "esriFieldTypeString", "alias": "Inspection Type", "domain": { "type": "codedValue", "name": "InspectionType", "description": "Type of city inspection activity", "codedValues": [ { "name": "Shell", "code": "Shell" }, { "name": "Occupancy", "code": "Occupancy" }, { "name": "Annual", "code": "Annual" }, { "name": "City-Initiated", "code": "CityInitiated" }, { "name": "Follow-Up", "code": "FollowUp" } ], "mergePolicy": "esriMPTDefaultValue", "splitPolicy": "esriSPTDefaultValue" }, "editable": true, "nullable": true, "length": 50, "defaultValue": null, "modelName": "InspectionType" }, { "name": "DateInspected", "type": "esriFieldTypeDate", "alias": "Date Inspected", "domain": null, "editable": true, "nullable": true, "length": 8, "defaultValue": null, "modelName": "DateInspected" }, { "name": "inspector_name", "type": "esriFieldTypeString", "alias": "Inspector Name", "domain": null, "editable": true, "nullable": true, "length": 100, "defaultValue": null, "modelName": "inspector_name" }, { "name": "device_found", "type": "esriFieldTypeString", "alias": "Device Found", "domain": { "type": "codedValue", "name": "YesNo", "description": "Yes or No", "codedValues": [ { "name": "Yes", "code": "Yes" }, { "name": "No", "code": "No" } ], "mergePolicy": "esriMPTDefaultValue", "splitPolicy": "esriSPTDefaultValue" }, "editable": true, "nullable": true, "length": 10, "defaultValue": null, "modelName": "device_found" }, { "name": "device_accessible", "type": "esriFieldTypeString", "alias": "Device Accessible", "domain": { "type": "codedValue", "name": "YesNo", "description": "Yes or No", "codedValues": [ { "name": "Yes", "code": "Yes" }, { "name": "No", "code": "No" } ], "mergePolicy": "esriMPTDefaultValue", "splitPolicy": "esriSPTDefaultValue" }, "editable": true, "nullable": true, "length": 10, "defaultValue": null, "modelName": "device_accessible" }, { "name": "device_condition", "type": "esriFieldTypeString", "alias": "Device Condition", "domain": { "type": "codedValue", "name": "DeviceCondition", "description": "Physical condition observed during inspection", "codedValues": [ { "name": "Good", "code": "Good" }, { "name": "Fair", "code": "Fair" }, { "name": "Poor", "code": "Poor" }, { "name": "Damaged", "code": "Damaged" }, { "name": "Not Found", "code": "NotFound" } ], "mergePolicy": "esriMPTDefaultValue", "splitPolicy": "esriSPTDefaultValue" }, "editable": true, "nullable": true, "length": 50, "defaultValue": null, "modelName": "device_condition" }, { "name": "device_labeled", "type": "esriFieldTypeString", "alias": "Device Labeled", "domain": { "type": "codedValue", "name": "YesNo", "description": "Yes or No", "codedValues": [ { "name": "Yes", "code": "Yes" }, { "name": "No", "code": "No" } ], "mergePolicy": "esriMPTDefaultValue", "splitPolicy": "esriSPTDefaultValue" }, "editable": true, "nullable": true, "length": 10, "defaultValue": null, "modelName": "device_labeled" }, { "name": "test_required", "type": "esriFieldTypeString", "alias": "Test Required", "domain": { "type": "codedValue", "name": "YNNoTest", "description": "Yes or No or Non testing", "codedValues": [ { "name": "Yes", "code": "Yes" }, { "name": "No", "code": "No" }, { "name": "Non Testable", "code": "Non Testable" } ], "mergePolicy": "esriMPTDefaultValue", "splitPolicy": "esriSPTDefaultValue" }, "editable": true, "nullable": true, "length": 20, "defaultValue": null, "modelName": "test_required" }, { "name": "test_required_reason", "type": "esriFieldTypeString", "alias": "Reason Test Required", "domain": null, "editable": true, "nullable": true, "length": 255, "defaultValue": null, "modelName": "test_required_reason" }, { "name": "notes", "type": "esriFieldTypeString", "alias": "Notes", "domain": null, "editable": true, "nullable": true, "length": 255, "defaultValue": null, "modelName": "notes" }, { "name": "created_user", "type": "esriFieldTypeString", "alias": "created_user", "domain": null, "editable": false, "nullable": true, "length": 255, "defaultValue": null, "modelName": "created_user", "required": true }, { "name": "created_date", "type": "esriFieldTypeDate", "alias": "created_date", "domain": null, "editable": false, "nullable": true, "length": 8, "defaultValue": null, "modelName": "created_date", "required": true }, { "name": "last_edited_user", "type": "esriFieldTypeString", "alias": "last_edited_user", "domain": null, "editable": false, "nullable": true, "length": 255, "defaultValue": null, "modelName": "last_edited_user", "required": true }, { "name": "last_edited_date", "type": "esriFieldTypeDate", "alias": "last_edited_date", "domain": null, "editable": false, "nullable": true, "length": 8, "defaultValue": null, "modelName": "last_edited_date", "required": true }, { "name": "DeviceGUID", "type": "esriFieldTypeGUID", "alias": "DeviceGUID", "domain": null, "editable": true, "nullable": true, "length": 38, "defaultValue": null, "modelName": "DeviceGUID" }, { "name": "CustomerGUID", "type": "esriFieldTypeGUID", "alias": "CustomerGUID", "domain": null, "editable": true, "nullable": true, "length": 38, "defaultValue": null, "modelName": "CustomerGUID" }, { "name": "Customer", "type": "esriFieldTypeString", "alias": "Customer", "domain": null, "editable": true, "nullable": true, "length": 255, "defaultValue": null, "modelName": "Customer" }, { "name": "GroupID", "type": "esriFieldTypeString", "alias": "GroupID", "domain": null, "editable": true, "nullable": true, "length": 255, "defaultValue": null, "modelName": "GroupID" }, { "name": "OGCustomer", "type": "esriFieldTypeString", "alias": "Original Customer", "domain": null, "editable": true, "nullable": true, "length": 255, "defaultValue": null, "modelName": "OGCustomer" } ], "indexes": [ { "name": "UUID_40", "isAscending": true, "isUnique": false, "description": "", "fields": "GlobalID,OBJECTID" }, { "name": "G111DeviceGUID", "isAscending": true, "isUnique": false, "description": "", "fields": "DeviceGUID" }, { "name": "G111CustomerGUID", "isAscending": true, "isUnique": false, "description": "", "fields": "CustomerGUID" } ], "datesInUnknownTimezone": false, "dateFieldsTimeReference": { "timeZone": "Mountain Standard Time", "timeZoneIANA": "America/Denver", "respectsDaylightSaving": true }, "preferredTimeReference": { "timeZone": "Mountain Standard Time", "timeZoneIANA": "America/Denver", "respectsDaylightSaving": true }, "types": [], "templates": [ { "name": "Inspections", "description": "", "prototype": { "attributes": { "GroupID": null, "Customer": null, "OGCustomer": null, "InspectionType": null, "DateInspected": null, "inspector_name": null, "device_found": null, "device_accessible": null, "device_condition": null, "device_labeled": null, "test_required": null, "test_required_reason": null, "notes": null, "CustomerGUID": null, "DeviceGUID": null } }, "drawingTool": "esriFeatureEditToolNone" } ], "maxRecordCount": 2000, "supportedQueryFormats": "JSON, geoJSON, PBF", "supportedExportFormats": "sqlite,filegdb,shapefile,csv,geojson", "capabilities": "Query,Create,Update,Delete,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 } ], "supportsAppend": true, "supportedAppendFormats": "FILEGDB,PBF", "standardMaxRecordCount": 32000, "tileMaxRecordCount": 2000, "maxRecordCountFactor": 1, "serviceItemId": "907657e3a3434ba2bceac3f508cfe234" }