Skip to content
Partner Developer Portal

Schema

The core schema represents the Data Freshness model schema, sourced from IPCV data models state management tables. It tracks the data currency of each model by recording the date range of data contained within the model (start_datetime to end_datetime) and when that data was last refreshed (last_updated_datetime). This enables users to assess data timeliness and determine whether datasets meet their freshness requirements.

Column NameData TypeDescriptionExample/Values
customer_table_namevarcharName of the customer table being tracked‘patient’
organisationvarcharIdentifier for the data source organization‘EMIS’
start_datetimetimestamp(6) with time zoneStart of the date range of data contained in the model‘2020-03-09 00:00:00.000000 UTC’
end_datetimetimestamp(6) with time zoneEnd of the date range of data contained in the model‘2026-09-09 22:00:00.000000 UTC’
last_updated_datetimetimestamp(6) with time zoneTimestamp when the model was last refreshed/updated‘2026-09-10 06:26:13.000000 UTC’

The table below presents the flavour specific schema and maps columns between core, V1, and V2. Refer to Changes in iPCV V2 for more information.

Column NameData TypeData in V1Data in V2Core MappingComments
table_namevarchar✓✓customer_table_nameRenamed from ipcv_table in V1
organisationvarchar✓✓
start_datetimetimestamp(6) with time zone✗✓
end_datetimetimestamp(6) with time zone✗✓
last_updated_datetimetimestamp(6) with time zone✗✓Replacement for _execution_date in V1
_execution_datevarchar✓✗Replaced by last_updated_datetime in V2
mkb_versionvarchar✓✗Removed in V2
mkb_execution_datevarchar✓✗Removed in V2
statusvarchar✓✗Removed in V2

The table below presents the flavour specific schema and maps columns between core, V1, and V2. Refer to Changes in iPCV V2 for more information.

Column NameData TypeData in V1Data in V2Core MappingComments
table_namevarchar✓✓customer_table_nameRenamed from ipcv_table in V1
organisationvarchar✓✓
start_datetimetimestamp(6) with time zone✗✓
end_datetimetimestamp(6) with time zone✗✓
last_updated_datetimetimestamp(6) with time zone✗✓Replacement for _execution_date in V1
_execution_datevarchar✓✗Replaced by last_updated_datetime in V2
mkb_versionvarchar✓✗Removed in V2
mkb_execution_datevarchar✓✗Removed in V2
statusvarchar✓✗Removed in V2

The table below presents the flavour specific schema and maps columns between core, V1, and V2. Refer to Changes in iPCV V2 for more information.

Column NameData TypeData in V1Data in V2Core MappingComments
table_namevarchar✓✓customer_table_nameRenamed from ipcv_table in V1
organisationvarchar✓✓
start_datetimetimestamp(6) with time zone✗✓
end_datetimetimestamp(6) with time zone✗✓
last_updated_datetimetimestamp(6) with time zone✗✓Replacement for _execution_date in V1
_execution_datevarchar✓✗Replaced by last_updated_datetime in V2
mkb_versionvarchar✓✗Removed in V2
mkb_execution_datevarchar✓✗Removed in V2
statusvarchar✓✗Removed in V2

The table below presents the flavour specific schema.

Column NameData TypeCore Mapping
table_namevarcharcustomer_table_name
organisationvarchar
start_datetimetimestamp(6) with time zone
end_datetimetimestamp(6) with time zone
last_updated_datetimetimestamp(6) with time zone

The table below presents the flavour specific schema and maps columns between core, V1, and V2. Refer to Changes in iPCV V2 for more information.

Column NameData TypeData in V1Data in V2Core MappingComments
table_namevarchar✓✓customer_table_nameRenamed from ipcv_table in V1
organisationvarchar✓✓
start_datetimetimestamp(6) with time zone✗✓
end_datetimetimestamp(6) with time zone✗✓
last_updated_datetimetimestamp(6) with time zone✗✓Replacement for _execution_date in V1
_execution_datevarchar✓✗Replaced by last_updated_datetime in V2
mkb_versionvarchar✓✗Removed in V2
mkb_execution_datevarchar✓✗Removed in V2
statusvarchar✓✗Removed in V2

The table below presents the flavour specific schema and maps columns between core, V1, and V2. Refer to Changes in iPCV V2 for more information.

Column NameData TypeData in V1Data in V2Core MappingComments
table_namevarchar✓✓customer_table_nameRenamed from ipcv_table in V1
organisationvarchar✓✓
start_datetimetimestamp(6) with time zone✗✓
end_datetimetimestamp(6) with time zone✗✓
last_updated_datetimetimestamp(6) with time zone✗✓Replacement for _execution_date in V1
_execution_datevarchar✓✗Replaced by last_updated_datetime in V2
mkb_versionvarchar✓✗Removed in V2
mkb_execution_datevarchar✓✗Removed in V2
statusvarchar✓✗Removed in V2

The table below presents the flavour specific schema and maps columns between core, V1, and V2. Refer to Changes in iPCV V2 for more information.

Column NameData TypeData in V1Data in V2Core MappingComments
table_namevarchar✓✓customer_table_nameRenamed from ipcv_table in V1
organisationvarchar✓✓
start_datetimetimestamp(6) with time zone✗✓
end_datetimetimestamp(6) with time zone✗✓
last_updated_datetimetimestamp(6) with time zone✗✓Replacement for _execution_date in V1
_execution_datevarchar✓✗Replaced by last_updated_datetime in V2
mkb_versionvarchar✓✗Removed in V2
mkb_execution_datevarchar✓✗Removed in V2
statusvarchar✓✗Removed in V2

The table below presents the flavour specific schema and maps columns between core, V1, and V2. Refer to Changes in iPCV V2 for more information.

Column NameData TypeData in V1Data in V2Core MappingComments
table_namevarchar✓✓customer_table_nameRenamed from ipcv_table in V1
organisationvarchar✓✓
start_datetimetimestamp(6) with time zone✗✓
end_datetimetimestamp(6) with time zone✗✓
last_updated_datetimetimestamp(6) with time zone✗✓Replacement for _execution_date in V1
_execution_datevarchar✓✗Replaced by last_updated_datetime in V2
mkb_versionvarchar✓✗Removed in V2
mkb_execution_datevarchar✓✗Removed in V2
statusvarchar✓✗Removed in V2

The table below presents the flavour specific schema and maps columns between core, V1, and V2. Refer to Changes in iPCV V2 for more information.

Column NameData TypeData in V1Data in V2Core MappingComments
table_namevarchar✓✓customer_table_nameRenamed from ipcv_table in V1
organisationvarchar✓✓
start_datetimetimestamp(6) with time zone✗✓
end_datetimetimestamp(6) with time zone✗✓
last_updated_datetimetimestamp(6) with time zone✗✓Replacement for _execution_date in V1
_execution_datevarchar✓✗Replaced by last_updated_datetime in V2
mkb_versionvarchar✓✗Removed in V2
mkb_execution_datevarchar✓✗Removed in V2
statusvarchar✓✗Removed in V2

The table below presents the flavour specific schema and maps columns between core, V1, and V2. Refer to Changes in iPCV V2 for more information.

Column NameData TypeData in V1Data in V2Core MappingComments
table_namevarchar✓✓customer_table_nameRenamed from ipcv_table in V1
organisationvarchar✓✓
start_datetimetimestamp(6) with time zone✗✓
end_datetimetimestamp(6) with time zone✗✓
last_updated_datetimetimestamp(6) with time zone✗✓Replacement for _execution_date in V1
_execution_datevarchar✓✗Replaced by last_updated_datetime in V2
mkb_versionvarchar✓✗Removed in V2
mkb_execution_datevarchar✓✗Removed in V2
statusvarchar✓✗Removed in V2