{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/stainless/main/json-schema/stainless-user-schema.json",
  "title": "User",
  "x-generated": "2026-10-05",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/stainless-user-api-openapi.yml#/components/schemas/User",
  "type": "object",
  "properties": {
    "object": {
      "type": "string",
      "enum": [
        "user"
      ]
    },
    "id": {
      "type": "string"
    },
    "email": {
      "type": [
        "string",
        "null"
      ]
    },
    "name": {
      "type": [
        "string",
        "null"
      ]
    },
    "github": {
      "type": [
        "object",
        "null"
      ],
      "properties": {
        "username": {
          "type": "string"
        }
      },
      "required": [
        "username"
      ]
    }
  },
  "required": [
    "object",
    "id",
    "email",
    "name",
    "github"
  ]
}