DEV Community · Schema

MyUser

The representation of a user when accessed by themselves

Developer CommunityArticlesBloggingSocialContentOpen Source

Properties

Name Type Description
type_of string
id integer
username string
name string
summary string
twitter_username string
github_username string
email string Email (if user allows displaying email on their profile) or nil
website_url string
location string
joined_at string
profile_image string
badge_ids array ids of the badges awarded to the user
followers_count integer
View JSON Schema on GitHub

JSON Schema

myuser.json Raw ↑
{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "title": "MyUser",
  "description": "The representation of a user when accessed by themselves",
  "type": "object",
  "properties": {
    "type_of": {
      "type": "string"
    },
    "id": {
      "type": "integer",
      "format": "int64"
    },
    "username": {
      "type": "string"
    },
    "name": {
      "type": "string"
    },
    "summary": {
      "type": "string",
      "nullable": true
    },
    "twitter_username": {
      "type": "string"
    },
    "github_username": {
      "type": "string"
    },
    "email": {
      "type": "string",
      "nullable": true,
      "description": "Email (if user allows displaying email on their profile) or nil"
    },
    "website_url": {
      "type": "string",
      "nullable": true
    },
    "location": {
      "type": "string",
      "nullable": true
    },
    "joined_at": {
      "type": "string"
    },
    "profile_image": {
      "type": "string"
    },
    "badge_ids": {
      "type": "array",
      "items": {
        "type": "integer"
      },
      "description": "ids of the badges awarded to the user"
    },
    "followers_count": {
      "type": "integer"
    }
  }
}