// generic shape of the API response
{
  "shape": {
    "isSuccess": true,
    "message": "Product uploaded successfully & meta data extracted successfully",
    "data": {
      "_id": "", // mongodb generated id for the contract metadata document
      "contractMetaData": {
        "contractName": "Contract file Name",
        "licensor": "Licensor Name",
        "licensee": "Licensee Name",
        "salesPersonInCharge": "Sales Person in Charge Name", // or null if not available
        "effectiveDate": "2024-01-01",
        "territory": "Territory Name",
        "currency": "INR" // INR, USD, EUR, etc.
      },
      "termYearTimeline": {
        // this must be dynamic, picked from the contract, not hardcoded, if total term years are 3, then only TY1, TY2, TY3 should be present, if 4 then TY1 to TY4 should be present and so on
        "TY1": {
          "startDate": "2024-01-01",
          "endDate": "2024-12-31"
        },
        "TY2": {
          "startDate": "2025-01-01",
          "endDate": "2025-12-31"
        },
        "TY3": {
          "startDate": "2026-01-01",
          "endDate": "2026-12-31"
        },
        "TY4": {
          "startDate": "2027-01-01",
          "endDate": "2027-12-31"
        }
      },
      "categories": [
        // this must be dynamic, picked from the contract, not hardcoded
        "First Run Films",
        "Ltd Release LA",
        "Other Ltd Release",
        "Library Titles",
        "Local/Art Films",
        "MFP/DTV Films"
      ]
    }
  },
  "actualResponse": {
    "isSuccess": true,
    "message": "Product uploaded successfully & meta data extracted successfully",
    "data": {
      "_id": "69cdf4a3da75cfe5599dc55f",
      "filename": "Contract .pdf",
      "contractMetaData": {
        "contractName": "PAY AND BASIC OUTPUT LICENSE AGREEMENT",
        "licensor": "OGL LIMITED",
        "licensee": "Amigos Aesthetic Building Materials Trading LLC",
        "salesPersonInCharge": null,
        "effectiveDate": "2016-06-06",
        "territory": ["Greece", "Cyprus"],
        "language": ["English"],
        "currency": "USD",
        "pricingType": null,
        "primaryMedia": "Subscription Pay Television"
      },
      "termYearTimeline": {
        "TY1": {
          "startDate": "2016-02-01",
          "endDate": "2017-01-31"
        },
        "TY2": {
          "startDate": "2017-02-01",
          "endDate": "2018-01-31"
        },
        "TY3": {
          "startDate": "2018-02-01",
          "endDate": "2019-01-31"
        },
        "TY4": {
          "startDate": "2019-02-01",
          "endDate": "2020-01-31"
        }
      },
      "categories": [
        "Current Feature Film",
        "Current DTVs",
        "Current MOWs",
        "Mega Reruns",
        "Standard Reruns",
        "Mega Library",
        "Standard Library",
        "Current TV Series",
        "Library Nova Life",
        "Library MOW Nova Life"
      ]
    }
  }
}
