Skip to content

Class: CostRecord

Cost record for estimation, catalog pricing, and calculation. Use cost_record_role to distinguish catalog cost/price (on Product) from project estimate/actual lines. Populate component_cost_items to act as an assembly (aggregated unit price).

URI: pbs:CostRecord

classDiagram
direction TB
class CostRecord
click CostRecord href "./CostRecord.html" _blank
VirtualEntity <|-- CostRecord
click VirtualEntity href "./VirtualEntity.html" _blank
click Entity href "./Entity.html" _blank
click Classification href "./Classification.html" _blank
click CostRecord href "./CostRecord.html" _blank
click QuantityType href "./QuantityType.html" _blank
click CostRecordRole href "./CostRecordRole.html" _blank
click CostRecord href "./CostRecord.html" _blank
click GeometryRepresentation href "./GeometryRepresentation.html" _blank
click LocalizedText href "./LocalizedText.html" _blank
click LocalizedText href "./LocalizedText.html" _blank
click Material href "./Material.html" _blank
click MetadataEntry href "./MetadataEntry.html" _blank
click PerformanceProperty href "./PerformanceProperty.html" _blank
click Company href "./Company.html" _blank
click QuantityValue href "./QuantityValue.html" _blank
click Product href "./Product.html" _blank
click StatusType href "./StatusType.html" _blank
click TimeRecord href "./TimeRecord.html" _blank
Hold "Alt" / "Option" to enable pan & zoom

Inheritance

Class Properties

Property Value
Class URI pbs:CostRecord

Slots

Name Cardinality and Range Description Inheritance
cost_record_role 1
CostRecordRole
Role of this cost record (catalog cost, catalog price, project estimate, or actual). direct
cost_category 0..1
String
Cost category label kept intentionally open pending classification-backed modeling. direct
unit_cost 1
Double
Unit cost for this cost item. direct
currency 1
String
ISO 4217 currency code (for example EUR, USD). direct
cost_quantity_type 0..1
QuantityType
Quantity type used as basis for this cost calculation. direct
cost_quantity_value 0..1
Double
Quantity magnitude used as basis for this cost calculation. direct
cost_quantity_unit 0..1
String
Unit of the cost quantity value. direct
related_product 0..1
Product
Optional catalog product this deliverable implements or this cost record is priced from. direct
priced_for_customer 0..1
Company
Optional customer for a customer-specific catalog price when cost_record_role is price. direct
applies_to_entities *
Entity
Model entities this record applies to (requirements, cost items, schedule items, etc.). direct
component_cost_items *
CostRecord
Cost records aggregated into this assembly record. direct
cost_records *
CostRecord
Cost records associated with this entity. VirtualEntity
time_records *
TimeRecord
Time records associated with this entity. VirtualEntity
materials *
Material
Material definitions associated with this entity. VirtualEntity
id 1
String
Unique local identifier. Entity
content_kind 1
String
Entity type discriminator for adapter projection and querying. Must be a ContentKind value. Entity
name 1
String
Default display name. Entity
localized_names *
LocalizedText
Localized variants of name. Entity
description 0..1
String
Default description text. Entity
meaning_uri 0..1
Uriorcurie
Optional semantic URI for linking the entity instance to an external ontology concept. Entity
localized_descriptions *
LocalizedText
Localized variants of description. Entity
ifc_global_id 0..1
String
IFC GlobalId of the mapped entity. Entity
classifications *
Classification
Classification entries from IFC and other schemes. Entity
geometry_representations *
GeometryRepresentation
Geometry references associated with the entity. A single element may link to multiple geometry representations to serve different intents (authoring, coordination, analysis, visualization) without duplicating the element itself. Entity
quantity_values *
QuantityValue
Quantities associated with the entity. Entity
metadata *
MetadataEntry
Generic metadata container for IFC attributes/properties and project-specific extensions. Entity
performance_properties *
PerformanceProperty
Normalized, strongly typed domain properties (fire/acoustic/thermal/structural/ security/material) extracted from raw IFC PropertySet values. Entity
created_at 0..1
Datetime
Creation timestamp for this entity record. Entity
modified_at 0..1
Datetime
Last modification timestamp for this entity record. Entity
revision 0..1
Integer
Integer revision counter for change tracking. Entity
status 0..1
StatusType
Lifecycle or QA status. Entity

Usages

used by used in type used
Product catalog_cost_records range CostRecord
VirtualEntity cost_records range CostRecord
SpatialContext cost_records range CostRecord
PerimeterContext cost_records range CostRecord
LegalSiteContext cost_records range CostRecord
BuiltAssetContext cost_records range CostRecord
BuildingContext cost_records range CostRecord
CivilStructureContext cost_records range CostRecord
LevelContext cost_records range CostRecord
ZoneContext cost_records range CostRecord
Space cost_records range CostRecord
System cost_records range CostRecord
ConnectionVirtual cost_records range CostRecord
TimeRecord cost_records range CostRecord
CostRecord component_cost_items range CostRecord
CostRecord cost_records range CostRecord
Material cost_records range CostRecord

Identifier and Mapping Information

Schema Source

  • from schema: https://schema.pragmaticbim.ch

Mappings

Mapping Type Mapped Value
self pbs:CostRecord
native pbs:CostRecord

LinkML Source

Direct

name: CostRecord
description: Cost record for estimation, catalog pricing, and calculation. Use cost_record_role
  to distinguish catalog cost/price (on Product) from project estimate/actual lines.
  Populate component_cost_items to act as an assembly (aggregated unit price).
from_schema: https://schema.pragmaticbim.ch
is_a: VirtualEntity
slots:
- cost_record_role
- cost_category
- unit_cost
- currency
- cost_quantity_type
- cost_quantity_value
- cost_quantity_unit
- related_product
- priced_for_customer
- applies_to_entities
- component_cost_items
slot_usage:
  cost_record_role:
    name: cost_record_role
    required: true
  related_product:
    name: related_product
    range: Product
  priced_for_customer:
    name: priced_for_customer
    range: Company
class_uri: pbs:CostRecord

Induced

name: CostRecord
description: Cost record for estimation, catalog pricing, and calculation. Use cost_record_role
  to distinguish catalog cost/price (on Product) from project estimate/actual lines.
  Populate component_cost_items to act as an assembly (aggregated unit price).
from_schema: https://schema.pragmaticbim.ch
is_a: VirtualEntity
slot_usage:
  cost_record_role:
    name: cost_record_role
    required: true
  related_product:
    name: related_product
    range: Product
  priced_for_customer:
    name: priced_for_customer
    range: Company
attributes:
  cost_record_role:
    name: cost_record_role
    description: Role of this cost record (catalog cost, catalog price, project estimate,
      or actual).
    from_schema: https://schema.pragmaticbim.ch
    rank: 1000
    owner: CostRecord
    domain_of:
    - CostRecord
    range: CostRecordRole
    required: true
  cost_category:
    name: cost_category
    description: Cost category label kept intentionally open pending classification-backed
      modeling.
    from_schema: https://schema.pragmaticbim.ch
    rank: 1000
    owner: CostRecord
    domain_of:
    - CostRequirement
    - CostRecord
    range: string
  unit_cost:
    name: unit_cost
    description: Unit cost for this cost item.
    from_schema: https://schema.pragmaticbim.ch
    rank: 1000
    owner: CostRecord
    domain_of:
    - CostRecord
    range: double
    required: true
    minimum_value: 0
  currency:
    name: currency
    description: ISO 4217 currency code (for example EUR, USD).
    from_schema: https://schema.pragmaticbim.ch
    rank: 1000
    owner: CostRecord
    domain_of:
    - CostRequirement
    - CostRecord
    range: string
    required: true
    pattern: ^[A-Z]{3}$
  cost_quantity_type:
    name: cost_quantity_type
    description: Quantity type used as basis for this cost calculation.
    from_schema: https://schema.pragmaticbim.ch
    rank: 1000
    owner: CostRecord
    domain_of:
    - CostRequirement
    - CostRecord
    range: QuantityType
  cost_quantity_value:
    name: cost_quantity_value
    description: Quantity magnitude used as basis for this cost calculation.
    from_schema: https://schema.pragmaticbim.ch
    rank: 1000
    owner: CostRecord
    domain_of:
    - CostRecord
    range: double
    minimum_value: 0
  cost_quantity_unit:
    name: cost_quantity_unit
    description: Unit of the cost quantity value.
    from_schema: https://schema.pragmaticbim.ch
    rank: 1000
    owner: CostRecord
    domain_of:
    - CostRecord
    range: string
  related_product:
    name: related_product
    description: Optional catalog product this deliverable implements or this cost
      record is priced from.
    from_schema: https://schema.pragmaticbim.ch
    rank: 1000
    owner: CostRecord
    domain_of:
    - Deliverable
    - CostRecord
    range: Product
    inlined: false
  priced_for_customer:
    name: priced_for_customer
    description: Optional customer for a customer-specific catalog price when cost_record_role
      is price.
    from_schema: https://schema.pragmaticbim.ch
    rank: 1000
    owner: CostRecord
    domain_of:
    - CostRecord
    range: Company
    inlined: false
  applies_to_entities:
    name: applies_to_entities
    description: Model entities this record applies to (requirements, cost items,
      schedule items, etc.).
    from_schema: https://schema.pragmaticbim.ch
    rank: 1000
    owner: CostRecord
    domain_of:
    - Entity
    - TimeRecord
    - CostRecord
    range: Entity
    multivalued: true
    inlined: false
  component_cost_items:
    name: component_cost_items
    description: Cost records aggregated into this assembly record.
    from_schema: https://schema.pragmaticbim.ch
    rank: 1000
    owner: CostRecord
    domain_of:
    - CostRecord
    range: CostRecord
    multivalued: true
    inlined: false
  cost_records:
    name: cost_records
    description: Cost records associated with this entity.
    from_schema: https://schema.pragmaticbim.ch
    rank: 1000
    owner: CostRecord
    domain_of:
    - VirtualEntity
    range: CostRecord
    multivalued: true
    inlined: false
  time_records:
    name: time_records
    description: Time records associated with this entity.
    from_schema: https://schema.pragmaticbim.ch
    rank: 1000
    owner: CostRecord
    domain_of:
    - VirtualEntity
    range: TimeRecord
    multivalued: true
    inlined: false
  materials:
    name: materials
    description: Material definitions associated with this entity.
    from_schema: https://schema.pragmaticbim.ch
    rank: 1000
    owner: CostRecord
    domain_of:
    - VirtualEntity
    range: Material
    multivalued: true
    inlined: false
  id:
    name: id
    description: Unique local identifier.
    from_schema: https://schema.pragmaticbim.ch
    rank: 1000
    identifier: true
    owner: CostRecord
    domain_of:
    - Entity
    - Change
    range: string
    required: true
  content_kind:
    name: content_kind
    description: Entity type discriminator for adapter projection and querying. Must
      be a ContentKind value.
    from_schema: https://schema.pragmaticbim.ch
    rank: 1000
    owner: CostRecord
    domain_of:
    - Entity
    range: string
    required: true
    equals_string: virtual
  name:
    name: name
    description: Default display name.
    from_schema: https://schema.pragmaticbim.ch
    rank: 1000
    owner: CostRecord
    domain_of:
    - Entity
    range: string
    required: true
  localized_names:
    name: localized_names
    description: Localized variants of name.
    from_schema: https://schema.pragmaticbim.ch
    rank: 1000
    owner: CostRecord
    domain_of:
    - Entity
    range: LocalizedText
    multivalued: true
    inlined: true
  description:
    name: description
    description: Default description text.
    from_schema: https://schema.pragmaticbim.ch
    rank: 1000
    owner: CostRecord
    domain_of:
    - Entity
    range: string
  meaning_uri:
    name: meaning_uri
    description: Optional semantic URI for linking the entity instance to an external
      ontology concept.
    from_schema: https://schema.pragmaticbim.ch
    rank: 1000
    owner: CostRecord
    domain_of:
    - Entity
    range: uriorcurie
  localized_descriptions:
    name: localized_descriptions
    description: Localized variants of description.
    from_schema: https://schema.pragmaticbim.ch
    rank: 1000
    owner: CostRecord
    domain_of:
    - Entity
    range: LocalizedText
    multivalued: true
    inlined: true
  ifc_global_id:
    name: ifc_global_id
    description: IFC GlobalId of the mapped entity.
    from_schema: https://schema.pragmaticbim.ch
    rank: 1000
    owner: CostRecord
    domain_of:
    - Entity
    - Change
    range: string
    pattern: ^[0-3][0-9A-Za-z_$]{21}$
  classifications:
    name: classifications
    description: Classification entries from IFC and other schemes.
    from_schema: https://schema.pragmaticbim.ch
    rank: 1000
    owner: CostRecord
    domain_of:
    - Entity
    - Artifact
    range: Classification
    multivalued: true
    inlined: true
  geometry_representations:
    name: geometry_representations
    description: 'Geometry references associated with the entity. A single element
      may link to multiple geometry representations to serve different intents (authoring,
      coordination, analysis, visualization) without duplicating the element itself.

      '
    from_schema: https://schema.pragmaticbim.ch
    rank: 1000
    owner: CostRecord
    domain_of:
    - Entity
    range: GeometryRepresentation
    multivalued: true
    inlined: true
  quantity_values:
    name: quantity_values
    description: Quantities associated with the entity.
    from_schema: https://schema.pragmaticbim.ch
    rank: 1000
    owner: CostRecord
    domain_of:
    - Entity
    range: QuantityValue
    multivalued: true
    inlined: true
  metadata:
    name: metadata
    description: Generic metadata container for IFC attributes/properties and project-specific
      extensions.
    from_schema: https://schema.pragmaticbim.ch
    rank: 1000
    owner: CostRecord
    domain_of:
    - Entity
    range: MetadataEntry
    multivalued: true
    inlined: true
  performance_properties:
    name: performance_properties
    description: 'Normalized, strongly typed domain properties (fire/acoustic/thermal/structural/
      security/material) extracted from raw IFC PropertySet values.

      '
    from_schema: https://schema.pragmaticbim.ch
    rank: 1000
    owner: CostRecord
    domain_of:
    - Entity
    range: PerformanceProperty
    multivalued: true
    inlined: true
  created_at:
    name: created_at
    description: Creation timestamp for this entity record.
    from_schema: https://schema.pragmaticbim.ch
    rank: 1000
    owner: CostRecord
    domain_of:
    - Entity
    range: datetime
  modified_at:
    name: modified_at
    description: Last modification timestamp for this entity record.
    from_schema: https://schema.pragmaticbim.ch
    rank: 1000
    owner: CostRecord
    domain_of:
    - Entity
    range: datetime
  revision:
    name: revision
    description: Integer revision counter for change tracking.
    from_schema: https://schema.pragmaticbim.ch
    rank: 1000
    owner: CostRecord
    domain_of:
    - Entity
    range: integer
    minimum_value: 0
  status:
    name: status
    description: Lifecycle or QA status.
    from_schema: https://schema.pragmaticbim.ch
    rank: 1000
    owner: CostRecord
    domain_of:
    - Entity
    range: StatusType
class_uri: pbs:CostRecord