{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/github/main/json-schema/github-license-schema.json",
  "title": "License",
  "description": "License",
  "x-generated": "2026-10-03",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/github-licenses-api-openapi.yml#/components/schemas/license",
  "type": "object",
  "properties": {
    "key": {
      "type": "string"
    },
    "name": {
      "type": "string"
    },
    "spdx_id": {
      "type": [
        "string",
        "null"
      ]
    },
    "url": {
      "type": [
        "string",
        "null"
      ],
      "format": "uri"
    },
    "node_id": {
      "type": "string"
    },
    "html_url": {
      "type": "string",
      "format": "uri"
    },
    "description": {
      "type": "string"
    },
    "implementation": {
      "type": "string"
    },
    "permissions": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "conditions": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "limitations": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "body": {
      "type": "string"
    },
    "featured": {
      "type": "boolean"
    }
  },
  "required": [
    "key",
    "name",
    "url",
    "spdx_id",
    "node_id",
    "html_url",
    "description",
    "implementation",
    "permissions",
    "conditions",
    "limitations",
    "body",
    "featured"
  ]
}