Shift
Package: IEC61968.PaymentMetering
Description
Section titled “Description”Generally referring to a period of operation or work performed. Whether the shift is open/closed can be derived from attributes ‘activityInterval.start’ and ‘activityInterval.end’. The grand total for receipts (i.e., cumulative total of all actual receipted amounts during this shift; bankable + non-bankable; excludes rounding error totals) can be derived from receipt: =sum(‘Receipt.receiptAmount’); includes bankable and non-bankable receipts. It also has to be reconciled against: =sum(‘receiptsGrandTotalBankable’ + ‘receiptsGrandTotalNonBankable’) and against receipt summary: =sum(‘ReceiptSummary.receiptsTotal’). The attributes with “GrandTotal” defined in this class may need to be used when the source data is periodically flushed from the system and then these cannot be derived.
Inheritance
Section titled “Inheritance”- Hierarchy:
IdentifiedObject→Shift - Direct Subclasses (2):
CashierShift,VendorShift
Class Diagram
Section titled “Class Diagram”classDiagram Shift --|> IdentifiedObject CashierShift --|> Shift VendorShift --|> Shift Shift --> DateTimeInterval : activityInterval
Direct Properties (6)
Section titled “Direct Properties (6)”| Name | Canonical Property IRI | Range | Description |
|---|---|---|---|
activityInterval |
cim:Shift.activityInterval |
cim:DateTimeInterval (Object) |
Interval for activity of this shift. |
receiptsGrandTotalBankable |
cim:Shift.receiptsGrandTotalBankable |
cim:Money (Datatype) |
Total of amounts receipted during this shift that can be manually banked (cash and cheques for example). Values are obtained from Receipt attributes: =sum(Receipt.receiptAmount) for all Receipt.bankable = true. |
receiptsGrandTotalNonBankable |
cim:Shift.receiptsGrandTotalNonBankable |
cim:Money (Datatype) |
Total of amounts receipted during this shift that cannot be manually banked (card payments for example). Values are obtained from Receipt attributes: =sum(Receipt.receiptAmount) for all Receipt.bankable = false. |
receiptsGrandTotalRounding |
cim:Shift.receiptsGrandTotalRounding |
cim:Money (Datatype) |
Cumulative amount in error due to process rounding not reflected in receiptsGrandTotal. Values are obtained from Receipt attributes: =sum(Receipt.receiptRounding). |
transactionsGrandTotal |
cim:Shift.transactionsGrandTotal |
cim:Money (Datatype) |
Cumulative total of transacted amounts during this shift. Values are obtained from transaction: =sum(‘Transaction.transactionAmount’). It also has to be reconciled against transaction summary: =sum(‘TransactionSummary.transactionsTotal’). |
transactionsGrandTotalRounding |
cim:Shift.transactionsGrandTotalRounding |
cim:Money (Datatype) |
Cumulative amount in error due to process rounding not reflected in transactionsGandTotal. Values are obtained from Transaction attributes: =sum(Transaction.transactionRounding). |
Inherited Properties
Section titled “Inherited Properties”Inherited from IdentifiedObject (6)
Section titled “Inherited from IdentifiedObject (6)”| Name | Canonical Property IRI | Range | Description |
|---|---|---|---|
DiagramObjects |
cim:IdentifiedObject.DiagramObjects |
cim:DiagramObject |
The diagram objects that are associated with the domain object. |
InstanceSet |
cim:IdentifiedObject.InstanceSet |
cim:InstanceSet |
Dataset containing the data objects. |
aliasName |
cim:IdentifiedObject.aliasName |
xsd:string |
The aliasName is free text human readable name of the object alternative to IdentifiedObject.name. It may be non unique and may not correla… |
description |
cim:IdentifiedObject.description |
xsd:string |
The description is a free human readable text describing or naming the object. It may be non unique and may not correlate to a naming hiera… |
mRID |
cim:IdentifiedObject.mRID |
xsd:string |
Master resource identifier issued by a model authority. The mRID is unique within an exchange context. Global uniqueness is easily achieved… |
name |
cim:IdentifiedObject.name |
xsd:string |
The name is any free human readable and possibly non unique text naming the object. |
Semantic Web Snippets
Section titled “Semantic Web Snippets”Open-World Inheritance & Flat Graph Note: Under IEC CIM (RDF/OWL), an instance of
cim:Shiftcan carry properties declared onShiftplus any ancestor in its inheritance chain (IdentifiedObject). By default, the builder below expands the full inherited model so you can inspect everything available on this class. Showing every property is intentional for documentation and not required on the wire; sparse payloads carrying only profile-required fields are equally valid.Object References vs. Flat Literals: Not all CIM properties are flat scalar values. Object associations reference separate typed CIM entities (such as
cim:PSRTypeorcim:Terminal). In JSON-LD 1.1, those referenced objects are lifted out of the main object into a flat@grapharray and linked strictly by@idpointer so the graph stays flat instead of deeply nested. Turtle and RDF/XML serialize the exact same graph, making it easy to compare legacy RDF/XML verbosity against Turtle and JSON-LD.