GitHub · Example Payload

Github Licenses License Example

A permissive license that is short and to the point. It lets people do anything with your code with proper attribution and without warranty.

CodePipelinesPlatformSoftware DevelopmentSource ControlT1

Github Licenses License Example is an example object payload from GitHub, with 10 top-level fields. It illustrates the shape of data this provider's APIs accept or return.

Top-level fields

keynamespdx_idurlnode_idhtml_urldescriptionimplementationpermissionsconditions

Example Payload

Raw ↑
{
  "key": "mit",
  "name": "MIT License",
  "spdx_id": "MIT",
  "url": "https://api.github.com/licenses/mit",
  "node_id": "MDc6TGljZW5zZW1pdA==",
  "html_url": "http://choosealicense.com/licenses/mit/",
  "description": "A permissive license that is short and to the point. It lets people do anything with your code with proper attribution and without warranty.",
  "implementation": "Create a text file (typically named LICENSE or LICENSE.txt) in the root of your source code and copy the text of the license into the file. Replace [year] with the current year and [fullname] with the name (or names) of the copyright holders.",
  "permissions": [
    "commercial-use",
    "modifications",
    "distribution",
    "sublicense",
    "private-use"
  ],
  "conditions": [
    "include-copyright"
  ]
}