Shi (government post) (史 (律令制))

Shi was a collective name of Daishi and Shoshi established in Jingikan and Daijokan (Benkankyoku) under the Japanese ritsuryo legal code system. Shi corresponds to Sakan, the fourth rank of Shitokan. The corresponding court rank of Daishi of Jingikan was Junior Sixth Rank, Senior Eighth Rank and that of Shoshi of Jingikan was Junior Sixth Rank, Junior Eighth Rank, whereas that of Daishi of Daijokan was Senior Sixth Rank, Upper Grade and that of Shoshi of Daijokan was Junior Sixth Rank, Senior Seventh Rank, both of which were higher than those of Jingikan.
The prescribed number for Jingikan was one for each of Daishi and Shoshi (two in total), and that for Daijokan was two for each of Daishi and Shoshi for each of Sabenkankyoku and Ubenkankyoku (eight in total.)

The officials who were in charge of writing were traditionally called 'Fuhito', and the kabane of Shi was sometimes conferred on the Chinese and Korean clans settled in Japan who held the post of Shi.

In the ritsuryo legal code system, the duties of Shi were recording and creating official documents under the command of a senior official, examining the official documents, reading proofs and asking for instructions from the senior official.

Shi of Daijokan were also called Hachishi, meaning eight Shi, because they belonged to Benkankyoku headed by Benkan, which was divided into Sabenkankyoku and Ubenkankyoku, in each of which there were two for each of Sadaishi, Udaishi, Sashoshi, and Ushoshi, i.e., eight Shi in total.
Later, when Daishi in Benkankyoku were raised to Fifth Rank (Taifu), they were especially called Taifushi (or Shitaifu.)
After OTSUKI no Tomochika was appointed Sadaishi corresponding to Fifth Rank, the Otsuki clan (the Mibu family, the Omiya family) served as Daishi Joseki, which was Kanmu, for generations, being in charge of keeping the transmission of records and documents of Daijokan under the name of 'Kanmu family.'

Officials

Sadaishi (Senior Sixth Rank, Upper Grade): 2
Udaishi (Senior Sixth Rank, Upper Grade): 2
Sashoshi (Junior Sixth Rank, Senior Seventh Rank): 2
Ushoshi (Junior Sixth Rank, Senior Seventh Rank): 2
Sashisho: 10
Ushisho: 10
Sakajo: 2
Ukajo: 2
Meshitsukai: 2
Sashibe: 80
Ushibe: 80

[Original Japanese]