{
    "definitions": {
        "cds_api_maintnotification": {
            "kind": "service"
        },
        "cds_api_maintnotification.MaintenanceNotification": {
            "kind": "entity",
            "@cds.persistence.skip": true,
            "elements": {
                "MaintenanceNotification": {
                    "key": true,
                    "type": "cds.String",
                    "length": 12
                },
                "MaintNotifInternalID": {
                    "type": "cds.String",
                    "length": 22
                },
                "NotificationText": {
                    "type": "cds.String",
                    "length": 40
                },
                "MaintPriority": {
                    "type": "cds.String",
                    "length": 1
                },
                "NotificationType": {
                    "type": "cds.String",
                    "length": 2
                },
                "NotifProcessingPhase": {
                    "type": "cds.String",
                    "length": 1
                },
                "NotifProcessingPhaseDesc": {
                    "type": "cds.String",
                    "length": 60
                },
                "MaintPriorityDesc": {
                    "type": "cds.String",
                    "length": 20
                },
                "CreationDate": {
                    "type": "cds.Date"
                },
                "LastChangeTime": {
                    "type": "cds.Time"
                },
                "LastChangeDate": {
                    "type": "cds.Date"
                },
                "LastChangeDateTime": {
                    "type": "cds.Timestamp"
                },
                "CreationTime": {
                    "type": "cds.Time"
                },
                "ReportedByUser": {
                    "type": "cds.String",
                    "length": 12
                },
                "ReporterFullName": {
                    "type": "cds.String",
                    "length": 80
                },
                "PersonResponsible": {
                    "type": "cds.String",
                    "length": 12
                },
                "MalfunctionEffect": {
                    "type": "cds.String",
                    "length": 1
                },
                "MalfunctionEffectText": {
                    "type": "cds.String",
                    "length": 40
                },
                "MalfunctionStartDate": {
                    "type": "cds.Date"
                },
                "MalfunctionStartTime": {
                    "type": "cds.Time"
                },
                "MalfunctionEndDate": {
                    "type": "cds.Date"
                },
                "MalfunctionEndTime": {
                    "type": "cds.Time"
                },
                "MaintNotificationCatalog": {
                    "type": "cds.String",
                    "length": 1
                },
                "MaintNotificationCode": {
                    "type": "cds.String",
                    "length": 4
                },
                "MaintNotificationCodeGroup": {
                    "type": "cds.String",
                    "length": 8
                },
                "CatalogProfile": {
                    "type": "cds.String",
                    "length": 9
                },
                "NotificationCreationDate": {
                    "type": "cds.Date"
                },
                "NotificationCreationTime": {
                    "type": "cds.Time"
                },
                "NotificationTimeZone": {
                    "type": "cds.String",
                    "length": 6
                },
                "RequiredStartDate": {
                    "type": "cds.Date"
                },
                "RequiredStartTime": {
                    "type": "cds.Time"
                },
                "RequiredEndDate": {
                    "type": "cds.Date"
                },
                "RequiredEndTime": {
                    "type": "cds.Time"
                },
                "LatestAcceptableCompletionDate": {
                    "type": "cds.Date"
                },
                "MaintenanceObjectIsDown": {
                    "type": "cds.Boolean"
                },
                "MaintNotificationLongText": {
                    "type": "cds.LargeString"
                },
                "MaintNotifLongTextForEdit": {
                    "type": "cds.String",
                    "length": 1333
                },
                "TechnicalObject": {
                    "type": "cds.String",
                    "length": 40
                },
                "TechObjIsEquipOrFuncnlLoc": {
                    "type": "cds.String",
                    "length": 20
                },
                "TechnicalObjectLabel": {
                    "type": "cds.String",
                    "length": 40
                },
                "MaintenancePlanningPlant": {
                    "type": "cds.String",
                    "length": 4
                },
                "MaintenancePlannerGroup": {
                    "type": "cds.String",
                    "length": 3
                },
                "PlantSection": {
                    "type": "cds.String",
                    "length": 3
                },
                "ABCIndicator": {
                    "type": "cds.String",
                    "length": 1
                },
                "SuperiorTechnicalObject": {
                    "type": "cds.String",
                    "length": 40
                },
                "SuperiorTechnicalObjectName": {
                    "type": "cds.String",
                    "length": 40
                },
                "SuperiorObjIsEquipOrFuncnlLoc": {
                    "type": "cds.String",
                    "length": 20
                },
                "SuperiorTechnicalObjectLabel": {
                    "type": "cds.String",
                    "length": 40
                },
                "ManufacturerPartTypeName": {
                    "type": "cds.String",
                    "length": 20
                },
                "TechObjIsEquipOrFuncnlLocDesc": {
                    "type": "cds.String",
                    "length": 40
                },
                "FunctionalLocation": {
                    "type": "cds.String",
                    "length": 30
                },
                "FunctionalLocationLabelName": {
                    "type": "cds.String",
                    "length": 40
                },
                "TechnicalObjectDescription": {
                    "type": "cds.String",
                    "length": 40
                },
                "AssetLocation": {
                    "type": "cds.String",
                    "length": 10
                },
                "LocationName": {
                    "type": "cds.String",
                    "length": 40
                },
                "BusinessArea": {
                    "type": "cds.String",
                    "length": 4
                },
                "CompanyCode": {
                    "type": "cds.String",
                    "length": 4
                },
                "TechnicalObjectCategory": {
                    "type": "cds.String",
                    "length": 1
                },
                "TechnicalObjectType": {
                    "type": "cds.String",
                    "length": 10
                },
                "MainWorkCenterPlant": {
                    "type": "cds.String",
                    "length": 4
                },
                "MainWorkCenter": {
                    "type": "cds.String",
                    "length": 8
                },
                "PlantName": {
                    "type": "cds.String",
                    "length": 30
                },
                "MaintenancePlannerGroupName": {
                    "type": "cds.String",
                    "length": 18
                },
                "MaintenancePlant": {
                    "type": "cds.String",
                    "length": 4
                },
                "LocationDescription": {
                    "type": "cds.String",
                    "length": 50
                },
                "MainWorkCenterText": {
                    "type": "cds.String",
                    "length": 40
                },
                "MainWorkCenterPlantName": {
                    "type": "cds.String",
                    "length": 30
                },
                "MaintenancePlantName": {
                    "type": "cds.String",
                    "length": 30
                },
                "PlantSectionPersonRespName": {
                    "type": "cds.String",
                    "length": 14
                },
                "ABCIndicatorDesc": {
                    "type": "cds.String",
                    "length": 20
                },
                "PersonResponsibleName": {
                    "type": "cds.String",
                    "length": 35
                },
                "MaintenanceOrder": {
                    "type": "cds.String",
                    "length": 12
                },
                "MaintenanceOrderType": {
                    "type": "cds.String",
                    "length": 4
                },
                "ConcatenatedActiveSystStsName": {
                    "type": "cds.String",
                    "length": 224
                },
                "MaintenanceActivityType": {
                    "type": "cds.String",
                    "length": 3
                },
                "MaintObjDowntimeDurationUnit": {
                    "type": "cds.String",
                    "length": 3
                },
                "MaintObjectDowntimeDuration": {
                    "type": "cds.Double"
                },
                "MaintenancePlan": {
                    "type": "cds.String",
                    "length": 12
                },
                "MaintenanceItem": {
                    "type": "cds.String",
                    "length": 16
                },
                "TaskListGroup": {
                    "type": "cds.String",
                    "length": 8
                },
                "TaskListGroupCounter": {
                    "type": "cds.String",
                    "length": 2
                },
                "MaintenancePlanCallNumber": {
                    "type": "cds.Integer"
                },
                "MaintenanceTaskListType": {
                    "type": "cds.String",
                    "length": 1
                },
                "TaskList": {
                    "type": "cds.String",
                    "length": 13
                },
                "NotificationReferenceDate": {
                    "type": "cds.Date"
                },
                "NotificationReferenceTime": {
                    "type": "cds.Time"
                },
                "NotificationCompletionDate": {
                    "type": "cds.Date"
                },
                "CompletionTime": {
                    "type": "cds.Time"
                },
                "AssetRoom": {
                    "type": "cds.String",
                    "length": 8
                },
                "MaintNotifExtReferenceNumber": {
                    "type": "cds.String",
                    "length": 20
                },
                "MaintNotifRejectionReasonCode": {
                    "type": "cds.String",
                    "length": 3
                },
                "MaintNotifRejectionRsnCodeTxt": {
                    "type": "cds.String",
                    "length": 40
                },
                "MaintNotifDetectionCatalog": {
                    "type": "cds.String",
                    "length": 2
                },
                "MaintNotifDetectionCode": {
                    "type": "cds.String",
                    "length": 4
                },
                "MaintNotifDetectionCodeText": {
                    "type": "cds.String",
                    "length": 40
                },
                "MaintNotifDetectionCodeGroup": {
                    "type": "cds.String",
                    "length": 8
                },
                "MaintNotifDetectionCodeGrpTxt": {
                    "type": "cds.String",
                    "length": 40
                },
                "MaintNotifProcessPhaseCode": {
                    "type": "cds.String",
                    "length": 2
                },
                "MaintNotifProcessSubPhaseCode": {
                    "type": "cds.String",
                    "length": 4
                },
                "EAMProcessPhaseCodeDesc": {
                    "type": "cds.String",
                    "length": 60
                },
                "EAMProcessSubPhaseCodeDesc": {
                    "type": "cds.String",
                    "length": 40
                },
                "to_Item": {
                    "type": "cds.Association",
                    "target": "cds_api_maintnotification.MaintenanceNotificationItem",
                    "cardinality": {
                        "max": "*"
                    },
                    "on": [
                        {
                            "ref": [
                                "to_Item",
                                "MaintenanceNotification"
                            ]
                        },
                        "=",
                        {
                            "ref": [
                                "MaintenanceNotification"
                            ]
                        }
                    ]
                },
                "to_Partner": {
                    "type": "cds.Association",
                    "target": "cds_api_maintnotification.MaintenanceNotificationPartner",
                    "cardinality": {
                        "max": "*"
                    },
                    "on": [
                        {
                            "ref": [
                                "to_Partner",
                                "MaintenanceNotification"
                            ]
                        },
                        "=",
                        {
                            "ref": [
                                "MaintenanceNotification"
                            ]
                        }
                    ]
                }
            }
        },
        "cds_api_maintnotification.MaintenanceNotificationItem": {
            "kind": "entity",
            "@cds.persistence.skip": true,
            "elements": {
                "MaintenanceNotification": {
                    "key": true,
                    "type": "cds.String",
                    "length": 12
                },
                "MaintenanceNotificationItem": {
                    "key": true,
                    "type": "cds.String",
                    "length": 4
                },
                "MaintNotifItemText": {
                    "type": "cds.String",
                    "length": 40
                },
                "MaintNotifDamageCodeGroup": {
                    "type": "cds.String",
                    "length": 8
                },
                "MaintNotifDamageCodeGroupName": {
                    "type": "cds.String",
                    "length": 40
                },
                "MaintNotificationDamageCode": {
                    "type": "cds.String",
                    "length": 4
                },
                "MaintNotifDamageCodeName": {
                    "type": "cds.String",
                    "length": 40
                },
                "MaintNotifObjPrtCodeGroup": {
                    "type": "cds.String",
                    "length": 8
                },
                "MaintNotifObjPrtCodeGroupName": {
                    "type": "cds.String",
                    "length": 40
                },
                "MaintNotifObjPrtCode": {
                    "type": "cds.String",
                    "length": 4
                },
                "MaintNotifObjPrtCodeName": {
                    "type": "cds.String",
                    "length": 40
                },
                "IsDeleted": {
                    "type": "cds.Boolean"
                },
                "to_Notif": {
                    "type": "cds.Association",
                    "target": "cds_api_maintnotification.MaintenanceNotification",
                    "on": [
                        {
                            "ref": [
                                "to_Notif",
                                "MaintenanceNotification"
                            ]
                        },
                        "=",
                        {
                            "ref": [
                                "MaintenanceNotification"
                            ]
                        }
                    ]
                },
                "to_ItemActivity": {
                    "type": "cds.Association",
                    "target": "cds_api_maintnotification.MaintNotificationItemActivity",
                    "cardinality": {
                        "max": "*"
                    },
                    "on": [
                        {
                            "ref": [
                                "to_ItemActivity",
                                "MaintenanceNotificationItem"
                            ]
                        },
                        "=",
                        {
                            "ref": [
                                "MaintenanceNotificationItem"
                            ]
                        },
                        "and",
                        {
                            "ref": [
                                "to_ItemActivity",
                                "MaintenanceNotification"
                            ]
                        },
                        "=",
                        {
                            "ref": [
                                "MaintenanceNotification"
                            ]
                        }
                    ]
                },
                "to_ItemCause": {
                    "type": "cds.Association",
                    "target": "cds_api_maintnotification.MaintNotificationItemCause",
                    "cardinality": {
                        "max": "*"
                    },
                    "on": [
                        {
                            "ref": [
                                "to_ItemCause",
                                "MaintenanceNotificationItem"
                            ]
                        },
                        "=",
                        {
                            "ref": [
                                "MaintenanceNotificationItem"
                            ]
                        },
                        "and",
                        {
                            "ref": [
                                "to_ItemCause",
                                "MaintenanceNotification"
                            ]
                        },
                        "=",
                        {
                            "ref": [
                                "MaintenanceNotification"
                            ]
                        }
                    ]
                }
            }
        },
        "cds_api_maintnotification.MaintenanceNotificationPartner": {
            "kind": "entity",
            "@cds.persistence.skip": true,
            "elements": {
                "MaintenanceNotification": {
                    "key": true,
                    "type": "cds.String",
                    "length": 12
                },
                "PartnerFunction": {
                    "key": true,
                    "type": "cds.String",
                    "length": 2
                },
                "NotificationPartnerObjectNmbr": {
                    "key": true,
                    "type": "cds.String",
                    "length": 6
                },
                "Partner": {
                    "type": "cds.String",
                    "length": 12
                },
                "to_Notif": {
                    "type": "cds.Association",
                    "target": "cds_api_maintnotification.MaintenanceNotification",
                    "on": [
                        {
                            "ref": [
                                "to_Notif",
                                "MaintenanceNotification"
                            ]
                        },
                        "=",
                        {
                            "ref": [
                                "MaintenanceNotification"
                            ]
                        }
                    ]
                }
            }
        },
        "cds_api_maintnotification.MaintNotificationItemActivity": {
            "kind": "entity",
            "@cds.persistence.skip": true,
            "elements": {
                "MaintNotificationActivity": {
                    "key": true,
                    "type": "cds.String",
                    "length": 4
                },
                "MaintenanceNotification": {
                    "key": true,
                    "type": "cds.String",
                    "length": 12
                },
                "MaintenanceNotificationItem": {
                    "key": true,
                    "type": "cds.String",
                    "length": 4
                },
                "MaintNotifActivitySortNumber": {
                    "type": "cds.String",
                    "length": 4
                },
                "MaintNotifActyTxt": {
                    "type": "cds.String",
                    "length": 40
                },
                "MaintNotifActivityCodeGroup": {
                    "type": "cds.String",
                    "length": 8
                },
                "NotifActivityCodeGroupText": {
                    "type": "cds.String",
                    "length": 40
                },
                "MaintNotificationActivityCode": {
                    "type": "cds.String",
                    "length": 4
                },
                "NotifActivityCodeText": {
                    "type": "cds.String",
                    "length": 40
                },
                "PlannedStartDate": {
                    "type": "cds.Date"
                },
                "PlannedStartTime": {
                    "type": "cds.Time"
                },
                "PlannedEndDate": {
                    "type": "cds.Date"
                },
                "PlannedEndTime": {
                    "type": "cds.Time"
                },
                "IsDeleted": {
                    "type": "cds.Boolean"
                },
                "to_Item": {
                    "type": "cds.Association",
                    "target": "cds_api_maintnotification.MaintenanceNotificationItem",
                    "on": [
                        {
                            "ref": [
                                "to_Item",
                                "MaintenanceNotificationItem"
                            ]
                        },
                        "=",
                        {
                            "ref": [
                                "MaintenanceNotificationItem"
                            ]
                        },
                        "and",
                        {
                            "ref": [
                                "to_Item",
                                "MaintenanceNotification"
                            ]
                        },
                        "=",
                        {
                            "ref": [
                                "MaintenanceNotification"
                            ]
                        }
                    ]
                },
                "to_Notif": {
                    "type": "cds.Association",
                    "target": "cds_api_maintnotification.MaintenanceNotification",
                    "on": [
                        {
                            "ref": [
                                "to_Notif",
                                "MaintenanceNotification"
                            ]
                        },
                        "=",
                        {
                            "ref": [
                                "MaintenanceNotification"
                            ]
                        }
                    ]
                }
            }
        },
        "cds_api_maintnotification.MaintNotificationItemCause": {
            "kind": "entity",
            "@cds.persistence.skip": true,
            "elements": {
                "MaintenanceNotification": {
                    "key": true,
                    "type": "cds.String",
                    "length": 12
                },
                "MaintenanceNotificationItem": {
                    "key": true,
                    "type": "cds.String",
                    "length": 4
                },
                "MaintenanceNotificationCause": {
                    "key": true,
                    "type": "cds.String",
                    "length": 4
                },
                "MaintNotifCauseText": {
                    "type": "cds.String",
                    "length": 40
                },
                "MaintNotifCauseCodeGroup": {
                    "type": "cds.String",
                    "length": 8
                },
                "MaintNotifCauseCodeGroupName": {
                    "type": "cds.String",
                    "length": 40
                },
                "MaintNotificationCauseCode": {
                    "type": "cds.String",
                    "length": 4
                },
                "MaintNotificationCauseCodeName": {
                    "type": "cds.String",
                    "length": 40
                },
                "MaintNotificationRootCause": {
                    "type": "cds.String",
                    "length": 1
                },
                "MaintNotificationRootCauseText": {
                    "type": "cds.String",
                    "length": 60
                },
                "IsDeleted": {
                    "type": "cds.Boolean"
                },
                "to_Item": {
                    "type": "cds.Association",
                    "target": "cds_api_maintnotification.MaintenanceNotificationItem",
                    "on": [
                        {
                            "ref": [
                                "to_Item",
                                "MaintenanceNotificationItem"
                            ]
                        },
                        "=",
                        {
                            "ref": [
                                "MaintenanceNotificationItem"
                            ]
                        },
                        "and",
                        {
                            "ref": [
                                "to_Item",
                                "MaintenanceNotification"
                            ]
                        },
                        "=",
                        {
                            "ref": [
                                "MaintenanceNotification"
                            ]
                        }
                    ]
                },
                "to_Notif": {
                    "type": "cds.Association",
                    "target": "cds_api_maintnotification.MaintenanceNotification",
                    "on": [
                        {
                            "ref": [
                                "to_Notif",
                                "MaintenanceNotification"
                            ]
                        },
                        "=",
                        {
                            "ref": [
                                "MaintenanceNotification"
                            ]
                        }
                    ]
                }
            }
        }
    }
}