{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/daily-dev/json-schema/daily-dev-def-12-schema.json",
  "title": "ProfileUpdated",
  "description": "Profile as returned by an update. Carries no streak: it is a Query field, which a GraphQL mutation document cannot select. Read it from GET /profile.",
  "x-generated": "2026-10-30",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/daily-dev-openapi.json#/components/schemas/def-12",
  "type": "object",
  "properties": {
    "id": {
      "type": "string"
    },
    "name": {
      "type": [
        "string",
        "null"
      ]
    },
    "username": {
      "type": [
        "string",
        "null"
      ]
    },
    "bio": {
      "type": [
        "string",
        "null"
      ]
    },
    "readme": {
      "type": [
        "string",
        "null"
      ]
    },
    "readmeHtml": {
      "type": [
        "string",
        "null"
      ]
    },
    "image": {
      "type": [
        "string",
        "null"
      ],
      "format": "uri"
    },
    "cover": {
      "type": [
        "string",
        "null"
      ],
      "format": "uri"
    },
    "createdAt": {
      "type": "string",
      "format": "date-time"
    },
    "reputation": {
      "type": "integer"
    },
    "permalink": {
      "type": "string",
      "format": "uri"
    },
    "isPlus": {
      "type": [
        "boolean",
        "null"
      ]
    },
    "experienceLevel": {
      "type": [
        "string",
        "null"
      ]
    },
    "timezone": {
      "type": [
        "string",
        "null"
      ]
    },
    "socialLinks": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/def-9"
      }
    },
    "location": {
      "$ref": "#/$defs/def-10"
    }
  },
  "$defs": {
    "def-10": {
      "type": [
        "object",
        "null"
      ],
      "properties": {
        "city": {
          "type": [
            "string",
            "null"
          ]
        },
        "country": {
          "type": [
            "string",
            "null"
          ]
        }
      },
      "title": "UserLocation"
    },
    "def-9": {
      "type": "object",
      "properties": {
        "platform": {
          "type": "string"
        },
        "url": {
          "type": "string",
          "format": "uri"
        }
      },
      "title": "SocialLink"
    }
  }
}