{
    "definitions": {
        "API_DMS_PROCESS_SRV": {
            "kind": "service"
        },
        "API_DMS_PROCESS_SRV.A_DocInfoRecdObjLinkBOM": {
            "kind": "entity",
            "@cds.persistence.skip": true,
            "elements": {
                "DocumentInfoRecordDocType": {
                    "key": true,
                    "type": "cds.String",
                    "length": 3
                },
                "DocumentInfoRecordDocNumber": {
                    "key": true,
                    "type": "cds.String",
                    "length": 25
                },
                "DocumentInfoRecordDocVersion": {
                    "key": true,
                    "type": "cds.String",
                    "length": 2
                },
                "DocumentInfoRecordDocPart": {
                    "key": true,
                    "type": "cds.String",
                    "length": 3
                },
                "LinkedSAPObject": {
                    "key": true,
                    "type": "cds.String",
                    "length": 10
                },
                "LinkedSAPObjectKey": {
                    "key": true,
                    "type": "cds.String",
                    "length": 90
                },
                "DocObjectLinkCounter": {
                    "key": true,
                    "type": "cds.String",
                    "length": 4
                },
                "to_DocInfoRecord": {
                    "type": "cds.Association",
                    "target": "API_DMS_PROCESS_SRV.A_DocumentInfoRecord"
                }
            }
        },
        "API_DMS_PROCESS_SRV.A_DocInfoRecdObjLinkChgRecd": {
            "kind": "entity",
            "@cds.persistence.skip": true,
            "elements": {
                "DocumentInfoRecordDocType": {
                    "key": true,
                    "type": "cds.String",
                    "length": 3
                },
                "DocumentInfoRecordDocNumber": {
                    "key": true,
                    "type": "cds.String",
                    "length": 25
                },
                "DocumentInfoRecordDocVersion": {
                    "key": true,
                    "type": "cds.String",
                    "length": 2
                },
                "DocumentInfoRecordDocPart": {
                    "key": true,
                    "type": "cds.String",
                    "length": 3
                },
                "LinkedSAPObject": {
                    "key": true,
                    "type": "cds.String",
                    "length": 10
                },
                "LinkedSAPObjectKey": {
                    "key": true,
                    "type": "cds.String",
                    "length": 90
                },
                "DocObjectLinkCounter": {
                    "key": true,
                    "type": "cds.String",
                    "length": 4
                },
                "to_DocInfoRecord": {
                    "type": "cds.Association",
                    "target": "API_DMS_PROCESS_SRV.A_DocumentInfoRecord"
                }
            }
        },
        "API_DMS_PROCESS_SRV.A_DocInfoRecdObjLinkProduct": {
            "kind": "entity",
            "@cds.persistence.skip": true,
            "elements": {
                "DocumentInfoRecordDocType": {
                    "key": true,
                    "type": "cds.String",
                    "length": 3
                },
                "DocumentInfoRecordDocNumber": {
                    "key": true,
                    "type": "cds.String",
                    "length": 25
                },
                "DocumentInfoRecordDocVersion": {
                    "key": true,
                    "type": "cds.String",
                    "length": 2
                },
                "DocumentInfoRecordDocPart": {
                    "key": true,
                    "type": "cds.String",
                    "length": 3
                },
                "LinkedSAPObject": {
                    "key": true,
                    "type": "cds.String",
                    "length": 10
                },
                "LinkedSAPObjectKey": {
                    "key": true,
                    "type": "cds.String",
                    "length": 90
                },
                "DocObjectLinkCounter": {
                    "key": true,
                    "type": "cds.String",
                    "length": 4
                },
                "ChangedDateTime": {
                    "type": "cds.Timestamp"
                },
                "to_DocInfoRecord": {
                    "type": "cds.Association",
                    "target": "API_DMS_PROCESS_SRV.A_DocumentInfoRecord"
                }
            }
        },
        "API_DMS_PROCESS_SRV.A_DocumentInfoRecord": {
            "kind": "entity",
            "@cds.persistence.skip": true,
            "elements": {
                "DocumentInfoRecordDocType": {
                    "key": true,
                    "type": "cds.String",
                    "length": 3
                },
                "DocumentInfoRecordDocVersion": {
                    "key": true,
                    "type": "cds.String",
                    "length": 2
                },
                "DocumentInfoRecordDocNumber": {
                    "key": true,
                    "type": "cds.String",
                    "length": 25
                },
                "DocumentInfoRecordDocPart": {
                    "key": true,
                    "type": "cds.String",
                    "length": 3
                },
                "DocumentInfoRecord": {
                    "type": "cds.String",
                    "length": 70
                },
                "InternalDocumentStatus": {
                    "type": "cds.String",
                    "length": 2
                },
                "LaboratoryOrDesignOffice": {
                    "type": "cds.String",
                    "length": 3
                },
                "AuthorizationGroup": {
                    "type": "cds.String",
                    "length": 4
                },
                "ChangeNumber": {
                    "type": "cds.String",
                    "length": 12
                },
                "DocInfoRecdIsMarkedForDeletion": {
                    "type": "cds.Boolean"
                },
                "IsDocInfoRecdCreatedFromCAD": {
                    "type": "cds.Boolean"
                },
                "IsDocInfoRecdStructure": {
                    "type": "cds.String",
                    "length": 1
                },
                "ResponsiblePersonName": {
                    "type": "cds.String",
                    "length": 12
                },
                "CreationDateTime": {
                    "type": "cds.Timestamp"
                },
                "CreatedByUser": {
                    "type": "cds.String",
                    "length": 12
                },
                "ChangedDateTime": {
                    "type": "cds.Timestamp"
                },
                "LastChangedByUser": {
                    "type": "cds.String",
                    "length": 12
                },
                "to_BomObj": {
                    "type": "cds.Association",
                    "target": "API_DMS_PROCESS_SRV.A_DocInfoRecdObjLinkBOM",
                    "cardinality": {
                        "max": "*"
                    },
                    "on": [
                        {
                            "ref": [
                                "to_BomObj",
                                "DocumentInfoRecordDocVersion"
                            ]
                        },
                        "=",
                        {
                            "ref": [
                                "DocumentInfoRecordDocVersion"
                            ]
                        },
                        "and",
                        {
                            "ref": [
                                "to_BomObj",
                                "DocumentInfoRecordDocPart"
                            ]
                        },
                        "=",
                        {
                            "ref": [
                                "DocumentInfoRecordDocPart"
                            ]
                        },
                        "and",
                        {
                            "ref": [
                                "to_BomObj",
                                "DocumentInfoRecordDocNumber"
                            ]
                        },
                        "=",
                        {
                            "ref": [
                                "DocumentInfoRecordDocNumber"
                            ]
                        },
                        "and",
                        {
                            "ref": [
                                "to_BomObj",
                                "DocumentInfoRecordDocType"
                            ]
                        },
                        "=",
                        {
                            "ref": [
                                "DocumentInfoRecordDocType"
                            ]
                        }
                    ]
                },
                "to_Characteristics": {
                    "type": "cds.Association",
                    "target": "API_DMS_PROCESS_SRV.A_DocumentInfoRecordCharc",
                    "cardinality": {
                        "max": "*"
                    }
                },
                "to_ChgRecdObj": {
                    "type": "cds.Association",
                    "target": "API_DMS_PROCESS_SRV.A_DocInfoRecdObjLinkChgRecd",
                    "cardinality": {
                        "max": "*"
                    },
                    "on": [
                        {
                            "ref": [
                                "to_ChgRecdObj",
                                "DocumentInfoRecordDocVersion"
                            ]
                        },
                        "=",
                        {
                            "ref": [
                                "DocumentInfoRecordDocVersion"
                            ]
                        },
                        "and",
                        {
                            "ref": [
                                "to_ChgRecdObj",
                                "DocumentInfoRecordDocPart"
                            ]
                        },
                        "=",
                        {
                            "ref": [
                                "DocumentInfoRecordDocPart"
                            ]
                        },
                        "and",
                        {
                            "ref": [
                                "to_ChgRecdObj",
                                "DocumentInfoRecordDocNumber"
                            ]
                        },
                        "=",
                        {
                            "ref": [
                                "DocumentInfoRecordDocNumber"
                            ]
                        },
                        "and",
                        {
                            "ref": [
                                "to_ChgRecdObj",
                                "DocumentInfoRecordDocType"
                            ]
                        },
                        "=",
                        {
                            "ref": [
                                "DocumentInfoRecordDocType"
                            ]
                        }
                    ]
                },
                "to_Classification": {
                    "type": "cds.Association",
                    "target": "API_DMS_PROCESS_SRV.A_DocumentInfoRecordClass",
                    "cardinality": {
                        "max": "*"
                    }
                },
                "to_DocDesc": {
                    "type": "cds.Association",
                    "target": "API_DMS_PROCESS_SRV.A_DocumentInfoRecordDesc",
                    "cardinality": {
                        "max": "*"
                    },
                    "on": [
                        {
                            "ref": [
                                "to_DocDesc",
                                "DocumentInfoRecordDocVersion"
                            ]
                        },
                        "=",
                        {
                            "ref": [
                                "DocumentInfoRecordDocVersion"
                            ]
                        },
                        "and",
                        {
                            "ref": [
                                "to_DocDesc",
                                "DocumentInfoRecordDocPart"
                            ]
                        },
                        "=",
                        {
                            "ref": [
                                "DocumentInfoRecordDocPart"
                            ]
                        },
                        "and",
                        {
                            "ref": [
                                "to_DocDesc",
                                "DocumentInfoRecordDocNumber"
                            ]
                        },
                        "=",
                        {
                            "ref": [
                                "DocumentInfoRecordDocNumber"
                            ]
                        },
                        "and",
                        {
                            "ref": [
                                "to_DocDesc",
                                "DocumentInfoRecordDocType"
                            ]
                        },
                        "=",
                        {
                            "ref": [
                                "DocumentInfoRecordDocType"
                            ]
                        }
                    ]
                },
                "to_DocStatusVH": {
                    "type": "cds.Association",
                    "target": "API_DMS_PROCESS_SRV.A_DocumentInfoRecordDocStsVH",
                    "cardinality": {
                        "max": "*"
                    }
                },
                "to_ProductObj": {
                    "type": "cds.Association",
                    "target": "API_DMS_PROCESS_SRV.A_DocInfoRecdObjLinkProduct",
                    "cardinality": {
                        "max": "*"
                    },
                    "on": [
                        {
                            "ref": [
                                "to_ProductObj",
                                "DocumentInfoRecordDocVersion"
                            ]
                        },
                        "=",
                        {
                            "ref": [
                                "DocumentInfoRecordDocVersion"
                            ]
                        },
                        "and",
                        {
                            "ref": [
                                "to_ProductObj",
                                "DocumentInfoRecordDocPart"
                            ]
                        },
                        "=",
                        {
                            "ref": [
                                "DocumentInfoRecordDocPart"
                            ]
                        },
                        "and",
                        {
                            "ref": [
                                "to_ProductObj",
                                "DocumentInfoRecordDocNumber"
                            ]
                        },
                        "=",
                        {
                            "ref": [
                                "DocumentInfoRecordDocNumber"
                            ]
                        },
                        "and",
                        {
                            "ref": [
                                "to_ProductObj",
                                "DocumentInfoRecordDocType"
                            ]
                        },
                        "=",
                        {
                            "ref": [
                                "DocumentInfoRecordDocType"
                            ]
                        }
                    ]
                }
            }
        },
        "API_DMS_PROCESS_SRV.A_DocumentInfoRecordCharc": {
            "kind": "entity",
            "@cds.persistence.skip": true,
            "elements": {
                "DocumentInfoRecordDocType": {
                    "key": true,
                    "type": "cds.String",
                    "length": 3
                },
                "DocumentInfoRecordDocNumber": {
                    "key": true,
                    "type": "cds.String",
                    "length": 25
                },
                "DocumentInfoRecordDocVersion": {
                    "key": true,
                    "type": "cds.String",
                    "length": 2
                },
                "DocumentInfoRecordDocPart": {
                    "key": true,
                    "type": "cds.String",
                    "length": 3
                },
                "CharcInternalID": {
                    "key": true,
                    "type": "cds.String",
                    "length": 10
                },
                "ClassType": {
                    "key": true,
                    "type": "cds.String",
                    "length": 3
                },
                "KeyDate": {
                    "type": "cds.Date"
                },
                "to_Valuation": {
                    "type": "cds.Association",
                    "target": "API_DMS_PROCESS_SRV.A_DocumentInfoRecordCharcValue",
                    "cardinality": {
                        "max": "*"
                    }
                }
            }
        },
        "API_DMS_PROCESS_SRV.A_DocumentInfoRecordCharcValue": {
            "kind": "entity",
            "@cds.persistence.skip": true,
            "elements": {
                "DocumentInfoRecordDocType": {
                    "key": true,
                    "type": "cds.String",
                    "length": 3
                },
                "DocumentInfoRecordDocNumber": {
                    "key": true,
                    "type": "cds.String",
                    "length": 25
                },
                "DocumentInfoRecordDocVersion": {
                    "key": true,
                    "type": "cds.String",
                    "length": 2
                },
                "DocumentInfoRecordDocPart": {
                    "key": true,
                    "type": "cds.String",
                    "length": 3
                },
                "ClassType": {
                    "key": true,
                    "type": "cds.String",
                    "length": 3
                },
                "CharcInternalID": {
                    "key": true,
                    "type": "cds.String",
                    "length": 10
                },
                "CharcValuePositionNumber": {
                    "key": true,
                    "type": "cds.String",
                    "length": 3
                },
                "KeyDate": {
                    "type": "cds.Date"
                },
                "CharcValueDependency": {
                    "type": "cds.String",
                    "length": 1
                },
                "CharcValue": {
                    "type": "cds.String",
                    "length": 70
                },
                "CharcFromNumericValue": {
                    "type": "cds.Double"
                },
                "CharcFromNumericValueUnit": {
                    "type": "cds.String",
                    "length": 3
                },
                "CharcToNumericValue": {
                    "type": "cds.Double"
                },
                "CharcToNumericValueUnit": {
                    "type": "cds.String",
                    "length": 3
                },
                "CharcFromDecimalValue": {
                    "type": "cds.Decimal",
                    "precision": 31,
                    "scale": 14
                },
                "CharcToDecimalValue": {
                    "type": "cds.Decimal",
                    "precision": 31,
                    "scale": 14
                },
                "CharcFromAmount": {
                    "type": "cds.Decimal",
                    "precision": 24,
                    "scale": 3
                },
                "CharcToAmount": {
                    "type": "cds.Decimal",
                    "precision": 24,
                    "scale": 3
                },
                "Currency": {
                    "type": "cds.String",
                    "length": 5
                },
                "CharcFromDate": {
                    "type": "cds.Date"
                },
                "CharcToDate": {
                    "type": "cds.Date"
                },
                "CharcFromTime": {
                    "type": "cds.Time"
                },
                "CharcToTime": {
                    "type": "cds.Time"
                },
                "CharacteristicAuthor": {
                    "type": "cds.String",
                    "length": 1
                },
                "CharcMaintAuthGrp": {
                    "type": "cds.String",
                    "length": 3
                }
            }
        },
        "API_DMS_PROCESS_SRV.A_DocumentInfoRecordClass": {
            "kind": "entity",
            "@cds.persistence.skip": true,
            "elements": {
                "DocumentInfoRecordDocType": {
                    "key": true,
                    "type": "cds.String",
                    "length": 3
                },
                "DocumentInfoRecordDocNumber": {
                    "key": true,
                    "type": "cds.String",
                    "length": 25
                },
                "DocumentInfoRecordDocVersion": {
                    "key": true,
                    "type": "cds.String",
                    "length": 2
                },
                "DocumentInfoRecordDocPart": {
                    "key": true,
                    "type": "cds.String",
                    "length": 3
                },
                "ClassInternalID": {
                    "key": true,
                    "type": "cds.String",
                    "length": 10
                },
                "KeyDate": {
                    "type": "cds.Date"
                },
                "ClassType": {
                    "type": "cds.String",
                    "length": 3
                },
                "to_Characteristics": {
                    "type": "cds.Association",
                    "target": "API_DMS_PROCESS_SRV.A_DocumentInfoRecordClassCharc",
                    "cardinality": {
                        "max": "*"
                    }
                }
            }
        },
        "API_DMS_PROCESS_SRV.A_DocumentInfoRecordClassCharc": {
            "kind": "entity",
            "@cds.persistence.skip": true,
            "elements": {
                "DocumentInfoRecordDocType": {
                    "key": true,
                    "type": "cds.String",
                    "length": 3
                },
                "DocumentInfoRecordDocNumber": {
                    "key": true,
                    "type": "cds.String",
                    "length": 25
                },
                "DocumentInfoRecordDocVersion": {
                    "key": true,
                    "type": "cds.String",
                    "length": 2
                },
                "DocumentInfoRecordDocPart": {
                    "key": true,
                    "type": "cds.String",
                    "length": 3
                },
                "ClassInternalID": {
                    "key": true,
                    "type": "cds.String",
                    "length": 10
                },
                "CharcInternalID": {
                    "key": true,
                    "type": "cds.String",
                    "length": 10
                },
                "KeyDate": {
                    "type": "cds.Date"
                },
                "ClassType": {
                    "type": "cds.String",
                    "length": 3
                }
            }
        },
        "API_DMS_PROCESS_SRV.A_DocumentInfoRecordDesc": {
            "kind": "entity",
            "@cds.persistence.skip": true,
            "elements": {
                "DocumentInfoRecordDocType": {
                    "key": true,
                    "type": "cds.String",
                    "length": 3
                },
                "DocumentInfoRecordDocNumber": {
                    "key": true,
                    "type": "cds.String",
                    "length": 25
                },
                "DocumentInfoRecordDocVersion": {
                    "key": true,
                    "type": "cds.String",
                    "length": 2
                },
                "DocumentInfoRecordDocPart": {
                    "key": true,
                    "type": "cds.String",
                    "length": 3
                },
                "Language": {
                    "key": true,
                    "type": "cds.String",
                    "length": 2
                },
                "DocumentDescription": {
                    "type": "cds.String",
                    "length": 40
                },
                "LongTextExists": {
                    "type": "cds.String",
                    "length": 1
                },
                "DocInfoRecdShortText": {
                    "type": "cds.String",
                    "length": 40
                },
                "ChangedDateTime": {
                    "type": "cds.Timestamp"
                },
                "to_DocInfoRecord": {
                    "type": "cds.Association",
                    "target": "API_DMS_PROCESS_SRV.A_DocumentInfoRecord"
                }
            }
        },
        "API_DMS_PROCESS_SRV.A_DocumentInfoRecordDocStsVH": {
            "kind": "entity",
            "@cds.persistence.skip": true,
            "elements": {
                "DocumentInfoRecordDocType": {
                    "key": true,
                    "type": "cds.String",
                    "length": 3
                },
                "Language": {
                    "key": true,
                    "type": "cds.String",
                    "length": 2
                },
                "ExternalDocumentStatus": {
                    "key": true,
                    "type": "cds.String",
                    "length": 2
                },
                "InternalDocumentStatus": {
                    "type": "cds.String",
                    "length": 2
                },
                "DocumentStatusName": {
                    "type": "cds.String",
                    "length": 16
                }
            }
        }
    }
}