{"package":"SETTLEMENT_DATA","pdr_config":{"mappings":[{"REPORT_NAME":"SETTLEMENTS","REPORT_SUB_TYPE":"WDR_TRANSACT","VERSION":1}],"transaction_type":"INSERT"},"documentation_urls":["https://nemweb.com.au/Reports/Current/MMSDataModelReport/Electricity/ElectricityDataModelReport_files/Elec57.htm#200"],"comment":"Settlements WDR transactions summary","primary_keys":["COUNTERPARTYPARTICIPANTID","PARTICIPANTID","PARTICIPANTROLEID","PERIODID","REGIONID","SETTLEMENTDATE","SETTLEMENTRUNNO"],"columns":{"COUNTERPARTYPARTICIPANTID":{"sql_type":"VARCHAR2(20)","pl_type":"pl.Categorical","mandatory":true,"comment":"Unique identifier for the counter participant id.","is_categorical":true},"PARTICIPANTID":{"sql_type":"VARCHAR2(20)","pl_type":"pl.Categorical","mandatory":true,"comment":"Unique identifier for a participant","is_categorical":true},"PARTICIPANTROLEID":{"sql_type":"VARCHAR2(20)","pl_type":"pl.Enum([\"FRMP\", \"DRSP\"])","mandatory":true,"comment":"Participant role identifier - FRMP or DRSP","examples":null,"enums":["FRMP","DRSP"]},"PERIODID":{"sql_type":"NUMBER(3,0)","pl_type":"pl.Int16","mandatory":true,"comment":"Trading interval identifier with Period 1 being the first TI for the calendar day, that is the interval ending 00:05","is_integer":true,"num_int_bits":16},"REGIONID":{"sql_type":"VARCHAR2(20)","pl_type":"pl.Enum([\"QLD1\", \"VIC1\", \"TAS1\", \"NSW1\", \"SA1\", \"SNOWY1\"])","mandatory":true,"comment":"Unique identifier for the region to which the TNI belongs on the settlement date","examples":null,"enums":["QLD1","VIC1","TAS1","NSW1","SA1","SNOWY1"]},"SETTLEMENTDATE":{"sql_type":"DATE","pl_type":"pl.Datetime()","mandatory":true,"comment":"Settlement date","examples":["2026/01/20 00:05:00"],"warnings":["Despite what the name suggests, this is a datetime, not a date."],"parse_csv_as_string":true,"is_s_datetime":true},"SETTLEMENTRUNNO":{"sql_type":"NUMBER(3,0)","pl_type":"pl.UInt16","mandatory":true,"comment":"Settlement run number","is_integer":true,"unsigned_int":true,"num_int_bits":16},"TRANSACTIONAMOUNT":{"sql_type":"NUMBER(18,8)","pl_type":"pl.Float64","mandatory":false,"comment":"Aggregate WDR transaction amount for the participant and counterparty in the settlement interval","is_float":true}},"visibility":"Private","trigger":"Posting a billing run"}