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