Rinse the goat pieces with water and lime juice, drain well, and pat dry.
Rub the meat with the curry powder, allspice, salt, and black pepper. Cover and marinate for at least 30 minutes, or overnight in the fridge for the best flavour.
Heat the oil in a large heavy pot over medium-high heat. Brown the goat in batches for 4 to 5 minutes per batch, then remove it to a plate.
Lower the heat, add the onion, garlic, ginger, and spring onions, and cook for 3 to 4 minutes until softened.
Return the goat to the pot with the thyme, the whole Scotch bonnet, and the water or stock. Bring to a gentle boil, then cover, reduce the heat to low, and simmer for 1 hour 45 minutes.
Add the potatoes and carrots, cover again, and cook for 30 to 40 minutes more, until the meat is tender and the sauce has thickened.
Remove the Scotch bonnet and thyme sprigs. Taste and adjust the salt, then rest for 10 minutes before serving with rice and peas.