/////////////////////////////////////////////////////////////////////////////// // Copyright (C) 2002-2025, Open Design Alliance (the "Alliance"). // All rights reserved. // // This software and its documentation and related materials are owned by // the Alliance. The software may only be incorporated into application // programs owned by members of the Alliance, subject to a signed // Membership Agreement and Supplemental Software License Agreement with the // Alliance. The structure and organization of this software are the valuable // trade secrets of the Alliance and its suppliers. The software is also // protected by copyright law and international treaty provisions. Application // programs incorporating this software must include the following statement // with their copyright notices: // // This application incorporates Open Design Alliance software pursuant to a license // agreement with Open Design Alliance. // Open Design Alliance Copyright (C) 2002-2025 by Open Design Alliance. // All rights reserved. // // By use of this software, its documentation or related materials, you // acknowledge and accept the above terms. /////////////////////////////////////////////////////////////////////////////// #ifndef _IFC_COBIE_EXP_H #define _IFC_COBIE_EXP_H namespace OdCOBie { const char *g_COBie_Exp = "SCHEMA COBIE;" "TYPE COBie_Measure = REAL;" "END_TYPE;" "TYPE COBie_NonNegativeMeasure = COBie_Measure;" " WHERE" " NotNegative : SELF >= 0.;" "END_TYPE;" "TYPE COBie_LengthMeasure = REAL;" "END_TYPE;" "TYPE COBie_NonNegativeLengthMeasure = COBie_LengthMeasure;" " WHERE" " NotNegative : SELF >= 0.;" "END_TYPE;" "ENTITY COBie_Object" " ABSTRACT SUPERTYPE OF (ONEOF" " (COBie_Record" " ,COBie_Contact));" "END_ENTITY;" "ENTITY COBie_Record" " ABSTRACT SUPERTYPE OF (ONEOF" " (COBie_CategorizedRecord" " ,COBie_Component" " ,COBie_Assembly" " ,COBie_Connection" " ,COBie_Impact" " ,COBie_Issue))" " SUBTYPE OF (COBie_Object);" " Name_ : STRING;" // Compound Value must be unique in this worksheet " CreatedBy : STRING;" // Contact.Email - Foreign Key (Value must be found in referenced Foreign Key List) " CreatedOn : STRING;" // ISO date/time info added/updated or default "1900-12-31T23:59:59" (max len 19) "END_ENTITY;" "ENTITY COBie_CategorizedRecord" " ABSTRACT SUPERTYPE OF (ONEOF" " (COBie_Facility" " ,COBie_Floor" " ,COBie_Space" " ,COBie_Zone" " ,COBie_Type" " ,COBie_System" " ,COBie_Spare" " ,COBie_Resource" " ,COBie_Job" " ,COBie_Document" " ,COBie_Attribute" " ,COBie_Coordinate))" " SUBTYPE OF (COBie_Record);" " Category : STRING;" // Value must be found in referenced Foreign Key List "END_ENTITY;" // // Mapped from IfcOwnerHistory // "ENTITY COBie_Contact SUBTYPE OF (COBie_Object);" " Email : STRING;" // Value must be unique in this worksheet Primary Unique Key " CreatedBy : STRING;" // Contact.Email - Foreign Key (Value must be found in referenced Foreign Key List) " CreatedOn : STRING;" // ISO date/time info added/updated or default "1900-12-31T23:59:59" (max len 19) " Category : STRING;" // Value must be found in referenced Foreign Key List " Company : STRING;" // Value must be provided or 'n/a' " Phone : STRING;" // Value must be provided or 'n/a' " ExternalSystem : STRING;" // Provided only by automated export from software system " ExternalObject : STRING;" // Provided only by automated export from software system " ExternalIdentifier : STRING;" // Provided only by automated export from software system " Department : STRING;" // Default value must equal 'n/a' " OrganizationCode : STRING;" // Default value must equal 'n/a' " GivenName : STRING;" // Default value must equal 'n/a' " FamilyName : STRING;" // Default value must equal 'n/a' " Street : STRING;" // Default value must equal 'n/a' " PostalBox : STRING;" // Default value must equal 'n/a' " Town : STRING;" // Default value must equal 'n/a' " StateRegion : STRING;" // Default value must equal 'n/a' " PostalCode: STRING;" // Default value must equal 'n/a' " Country : STRING(128);" // Default value must equal 'n/a' "END_ENTITY;" // // Mapped from IfcBuilding // "ENTITY COBie_Facility SUBTYPE OF (COBie_CategorizedRecord);" " ProjectName : STRING;" // Value must be provided or 'n/a " SiteName : STRING;" // Value must be provided or 'n/a // Enum ??? " LinearUnits : STRING;" // Value must be found in referenced Foreign Key List " AreaUnits : STRING;" // Value must be found in referenced Foreign Key List " VolumeUnits : STRING;" // Value must be found in referenced Foreign Key List " CurrencyUnit : STRING;" // Value must be found in referenced Foreign Key List " AreaMeasurement : STRING;" // Value must be provided or 'n/a " ExternalSystem : STRING;" // // Provided only by automated export from software system " ExternalProjectObject : STRING;" // Provided only by automated export from software system " ExternalProjectIdentifier : STRING;" // Provided only by automated export from software system " ExternalSiteObject : STRING;" // Provided only by automated export from software system " ExternalSiteIdentifier : STRING;" // Provided only by automated export from software system " ExternalFacilityObject : STRING;" // Provided only by automated export from software system " ExternalFacilityIdentifier : STRING;" // Provided only by automated export from software system " Description : STRING;" // Default value must equal 'n/a' " ProjectDescription : STRING;" // Default value must equal 'n/a' " SiteDescription : STRING;" // Default value must equal 'n/a' " Phase : STRING;" // Default value must equal 'n/a' "END_ENTITY;" // // Mapped from IfcBuildingStorey // "ENTITY COBie_Floor SUBTYPE OF (COBie_CategorizedRecord);" " ExternalSystem : STRING;" // Provided only by automated export from software system " ExternalObject : STRING;" // Provided only by automated export from software system " ExternalIdentifier : STRING;" // Provided only by automated export from software system " Description : STRING;" // Default value must equal 'n/a' " Elevation : COBie_LengthMeasure;" // Default value must equal 'n/a' " Height : COBie_NonNegativeLengthMeasure;" // Default value must equal 'n/a' "END_ENTITY;" // // Mapped from IfcSpace // "ENTITY COBie_Space SUBTYPE OF (COBie_CategorizedRecord);" " FloorName : STRING;" // Floor.Name Value must be found in referenced Foreign Key List " ExternalSystem : STRING;" // Provided only by automated export from software system " ExternalObject : STRING;" // Provided only by automated export from software system " ExternalIdentifier : STRING;" // Provided only by automated export from software system " Description : STRING;" // Default value must equal 'n/a' " RoomTag : STRING;" // Default value must equal 'n/a' " UsableHeight : COBie_Measure;" // Default value must equal 'n/a' " GrossArea : COBie_NonNegativeMeasure;" // Default value must equal 'n/a' " NetArea : COBie_NonNegativeMeasure;" // Default value must equal 'n/a' "END_ENTITY;" // // Mapped from IfcZone // "ENTITY COBie_Zone SUBTYPE OF (COBie_CategorizedRecord);" " SpaceNames : COBie_Space;" // Value must be found in referenced Foreign Key List " ExternalSystem : STRING;" // Provided only by automated export from software system " ExternalObject : STRING;" // Provided only by automated export from software system " ExternalIdentifier : STRING;" // Provided only by automated export from software system " Description : STRING;" // Default value must equal 'n/a' "END_ENTITY;" // // Mapped from IfcTypeObject // "ENTITY COBie_Type SUBTYPE OF (COBie_CategorizedRecord);" " Description : STRING;" // Value must be provided or 'n/a' " AssetType : STRING;" // PickList.AssetType Value must be found in referenced Foreign Key List " Manufacturer : STRING;" // Contact.Email Value must be found in referenced Foreign Key List " ModelNumber : STRING;" // Value must be provided or 'n/a' " WarrantyGuarantorParts : STRING;" // Contact.Email Value must be found in referenced Foreign Key List " WarrantyDurationParts : COBie_Measure;" // Value must be provided or '0' " WarrantyGuarantorLabor : STRING;" // Contact.Email Value must be found in referenced Foreign Key List " WarrantyDurationLabor : COBie_Measure;" // Value must be provided or '0' " WarrantyDurationUnit : STRING;" // PickList.DurationUnit Value must be found in referenced Foreign Key List " ExternalSystem : STRING;" // Provided only by automated export from software system " ExternalObject : STRING;" // Provided only by automated export from software system " ExternalIdentifier : STRING;" // Provided only by automated export from software system " ReplacementCost : COBie_Measure;" // Default value must equal 'n/a' !!! 0 ? " ExpectedLife : COBie_Measure;" // Default value must equal 'n/a' !!! 0 ? " DurationUnit : STRING;" // PickList.DurationUnit Value must be found in referenced Foreign Key List " WarrantyDescription : STRING;" // Default value must equal 'n/a' " NominalLength : COBie_Measure;" // Value must be provided or '0' " NominalWidth : COBie_Measure;" // Value must be provided or '0' " NominalHeight : COBie_Measure;" // Value must be provided or '0' " ModelReference : STRING;" // Default value must equal 'n/a' " Shape : STRING;" // Default value must equal 'n/a' " Size : STRING;" // Default value must equal 'n/a' " Color : STRING;" // Default value must equal 'n/a' " Finish : STRING;" // Default value must equal 'n/a' " Grade : STRING;" // Default value must equal 'n/a' " Material : STRING;" // Default value must equal 'n/a' " Constituents : STRING;" // Default value must equal 'n/a' " Features : STRING;" // Default value must equal 'n/a' " AccessibilityPerformance : STRING;" // Default value must equal 'n/a' " CodePerformance : STRING;" // Default value must equal 'n/a' " SustainabilityPerformance : STRING;" // Default value must equal 'n/a' "END_ENTITY;" // // Mapped from IfcElement // "ENTITY COBie_Component SUBTYPE OF (COBie_Record);" " TypeName : STRING;" // Type.Name Value must be found in referenced Foreign Key List " Space : STRING;" // Space.Name Value must be found in referenced Foreign Key List " Description : STRING;" // Value must be provided or 'n/a' " ExternalSystem : STRING;" // Provided only by automated export from software system " ExternalObject : STRING;" // Provided only by automated export from software system " ExternalIdentifier : STRING;" // Provided only by automated export from software system " SerialNumber : STRING;" // Value must be provided or 'n/a' " InstallationDate : STRING;" // ISO Date (19) ISO date/time info added/updated or default "1900-12-31T23:59:59" " WarrantyStartDate : STRING;" // ISO Date (19)ISO date/time info added/updated or default "1900-12-31T23:59:59" " TagNumber : STRING;" // Value must be provided or 'n/a' " BarCode : STRING;" // Value must be provided or 'n/a' " AssetIdentifier : STRING;" // Value must be provided or 'n/a' "END_ENTITY;" // // Mapped from IfcSystem // "ENTITY COBie_System SUBTYPE OF (COBie_CategorizedRecord);" " ComponentNames : STRING;" // Component.Name Value must be found in referenced Foreign Key List " ExternalSystem : STRING;" // Provided only by automated export from software system " ExternalObject : STRING;" // Provided only by automated export from software system " ExternalIdentifier : STRING;" // Provided only by automated export from software system " Description : STRING;" // Default value must equal 'n/a' "END_ENTITY;" // // Mapped from IfcRelAggregates // "ENTITY COBie_Assembly SUBTYPE OF (COBie_Record);" " SheetName : STRING;" // Component.Name Value must be found in referenced Foreign Key Lis " ParentName : STRING;" // Component.Name Value must be found in referenced Foreign Key Lis " ChildNames : STRING;" // Value must be provided or 'n/a' " AssemblyType : STRING;" // Provided only by automated export from software system " ExternalSystem : STRING;" // Provided only by automated export from software system " ExternalObject : STRING;" // Provided only by automated export from software system " ExternalIdentifier : STRING;" // Default value must equal 'n/a' " Description : STRING;" // Default value must equal 'n/a' "END_ENTITY;" // // Mapped from IfcRelConnects // "ENTITY COBie_Connection SUBTYPE OF (COBie_Record);" " ConnectionType : STRING;" // PickList.ConnectionType Value must be found in referenced Foreign Key List " SheetName : STRING;" // " RowName1 : STRING;" // Component.Name Value must be found in referenced Foreign Key List " RowName2 : STRING;" // Component.Name Value must be found in referenced Foreign Key List " RealizingElement : STRING;" " PortName1 : STRING;" " PortName2 : STRING;" " ExternalSystem : STRING;" // Provided only by automated export from software system " ExternalObject : STRING;" // Provided only by automated export from software system " ExternalIdentifier : STRING;" // Provided only by automated export from software system " Description : STRING;" // Default value must equal 'n/a' "END_ENTITY;" // // Mapped from IfcConstructionProductResource // "ENTITY COBie_Spare SUBTYPE OF (COBie_CategorizedRecord);" " TypeName : STRING;" // Type.Name Value must be found in referenced Foreign Key List " Suppliers : STRING;" // Contact.Email Value must be found in referenced Foreign Key List " ExternalSystem : STRING;" // Provided only by automated export from software system " ExternalObject : STRING;" // Provided only by automated export from software system " ExternalIdentifier : STRING;" // Provided only by automated export from software system " Description : STRING;" // Default value must equal 'n/a' " SetNumber : STRING;" // Default value must equal 'n/a' " PartNumber : STRING;" // Default value must equal 'n/a' "END_ENTITY;" // // Mapped from IfcConstructionProductResource // "ENTITY COBie_Resource SUBTYPE OF (COBie_CategorizedRecord);" " ExternalSystem : STRING;" // Provided only by automated export from software system " ExternalObject : STRING;" // Provided only by automated export from software system " ExternalIdentifier : STRING;" // Provided only by automated export from software system " Description : STRING;" // Default value must equal 'n/a' "END_ENTITY;" // // Mapped from IfcTask // "ENTITY COBie_Job SUBTYPE OF (COBie_CategorizedRecord);" " Status : STRING;" // PickList.JobStatusType Value must be found in referenced Foreign Key List " TypeName : STRING;" // Type.Name Value must be found in referenced Foreign Key List " Description : STRING;" // Value must be provided or 'n/a' " Duration : COBie_Measure;" // Value must be provided or '0' " DurationUnit : STRING;" // PickList.DurationUnit Value must be found in referenced Foreign Key List " Start : COBie_Measure;" // Value must be provided or '0' " TaskStartUnit : STRING;" // PickList.DurationUnit Value must be found in referenced Foreign Key List " Frequency : COBie_Measure;" // Value must be provided or '0' " FrequencyUnit : STRING;" // PickList.DurationUnit Value must be found in referenced Foreign Key List " ExternalSystem : STRING;" // Provided only by automated export from software system " ExternalObject : STRING;" // Provided only by automated export from software system " ExternalIdentifier : STRING;" // Provided only by automated export from software system " TaskNumber : STRING;" // Task Number must be unique for this Name/TypeName " Priors : STRING;" // Job.TaskNumber List Value must be found in referenced Foreign Key List " ResourceNames : STRING;" // Resource.Name List Value must be found in referenced Foreign Key List "END_ENTITY;" // // Mapped from IfcPropertySet // "ENTITY COBie_Impact SUBTYPE OF (COBie_Record);" " ImpactType : STRING;" // PickList.ImpactType Value must be found in referenced Foreign Key List " ImpactStage : STRING;" // PickList.ImpactStage Value must be found in referenced Foreign Key List " SheetName : STRING;" // PickList.SheetType Value must be found in referenced Foreign Key List " RowName : STRING;" // Row name must be found in referenced table " Value_ : COBie_Measure;" // Default value must equal 'n/a " ImpactUnit : STRING;" // PickList.ImpactUnit Value must be found in referenced Foreign Key List " LeadInTime : COBie_Measure;" // Default value must equal 'n/a " Duration : COBie_Measure;" // Default value must equal 'n/a " LeadOutTime : COBie_Measure;" // Default value must equal 'n/a " ExternalSystem : STRING;" // Provided only by automated export from software system " ExternalObject : STRING;" // Provided only by automated export from software system " ExternalIdentifier : STRING;" // Provided only by automated export from software system " Description : STRING;" // Default value must equal 'n/a "END_ENTITY;" // // Mapped from IfcDocumentInformation // "ENTITY COBie_Document SUBTYPE OF (COBie_CategorizedRecord);" " ApprovalBy : STRING;" // PickList.ApprovalBy Value must be found in referenced Foreign Key List " Stage : STRING;" // PickList.StageType Value must be found in referenced Foreign Key List " SheetName : STRING;" // PickList.SheetType Value must be found in referenced Foreign Key List " RowName : STRING;" // Row name must be found in referenced table " Directory : STRING;" // Value must be provided or 'n/a' " File : STRING;" // Value must be provided or 'n/a' " ExternalSystem : STRING;" // Provided only by automated export from software system " ExternalObject : STRING;" // Provided only by automated export from software system " ExternalIdentifier : STRING;" // Provided only by automated export from software system " Description : STRING;" // Value must be provided or 'n/a' " Reference_ : STRING;" // Value must be provided or 'n/a' "END_ENTITY;" // // Mapped from IfcPropertySet // "ENTITY COBie_Attribute SUBTYPE OF (COBie_CategorizedRecord);" " SheetName : STRING;" // PickList.SheetType Value must be found in referenced Foreign Key List " RowName : STRING;" // Row name must be found in referenced table " Value_ : STRING;" // Value must be provided or 'n/a' " Unit : STRING;" // Value must be provided or 'n/a' " ExternalSystem : STRING;" // Provided only by automated export from software system " ExternalObject : STRING;" // Provided only by automated export from software system " ExternalIdentifier : STRING;" // Provided only by automated export from software system " Description : STRING;" // Value must be provided or 'n/a' " AllowedValues : STRING;" // Value must be provided or 'n/a' "END_ENTITY;" // // Mapped from IfcBuildingStorey + IfcSpace + IfcProduct // "ENTITY COBie_Coordinate SUBTYPE OF (COBie_CategorizedRecord);" " SheetName : STRING;" // PickList.CoordinateSheet Value must be found in referenced Foreign Key List " RowName : STRING;" // Row name must be found in referenced table " CoordinateXAxis : COBie_Measure;" // Value must be provided or '0' " CoordinateYAxis : COBie_Measure;" // Value must be provided or '0' " CoordinateZAxis : COBie_Measure;" // Value must be provided or '0' " ExternalSystem : STRING;" // Provided only by automated export from software system " ExternalObject : STRING;" // Provided only by automated export from software system " ExternalIdentifier : STRING;" // Provided only by automated export from software system " ClockwiseRotation : COBie_Measure;" // Default value must equal 'n/a' " ElevationalRotation : COBie_Measure;" // Default value must equal 'n/a' " YawRotation : COBie_Measure;" // Default value must equal 'n/a' "END_ENTITY;" // // Mapped from IfcApproval // "ENTITY COBie_Issue SUBTYPE OF (COBie_Record);" " Type_ : STRING;" // PickList.IssueCategory Value must be found in referenced Foreign Key List " Risk : STRING;" // PickList.IssueRisk Value must be found in referenced Foreign Key List " Chance : STRING;" // PickList.IssueChance Value must be found in referenced Foreign Key List " Impact : STRING;" // PickList.IssueImpact Value must be found in referenced Foreign Key List " SheetName1 : STRING;" // PickList.SheetType Value must be found in referenced Foreign Key List " RowName1 : STRING;" // Row name must be found in referenced table " SheetName2 : STRING;" // PickList.SheetType Value must be found in referenced Foreign Key List " RowName2 : STRING;" // Row name must be found in referenced table " Description : STRING;" // Value must be provided or 'n/a' " Owner : STRING;" // Contact.Email Value must be found in referenced Foreign Key List " Mitigation : STRING;" // Value must be provided or 'n/a' " ExternalSystem : STRING;" // Provided only by automated export from software system " ExternalObject : STRING;" // Provided only by automated export from software system " ExternalIdentifier : STRING;" // Provided only by automated export from software system "END_ENTITY;" // // Mapped from IfcApproval // "ENTITY COBie_PickList;" " CategoryFacility : STRING;" // Value must be unique in this worksheet " CategorySpace : STRING;" // Value must be unique in this worksheet " CategoryElement : STRING;" // Value must be unique in this worksheet " CategoryProduct : STRING;" // Value must be unique in this worksheet " CategoryRole : STRING;" // Value must be unique in this worksheet "END_ENTITY;" "END_SCHEMA;"; } #endif // _IFC_COBIE_EXP_H