{
  "schema_version": "1.0",
  "service": {
    "name": "Reader",
    "description": "Instant translation magnifier - hover over any text to translate",
    "url": "https://reader.platphormnews.com",
    "version": "1.0.0",
    "status": "active",
    "category": ["accessibility", "translation", "pwa"],
    "publisher": {
      "name": "Platphorm News Network",
      "url": "https://platphormnews.com",
      "email": "api@platphormnews.com"
    }
  },
  "documentation": {
    "llms_txt": "/llms.txt",
    "llms_full": "/llms-full.txt",
    "openapi": "/api/docs",
    "humans": "/"
  },
  "feeds": {
    "rss": "/rss.xml",
    "atom": "/feed.xml",
    "sitemap": "/sitemap.xml"
  },
  "api": {
    "base_url": "https://reader.platphormnews.com/api",
    "version": "v1",
    "authentication": "none",
    "rate_limit": "100/minute",
    "endpoints": [
      {
        "path": "/api/v1/translate",
        "methods": ["GET", "POST"],
        "description": "Translate text between supported languages",
        "request": {
          "content_type": "application/json",
          "body": {
            "text": "string (required, max 1000 chars)",
            "source": "string (optional, auto-detected)",
            "target": "string (required, language code)"
          }
        },
        "response": {
          "translatedText": "string",
          "sourceLanguage": "string",
          "targetLanguage": "string",
          "confidence": "number (0-1)",
          "signLanguage": "object | null",
          "emoji": "object | null"
        }
      },
      {
        "path": "/api/health",
        "methods": ["GET"],
        "description": "Service health check with dependency status",
        "response": {
          "api": "string",
          "version": "string",
          "dependencies": "object"
        }
      },
      {
        "path": "/api/docs",
        "methods": ["GET"],
        "description": "OpenAPI 3.0 specification"
      },
      {
        "path": "/api/v1/network",
        "methods": ["GET"],
        "description": "Platphorm network graph for Reader"
      }
    ]
  },
  "languages": {
    "supported": [
      { "code": "en", "name": "English" },
      { "code": "es", "name": "Español" },
      { "code": "fr", "name": "Français" },
      { "code": "de", "name": "Deutsch" },
      { "code": "pt", "name": "Português" },
      { "code": "zh", "name": "中文" },
      { "code": "ja", "name": "日本語" },
      { "code": "ko", "name": "한국어" },
      { "code": "ar", "name": "العربية" },
      { "code": "hi", "name": "हिन्दी" },
      { "code": "ru", "name": "Русский" },
      { "code": "it", "name": "Italiano" }
    ]
  },
  "integrations": [
    {
      "name": "Universal Sign Language",
      "url": "https://universal-sign-language.platphormnews.com",
      "purpose": "Accessibility symbols",
      "protocol": "REST"
    },
    {
      "name": "Emoji Score",
      "url": "https://emoji.platphormnews.com/api/mcp",
      "purpose": "Contextual emoji",
      "protocol": "MCP"
    },
    {
      "name": "Platphorm Network",
      "url": "https://platphormnews.com/api/network/graph",
      "purpose": "Service discovery",
      "protocol": "REST"
    }
  ],
  "mcp": {
    "compatible": true,
    "registry": "https://mcp.platphormnews.com/api/mcp",
    "tools": [
      {
        "name": "translate_text",
        "description": "Translate text to target language",
        "inputSchema": {
          "type": "object",
          "required": ["text", "target"],
          "properties": {
            "text": { "type": "string", "maxLength": 1000 },
            "source": { "type": "string" },
            "target": { "type": "string" }
          }
        },
        "http": {
          "method": "POST",
          "path": "https://reader.platphormnews.com/api/v1/translate",
          "contentType": "application/json"
        }
      }
    ]
  },
  "pwa": {
    "installable": true,
    "manifest": "/manifest.json",
    "offline": false,
    "share_target": true
  }
}
