site.mochott.profile

Profile for a mochott publication. Each account has at most one profile, stored with the fixed record key 'self'.

Repository @tokimeki.blue did:plc:4tr5dqti7nmu6g2czpthntak namespace authority
Details · record, key literal:self
Kindrecord
Record keyliteral:self
Authoritymochott.site
Indexed
cid bafyreigq2uwv7dgqneauxgj5gcvvcsz5inveduv4vz4d7pjtrzj5mbworu

Checks

Valid Lint pass
JSONDownload
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Profile for a mochott publication. Each account has at most one profile, stored with the fixed record key 'self'.",
      "key": "literal:self",
      "record": {
        "properties": {
          "backgroundColor": {
            "description": "Background theme color as a CSS color value.",
            "maxLength": 50,
            "type": "string"
          },
          "createdAt": {
            "description": "Timestamp when the publication was created.",
            "format": "datetime",
            "type": "string"
          },
          "description": {
            "description": "Short description of the publication, shown in listings and feeds.",
            "maxGraphemes": 1000,
            "maxLength": 3000,
            "type": "string"
          },
          "icon": {
            "accept": [
              "image/png",
              "image/jpeg",
              "image/webp"
            ],
            "description": "Icon or logo image for the publication.",
            "maxSize": 1000000,
            "type": "blob"
          },
          "name": {
            "description": "Display name of the publication.",
            "maxGraphemes": 100,
            "maxLength": 300,
            "type": "string"
          },
          "primaryColor": {
            "description": "Primary theme color as a CSS color value (e.g. '#3b82f6').",
            "maxLength": 50,
            "type": "string"
          },
          "socialLinks": {
            "description": "Links to the publication's accounts on other services, in display order.",
            "items": {
              "ref": "#socialLink",
              "type": "ref"
            },
            "maxLength": 20,
            "type": "array"
          },
          "standardPublication": {
            "description": "AT URI of the site.standard.publication record the client created together with this profile. Only read when 'via' is set.",
            "format": "at-uri",
            "type": "string"
          },
          "url": {
            "description": "External URL for the publication's website.",
            "format": "uri",
            "type": "string"
          },
          "via": {
            "description": "Identifier of the third-party client that wrote this record (e.g. 'tech.tokimeki'). Set only by clients other than mochott itself; mochott indexes such records from the firehose.",
            "maxLength": 256,
            "type": "string"
          }
        },
        "required": [
          "name",
          "createdAt"
        ],
        "type": "object"
      },
      "type": "record"
    },
    "socialLink": {
      "properties": {
        "label": {
          "description": "The name shown for a 'link'. Ignored for other platforms, which are shown by their service's name.",
          "maxGraphemes": 30,
          "maxLength": 100,
          "type": "string"
        },
        "platform": {
          "description": "The service the link points at. 'link' is a link with its own label and may appear more than once; every other value at most once.",
          "knownValues": [
            "x",
            "instagram",
            "threads",
            "tiktok",
            "youtube",
            "github",
            "note",
            "zenn",
            "qiita",
            "pixiv",
            "niconico",
            "mastodon",
            "misskey",
            "twitch",
            "spotify",
            "soundcloud",
            "bandcamp",
            "kofi",
            "patreon",
            "substack",
            "discord",
            "facebook",
            "website",
            "link"
          ],
          "maxLength": 64,
          "type": "string"
        },
        "uri": {
          "description": "An http(s) URL. Renderers must ignore any other scheme.",
          "format": "uri",
          "maxLength": 2048,
          "type": "string"
        }
      },
      "required": [
        "platform",
        "uri"
      ],
      "type": "object"
    }
  },
  "description": "A publication profile record. Acts as a signaling record indicating the account hosts a mochott publication.",
  "id": "site.mochott.profile",
  "lexicon": 1,
  "revision": 4
}