{
  "openapi": "3.1.0",
  "info": {
    "title": "From Poetry to Data Static API",
    "version": "7.0.0",
    "description": "Static, read-only JSON endpoints for the Persian poetry data atlas. Content language is Persian."
  },
  "servers": [
    {
      "url": "https://frompoetrytodata.vercel.app"
    }
  ],
  "paths": {
    "/api/atlas-summary.json": {
      "get": {
        "summary": "خلاصه اطلس",
        "operationId": "getAtlasSummary",
        "responses": {
          "200": {
            "description": "Atlas summary JSON",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          }
        }
      }
    },
    "/api/published-evidence.json": {
      "get": {
        "summary": "رکوردهای نسخه‌دار شواهد پژوهشی",
        "operationId": "getPublishedEvidence",
        "responses": {
          "200": {
            "description": "Versioned published evidence records",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "schemaVersion",
                    "publicationVersion",
                    "modifiedDate",
                    "items"
                  ],
                  "properties": {
                    "schemaVersion": {
                      "type": "integer",
                      "const": 1
                    },
                    "publicationVersion": {
                      "type": "string"
                    },
                    "modifiedDate": {
                      "type": "string",
                      "format": "date"
                    },
                    "items": {
                      "type": "array",
                      "items": {
                        "type": "object"
                      }
                    }
                  }
                }
              }
            }
          }
        }
      }
    },
    "/api/content-index.json": {
      "get": {
        "summary": "نمایه همه صفحات و موجودیت‌ها",
        "operationId": "getContentIndex",
        "responses": {
          "200": {
            "description": "Versioned content index",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "schemaVersion",
                    "publicationVersion",
                    "modifiedDate",
                    "items"
                  ],
                  "properties": {
                    "schemaVersion": {
                      "type": "integer",
                      "const": 1
                    },
                    "publicationVersion": {
                      "type": "string"
                    },
                    "modifiedDate": {
                      "type": "string",
                      "format": "date"
                    },
                    "items": {
                      "type": "array",
                      "items": {
                        "type": "object"
                      }
                    }
                  }
                }
              }
            }
          }
        }
      }
    },
    "/api/themes.json": {
      "get": {
        "summary": "فهرست مضامین",
        "operationId": "getThemes",
        "responses": {
          "200": {
            "description": "Versioned themes",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "schemaVersion",
                    "publicationVersion",
                    "modifiedDate",
                    "items"
                  ],
                  "properties": {
                    "schemaVersion": {
                      "type": "integer",
                      "const": 1
                    },
                    "publicationVersion": {
                      "type": "string"
                    },
                    "modifiedDate": {
                      "type": "string",
                      "format": "date"
                    },
                    "items": {
                      "type": "array",
                      "items": {
                        "type": "object"
                      }
                    }
                  }
                }
              }
            }
          }
        }
      }
    },
    "/api/metaphors.json": {
      "get": {
        "summary": "فهرست خانواده‌های استعاری",
        "operationId": "getMetaphors",
        "responses": {
          "200": {
            "description": "Versioned metaphors",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "schemaVersion",
                    "publicationVersion",
                    "modifiedDate",
                    "items"
                  ],
                  "properties": {
                    "schemaVersion": {
                      "type": "integer",
                      "const": 1
                    },
                    "publicationVersion": {
                      "type": "string"
                    },
                    "modifiedDate": {
                      "type": "string",
                      "format": "date"
                    },
                    "items": {
                      "type": "array",
                      "items": {
                        "type": "object"
                      }
                    }
                  }
                }
              }
            }
          }
        }
      }
    },
    "/api/centuries.json": {
      "get": {
        "summary": "فهرست سده‌ها",
        "operationId": "getCenturies",
        "responses": {
          "200": {
            "description": "Versioned centuries",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "schemaVersion",
                    "publicationVersion",
                    "modifiedDate",
                    "items"
                  ],
                  "properties": {
                    "schemaVersion": {
                      "type": "integer",
                      "const": 1
                    },
                    "publicationVersion": {
                      "type": "string"
                    },
                    "modifiedDate": {
                      "type": "string",
                      "format": "date"
                    },
                    "items": {
                      "type": "array",
                      "items": {
                        "type": "object"
                      }
                    }
                  }
                }
              }
            }
          }
        }
      }
    },
    "/api/poets.json": {
      "get": {
        "summary": "فهرست شاعران",
        "operationId": "getPoets",
        "responses": {
          "200": {
            "description": "Versioned poets",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "schemaVersion",
                    "publicationVersion",
                    "modifiedDate",
                    "items"
                  ],
                  "properties": {
                    "schemaVersion": {
                      "type": "integer",
                      "const": 1
                    },
                    "publicationVersion": {
                      "type": "string"
                    },
                    "modifiedDate": {
                      "type": "string",
                      "format": "date"
                    },
                    "items": {
                      "type": "array",
                      "items": {
                        "type": "object"
                      }
                    }
                  }
                }
              }
            }
          }
        }
      }
    },
    "/api/forms.json": {
      "get": {
        "summary": "مقایسه غزل، قصیده، رباعی و مثنوی",
        "operationId": "getPoetryForms",
        "responses": {
          "200": {
            "description": "Poetry form comparison",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          }
        }
      }
    },
    "/api/geography.json": {
      "get": {
        "summary": "جغرافیا و جابه‌جایی شاعران",
        "operationId": "getPoetryGeography",
        "responses": {
          "200": {
            "description": "Poet geography and mobility",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          }
        }
      }
    },
    "/api/lexical-life.json": {
      "get": {
        "summary": "چرخه عمر و نیمه‌عمر واژگان",
        "operationId": "getLexicalLifecycle",
        "responses": {
          "200": {
            "description": "Lexical lifecycle research",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          }
        }
      }
    },
    "/api/attribution.json": {
      "get": {
        "summary": "ممیزی انتساب شعر و کیفیت پیکره",
        "operationId": "getPoetryAttribution",
        "responses": {
          "200": {
            "description": "Poetry attribution research triage",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          }
        }
      }
    },
    "/api/public-questions.json": {
      "get": {
        "summary": "ده پرسش عمومی درباره شعر فارسی",
        "operationId": "getPublicPoetryQuestions",
        "responses": {
          "200": {
            "description": "Public-facing corpus questions and results",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          }
        }
      }
    },
    "/api/computational-aesthetics.json": {
      "get": {
        "summary": "زیبایی‌شناسی محاسباتی و ده بیت منتخب هر شاعر",
        "operationId": "getComputationalAesthetics",
        "responses": {
          "200": {
            "description": "Computational aesthetics records and canonical poet profiles",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          }
        }
      }
    },
    "/api/knowledge-graph.json": {
      "get": {
        "summary": "گراف دانش Schema.org",
        "operationId": "getKnowledgeGraph",
        "responses": {
          "200": {
            "description": "Knowledge graph",
            "content": {
              "application/ld+json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          }
        }
      }
    }
  }
}