[
  {
    "apiName": "Dated_Conversion_Rate__c",
    "keyPrefix": "a1R",
    "label": "Dated Conversion Rate",
    "pluralLabel": "Dated Conversion Rates",
    "tableType": "custom_object",
    "category": "crm",
    "sharingModel": "PublicRead",
    "description": "Monthly currency conversion periods, ported from the source org's dated exchange-rate table (#3873). Consumed by the Opportunity_Rate_From_Dated_Conversion flow to stamp Opportunity.Rate__c from CloseDate's period on every save \u2014 the same mechanism the source org implements in Apex (GetOppRateTriggerHandler). Periods are half-open [Start_Date__c, Next_Start_Date__c); the latest period per currency stays open-ended (Next_Start_Date__c 9999-12-31) until finance adds the next month's row. Rows are reference data seeded by the pack_reference_data module (dated-conversion-rate.json); finance/ops append one row per currency per month going forward.",
    "fields": [
      {
        "apiName": "Name",
        "label": "Rate Period",
        "type": "string",
        "isNameField": true
      },
      {
        "apiName": "Iso_Code__c",
        "label": "Currency ISO Code",
        "type": "string",
        "required": true
      },
      {
        "apiName": "Conversion_Rate__c",
        "label": "Conversion Rate",
        "type": "double",
        "required": true,
        "description": "Units of this currency per 1 USD for the period (source-org convention: Rate__c consumers divide by this value)."
      },
      {
        "apiName": "Start_Date__c",
        "label": "Period Start (inclusive)",
        "type": "date",
        "required": true
      },
      {
        "apiName": "Next_Start_Date__c",
        "label": "Next Period Start (exclusive)",
        "type": "date",
        "required": true
      }
    ]
  }
]
