radio.4000.profile

The radio of an account: its name, description, image, links, location and colors. One per repo.

Repository @4000.radio did:plc:hd34khf6wifegm23c2u3cv2d namespace authority
Details · record, key literal:self
Kindrecord
Record keyliteral:self
Authority4000.radio
Indexed
cid bafyreieg7z67whh6umu66j4pkixjlktfz3jvncazlini6pctqvqixwpe6a

Checks

Valid
  • unlimited-string defs.theme.properties.modeNo maxLength, maxGraphemes or format limits this string.
JSONDownload
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "geo": {
      "description": "Public, coarse location of the radio (a city, not an address). Decimal degrees as strings, since lexicons have no floats.",
      "properties": {
        "latitude": {
          "maxLength": 16,
          "type": "string"
        },
        "longitude": {
          "maxLength": 16,
          "type": "string"
        }
      },
      "required": [
        "latitude",
        "longitude"
      ],
      "type": "object"
    },
    "main": {
      "description": "The radio of an account: its name, description, image, links, location and colors. One per repo.",
      "key": "literal:self",
      "record": {
        "properties": {
          "createdAt": {
            "format": "datetime",
            "type": "string"
          },
          "description": {
            "maxGraphemes": 2000,
            "maxLength": 20000,
            "type": "string"
          },
          "geo": {
            "ref": "#geo",
            "type": "ref"
          },
          "image": {
            "accept": [
              "image/png",
              "image/jpeg",
              "image/webp"
            ],
            "maxSize": 1000000,
            "type": "blob"
          },
          "links": {
            "description": "Links to elsewhere: a website, other profiles, a shop…",
            "items": {
              "ref": "radio.4000.defs#link",
              "type": "ref"
            },
            "maxLength": 10,
            "type": "array"
          },
          "name": {
            "maxGraphemes": 64,
            "maxLength": 640,
            "type": "string"
          },
          "r4Slug": {
            "description": "Slug of the channel on radio4000.com, when imported from there.",
            "maxLength": 128,
            "type": "string"
          },
          "theme": {
            "ref": "#theme",
            "type": "ref"
          },
          "updatedAt": {
            "format": "datetime",
            "type": "string"
          }
        },
        "required": [
          "createdAt"
        ],
        "type": "object"
      },
      "type": "record"
    },
    "theme": {
      "description": "Colors of the radio, as HSL triplets like '262 83% 58%'.",
      "properties": {
        "darkAccent": {
          "maxLength": 32,
          "type": "string"
        },
        "darkBackground": {
          "maxLength": 32,
          "type": "string"
        },
        "darkForeground": {
          "maxLength": 32,
          "type": "string"
        },
        "lightAccent": {
          "maxLength": 32,
          "type": "string"
        },
        "lightBackground": {
          "maxLength": 32,
          "type": "string"
        },
        "lightForeground": {
          "maxLength": 32,
          "type": "string"
        },
        "mode": {
          "knownValues": [
            "auto",
            "light",
            "dark"
          ],
          "type": "string"
        }
      },
      "type": "object"
    }
  },
  "id": "radio.4000.profile",
  "lexicon": 1
}