public static function schema($field = null) { $schema = parent::schema(); $schema->append(array('_id' => array('type' => 'id'), 'foo' => array('type' => 'object'), 'foo.bar' => array('type' => 'int'))); return $schema; }