The Law of the Federation can be parted in three diffrent protocols:
Alpha Protocol
The Alpha Protocol is the most common used, and is knowned by civilians in the Federation as "The Line". This is mostly because it contains all the public laws. Like that you need weapond licens before you can buy a weapond, and that its illegal to drive after that you have drinked toxic fluids. Most of this laws are knowned by the civilians except a few, like the law about you only get child grant when under five children, often leading to some familys of high birthday rate species.
Beta Protocol
This is the laws that the military follows. This is the short, undetailed list of them:
-Do not use lethal force until command gives you permission.
-Do not use violence if not threatend
-Do not abuse your power and rank
-Do not disobey orders
-Do not hurt civillians if not threatend and attacked
Delta Protocol
This is the law that protects the legacy of the "Ones that came before". This states that no one except high ranked archaelogists have the right to land on ancient races homeplanets and colonies. Even then it states that they need supervising. If one not authorized, land on a planet under the Delta Protocol will have to pay fee, and if any relics where scavenged be under prison on the planet Zemphior Prime.