# tech.transparencia.news.source

> Published by [transparencia.pds.transparencia.tech](https://lexicon.garden/identity/did:plc:top57c5tklg2fjl66hpidi45)

✓ This is the authoritative definition for this NSID.

## Description

A news source (media outlet) that publishes articles tracked by TransparencIA.

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:plc:top57c5tklg2fjl66hpidi45/tech.transparencia.news.source)
- [Documentation](https://lexicon.garden/lexicon/did:plc:top57c5tklg2fjl66hpidi45/tech.transparencia.news.source/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:top57c5tklg2fjl66hpidi45/tech.transparencia.news.source/examples)

## Definitions

### `tech.transparencia.news.source`

**Type**: `record`

Registry entry for a news outlet. One record per source, using a fixed slug as the record key.

**Key**: `any`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `cms` | `string` | No | Content management system used by the outlet (e.g., 'arc_xp', 'wordpress'). |
| `name` | `string` | Yes | Machine-readable slug (e.g., 'el_universal', 'infobae'). |
| `baseUrl` | `string` (uri) | Yes | Base URL of the news outlet's website. |
| `country` | `string` | Yes | ISO 3166-1 alpha-2 country code (e.g., 'MX', 'AR', 'BR'). |
| `logoUrl` | `string` (uri) | No | URL to the outlet's logo image. |
| `feedUrls` | `array` | No | RSS/Atom feed URLs monitored for this source. |
| `language` | `string` | No | ISO 639-1 language code (e.g., 'es', 'pt', 'en'). |
| `createdAt` | `string` (datetime) | Yes | When this source was registered. |
| `description` | `string` | No | Brief description of the outlet, its editorial stance, ownership, etc. |
| `displayName` | `string` | Yes | Human-readable name (e.g., 'El Universal', 'Infobae México'). |

### `tech.transparencia.news.source#feedEntry`

**Type**: `object`

An RSS/Atom feed URL with its category.

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `url` | `string` (uri) | Yes | Feed URL. |
| `category` | `string` | No | Feed category (e.g., 'politica', 'deportes', 'economia'). |

## Raw Schema

```json
{
  "id": "tech.transparencia.news.source",
  "defs": {
    "main": {
      "key": "any",
      "type": "record",
      "record": {
        "type": "object",
        "required": [
          "name",
          "displayName",
          "baseUrl",
          "country",
          "createdAt"
        ],
        "properties": {
          "cms": {
            "type": "string",
            "maxLength": 128,
            "description": "Content management system used by the outlet (e.g., 'arc_xp', 'wordpress')."
          },
          "name": {
            "type": "string",
            "maxLength": 256,
            "description": "Machine-readable slug (e.g., 'el_universal', 'infobae').",
            "maxGraphemes": 64
          },
          "baseUrl": {
            "type": "string",
            "format": "uri",
            "description": "Base URL of the news outlet's website."
          },
          "country": {
            "type": "string",
            "maxLength": 8,
            "description": "ISO 3166-1 alpha-2 country code (e.g., 'MX', 'AR', 'BR')."
          },
          "logoUrl": {
            "type": "string",
            "format": "uri",
            "description": "URL to the outlet's logo image."
          },
          "feedUrls": {
            "type": "array",
            "items": {
              "ref": "#feedEntry",
              "type": "ref"
            },
            "maxLength": 100,
            "description": "RSS/Atom feed URLs monitored for this source."
          },
          "language": {
            "type": "string",
            "maxLength": 8,
            "description": "ISO 639-1 language code (e.g., 'es', 'pt', 'en')."
          },
          "createdAt": {
            "type": "string",
            "format": "datetime",
            "description": "When this source was registered."
          },
          "description": {
            "type": "string",
            "maxLength": 5000,
            "description": "Brief description of the outlet, its editorial stance, ownership, etc.",
            "maxGraphemes": 1000
          },
          "displayName": {
            "type": "string",
            "maxLength": 512,
            "description": "Human-readable name (e.g., 'El Universal', 'Infobae México').",
            "maxGraphemes": 128
          }
        }
      },
      "description": "Registry entry for a news outlet. One record per source, using a fixed slug as the record key."
    },
    "feedEntry": {
      "type": "object",
      "required": [
        "url"
      ],
      "properties": {
        "url": {
          "type": "string",
          "format": "uri",
          "description": "Feed URL."
        },
        "category": {
          "type": "string",
          "maxLength": 256,
          "description": "Feed category (e.g., 'politica', 'deportes', 'economia').",
          "maxGraphemes": 64
        }
      },
      "description": "An RSS/Atom feed URL with its category."
    }
  },
  "$type": "com.atproto.lexicon.schema",
  "lexicon": 1,
  "description": "A news source (media outlet) that publishes articles tracked by TransparencIA."
}
```
