{
  "openapi": "3.1.0",
  "info": {
    "title": "CiteBase Public Read-Only Primary Disclosure API",
    "version": "1.0.0",
    "description": "Machine-readable structured disclosures, AI markdown summaries, RSS updates, and embeddable SVG badges backed by FSA EDINET filings. Undisclosed metrics are strictly null (never hallucinated).",
    "license": {
      "name": "CiteBase Terms & Disclaimer",
      "url": "https://www.citebasedb.com/legal"
    }
  },
  "servers": [
    {
      "url": "https://www.citebasedb.com"
    }
  ],
  "paths": {
    "/llms.txt": {
      "get": {
        "summary": "Root AI crawler directory index",
        "responses": {
          "200": {
            "description": "Markdown directory listing active CiteBase datasets",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "string"
                }
              }
            }
          }
        }
      }
    },
    "/jp-ir/dataset.json": {
      "get": {
        "summary": "Full public JSON dataset for all published entities",
        "responses": {
          "200": {
            "description": "Structured JSON array of entities with provenance URLs",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          }
        }
      }
    },
    "/jp-ir/llms.txt": {
      "get": {
        "summary": "Japanese AI crawler dataset index",
        "responses": {
          "200": {
            "description": "Markdown index with links to entity .md endpoints",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "string"
                }
              }
            }
          }
        }
      }
    },
    "/en/jp-ir/llms.txt": {
      "get": {
        "summary": "English AI crawler dataset index",
        "responses": {
          "200": {
            "description": "English Markdown index with links to /en entity .md endpoints",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "string"
                }
              }
            }
          }
        }
      }
    },
    "/jp-ir/llms-full.txt": {
      "get": {
        "summary": "Single-file complete Japanese Markdown table",
        "responses": {
          "200": {
            "description": "Complete Markdown table of all indexed entities",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "string"
                }
              }
            }
          }
        }
      }
    },
    "/en/jp-ir/llms-full.txt": {
      "get": {
        "summary": "Single-file complete English Markdown table",
        "responses": {
          "200": {
            "description": "Complete English Markdown table of all indexed entities",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "string"
                }
              }
            }
          }
        }
      }
    },
    "/jp-ir/feed.xml": {
      "get": {
        "summary": "RSS 2.0 feed of latest updated entity disclosures",
        "responses": {
          "200": {
            "description": "RSS 2.0 XML document",
            "content": {
              "application/rss+xml": {
                "schema": {
                  "type": "string"
                }
              }
            }
          }
        }
      }
    },
    "/jp-ir/{slug}.md": {
      "get": {
        "summary": "Individual entity structured Markdown record (Japanese)",
        "parameters": [
          {
            "name": "slug",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Structured Markdown entity record with provenance",
            "content": {
              "text/markdown": {
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "404": {
            "description": "Entity not found"
          }
        }
      }
    },
    "/en/jp-ir/{slug}.md": {
      "get": {
        "summary": "Individual entity structured Markdown record (English)",
        "parameters": [
          {
            "name": "slug",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "English structured Markdown entity record with provenance",
            "content": {
              "text/markdown": {
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "404": {
            "description": "Entity not found"
          }
        }
      }
    },
    "/jp-ir/{slug}/badge.svg": {
      "get": {
        "summary": "Embeddable auto-updating SVG KPI badge for blogs & GitHub READMEs",
        "parameters": [
          {
            "name": "slug",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "SVG badge image",
            "content": {
              "image/svg+xml": {
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "404": {
            "description": "Entity not found"
          }
        }
      }
    }
  }
}