Reading through the Lecture section of the old Jedi Temple discussion forums, I found a submission in 2001 by Ainar of the Chivalric Code, attributed to the author Arinaga Yoshiakira. I have not been able to trace this writing back to that author, but I did find mention of something similar at an English teacher’s website … along with homework questions: The Code of Chivalry.
Many years later, it has found its way into the doctrines of the Temple of the Jedi Order as part of the 21 Maxims there.
I find it particularly interesting that the teacher mentions in her lesson that the chivalric code would have no real bearing on modern society. As I read through the knightly virtues listed, I can see only one that might need some revision to be appropriate for people of good will today, since few of us owe fealty to a lord … although most have some obligations to other forms of authority.