Final answer:
The contract between James and Mary is generally enforceable as a requirements contract if it meets the elements of a binding agreement and is sufficiently specific, intended to create a legal obligation, and free from issues like duress or fraud.
Step-by-step explanation:
The question asks whether the contract between James, the owner of Great Expectations, a trendy restaurant in Manhattan, and Mary, a pastry supplier, is enforceable. In general, provided that the contract meets the legal requirements of a binding agreement, such as offer, acceptance, capacity, legality, and consideration, it is enforceable. This type of agreement is known as a requirements contract, where Mary agrees to supply all of James's establishment's needs for pastries for a duration of one year. There is a presumption of enforceability as long as both parties have agreed to the terms and there is a mutual understanding of the obligations involved.
However, to ensure enforceability, the contract must be specific enough to establish what 'all needs' entails to prevent any ambiguity. Both parties must have intended to create a legal obligation, and the contract should not be unconscionable or entered into under duress, misrepresentation, or fraud. Furthermore, the contract must conform to any specific statutory requirements or regulations that govern such agreements in the jurisdiction where the contract is executed.