eliminate concrete doc schema checks

replaced with system schema checks.
also use defined schema at shard expressions instead of hardcoded `doc` one.
public? 
I think if it is public it would better fit into ReferenceInfos