definitions, docs, and tests for the organization aggregates api