eliminate concrete doc schema checks

replaced with system schema checks.
also use defined schema at shard expressions instead of hardcoded `doc` one.