{
  "openapi": "3.0.3",
  "info": {
    "title": "TShirt MassIndia Public Knowledge API",
    "description": "Read-only API and static resources for private-label T-shirt manufacturing knowledge. Commercial details remain project-dependent.",
    "version": "1.1.0",
    "contact": {
      "name": "Mirthuni Apparel Sourcing Service",
      "url": "https://tshirt.massindia.in/contact/",
      "email": "info@massindia.in"
    }
  },
  "servers": [
    {
      "url": "https://tshirt.massindia.in"
    }
  ],
  "paths": {
    "/wp-json/tshirt-agent/v1/a2a": {
      "get": {
        "operationId": "getTshirtAgentStatus",
        "summary": "Get public agent status and resources",
        "responses": {
          "200": {
            "description": "Agent status",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          }
        }
      },
      "post": {
        "operationId": "queryTshirtKnowledgeResources",
        "summary": "Route a public T-shirt manufacturing question to verified resources",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "jsonrpc": {
                    "type": "string",
                    "example": "2.0"
                  },
                  "id": {},
                  "method": {
                    "type": "string",
                    "example": "message/send"
                  },
                  "query": {
                    "type": "string"
                  },
                  "params": {
                    "type": "object",
                    "additionalProperties": true
                  }
                },
                "additionalProperties": true
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Resource-routing result",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "description": "Missing or invalid query"
          }
        }
      },
      "options": {
        "operationId": "getTshirtAgentOptions",
        "summary": "Get allowed methods and CORS response",
        "responses": {
          "204": {
            "description": "No content"
          }
        }
      }
    },
    "/llms.txt": {
      "get": {
        "operationId": "getLlmSummary",
        "summary": "Get concise LLM-readable T-shirt manufacturing context",
        "responses": {
          "200": {
            "description": "LLM summary",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "string"
                }
              }
            }
          }
        }
      }
    },
    "/llms-full.txt": {
      "get": {
        "operationId": "getExpandedLlmKnowledge",
        "summary": "Get expanded T-shirt manufacturing knowledge",
        "responses": {
          "200": {
            "description": "Expanded LLM knowledge",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "string"
                }
              }
            }
          }
        }
      }
    },
    "/ai.txt": {
      "get": {
        "operationId": "getAiManifest",
        "summary": "Get the AI discovery manifest",
        "responses": {
          "200": {
            "description": "AI manifest",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "string"
                }
              }
            }
          }
        }
      }
    },
    "/facts.jsonld": {
      "get": {
        "operationId": "getStructuredFacts",
        "summary": "Get structured T-shirt manufacturing facts",
        "responses": {
          "200": {
            "description": "JSON-LD facts",
            "content": {
              "application/ld+json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          }
        }
      }
    },
    "/.well-known/agent-card.json": {
      "get": {
        "operationId": "getCanonicalAgentCard",
        "summary": "Get the canonical A2A Agent Card",
        "responses": {
          "200": {
            "description": "Agent Card",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          }
        }
      }
    },
    "/.well-known/api-catalog.json": {
      "get": {
        "operationId": "getApiCatalog",
        "summary": "Get the public API catalog",
        "responses": {
          "200": {
            "description": "API catalog",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          }
        }
      }
    },
    "/.well-known/agent-skills/index.json": {
      "get": {
        "operationId": "getAgentSkills",
        "summary": "Get the public agent skills catalog",
        "responses": {
          "200": {
            "description": "Skills catalog",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          }
        }
      }
    }
  }
}
