The Ōmi Code (近江令, ōmiryō) are a collection of governing rules compiled in 668AD, and the first collection of Ritsuryō laws in classical Japan.
These laws were compiled by Fujiwara no Kamatari under the order of Emperor Tenji.
This collection of laws is now lost and its disputed existence is supported only by short references in later documents (among which the Tōshi Kaden, a history of the Fujiwara).
The Code, consisting of 22 volumes, was promulgated in the last year of Tenji's reign.
You can help Wikipedia by expanding it.This article related to government in Japan is a stub.