{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/github/main/json-schema/github-code-of-conduct-schema.json",
  "title": "Code Of Conduct",
  "description": "Code Of Conduct",
  "x-generated": "2026-10-03",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/github-codes-of-conduct-api-openapi.yml#/components/schemas/code-of-conduct",
  "type": "object",
  "properties": {
    "key": {
      "type": "string"
    },
    "name": {
      "type": "string"
    },
    "url": {
      "type": "string",
      "format": "uri"
    },
    "body": {
      "type": "string"
    },
    "html_url": {
      "type": [
        "string",
        "null"
      ],
      "format": "uri"
    }
  },
  "required": [
    "url",
    "html_url",
    "key",
    "name"
  ]
}