dev.npmx.actor.profile

npmx.dev

Documentation

A declaration of an npmx account profile.

main record

A declaration of an npmx account profile.

Record Key literal:self Fixed literal value

Properties

avatar blob Optional

AKA, 'profile picture'

maxSize: 1.0 MB
description string Optional

Free-form profile description text.

maxLength: 2560 bytesmaxGraphemes: 256 graphemes
displayName string Required

No description available.

maxLength: 640 bytesmaxGraphemes: 64 graphemes
website string uri Optional

A valid URI.

View raw schema
{
  "key": "literal:self",
  "type": "record",
  "record": {
    "type": "object",
    "required": [
      "displayName"
    ],
    "properties": {
      "avatar": {
        "type": "blob",
        "accept": [
          "image/png",
          "image/jpeg"
        ],
        "maxSize": 1000000,
        "description": "AKA, 'profile picture'"
      },
      "website": {
        "type": "string",
        "format": "uri"
      },
      "description": {
        "type": "string",
        "maxLength": 2560,
        "description": "Free-form profile description text.",
        "maxGraphemes": 256
      },
      "displayName": {
        "type": "string",
        "maxLength": 640,
        "maxGraphemes": 64
      }
    }
  },
  "description": "A declaration of an npmx account profile."
}

Lexicon Garden

@