API update for SCHEMA-107.

Signed-off-by: Juliet Hougland <juliet@wibidata.com>
CHOP-16. Initial unit tests.

Signed-off-by: Robert Chu <robert@wibidata.com>