Tekstiviesti: Querying schemas with access restrictions