{
  "jira_key": "AN-75",
  "summary": "Customer Tier Picklist",
  "approach": "Implement a new picklist field on the Account object to classify customers into tiers, along with a validation rule to enforce business logic.",
  "metadata_plan": [
    {
      "metadata_type": "CustomField",
      "api_name": "Customer_Tier__c",
      "action": "update",
      "object": "Account",
      "notes": "data type: Picklist, field label: Customer Tier, picklist values: Bronze, Silver, Gold, required-at-definition: true."
    },
    {
      "metadata_type": "ValidationRule",
      "api_name": "Block_Gold_Tier",
      "action": "update",
      "object": "Account",
      "notes": "purpose: Prevent Gold tier assignment if Annual Revenue is below threshold, formula: AND(ISPICKVAL(Customer_Tier__c, 'Gold'), AnnualRevenue < 100000), error message: 'Gold tier cannot be assigned if Annual Revenue is less than $100,000.', error location: Customer Tier."
    },
    {
      "metadata_type": "PermissionSet",
      "api_name": "Account_Customer_Tier_Visibility",
      "action": "update",
      "object": null,
      "notes": "Grants edit access to Customer_Tier__c for Sales Users."
    }
  ],
  "dependencies": [
    "Existing CustomField: Customer_Tier__c",
    "Existing ValidationRule: Prevent_Manual_Customer_Tier_Edit",
    "Existing PermissionSet: Account_Customer_Tier_Visibility"
  ],
  "risks_or_escalations": [
    "Existing functionality may conflict with new validation rule.",
    "Ensure no existing triggers interfere with the new validation logic."
  ],
  "out_of_allowlist": false,
  "confidence": 0.9,
  "notes": null
}