GitHub · JSON Structure

Github Licenses License Structure

License

Type: object Properties: 13 Required: 13
CodePipelinesPlatformSoftware DevelopmentSource ControlT1

license is a JSON Structure definition published by GitHub, describing 13 properties, of which 13 are required. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

key name spdx_id url node_id html_url description implementation permissions conditions limitations body featured

Meta-schema: https://json-structure.org/meta/core/v0/#

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/github/refs/heads/main/json-structure/github-licenses-license-structure.json",
  "name": "license",
  "description": "License",
  "type": "object",
  "properties": {
    "key": {
      "type": "string",
      "example": "mit"
    },
    "name": {
      "type": "string",
      "example": "MIT License"
    },
    "spdx_id": {
      "type": "string",
      "example": "MIT",
      "nullable": true
    },
    "url": {
      "type": "uri",
      "example": "https://api.github.com/licenses/mit",
      "nullable": true
    },
    "node_id": {
      "type": "string",
      "example": "MDc6TGljZW5zZW1pdA=="
    },
    "html_url": {
      "type": "uri",
      "example": "http://choosealicense.com/licenses/mit/"
    },
    "description": {
      "type": "string",
      "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."
    },
    "implementation": {
      "type": "string",
      "example": "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": {
      "type": "array",
      "example": [
        "commercial-use",
        "modifications",
        "distribution",
        "sublicense",
        "private-use"
      ],
      "items": {
        "type": "string"
      }
    },
    "conditions": {
      "type": "array",
      "example": [
        "include-copyright"
      ],
      "items": {
        "type": "string"
      }
    },
    "limitations": {
      "type": "array",
      "example": [
        "no-liability"
      ],
      "items": {
        "type": "string"
      }
    },
    "body": {
      "type": "string",
      "example": "\n\nThe MIT License (MIT)\n\nCopyright (c) [year] [fullname]\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n"
    },
    "featured": {
      "type": "boolean",
      "example": true
    }
  },
  "required": [
    "key",
    "name",
    "url",
    "spdx_id",
    "node_id",
    "html_url",
    "description",
    "implementation",
    "permissions",
    "conditions",
    "limitations",
    "body",
    "featured"
  ]
}

Work with this as data

Every JSON Structure here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for json structure

4 MCP tools reach this
  • find_json_structuresBrowse and filter every JSON Structure in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Structure
curl "https://apis.io/api/v1/json-structures/github-licenses-license-structure"
All json structure
curl "https://apis.io/api/v1/json-structures?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.