{
    "meta": {
        "creator": "edmx2csn 1.0.41"
    },
    "$version": "0.2",
    "definitions": {
        "com.sap.gateway.srvd_a2x.api_handlingunit.v0001.HandlingUnitSerialNumber": {
            "kind": "entity",
            "@cds.persistence.skip": true,
            "elements": {
                "HandlingUnitItem": {
                    "key": true,
                    "type": "cds.String",
                    "length": 6
                },
                "HandlingUnitExternalID": {
                    "key": true,
                    "type": "cds.String",
                    "length": 20
                },
                "Warehouse": {
                    "key": true,
                    "type": "cds.String",
                    "length": 4
                },
                "StockItemUUID": {
                    "key": true,
                    "type": "cds.UUID"
                },
                "SerialNumber": {
                    "key": true,
                    "type": "cds.String",
                    "length": 18
                },
                "Equipment": {
                    "type": "cds.String",
                    "length": 18
                },
                "_HandlingUnit": {
                    "type": "cds.Association",
                    "target": "com.sap.gateway.srvd_a2x.api_handlingunit.v0001.HandlingUnit",
                    "cardinality": {
                        "max": 1
                    }
                },
                "_HandlingUnitItem": {
                    "type": "cds.Association",
                    "target": "com.sap.gateway.srvd_a2x.api_handlingunit.v0001.HandlingUnitItem",
                    "cardinality": {
                        "max": 1
                    },
                    "on": [
                        {
                            "ref": [
                                "_HandlingUnitItem",
                                "Warehouse"
                            ]
                        },
                        "=",
                        {
                            "ref": [
                                "Warehouse"
                            ]
                        }
                    ]
                }
            }
        },
        "com.sap.gateway.srvd_a2x.api_handlingunit.v0001.HandlingUnitItem": {
            "kind": "entity",
            "@cds.persistence.skip": true,
            "elements": {
                "HandlingUnitExternalID": {
                    "key": true,
                    "type": "cds.String",
                    "length": 20
                },
                "Warehouse": {
                    "key": true,
                    "type": "cds.String",
                    "length": 4
                },
                "StockItemUUID": {
                    "key": true,
                    "type": "cds.UUID"
                },
                "HandlingUnitItem": {
                    "type": "cds.String",
                    "length": 6
                },
                "HandlingUnitTypeOfContent": {
                    "type": "cds.String",
                    "length": 1
                },
                "HandlingUnitNestedExternalID": {
                    "type": "cds.String",
                    "length": 20
                },
                "HandlingUnitReferenceDocument": {
                    "type": "cds.String",
                    "length": 10
                },
                "HandlingUnitRefDocumentItem": {
                    "type": "cds.String",
                    "length": 10
                },
                "Material": {
                    "type": "cds.String",
                    "length": 18
                },
                "Batch": {
                    "type": "cds.String",
                    "length": 10
                },
                "Plant": {
                    "type": "cds.String",
                    "length": 4
                },
                "StorageLocation": {
                    "type": "cds.String",
                    "length": 4
                },
                "HandlingUnitQuantity": {
                    "type": "cds.Decimal",
                    "precision": 15,
                    "scale": 3
                },
                "HandlingUnitQuantityUnit": {
                    "type": "cds.String",
                    "length": 3
                },
                "HandlingUnitAltUnitOfMeasure": {
                    "type": "cds.String",
                    "length": 3
                },
                "HandlingUnitNrOfAuxPackgMat": {
                    "type": "cds.Integer"
                },
                "HandlingUnitNumberOfSerialNumb": {
                    "type": "cds.Integer"
                },
                "SerialNumberProfile": {
                    "type": "cds.String",
                    "length": 4
                },
                "_HandlingUnit": {
                    "type": "cds.Association",
                    "target": "com.sap.gateway.srvd_a2x.api_handlingunit.v0001.HandlingUnit",
                    "cardinality": {
                        "max": 1
                    },
                    "on": [
                        {
                            "ref": [
                                "_HandlingUnit",
                                "Warehouse"
                            ]
                        },
                        "=",
                        {
                            "ref": [
                                "Warehouse"
                            ]
                        }
                    ]
                },
                "_HandlingUnitItemSerialNumber": {
                    "type": "cds.Association",
                    "target": "com.sap.gateway.srvd_a2x.api_handlingunit.v0001.HandlingUnitSerialNumber",
                    "cardinality": {
                        "max": "*"
                    }
                }
            }
        },
        "com.sap.gateway.srvd_a2x.api_handlingunit.v0001.HandlingUnit": {
            "kind": "entity",
            "@cds.persistence.skip": true,
            "elements": {
                "HandlingUnitExternalID": {
                    "key": true,
                    "type": "cds.String",
                    "length": 20
                },
                "Warehouse": {
                    "key": true,
                    "type": "cds.String",
                    "length": 4
                },
                "PackagingMaterial": {
                    "type": "cds.String",
                    "length": 18
                },
                "PackagingMaterialType": {
                    "type": "cds.String",
                    "length": 4
                },
                "Plant": {
                    "type": "cds.String",
                    "length": 4
                },
                "StorageLocation": {
                    "type": "cds.String",
                    "length": 4
                },
                "ShippingPoint": {
                    "type": "cds.String",
                    "length": 4
                },
                "ParentHandlingUnitNumber": {
                    "type": "cds.String",
                    "length": 20
                },
                "GrossWeight": {
                    "type": "cds.Decimal",
                    "precision": 15,
                    "scale": 3
                },
                "NetWeight": {
                    "type": "cds.Decimal",
                    "precision": 15,
                    "scale": 3
                },
                "HandlingUnitMaxWeight": {
                    "type": "cds.Decimal",
                    "precision": 15,
                    "scale": 3
                },
                "WeightUnit": {
                    "type": "cds.String",
                    "length": 3
                },
                "HandlingUnitTareWeight": {
                    "type": "cds.Decimal",
                    "precision": 15,
                    "scale": 3
                },
                "HandlingUnitTareWeightUnit": {
                    "type": "cds.String",
                    "length": 3
                },
                "GrossVolume": {
                    "type": "cds.Decimal",
                    "precision": 15,
                    "scale": 3
                },
                "HandlingUnitNetVolume": {
                    "type": "cds.Decimal",
                    "precision": 15,
                    "scale": 3
                },
                "HandlingUnitMaxVolume": {
                    "type": "cds.Decimal",
                    "precision": 15,
                    "scale": 3
                },
                "VolumeUnit": {
                    "type": "cds.String",
                    "length": 3
                },
                "HandlingUnitTareVolume": {
                    "type": "cds.Decimal",
                    "precision": 15,
                    "scale": 3
                },
                "HandlingUnitTareVolumeUnit": {
                    "type": "cds.String",
                    "length": 3
                },
                "HandlingUnitLength": {
                    "type": "cds.Decimal",
                    "precision": 13,
                    "scale": 3
                },
                "HandlingUnitWidth": {
                    "type": "cds.Decimal",
                    "precision": 13,
                    "scale": 3
                },
                "HandlingUnitHeight": {
                    "type": "cds.Decimal",
                    "precision": 13,
                    "scale": 3
                },
                "UnitOfMeasureDimension": {
                    "type": "cds.String",
                    "length": 3
                },
                "HandlingUnitReferenceDocument": {
                    "type": "cds.String",
                    "length": 20
                },
                "HandlingUnitRefDocType": {
                    "type": "cds.String",
                    "length": 2
                },
                "PackingInstruction": {
                    "type": "cds.String",
                    "length": 22
                },
                "HandlingUnitSecondExternalId": {
                    "type": "cds.String",
                    "length": 20
                },
                "CreatedByUser": {
                    "type": "cds.String",
                    "length": 12
                },
                "CreationDateTime": {
                    "type": "cds.Timestamp"
                },
                "LastChangedByUser": {
                    "type": "cds.String",
                    "length": 12
                },
                "LastChangeDateTime": {
                    "type": "cds.Timestamp"
                },
                "StorageType": {
                    "type": "cds.String",
                    "length": 4
                },
                "StorageSection": {
                    "type": "cds.String",
                    "length": 4
                },
                "StorageBin": {
                    "type": "cds.String",
                    "length": 18
                },
                "SAP__Messages": {
                    "type": "com.sap.gateway.srvd_a2x.api_handlingunit.v0001.SAP__Message"
                },
                "_HandlingUnitItem": {
                    "type": "cds.Association",
                    "target": "com.sap.gateway.srvd_a2x.api_handlingunit.v0001.HandlingUnitItem",
                    "cardinality": {
                        "max": "*"
                    }
                }
            }
        },
        "com.sap.gateway.srvd_a2x.api_handlingunit.v0001.HandlingUnitMoveResult_Type": {
            "kind": "type",
            "elements": {
                "CreatedByUser": {
                    "type": "cds.String",
                    "length": 12
                },
                "CreationDateTime": {
                    "type": "cds.Timestamp"
                },
                "GrossWeight": {
                    "type": "cds.Decimal",
                    "precision": 15,
                    "scale": 3
                },
                "HandlingUnitCharUUID": {
                    "type": "cds.UUID"
                },
                "HandlingUnitExternalID": {
                    "type": "cds.String",
                    "length": 20
                },
                "HandlingUnitInternalStatus": {
                    "type": "cds.String",
                    "length": 4
                },
                "HandlingUnitReferenceDocument": {
                    "type": "cds.String",
                    "length": 20
                },
                "PackagingMaterial": {
                    "type": "cds.String",
                    "length": 40
                },
                "PackagingMaterialType": {
                    "type": "cds.String",
                    "length": 4
                },
                "ParentHandlingUnitNumber": {
                    "type": "cds.String",
                    "length": 20
                },
                "Plant": {
                    "type": "cds.String",
                    "length": 4
                },
                "ReceivingStorageBin": {
                    "type": "cds.String",
                    "length": 18
                },
                "ReceivingStorageLocation": {
                    "type": "cds.String",
                    "length": 4
                },
                "Warehouse": {
                    "type": "cds.String",
                    "length": 3
                },
                "WeightUnit": {
                    "type": "cds.String",
                    "length": 3
                }
            }
        },
        "com.sap.gateway.srvd_a2x.api_handlingunit.v0001.SAP__Message": {
            "kind": "type",
            "elements": {
                "code": {
                    "type": "cds.LargeString"
                },
                "message": {
                    "type": "cds.LargeString"
                },
                "target": {
                    "type": "cds.LargeString"
                },
                "additionalTargets": {
                    "type": "cds.LargeString"
                },
                "transition": {
                    "type": "cds.Boolean"
                },
                "numericSeverity": {
                    "type": "cds.Integer"
                },
                "longtextUrl": {
                    "type": "cds.LargeString"
                }
            }
        },
        "com.sap.gateway.srvd_a2x.api_handlingunit.v0001": {
            "kind": "service"
        }
    }
}