1) Bill of Rights.
2) the Constitution.
I’d like to write a science fiction story called “The Self Enforcing Document” about a computer program embodying the constitution. Of course it would be a dystopia.