Debian Codegraph @

tests/testdata/licenses/MIT.json

raw
1 {
2 "isDeprecatedLicenseId": false,
3 "isFsfLibre": true,
4 "licenseText": "MIT License\n\nCopyright (c) \u003cyear\u003e \u003ccopyright holders\u003e\n\nPermission is hereby granted, free of charge, to any person obtaining a copy of this software and\nassociated documentation files (the \"Software\"), to deal in the Software without restriction, including\nwithout limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the\nfollowing conditions:\n\nThe above copyright notice and this permission notice shall be included in all copies or substantial\nportions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT\nLIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO\nEVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER\nIN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE\nUSE OR OTHER DEALINGS IN THE SOFTWARE.\n",
5 "standardLicenseTemplate": "\u003c\u003cbeginOptional\u003e\u003eMIT License\n\n\u003c\u003cendOptional\u003e\u003e \u003c\u003cvar;name\u003d\"copyright\";original\u003d\"Copyright (c) \u003cyear\u003e \u003ccopyright holders\u003e \";match\u003d\".{0,5000}\"\u003e\u003e\nPermission is hereby granted, free of charge, to any person obtaining a copy of \u003c\u003cvar;name\u003d\"files\";original\u003d\"this software and associated documentation files\";match\u003d\"this\\s+software\\s+and\\s+associated\\s+documentation\\s+files|this\\s+source\\s+file\"\u003e\u003e (the \" \u003c\u003cvar;name\u003d\"Software1\";original\u003d\"Software\";match\u003d\"Software|Materials\"\u003e\u003e \"), to deal in the \u003c\u003cvar;name\u003d\"Software2\";original\u003d\"Software\";match\u003d\"Software|Materials\"\u003e\u003e without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the \u003c\u003cvar;name\u003d\"Software3\";original\u003d\"Software\";match\u003d\"Software|Materials\"\u003e\u003e , and to permit persons to whom the \u003c\u003cvar;name\u003d\"Software4\";original\u003d\"Software\";match\u003d\"Software|Materials\"\u003e\u003e is furnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice\u003c\u003cbeginOptional\u003e\u003e (including the next paragraph)\u003c\u003cendOptional\u003e\u003e shall be included in all copies or substantial portions of the \u003c\u003cvar;name\u003d\"Software5\";original\u003d\"Software\";match\u003d\"Software|Materials\"\u003e\u003e .\n\nTHE \u003c\u003cvar;name\u003d\"Software-verb\";original\u003d\"SOFTWARE IS\";match\u003d\"SOFTWARE IS|MATERIALS ARE\"\u003e\u003e PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL \u003c\u003cvar;name\u003d\"copyrightHolder\";original\u003d\"THE AUTHORS OR COPYRIGHT HOLDERS\";match\u003d\".+\"\u003e\u003e BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE \u003c\u003cvar;name\u003d\"Software7\";original\u003d\"SOFTWARE\";match\u003d\"SOFTWARE|MATERIALS\"\u003e\u003e OR THE USE OR OTHER DEALINGS IN THE \u003c\u003cvar;name\u003d\"Software8\";original\u003d\"SOFTWARE\";match\u003d\"SOFTWARE|MATERIALS\"\u003e\u003e .\n\n",
6 "name": "MIT License",
7 "licenseId": "MIT",
8 "crossRef": [
9 {
10 "match": "true",
11 "url": "http://opensource.org/licenses/MIT",
12 "isValid": true,
13 "isLive": true,
14 "timestamp": "2026-02-20T20:54:26Z",
15 "isWayBackLink": false,
16 "order": 1
17 },
18 {
19 "match": "N/A",
20 "url": "https://opensource.org/license/mit/",
21 "isValid": true,
22 "isLive": false,
23 "timestamp": "2026-02-20T20:54:26Z",
24 "isWayBackLink": false,
25 "order": 0
26 }
27 ],
28 "seeAlso": [
29 "https://opensource.org/license/mit/",
30 "http://opensource.org/licenses/MIT"
31 ],
32 "isOsiApproved": true,
33 "licenseTextHtml": "\n \u003cdiv class\u003d\"optional-license-text\"\u003e \n \u003cp\u003eMIT License\u003c/p\u003e\n\n \u003c/div\u003e\n \u003cdiv class\u003d\"replaceable-license-text\"\u003e\u003cspan title\u003d\"can be replaced with the pattern .{0,5000}\"\u003e \n \u003cp\u003eCopyright (c) \u0026lt;year\u0026gt; \u0026lt;copyright holders\u0026gt;\n \u003c/p\u003e\n\n \u003c/span\u003e\u003c/div\u003e\n\n \u003cp\u003ePermission is hereby granted, free of charge, to any person obtaining a copy of \n \u003cvar class\u003d\"replaceable-license-text\"\u003e\u003cspan title\u003d\"can be replaced with the pattern this\\s+software\\s+and\\s+associated\\s+documentation\\s+files|this\\s+source\\s+file\"\u003e \n this software and associated documentation files\u003c/span\u003e\u003c/var\u003e (the \n \u0026quot;\u003cvar class\u003d\"replaceable-license-text\"\u003e\u003cspan title\u003d\"can be replaced with the pattern Software|Materials\"\u003e Software\u003c/span\u003e\u003c/var\u003e\u0026quot;), \n to deal in the \n \u003cvar class\u003d\"replaceable-license-text\"\u003e\u003cspan title\u003d\"can be replaced with the pattern Software|Materials\"\u003e Software\u003c/span\u003e\u003c/var\u003e \n without restriction, including without limitation the rights to use, copy, modify, \n merge, publish, distribute, sublicense, and/or sell copies of the \n \u003cvar class\u003d\"replaceable-license-text\"\u003e\u003cspan title\u003d\"can be replaced with the pattern Software|Materials\"\u003e Software\u003c/span\u003e\u003c/var\u003e, \n and to permit persons to whom the \n \u003cvar class\u003d\"replaceable-license-text\"\u003e\u003cspan title\u003d\"can be replaced with the pattern Software|Materials\"\u003e Software\u003c/span\u003e\u003c/var\u003e\n is furnished to do so, subject to the following conditions:\u003c/p\u003e\n\n \u003cp\u003eThe above copyright notice and this permission notice\n \u003cvar class\u003d\"optional-license-text\"\u003e (including the next paragraph)\u003c/var\u003e\n shall be included in all copies or substantial portions of the \n \u003cvar class\u003d\"replaceable-license-text\"\u003e\u003cspan title\u003d\"can be replaced with the pattern Software|Materials\"\u003e Software\u003c/span\u003e\u003c/var\u003e.\u003c/p\u003e\n\n \u003cp\u003eTHE \u003cvar class\u003d\"replaceable-license-text\"\u003e\u003cspan title\u003d\"can be replaced with the pattern SOFTWARE IS|MATERIALS ARE\"\u003e SOFTWARE IS\u003c/span\u003e\u003c/var\u003e \n PROVIDED \u0026quot;AS IS\u0026quot;, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT\n LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND \n NONINFRINGEMENT. IN NO EVENT SHALL \n \u003cvar class\u003d\"replaceable-license-text\"\u003e\u003cspan title\u003d\"can be replaced with the pattern .+\"\u003e THE AUTHORS OR COPYRIGHT HOLDERS\u003c/span\u003e\u003c/var\u003e \n BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, \n TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE\n \u003cvar class\u003d\"replaceable-license-text\"\u003e\u003cspan title\u003d\"can be replaced with the pattern SOFTWARE|MATERIALS\"\u003e SOFTWARE\u003c/span\u003e\u003c/var\u003e \n OR THE USE OR OTHER DEALINGS IN THE\n \u003cvar class\u003d\"replaceable-license-text\"\u003e\u003cspan title\u003d\"can be replaced with the pattern SOFTWARE|MATERIALS\"\u003e SOFTWARE\u003c/span\u003e\u003c/var\u003e.\u003c/p\u003e\n\n "
34 }