{
  "jira_key": "AN-35",
  "summary": "Design for custom picklist field 'Account_Segment__c' on Account, with required validation rule and page layout updates, per allowlisted metadata types.",
  "approach": "Implement a new custom picklist field on Account with specified values and default. Add a validation rule to require the field for Customer accounts. Add the field to all Account page layouts. Only allowlisted metadata types will be included in the plan. Page layout updates are not in the v1 allowlist and will be escalated. All other requirements are within scope and mapped to allowlisted metadata.",
  "metadata_plan": [
    {
      "metadata_type": "CustomField",
      "api_name": "Account_Segment__c",
      "action": "create",
      "object": "Account",
      "notes": "Picklist field with values: Enterprise, Mid-Market, SMB. Default: Mid-Market. Field label: Account Segment."
    },
    {
      "metadata_type": "ValidationRule",
      "api_name": "Account_Segment_Required_For_Customer",
      "action": "create",
      "object": "Account",
      "notes": "Validation rule to require Account Segment for Customer accounts. Applies to all users. Blocks save if blank."
    }
  ],
  "dependencies": [
    "Account object must exist."
  ],
  "risks_or_escalations": [
    "Page layout updates are not in the v1 allowlist (not covered by CustomField, ValidationRule, Flow, ApexClass, ApexTrigger, LightningComponentBundle, PermissionSet). Escalate requirement to add field to all Account page layouts."
  ],
  "out_of_allowlist": true,
  "confidence": 1.0,
  "notes": null
}