# radio.4000.channel

> Published by [4000.radio](https://lexicon.garden/identity/did:plc:hd34khf6wifegm23c2u3cv2d)

✓ This is the authoritative definition for this NSID.

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:plc:hd34khf6wifegm23c2u3cv2d/radio.4000.channel)
- [Documentation](https://lexicon.garden/lexicon/did:plc:hd34khf6wifegm23c2u3cv2d/radio.4000.channel/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:hd34khf6wifegm23c2u3cv2d/radio.4000.channel/examples)

## Definitions

### `radio.4000.channel#geo`

**Type**: `object`

Public, coarse location of the radio (a city, not an address). Decimal degrees as strings, since lexicons have no floats.

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `latitude` | `string` | Yes |  |
| `longitude` | `string` | Yes |  |

### `radio.4000.channel#link`

**Type**: `object`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `title` | `string` | No |  |
| `url` | `string` (uri) | Yes |  |

### `radio.4000.channel`

**Type**: `record`

The radio channel of an account. One per repo.

**Key**: `literal:self`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `createdAt` | `string` (datetime) | Yes |  |
| `description` | `string` | No |  |
| `geo` | `ref` → `#geo` | No |  |
| `image` | `blob` | No |  |
| `links` | `array` | No | Links to elsewhere: a website, other profiles, a shop… |
| `name` | `string` | No |  |
| `r4Slug` | `string` | No | Slug of the channel on radio4000.com, when imported from there. |
| `theme` | `ref` → `#theme` | No |  |
| `updatedAt` | `string` (datetime) | No |  |

### `radio.4000.channel#theme`

**Type**: `object`

Colors of the radio, as HSL triplets like '262 83% 58%'.

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `darkAccent` | `string` | No |  |
| `darkBackground` | `string` | No |  |
| `darkForeground` | `string` | No |  |
| `lightAccent` | `string` | No |  |
| `lightBackground` | `string` | No |  |
| `lightForeground` | `string` | No |  |
| `mode` | `string` | No |  |

## Raw Schema

```json
{
  "$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"
    },
    "link": {
      "properties": {
        "title": {
          "maxGraphemes": 64,
          "maxLength": 640,
          "type": "string"
        },
        "url": {
          "format": "uri",
          "maxLength": 2048,
          "type": "string"
        }
      },
      "required": [
        "url"
      ],
      "type": "object"
    },
    "main": {
      "description": "The radio channel of an account. 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": "#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.channel",
  "lexicon": 1
}
```
