Very broadly speaking, to sustain a typical European typically medieval (think William the Conqueror) economy a country would need:
Lots and lots of wood. Mineral coal was not used much if at all; by "coal" most people in the Middle Ages understood charcoal. Wood was used both as a fuel and as the most common construction material.
Land suitable for agriculture and for animal husbandry.
Clay suitable for making ceramics (and of course bricks).
Stone suitable for use as a construction material.
Lime, with a multitude of uses.
Everything else can be obtained by trade; for example, Italy had a thriving economy by medieval standars although it is has essentially no iron, copper, tin, or silver. To reduce the dependence of trade a country would be fortunate to have:
Iron, copper, and tin ores.
Antimony and lead ores would be very nice to have.
Silver. Some gold would also be quite nice, but it's far from being essential.
Some natron (to make glass). Not essential because it was widely available in trade.
Salt (unless the country is situated on the sea shore in a warm climate).
Other minerals such as sal ammoniac, saltpeter, various pigments etc. were used in much smaller quantities and were usually obtained by trade.
To have a country not depend on trade at all it needs to be very large and posses a wide variety of minerals and climates; the Roman and the Chinese Empires come to mind, and even those did some cross-border trade. For example, the Romans imported silk and cotton from faraway China and India...