{
  "openapi": "3.1.0",
  "info": {
    "title": "Montgomery Signal public API",
    "version": "1.0.0",
    "description": "Read-only directory of source-backed public briefings from Montgomery Signal."
  },
  "servers": [
    {
      "url": "https://montgomery.neighborsignal.com"
    }
  ],
  "paths": {
    "/api/articles.json": {
      "get": {
        "operationId": "listEditionArticles",
        "summary": "List published article briefs",
        "security": [],
        "responses": {
          "200": {
            "description": "Published article directory",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "service",
                    "url",
                    "updatedAt",
                    "articles"
                  ],
                  "properties": {
                    "service": {
                      "type": "string"
                    },
                    "url": {
                      "type": "string",
                      "format": "uri"
                    },
                    "updatedAt": {
                      "type": "string"
                    },
                    "articles": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "required": [
                          "slug",
                          "url",
                          "headline",
                          "summary",
                          "topic",
                          "publishedAt",
                          "sources"
                        ],
                        "properties": {
                          "slug": {
                            "type": "string"
                          },
                          "url": {
                            "type": "string",
                            "format": "uri"
                          },
                          "headline": {
                            "type": "string"
                          },
                          "summary": {
                            "type": "string"
                          },
                          "topic": {
                            "type": "string"
                          },
                          "publishedAt": {
                            "type": "string"
                          },
                          "updatedAt": {
                            "type": "string"
                          },
                          "sources": {
                            "type": "integer",
                            "minimum": 0
                          }
                        }
                      }
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}
