pm4py.objects.ocel.validation package#

This file is part of PM4Py (More Info: https://pm4py.fit.fraunhofer.de).

PM4Py is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

PM4Py is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with PM4Py. If not, see <https://www.gnu.org/licenses/>.

Submodules#

pm4py.objects.ocel.validation.jsonocel module#

This file is part of PM4Py (More Info: https://pm4py.fit.fraunhofer.de).

PM4Py is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

PM4Py is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with PM4Py. If not, see <https://www.gnu.org/licenses/>.

pm4py.objects.ocel.validation.jsonocel.apply(input_path, validation_path, parameters=None)[source]#

pm4py.objects.ocel.validation.ocel20_rel_validation module#

This file is part of PM4Py (More Info: https://pm4py.fit.fraunhofer.de).

PM4Py is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

PM4Py is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with PM4Py. If not, see <https://www.gnu.org/licenses/>.

pm4py.objects.ocel.validation.ocel20_rel_validation.const_1_existence_type_independent_tables(curs)[source]#
pm4py.objects.ocel.validation.ocel20_rel_validation.const_2_existence_object_type_tables_map_obj_types(curs)[source]#
pm4py.objects.ocel.validation.ocel20_rel_validation.const_3_existence_event_type_tables_map_ev_types(curs)[source]#
pm4py.objects.ocel.validation.ocel20_rel_validation.const_4_ocel_type_column(curs)[source]#
pm4py.objects.ocel.validation.ocel20_rel_validation.const_5_ocel_type_map(curs)[source]#
pm4py.objects.ocel.validation.ocel20_rel_validation.const_6_ocel_id(curs)[source]#
pm4py.objects.ocel.validation.ocel20_rel_validation.const_7_ocel_qualifier(curs)[source]#
pm4py.objects.ocel.validation.ocel20_rel_validation.const_8_event_object_fields(curs)[source]#
pm4py.objects.ocel.validation.ocel20_rel_validation.const_9_object_object_fields(curs)[source]#
pm4py.objects.ocel.validation.ocel20_rel_validation.const_10_existence_ocel_id_obj_type_spec_tables(curs)[source]#
pm4py.objects.ocel.validation.ocel20_rel_validation.const_11_existence_ocel_id_ev_type_spec_tables(curs)[source]#
pm4py.objects.ocel.validation.ocel20_rel_validation.const_12_existence_type_ocel_time_obj_type_spec_tables(curs)[source]#
pm4py.objects.ocel.validation.ocel20_rel_validation.const_13_existence_type_ocel_time_ev_type_spec_tables(curs)[source]#
pm4py.objects.ocel.validation.ocel20_rel_validation.const_14_primary_key_object_event_map_type_tables(curs)[source]#
pm4py.objects.ocel.validation.ocel20_rel_validation.const_15_primary_key_object_event_tables(curs)[source]#
pm4py.objects.ocel.validation.ocel20_rel_validation.const_16_primary_key_event_object_table(curs)[source]#
pm4py.objects.ocel.validation.ocel20_rel_validation.const_17_primary_key_object_object_table(curs)[source]#
pm4py.objects.ocel.validation.ocel20_rel_validation.const_18_primary_key_event_type_spec_tables(curs)[source]#
pm4py.objects.ocel.validation.ocel20_rel_validation.const_19_foreign_key_event(curs)[source]#
pm4py.objects.ocel.validation.ocel20_rel_validation.const_20_foreign_key_object(curs)[source]#
pm4py.objects.ocel.validation.ocel20_rel_validation.const_21_foreign_key_event_object(curs)[source]#
pm4py.objects.ocel.validation.ocel20_rel_validation.const_22_foreign_key_object_object(curs)[source]#
pm4py.objects.ocel.validation.ocel20_rel_validation.const_23_foreign_key_event_type_specific(curs)[source]#
pm4py.objects.ocel.validation.ocel20_rel_validation.const_24_foreign_key_object_type_specific(curs)[source]#
pm4py.objects.ocel.validation.ocel20_rel_validation.apply(file_path: str) Tuple[Collection[str], Collection[str]][source]#

Validates the relational schema of an OCEL 2.0 SQLite database

Parameters#

file_path

Path to the OCEL 2.0 SQLite database

Returns#

satisfied

List of satisfied constraints

unsatisfied

List of unsatisfied constraints

pm4py.objects.ocel.validation.xmlocel module#

This file is part of PM4Py (More Info: https://pm4py.fit.fraunhofer.de).

PM4Py is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

PM4Py is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with PM4Py. If not, see <https://www.gnu.org/licenses/>.

pm4py.objects.ocel.validation.xmlocel.apply(input_path, validation_path, parameters=None)[source]#