{
 "openapi": "3.1.0",
 "info": {
  "title": "DealDune Gulf AI Hub API",
  "version": "1.0.0",
  "description": "Read-only static JSON: Gulf AI deals, AI agent use cases, Arabic AI tools. Every record has source_url."
 },
 "servers": [
  {
   "url": "https://gulfaideals.com"
  }
 ],
 "paths": {
  "/api/deals.json": {
   "get": {
    "summary": "List deals",
    "operationId": "list_deals",
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "application/json": {
        "schema": {
         "type": "object",
         "properties": {
          "count": {
           "type": "integer"
          },
          "items": {
           "type": "array",
           "items": {
            "type": "object",
            "additionalProperties": true
           }
          }
         }
        }
       }
      }
     }
    }
   }
  },
  "/api/use-cases.json": {
   "get": {
    "summary": "List use cases",
    "operationId": "list_use_cases",
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "application/json": {
        "schema": {
         "type": "object",
         "properties": {
          "count": {
           "type": "integer"
          },
          "items": {
           "type": "array",
           "items": {
            "type": "object",
            "additionalProperties": true
           }
          }
         }
        }
       }
      }
     }
    }
   }
  },
  "/api/tools.json": {
   "get": {
    "summary": "List tools",
    "operationId": "list_tools",
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "application/json": {
        "schema": {
         "type": "object",
         "properties": {
          "count": {
           "type": "integer"
          },
          "items": {
           "type": "array",
           "items": {
            "type": "object",
            "additionalProperties": true
           }
          }
         }
        }
       }
      }
     }
    }
   }
  },
  "/api/deals/{slug}.json": {
   "get": {
    "summary": "Get deal",
    "operationId": "get_deal",
    "parameters": [
     {
      "name": "slug",
      "in": "path",
      "required": true,
      "schema": {
       "type": "string"
      }
     }
    ],
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "application/json": {
        "schema": {
         "type": "object",
         "additionalProperties": true
        }
       }
      }
     },
     "404": {
      "description": "Not found"
     }
    }
   }
  },
  "/api/use-cases/{slug}.json": {
   "get": {
    "summary": "Get use case",
    "operationId": "get_use_case",
    "parameters": [
     {
      "name": "slug",
      "in": "path",
      "required": true,
      "schema": {
       "type": "string"
      }
     }
    ],
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "application/json": {
        "schema": {
         "type": "object",
         "additionalProperties": true
        }
       }
      }
     },
     "404": {
      "description": "Not found"
     }
    }
   }
  },
  "/api/tools/{slug}.json": {
   "get": {
    "summary": "Get tool",
    "operationId": "get_tool",
    "parameters": [
     {
      "name": "slug",
      "in": "path",
      "required": true,
      "schema": {
       "type": "string"
      }
     }
    ],
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "application/json": {
        "schema": {
         "type": "object",
         "additionalProperties": true
        }
       }
      }
     },
     "404": {
      "description": "Not found"
     }
    }
   }
  }
 }
}