eliminate concrete doc schema checks

replaced with system schema checks.
also use defined schema at shard expressions instead of hardcoded `doc` one.
or do you prefer to have this helper method somewhere else available?