{"package":"SYSTEM_SECURITY_MANAGEMENT","pdr_config":{"mappings":[{"REPORT_NAME":"SSM","REPORT_SUB_TYPE":"CONTRACT_UNIT_AVAIL","VERSION":1}],"transaction_type":"INSERT"},"documentation_urls":["https://nemweb.com.au/Reports/Current/MMSDataModelReport/Electricity/ElectricityDataModelReport_files/Elec81.htm#1"],"comment":"The variable parameters associated to the Unit within an SSM Contract, allowing changes to the base contract values due to unit availabilities (e.g Maintenance, Outages).","primary_keys":["CONTRACT_ID","DUID","INTERVAL_DATETIME","VERSION_DATETIME"],"columns":{"CONTRACT_ID":{"sql_type":"VARCHAR2(20)","pl_type":"str","mandatory":true,"comment":"Unique Contract Identifier"},"DUID":{"sql_type":"VARCHAR2(20)","pl_type":"pl.Categorical","mandatory":true,"comment":"Dispatchable Unit Identifier","examples":["W/HOE#2"],"warnings":["This column may contain funny characters such as / (slash) or # (hash). This may break hive-style partitioning.\n"],"is_categorical":true},"INTERVAL_DATETIME":{"sql_type":"DATE","pl_type":"pl.Datetime()","mandatory":true,"comment":"The starting Dispatch Interval for the availability change. This will be the active availability until the next INTERVAL_DATETIME record for this Contract and DUID.","examples":["2026/01/20 00:05:00"],"parse_csv_as_string":true,"is_s_datetime":true},"VERSION_DATETIME":{"sql_type":"DATE","pl_type":"pl.Datetime()","mandatory":true,"comment":"Effective Date and Time of this record.","examples":["2026/01/20 00:05:00"],"parse_csv_as_string":true,"is_s_datetime":true},"ACTIVATION_LEAD_TIME":{"sql_type":"NUMBER(6,0)","pl_type":"pl.UInt32","mandatory":false,"comment":"The expected maximum lead time for the system security service to be enabled from a non-operational state in minutes.","is_integer":true,"unsigned_int":true,"num_int_bits":32},"AVAILABLE":{"sql_type":"NUMBER(1,0)","pl_type":"pl.Boolean","mandatory":false,"comment":"Indicates if DUID is available for the INTERVAL_DATETIME (1 = True, 0 = False).","is_boolean":true},"LASTCHANGED":{"sql_type":"DATE","pl_type":"pl.Datetime()","mandatory":false,"comment":"Last time record was changed","examples":["2026/01/20 00:05:00"],"parse_csv_as_string":true,"is_s_datetime":true},"MIN_DISPATCH_MW":{"sql_type":"NUMBER(18,8)","pl_type":"pl.Float64","mandatory":false,"comment":"Minimum Dispatch Target required for DUID to enable the contract.","is_float":true},"MIN_ENABLEMENT_DURATION":{"sql_type":"NUMBER(6,0)","pl_type":"pl.UInt32","mandatory":false,"comment":"Minimum duration a unit must be active to enable the contract in minutes.","is_integer":true,"unsigned_int":true,"num_int_bits":32},"UNIT_COUNT":{"sql_type":"NUMBER(4,0)","pl_type":"pl.UInt16","mandatory":false,"comment":"Number of sub-units within a DUID that are available for enablement.","is_integer":true,"unsigned_int":true,"num_int_bits":16}},"visibility":"Private","trigger":"On change of the Contract Availability"}