tech.transparencia.news.source

transparencia.pds.transparencia.tech

Documentation

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

main record

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

Record Key any Any valid record key

Properties

baseUrl string uri Required

Base URL of the news outlet's website.

cms string Optional

Content management system used by the outlet (e.g., 'arc_xp', 'wordpress').

maxLength: 128 bytes
country string Required

ISO 3166-1 alpha-2 country code (e.g., 'MX', 'AR', 'BR').

maxLength: 8 bytes
createdAt string datetime Required

When this source was registered.

description string Optional

Brief description of the outlet, its editorial stance, ownership, etc.

maxLength: 5000 bytesmaxGraphemes: 1000 graphemes
displayName string Required

Human-readable name (e.g., 'El Universal', 'Infobae México').

maxLength: 512 bytesmaxGraphemes: 128 graphemes
feedUrls array of ref #feedEntry Optional

RSS/Atom feed URLs monitored for this source.

maxLength: 100 items
language string Optional

ISO 639-1 language code (e.g., 'es', 'pt', 'en').

maxLength: 8 bytes
logoUrl string uri Optional

URL to the outlet's logo image.

name string Required

Machine-readable slug (e.g., 'el_universal', 'infobae').

maxLength: 256 bytesmaxGraphemes: 64 graphemes
View raw schema
{
  "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 object

An RSS/Atom feed URL with its category.

Properties

category string Optional

Feed category (e.g., 'politica', 'deportes', 'economia').

maxLength: 256 bytesmaxGraphemes: 64 graphemes
url string uri Required

Feed URL.

View raw schema
{
  "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."
}

Lexicon Garden

@