{
  "$schema": "https://docs.kanukko.introex.in/schema/kanukko.v1.json",
  "schema_version": 1,
  "product": {
    "id": "internhub",
    "name": "InternHub",
    "description": "Paid internships at Indian startups for students and freshers, updated daily.",
    "homepage": "https://internhub.example.in",
    "categories": ["jobs", "internships"],
    "tags": ["internship", "freshers", "startups", "remote"],
    "regions": ["india"],
    "contact_email": "founder@internhub.example.in"
  },
  "integration": { "type": "rest", "base_url": "https://internhub.example.in/api" },
  "auth": { "type": "none" },
  "actions": [
    {
      "name": "search_internships",
      "title": "Search internships",
      "description": "Search open internships by keyword and city.",
      "input_schema": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "query": { "type": "string", "description": "Role or skill, e.g. data science" },
          "city": { "type": "string" },
          "limit": { "type": "integer", "minimum": 1, "maximum": 50 }
        }
      },
      "example_input": { "query": "data" },
      "read_only": true,
      "rest": { "method": "GET", "path": "/kanukko/search", "query": { "q": "$query", "city": "$city", "limit": "$limit" } },
      "output": {
        "kind": "jobs",
        "items_path": "results",
        "fields": {
          "id": "id",
          "title": "title",
          "company": "company.name",
          "location": "city",
          "url": "apply_url",
          "posted_at": "posted_at",
          "job_type": "type",
          "tags": "skills",
          "summary": { "path": "description", "transform": "strip_html" }
        }
      }
    }
  ],
  "jobs_search": {
    "action": "search_internships",
    "input": { "query": "$query", "city": "$location", "limit": "$limit" },
    "filters_locally": ["job_type"]
  },
  "attribution": "Internships from InternHub"
}
