{
  "openapi": "3.1.0",
  "info": {
    "title": "Taknet Public Information API",
    "version": "1.0.0",
    "summary": "Read-only JSON about Taknet Systems (Thailand): company contact data, solution pages and Thai user guides.",
    "description": "Static, read-only, no authentication. Responses are JSON documents served over HTTPS. Data is updated when the website is updated.",
    "contact": {
      "name": "Taknet Systems (Thailand) Co., Ltd.",
      "email": "support@taknet.co.th",
      "url": "https://taknet.co.th/api/"
    },
    "license": {
      "name": "Public information — free to read and cite with attribution",
      "url": "https://taknet.co.th/api/"
    }
  },
  "servers": [
    {
      "url": "https://taknet.co.th/api/v1"
    }
  ],
  "externalDocs": {
    "url": "https://taknet.co.th/api/",
    "description": "API documentation"
  },
  "paths": {
    "/organization.json": {
      "get": {
        "operationId": "getOrganization",
        "summary": "Company profile and contact channels",
        "responses": {
          "200": {
            "description": "Organization",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Organization"
                }
              }
            }
          },
          "404": {
            "description": "Not found"
          }
        },
        "tags": [
          "public"
        ]
      }
    },
    "/solutions.json": {
      "get": {
        "operationId": "listSolutions",
        "summary": "Product lines and solution pages",
        "responses": {
          "200": {
            "description": "Solutions",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "updated",
                    "items"
                  ],
                  "properties": {
                    "updated": {
                      "type": "string",
                      "format": "date"
                    },
                    "items": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "required": [
                          "id",
                          "title",
                          "url",
                          "brand"
                        ],
                        "properties": {
                          "id": {
                            "type": "string"
                          },
                          "title": {
                            "type": "string"
                          },
                          "url": {
                            "type": "string"
                          },
                          "brand": {
                            "type": "string"
                          }
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "Not found"
          }
        },
        "tags": [
          "public"
        ]
      }
    },
    "/guides.json": {
      "get": {
        "operationId": "listGuides",
        "summary": "Thai-language user guides",
        "responses": {
          "200": {
            "description": "Guides",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "updated",
                    "items"
                  ],
                  "properties": {
                    "updated": {
                      "type": "string",
                      "format": "date"
                    },
                    "items": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "required": [
                          "id",
                          "title",
                          "url",
                          "brand",
                          "product",
                          "language"
                        ],
                        "properties": {
                          "id": {
                            "type": "string"
                          },
                          "title": {
                            "type": "string"
                          },
                          "url": {
                            "type": "string"
                          },
                          "brand": {
                            "type": "string"
                          },
                          "product": {
                            "type": "string"
                          },
                          "language": {
                            "type": "string"
                          }
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "Not found"
          }
        },
        "tags": [
          "public"
        ]
      }
    },
    "/health.json": {
      "get": {
        "operationId": "getHealth",
        "summary": "API status",
        "responses": {
          "200": {
            "description": "Status",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "status"
                  ],
                  "properties": {
                    "status": {
                      "type": "string",
                      "enum": [
                        "pass",
                        "warn",
                        "fail"
                      ]
                    },
                    "service": {
                      "type": "string"
                    },
                    "version": {
                      "type": "string"
                    },
                    "updated": {
                      "type": "string",
                      "format": "date"
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "Not found"
          }
        },
        "tags": [
          "public"
        ]
      }
    }
  },
  "components": {
    "schemas": {
      "Organization": {
        "type": "object",
        "required": [
          "name",
          "url",
          "contact"
        ],
        "properties": {
          "name": {
            "type": "string"
          },
          "alternateName": {
            "type": "string"
          },
          "url": {
            "type": "string",
            "format": "uri"
          },
          "description": {
            "type": "string"
          },
          "roles": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "platforms": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "address": {
            "type": "object"
          },
          "contact": {
            "type": "object",
            "properties": {
              "sales": {
                "type": "string",
                "format": "email"
              },
              "support": {
                "type": "string",
                "format": "email"
              },
              "phone": {
                "type": "string"
              },
              "hotline": {
                "type": "string"
              },
              "hours": {
                "type": "object"
              }
            }
          },
          "languages": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "updated": {
            "type": "string",
            "format": "date"
          }
        }
      }
    }
  },
  "security": [],
  "tags": [
    {
      "name": "public",
      "description": "Public read-only data"
    }
  ]
}
