{
  "openapi": "3.1.0",
  "info": {
    "title": "ערכית (Erkit Pay) Public Discovery & Support API",
    "version": "1.0.0",
    "description": "Public informational endpoints, AI documentation manifests, and support feedback submission for Erkit Pay (https://erkit-pay.com), an Israeli live-in caregiver payroll and final settlement platform.",
    "contact": {
      "name": "ערכית",
      "url": "https://erkit-pay.com/contact",
      "email": "support@erkit-pay.com"
    }
  },
  "servers": [
    {
      "url": "https://erkit-pay.com",
      "description": "Production server"
    }
  ],
  "paths": {
    "/": {
      "get": {
        "operationId": "getHomePage",
        "summary": "Main application entry and overview",
        "responses": {
          "200": {
            "description": "HTML page for Erkit Pay"
          }
        }
      }
    },
    "/about": {
      "get": {
        "operationId": "getAboutPage",
        "summary": "About Erkit Pay",
        "responses": {
          "200": {
            "description": "HTML about page"
          }
        }
      }
    },
    "/contact": {
      "get": {
        "operationId": "getContactPage",
        "summary": "Support email and contact information",
        "responses": {
          "200": {
            "description": "HTML contact page"
          }
        }
      }
    },
    "/privacy": {
      "get": {
        "operationId": "getPrivacyPolicy",
        "summary": "Privacy policy",
        "responses": {
          "200": {
            "description": "HTML privacy policy page"
          }
        }
      }
    },
    "/terms": {
      "get": {
        "operationId": "getTermsOfUse",
        "summary": "Terms of use",
        "responses": {
          "200": {
            "description": "HTML terms of use page"
          }
        }
      }
    },
    "/en": {
      "get": {
        "operationId": "getEnglishHomePage",
        "summary": "Main application entry and overview in English",
        "responses": {
          "200": {
            "description": "English HTML page for Erkit Pay"
          }
        }
      }
    },
    "/en/about": {
      "get": {
        "operationId": "getEnglishAboutPage",
        "summary": "About Erkit Pay (English)",
        "responses": {
          "200": {
            "description": "English HTML about page"
          }
        }
      }
    },
    "/en/contact": {
      "get": {
        "operationId": "getEnglishContactPage",
        "summary": "Support email and contact information (English)",
        "responses": {
          "200": {
            "description": "English HTML contact page"
          }
        }
      }
    },
    "/en/privacy": {
      "get": {
        "operationId": "getEnglishPrivacyPolicy",
        "summary": "Privacy policy (English)",
        "responses": {
          "200": {
            "description": "English HTML privacy policy page"
          }
        }
      }
    },
    "/en/terms": {
      "get": {
        "operationId": "getEnglishTermsOfUse",
        "summary": "Terms of use (English)",
        "responses": {
          "200": {
            "description": "English HTML terms of use page"
          }
        }
      }
    },
    "/llms.txt": {
      "get": {
        "operationId": "getLlmsSummary",
        "summary": "Concise Markdown summary for LLMs and AI assistants",
        "responses": {
          "200": {
            "description": "Plain-text Markdown summary"
          }
        }
      }
    },
    "/llms-full.txt": {
      "get": {
        "operationId": "getLlmsFullReference",
        "summary": "Detailed bilingual reference guide for AI assistants",
        "responses": {
          "200": {
            "description": "Plain-text Markdown reference"
          }
        }
      }
    },
    "/.well-known/erkit-info.json": {
      "get": {
        "operationId": "getErkitInfo",
        "summary": "Machine-readable platform metadata JSON",
        "responses": {
          "200": {
            "description": "JSON metadata document"
          }
        }
      }
    },
    "/api/feedback": {
      "post": {
        "operationId": "submitSupportFeedback",
        "summary": "Submit public support inquiry or product feedback",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": ["message"],
                "properties": {
                  "category": {
                    "type": "string",
                    "maxLength": 60,
                    "description": "Inquiry category label"
                  },
                  "message": {
                    "type": "string",
                    "minLength": 1,
                    "maxLength": 2000,
                    "description": "Feedback or support message body"
                  },
                  "contact": {
                    "type": "string",
                    "maxLength": 120,
                    "description": "Optional reply email or contact note"
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Submission recorded"
          },
          "400": {
            "description": "Missing or invalid message"
          }
        }
      }
    }
  }
}
