helper/schema: support partial states