DependecyPairs

LineItemsDepencyPairs JSON description:

if outcomes have a lineItemId from lineItems in depency_pairs then these outcomes can not be included to express both at the same time

{
    "outcomeType": 1,
    "outcomeValues": [],
    "price": 1.28,
    "status": "Opened",
    "lineItemId": "1566b0f31d6a49f38bdb8460eaf3d5f6",
    "selectionKey": "[1,[],[0],1,0,[]]",
    "dataVersion": 162,
    "probability": 0.7431778651655501,
    "limitPercentage": 1.0
}

Depency pair message:

{
  "id": string, // string id 
  "lineItems": [
    string: string, //  array of LineItem dependencies, contains only 2 elements
    string: string
  ],
  "eventShortIds": [
    string: string, //  array of e dependencies, contains only 2 elements
    string: string,
  ],
  "isActive": boolean, //show if dependeciy pair is active 
  "timestamp": DateTime // date time with time zone
  "dataVersion": int,  // version of category with current id, increments when one of category fields are changed
}

Example:

{
    "id": "97d1483225fd45b1979634dcb343d5d3be9f4585249a4ebc820fba57cffdf63c",
    "lineItems": [
        "be9f4585249a4ebc820fba57cffdf63c",
        "97d1483225fd45b1979634dcb343d5d3"
    ],
    "eventShortIds": [
        13027598,
        13027598
    ],
    "isActive": true,
    "timestamp": "2025-06-17T12:40:43.315681Z",
    "sourceTimestamp": "0001-01-01T00:00:00",
    "dataVersion": 2
}

{
    "id": "97d1483225fd45b1979634dcb343d5d3be9f4585249a4ebc820fba57cffdf63c",
    "lineItems": [
        "be9f4585249a4ebc820fba57cffdf63c",
        "61a456712afd31b1329794ac2d64a215"
    ],
    "eventShortIds": [
        13027598,
        13027598
    ],
    "isActive": true,
    "timestamp": "2025-06-17T12:40:43.315681Z",
    "sourceTimestamp": "0001-01-01T00:00:00",
    "dataVersion": 2
}
in this example outcomes with lineItemId = "be9f4585249a4ebc820fba57cffdf63c" can not be added to express with other otcomes that have lineItemid = "97d1483225fd45b1979634dcb343d5d3" or lineItemid = "61a456712afd31b1329794ac2d64a215"