Is there a way to enable Account Teams in a scratch org definition file? I know I can manually enable it in a scratch org via Setup, but in order to create an unlocked package version that contains Apex code referencing the AccountTeamMember object, I need to enable it in the definition file. But I don't see a way to do this from looking at the Salesforce documentation.
Yes, it's in the Account Settings area. Here's the relevant JSON to start from:
See Scratch Org Definition Configuration Values for other settings. Edit: There appears to be values missing from the docs. I'll ask about this. However, I do know this setting works, as I copied it from my own org's configuration file.