{"action":"opened","issue":{"url":"https://api.github.com/repos/npm/npm/issues/10479","labels_url":"https://api.github.com/repos/npm/npm/issues/10479/labels{/name}","comments_url":"https://api.github.com/repos/npm/npm/issues/10479/comments","events_url":"https://api.github.com/repos/npm/npm/issues/10479/events","html_url":"https://github.com/npm/npm/issues/10479","id":117832086,"number":10479,"title":"SPDX and Non SPDX License Support","user":{"login":"scriptjs","id":13335501,"avatar_url":"https://avatars.githubusercontent.com/u/13335501?v=3","gravatar_id":"","url":"https://api.github.com/users/scriptjs","html_url":"https://github.com/scriptjs","followers_url":"https://api.github.com/users/scriptjs/followers","following_url":"https://api.github.com/users/scriptjs/following{/other_user}","gists_url":"https://api.github.com/users/scriptjs/gists{/gist_id}","starred_url":"https://api.github.com/users/scriptjs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/scriptjs/subscriptions","organizations_url":"https://api.github.com/users/scriptjs/orgs","repos_url":"https://api.github.com/users/scriptjs/repos","events_url":"https://api.github.com/users/scriptjs/events{/privacy}","received_events_url":"https://api.github.com/users/scriptjs/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-11-19T15:02:54Z","updated_at":"2015-11-19T15:02:54Z","closed_at":null,"body":"I am opening this issue that was closed while discussion was ongoing for an appropriate solution in #8918. The full discussion is also referenced in #8291, #8557, #8773,  #8795. I urge npm to listen and collaborate for an appropriately considered solution that will work for everyone.\r\n\r\nThe latest solution recommended is as follows that has the following benefits:\r\n\r\n* backwards compatible\r\n* can be validated with SPDX\r\n* is open and inclusive\r\n* may be validated against other possible license databases/registries in future ie. XYZ('Apple Software License')\r\n* the use of \"OR\" may be used consistently on non SPDX licenses\r\n* NPM may emit a warning if it detects SPDX licenses that ought to be enclosed in SPDX().\r\n\r\n**Valid SPDX licenses**\r\n```\r\n\"license\": \"SPDX(MIT)\"\r\n```\r\n```\r\n\"license\":  \"SPDX(ISC OR GPL-3.0)\"\r\n```\r\n\r\n**Non SPDX licenses**\r\n```\r\n\"license\": \"Oculus VR Inc. Software Development Kit License\"\r\n```\r\n```\r\n\"license\": \"Artistic 2.0 OR StrongLoop Subscription Agreement\"\r\n```\r\n\r\n**Possibly Emit Warning**\r\nBackwards compatible but a SPDX License.\r\n```\r\n\"license\": \"MIT\"\r\n```\r\n \r\n\r\n"}}