Apiary contract for the Document API