pm4py.objects.ocel.exporter.jsonocel.variants.classic module#

class pm4py.objects.ocel.exporter.jsonocel.variants.classic.Parameters(*values)[source]#

Bases: Enum

EVENT_ID = 'param:event:id'#
OBJECT_ID = 'param:object:id'#
OBJECT_TYPE = 'param:object:type'#
ENCODING = 'encoding'#
pm4py.objects.ocel.exporter.jsonocel.variants.classic.get_base_json_object(ocel: OCEL, parameters: Dict[Any, Any] | None = None)[source]#
pm4py.objects.ocel.exporter.jsonocel.variants.classic.apply(ocel: OCEL, target_path: str, parameters: Dict[Any, Any] | None = None)[source]#

Exports an object-centric event log in a JSONOCEL file, using the classic JSON dump

Parameters:
  • ocel – Object-centric event log

  • target_path – Destination path

  • parameters – Parameters of the algorithm, including: - Parameters.EVENT_ID => the event ID column - Parameters.OBJECT_ID => the object ID column - Parameters.OBJECT_TYPE => the object type column