Ask HN: Building Codes are Unfairly/Illegally Paywalled, how to bypass?
That being the precedent, once a building code is accepted into law, the full text of construction building codes becomes public domain. The court ruled exactly that, an individual cannot be penalized for copy pasting building code to other platforms and offering free access to the text.
The problem is that code publishers have a financial interest to restrict access to the codes (the above court case was one such example). Therefore they create endpoints with restrictive access and encourage local governments to use their endpoints to access the codes in a neutered manner, for example, copy-paste disabled, and other superficial obstacles, with plenty of warnings, end-user agreements, etc.
However the above 5th circuit case is the state of the law. Yet I can't find any state governments offering the codes digitally. It's always a referral to one of these neutered sites.
It would be great to have a plain text version of the code, especially to put it in a git repo and diff the changes each time codes are updated by the local government.
The above should be perfectly legal, as the code, once adopted, becomes public domain. Any thoughts on this?
8 comments
[ 3.8 ms ] story [ 34.8 ms ] threadIn the UK, the code is BS7671 from the IET with related publications about specialist installations, but the law which governs the application of them is the Electricity at Work Act, 1989.
"The issue in this en banc case is the extent to which a private organization may assert copyright protection for its model codes, after the models have been adopted by a legislative body and become "the law". Specifically, may a code-writing organization prevent a website operator from posting the text of a model code where the code is identified simply as the building code of a city that enacted the model code as law? Our short answer is that as law, the model codes enter the public domain and are not subject to the copyright holder's exclusive prerogatives."
The NEC and NFPA model codes (i.e. NFPA 70, NFPA 101) are most certainly model codes that fall under the ruling.
https://www.nfpa.org/codes-and-standards/7/0/nfpa-70
NFPA Link has terms of service that are due to the "model code" being proprietary. Accessing the content via that NFPA Link endpoint puts you at the mercy of the terms of whatever the private third party offers.
But as the law stated, once the code is adopted, it becomes public domain. I would guess that NFPA has no legal obligation to offer a "public domain" portal, so the question becomes at what cost should local governments buy server space and host the texts and make the code available to the public domain? Especially because it appears they are legally obligated to do so? My research shows they currently don't offer it.
I find this kind of like "right to repair" except to "right to access public domain code text." In this case, the right exists, but no endpoint exists, so if there's no endpoint, does the right really exist?
You could try FOIAing them or suing them if you think there is an actual obligation.
Therefore I think they are perfectly ok offering a generic endpoint to the general public as a convenience, and have no liability when the adopted code might differ from what they provided.
From the government side, I believe that since the courts determined that adopted model codes are public domain, they are obligated to publish the code. Is the government required to publish text version of all applicable laws?