{
  "openapi": "3.0.0",
  "info": {
    "title": "Nomadic API",
    "description": "APIs for frontend development",
    "version": "1.0.0"
  },
  "paths": {
    "/api/login": {
      "post": {
        "tags": ["Authentication"],
        "summary": "User Login",
        "operationId": "222b2625838e3c57e017987f73598fda",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "required": ["email", "password"],
                "properties": {
                  "email": {
                    "type": "string",
                    "format": "email",
                    "example": "user@example.com"
                  },
                  "password": {
                    "type": "string",
                    "format": "password",
                    "example": "password123"
                  }
                },
                "type": "object"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful login",
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "status": {
                      "type": "boolean",
                      "example": true
                    },
                    "token": {
                      "type": "string",
                      "example": "jwt_token_here"
                    },
                    "user": {
                      "properties": {
                        "uuid": {
                          "type": "string",
                          "example": "123e4567-e89b-12d3-a456-426614174000"
                        },
                        "fname": {
                          "type": "string",
                          "example": "John"
                        },
                        "lname": {
                          "type": "string",
                          "example": "Doe"
                        },
                        "email": {
                          "type": "string",
                          "example": "user@example.com"
                        },
                        "role": {
                          "type": "string",
                          "example": "admin"
                        }
                      },
                      "type": "object"
                    },
                    "expires_in": {
                      "type": "integer",
                      "example": 3600
                    }
                  },
                  "type": "object"
                }
              }
            }
          },
          "401": {
            "description": "Invalid credentials",
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "type": "string",
                      "example": "Invalid credentials"
                    }
                  },
                  "type": "object"
                }
              }
            }
          }
        }
      }
    },
    "/api/send-otp": {
      "post": {
        "tags": ["Authentication"],
        "summary": "Send OTP to mobile number",
        "operationId": "fcec3024a193d9925132103e50ce4f45",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "required": ["mobile_number"],
                "properties": {
                  "mobile_number": {
                    "type": "string",
                    "example": "9876543210"
                  }
                },
                "type": "object"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OTP sent successfully",
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "status": {
                      "type": "boolean",
                      "example": true
                    },
                    "message": {
                      "type": "string",
                      "example": "OTP sent successfully."
                    }
                  },
                  "type": "object"
                }
              }
            }
          },
          "422": {
            "description": "Validation error or server error",
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "status": {
                      "type": "boolean",
                      "example": false
                    },
                    "error": {
                      "type": "string",
                      "example": "The mobile number field is required."
                    }
                  },
                  "type": "object"
                }
              }
            }
          }
        }
      }
    },
    "/api/verify-otp": {
      "post": {
        "tags": ["Authentication"],
        "summary": "Verify OTP for login, signup or reset password",
        "operationId": "7dfc5833012ba49644bc48df3565b285",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "required": ["request_type", "otp_number", "mobile_number"],
                "properties": {
                  "request_type": {
                    "type": "string",
                    "enum": ["login", "signup", "reset-password"],
                    "example": "login"
                  },
                  "otp_number": {
                    "type": "string",
                    "example": "123456"
                  },
                  "mobile_number": {
                    "type": "string",
                    "example": "9876543210"
                  },
                  "fname": {
                    "description": "Required only for signup",
                    "type": "string",
                    "example": "John"
                  },
                  "lname": {
                    "description": "Required only for signup",
                    "type": "string",
                    "example": "Doe"
                  },
                  "email": {
                    "description": "Required only for signup",
                    "type": "string",
                    "example": "john@example.com"
                  },
                  "plan": {
                    "description": "Required only for signup",
                    "type": "string",
                    "example": "basic"
                  },
                  "addon_services": {
                    "description": "Optional for signup",
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  },
                  "password": {
                    "description": "Required only for reset-password",
                    "type": "string",
                    "example": "newPassword123"
                  },
                  "confirm_password": {
                    "description": "Required only for reset-password, must match password",
                    "type": "string",
                    "example": "newPassword123"
                  }
                },
                "type": "object"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OTP verified successfully",
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "status": {
                      "type": "boolean",
                      "example": true
                    },
                    "token": {
                      "description": "Returned only for login",
                      "type": "string",
                      "example": "jwt_token_here"
                    },
                    "user": {
                      "description": "Returned only for login",
                      "properties": {
                        "uuid": {
                          "type": "string",
                          "example": "06238d85-b98e-4ee2-8944-17cb87274117"
                        },
                        "fname": {
                          "type": "string",
                          "example": "John"
                        },
                        "lname": {
                          "type": "string",
                          "example": "Doe"
                        },
                        "email": {
                          "type": "string",
                          "example": "john@example.com"
                        },
                        "role": {
                          "type": "string",
                          "example": "guest"
                        }
                      },
                      "type": "object"
                    },
                    "uuid": {
                      "description": "Returned only for signup",
                      "type": "string",
                      "example": "06238d85-b98e-4ee2-8944-17cb87274117"
                    },
                    "message": {
                      "description": "Returned only for reset-password",
                      "type": "string",
                      "example": "Password reset successfully."
                    }
                  },
                  "type": "object"
                }
              }
            }
          },
          "422": {
            "description": "Validation error or OTP invalid",
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "status": {
                      "type": "boolean",
                      "example": false
                    },
                    "error": {
                      "type": "string",
                      "example": "The otp_number field is required."
                    }
                  },
                  "type": "object"
                }
              }
            }
          }
        }
      }
    },
    "/api/save-profile-picture": {
      "post": {
        "tags": ["User"],
        "summary": "Upload or update user's profile picture",
        "operationId": "80c8b7f3a797335329dd0c5c342f9d5e",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "required": ["uuid", "image"],
                "properties": {
                  "uuid": {
                    "description": "Unique user identifier",
                    "type": "string",
                    "example": "06238d85-b98e-4ee2-8944-17cb87274117"
                  },
                  "image": {
                    "description": "Base64 encoded image string",
                    "type": "string",
                    "format": "byte",
                    "example": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAA..."
                  }
                },
                "type": "object"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Profile picture saved successfully",
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "status": {
                      "type": "boolean",
                      "example": true
                    },
                    "success": {
                      "type": "string",
                      "example": "1696609800.png"
                    }
                  },
                  "type": "object"
                }
              }
            }
          },
          "422": {
            "description": "Validation or server error",
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "status": {
                      "type": "boolean",
                      "example": false
                    },
                    "error": {
                      "oneOf": [
                        {
                          "type": "object",
                          "example": {
                            "uuid": ["The uuid field is required."],
                            "image": ["The image field is required."]
                          }
                        },
                        {
                          "type": "string",
                          "example": "Technical error."
                        }
                      ]
                    }
                  },
                  "type": "object"
                }
              }
            }
          }
        }
      }
    },
    "/api/additional-info-save": {
      "post": {
        "tags": ["User"],
        "summary": "Save additional user information",
        "operationId": "092f22d660137c3aa9f4c1e72d698064",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "required": ["uuid", "home_city"],
                "properties": {
                  "uuid": {
                    "type": "string",
                    "example": "06238d85-b98e-4ee2-8944-17cb87274117"
                  },
                  "home_city": {
                    "type": "string",
                    "example": "Bali"
                  },
                  "creator_interest": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    },
                    "example": ["Music", "Photography"]
                  },
                  "profile_link": {
                    "type": "string",
                    "example": "https://nomadics.com/sudhir"
                  },
                  "instagram_link": {
                    "type": "string",
                    "example": "https://instagram.com/sudhir"
                  },
                  "facebook_link": {
                    "type": "string",
                    "example": "https://facebook.com/sudhir"
                  },
                  "twitter_link": {
                    "type": "string",
                    "example": "https://twitter.com/sudhir"
                  },
                  "sm_link": {
                    "type": "string",
                    "example": "https://socialmedia.com/sudhir"
                  },
                  "referred_by": {
                    "type": "string",
                    "example": "john_doe"
                  }
                },
                "type": "object"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "User information saved successfully",
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "status": {
                      "type": "boolean",
                      "example": true
                    }
                  },
                  "type": "object"
                }
              }
            }
          },
          "422": {
            "description": "Validation error or server error",
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "status": {
                      "type": "boolean",
                      "example": false
                    },
                    "error": {
                      "oneOf": [
                        {
                          "type": "object",
                          "example": {
                            "uuid": ["The uuid field is required."],
                            "home_city": ["The home city field is required."]
                          }
                        },
                        {
                          "type": "string",
                          "example": "Technical error."
                        }
                      ]
                    }
                  },
                  "type": "object"
                }
              }
            }
          }
        }
      }
    },
    "/api/logout": {
      "post": {
        "tags": ["Authentication"],
        "summary": "Logout user and invalidate JWT token",
        "operationId": "ad65cbbd4e9f201619eae184a5961a98",
        "responses": {
          "200": {
            "description": "Successfully logged out",
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "status": {
                      "type": "boolean",
                      "example": true
                    },
                    "message": {
                      "type": "string",
                      "example": "Successfully logged out"
                    }
                  },
                  "type": "object"
                }
              }
            }
          },
          "422": {
            "description": "Failed to logout, token invalid or other error",
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "status": {
                      "type": "boolean",
                      "example": false
                    },
                    "error": {
                      "type": "string",
                      "example": "Failed to logout, token invalid."
                    }
                  },
                  "type": "object"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ]
      }
    },
    "/api/forgot-password": {
      "post": {
        "tags": ["Authentication"],
        "summary": "Send OTP to user mobile for password reset",
        "operationId": "20d78161b19ac6afb56924e74974ec46",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "required": ["email"],
                "properties": {
                  "email": {
                    "type": "string",
                    "format": "email",
                    "example": "john@example.com"
                  }
                },
                "type": "object"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OTP sent successfully",
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "status": {
                      "type": "boolean",
                      "example": true
                    },
                    "message": {
                      "type": "string",
                      "example": "OTP sent successfully to 9876543210"
                    },
                    "otp": {
                      "description": "Returned for testing purposes only, normally not returned in production",
                      "type": "string",
                      "example": "123456"
                    }
                  },
                  "type": "object"
                }
              }
            }
          },
          "422": {
            "description": "Validation error or server error",
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "status": {
                      "type": "boolean",
                      "example": false
                    },
                    "error": {
                      "type": "string",
                      "example": "The email field is required."
                    }
                  },
                  "type": "object"
                }
              }
            }
          }
        }
      }
    },
    "/api/locations": {
      "get": {
        "tags": ["Locations"],
        "summary": "Get list of available locations with banner and description",
        "operationId": "d102679a1a54322e12f64048db010504",
        "responses": {
          "200": {
            "description": "List of locations retrieved successfully",
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "status": {
                      "type": "boolean",
                      "example": true
                    },
                    "data": {
                      "type": "array",
                      "items": {
                        "properties": {
                          "id": {
                            "type": "integer",
                            "example": 1
                          },
                          "location": {
                            "type": "string",
                            "example": "Mumbai"
                          },
                          "type": {
                            "type": "string",
                            "example": "City"
                          },
                          "coming_soon": {
                            "type": "boolean",
                            "example": false
                          },
                          "banner_picture": {
                            "type": "string",
                            "example": "https://example.com/storage/location/banner.jpg"
                          },
                          "description": {
                            "type": "string",
                            "example": "Welcome to Mumbai"
                          }
                        },
                        "type": "object"
                      }
                    }
                  },
                  "type": "object"
                }
              }
            }
          },
          "422": {
            "description": "Error occurred",
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "status": {
                      "type": "boolean",
                      "example": false
                    },
                    "error": {
                      "type": "string",
                      "example": "Token invalid or unexpected error"
                    }
                  },
                  "type": "object"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ]
      }
    },
    "/api/location/{slug}": {
      "get": {
        "tags": ["Location"],
        "summary": "Get location details by slug",
        "description": "Fetches detailed information about a specific location, including studios, crew members, filters, and events.",
        "operationId": "36056e26c5ef222a9afa0cc7ce556df9",
        "parameters": [
          {
            "name": "slug",
            "in": "path",
            "description": "The slug identifier for the location (e.g. bali, goa)",
            "required": true,
            "schema": {
              "type": "string",
              "example": "bali"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Location details retrieved successfully",
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "status": {
                      "type": "boolean",
                      "example": true
                    },
                    "data": {
                      "properties": {
                        "id": {
                          "type": "integer",
                          "example": 1
                        },
                        "location": {
                          "type": "string",
                          "example": "Bali"
                        },
                        "type": {
                          "type": "string",
                          "example": "city"
                        },
                        "coming_soon": {
                          "type": "boolean",
                          "example": false
                        },
                        "banner_picture": {
                          "type": "string",
                          "example": "https://example.com/storage/location/banner.jpg"
                        },
                        "description": {
                          "type": "string",
                          "example": "Nomadic Bali - A creative hub for artists and creators."
                        },
                        "our_crew": {
                          "type": "string",
                          "example": "Our team of creative professionals..."
                        },
                        "address": {
                          "type": "string",
                          "example": "123 Creative Street, Bali"
                        },
                        "opening_hours": {
                          "type": "string",
                          "example": "Mon–Sat: 9 AM – 6 PM"
                        },
                        "phone": {
                          "type": "string",
                          "example": "+62 812 3456 7890"
                        },
                        "email": {
                          "type": "string",
                          "example": "contact@nomadics.com"
                        },
                        "additional_info": {
                          "type": "string",
                          "example": "Directions and parking information."
                        },
                        "studios": {
                          "type": "array",
                          "items": {
                            "properties": {
                              "id": {
                                "type": "integer",
                                "example": 2
                              },
                              "title": {
                                "type": "string",
                                "example": "Studio One"
                              },
                              "image": {
                                "type": "string",
                                "example": "https://example.com/storage/location/studio1.jpg"
                              }
                            },
                            "type": "object"
                          }
                        },
                        "resources": {
                          "type": "array",
                          "items": {
                            "properties": {
                              "uuid": {
                                "type": "string",
                                "example": "a12b34c5-d67e-89f0-g12h-3456ijklmnop"
                              },
                              "photo": {
                                "type": "string",
                                "example": "https://example.com/storage/profile-pic/photo.jpg"
                              },
                              "name": {
                                "type": "string",
                                "example": "Jane"
                              },
                              "surname": {
                                "type": "string",
                                "example": "Doe"
                              },
                              "role": {
                                "type": "string",
                                "example": "Sound Engineer"
                              },
                              "href": {
                                "type": "string",
                                "example": "/profile/a12b34c5-d67e-89f0-g12h-3456ijklmnop"
                              },
                              "location": {
                                "type": "string",
                                "example": "Bali"
                              }
                            },
                            "type": "object"
                          }
                        },
                        "filters": {
                          "properties": {
                            "locations": {
                              "type": "array",
                              "items": {
                                "type": "string",
                                "example": "Bali"
                              }
                            },
                            "roles": {
                              "type": "array",
                              "items": {
                                "type": "string",
                                "example": "Photographer"
                              }
                            }
                          },
                          "type": "object"
                        },
                        "events": {
                          "type": "array",
                          "items": {
                            "properties": {
                              "id": {
                                "type": "integer",
                                "example": 5
                              },
                              "image": {
                                "type": "string",
                                "example": "https://example.com/storage/location/events/event1.jpg"
                              },
                              "event_date": {
                                "type": "string",
                                "example": "2025-10-20"
                              },
                              "event_time": {
                                "type": "string",
                                "example": "18:00:00"
                              },
                              "title": {
                                "type": "string",
                                "example": "Music Jam Night"
                              },
                              "href": {
                                "type": "string",
                                "example": "/event/5"
                              },
                              "date": {
                                "properties": {
                                  "day": {
                                    "type": "string",
                                    "example": "20"
                                  },
                                  "month": {
                                    "type": "string",
                                    "example": "10"
                                  }
                                },
                                "type": "object"
                              },
                              "time": {
                                "type": "string",
                                "example": "06:00 PM"
                              }
                            },
                            "type": "object"
                          }
                        }
                      },
                      "type": "object"
                    }
                  },
                  "type": "object"
                }
              }
            }
          },
          "404": {
            "description": "Location not found",
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "status": {
                      "type": "boolean",
                      "example": false
                    },
                    "error": {
                      "type": "string",
                      "example": "Location not found."
                    }
                  },
                  "type": "object"
                }
              }
            }
          }
        }
      }
    },
    "/api/studios/{location_id}": {
      "get": {
        "tags": ["Studios"],
        "summary": "Get list of studios by location",
        "description": "Returns all studios associated with a specific location ID along with their type, banner, and description.",
        "operationId": "7f630055bf8632622b693f45e3b2e372",
        "parameters": [
          {
            "name": "location_id",
            "in": "path",
            "description": "ID of the location",
            "required": true,
            "schema": {
              "type": "integer",
              "example": 5
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Studios fetched successfully",
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "status": {
                      "type": "boolean",
                      "example": true
                    },
                    "data": {
                      "type": "array",
                      "items": {
                        "properties": {
                          "id": {
                            "type": "integer",
                            "example": 101
                          },
                          "name": {
                            "type": "string",
                            "example": "Studio A"
                          },
                          "studio_type": {
                            "type": "string",
                            "example": "Podcast"
                          },
                          "banner_picture": {
                            "type": "string",
                            "example": "https://example.com/storage/studio/banner.jpg"
                          },
                          "description": {
                            "type": "string",
                            "example": "Studio A is equipped with modern audio tools."
                          }
                        },
                        "type": "object"
                      }
                    }
                  },
                  "type": "object"
                }
              }
            }
          },
          "422": {
            "description": "Error occurred while fetching studios",
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "status": {
                      "type": "boolean",
                      "example": false
                    },
                    "error": {
                      "type": "string",
                      "example": "Something went wrong"
                    }
                  },
                  "type": "object"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ]
      }
    },
    "/api/peoples": {
      "get": {
        "tags": ["People"],
        "summary": "Get list of all resource people",
        "description": "Returns a list of resource people including name, profile image, type, location, and social media links.",
        "operationId": "9523062027e0448784c193aeef274168",
        "responses": {
          "200": {
            "description": "People fetched successfully",
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "status": {
                      "type": "boolean",
                      "example": true
                    },
                    "data": {
                      "type": "array",
                      "items": {
                        "properties": {
                          "uuid": {
                            "type": "string",
                            "example": "a4d53e3a-1b2d-4cbb-8430-9c7b193df8af"
                          },
                          "fname": {
                            "type": "string",
                            "example": "John"
                          },
                          "lname": {
                            "type": "string",
                            "example": "Doe"
                          },
                          "profile_pic": {
                            "type": "string",
                            "example": "https://example.com/storage/profile-pic/john.jpg"
                          },
                          "type": {
                            "type": "string",
                            "example": "Photographer"
                          },
                          "location": {
                            "type": "string",
                            "example": "Bangalore"
                          },
                          "profile_link": {
                            "type": "string",
                            "example": "https://example.com/johndoe"
                          },
                          "instagram_link": {
                            "type": "string",
                            "example": "https://instagram.com/johndoe"
                          },
                          "facebook_link": {
                            "type": "string",
                            "example": "https://facebook.com/johndoe"
                          },
                          "twitter_link": {
                            "type": "string",
                            "example": "https://twitter.com/johndoe"
                          },
                          "sm_link": {
                            "type": "string",
                            "example": "https://someothersocial.com/johndoe"
                          },
                          "description": {
                            "type": "string",
                            "example": "John is a professional photographer with 10 years of experience."
                          }
                        },
                        "type": "object"
                      }
                    }
                  },
                  "type": "object"
                }
              }
            }
          },
          "422": {
            "description": "Error occurred while fetching people",
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "status": {
                      "type": "boolean",
                      "example": false
                    },
                    "error": {
                      "type": "string",
                      "example": "Something went wrong"
                    }
                  },
                  "type": "object"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ]
      }
    },
    "/api/events": {
      "get": {
        "tags": ["Events"],
        "summary": "Get list of active events",
        "description": "Returns a list of events with optional filters for date and location. Also includes interested and going counts.",
        "operationId": "abd064ca1834745d7eb2b33624f222a5",
        "parameters": [
          {
            "name": "filterDate",
            "in": "query",
            "description": "Filter events by date (YYYY-MM-DD)",
            "required": false,
            "schema": {
              "type": "string",
              "format": "date",
              "example": "2025-07-19"
            }
          },
          {
            "name": "filterLocation",
            "in": "query",
            "description": "Filter events by location ID",
            "required": false,
            "schema": {
              "type": "integer",
              "example": 3
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Events retrieved successfully",
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "status": {
                      "type": "boolean",
                      "example": true
                    },
                    "data": {
                      "type": "array",
                      "items": {
                        "properties": {
                          "id": {
                            "type": "integer",
                            "example": 1
                          },
                          "title": {
                            "type": "string",
                            "example": "Music Night"
                          },
                          "description": {
                            "type": "string",
                            "example": "An exciting night of music and fun."
                          },
                          "thumbnail": {
                            "type": "string",
                            "example": "https://example.com/storage/location/event/event.jpg"
                          },
                          "event_status": {
                            "type": "integer",
                            "example": 1
                          },
                          "interested_count": {
                            "type": "integer",
                            "example": 50
                          },
                          "going_count": {
                            "type": "integer",
                            "example": 30
                          },
                          "created_at": {
                            "type": "string",
                            "format": "date-time",
                            "example": "2025-07-18T10:00:00Z"
                          }
                        },
                        "type": "object"
                      }
                    }
                  },
                  "type": "object"
                }
              }
            }
          },
          "422": {
            "description": "Failed to fetch events",
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "status": {
                      "type": "boolean",
                      "example": false
                    },
                    "error": {
                      "type": "string",
                      "example": "Unexpected error occurred"
                    }
                  },
                  "type": "object"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ]
      }
    },
    "/api/news": {
      "get": {
        "tags": ["News"],
        "summary": "Get list of published news",
        "description": "Fetches all active news articles with optional filters for date and tags.",
        "operationId": "getNewsList",
        "parameters": [
          {
            "name": "filterDate",
            "in": "query",
            "description": "Filter news by specific creation date (YYYY-MM-DD)",
            "required": false,
            "schema": {
              "type": "string",
              "format": "date"
            }
          },
          {
            "name": "filterTags",
            "in": "query",
            "description": "Filter news by tag keyword",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response with news list",
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "status": {
                      "type": "boolean",
                      "example": true
                    },
                    "data": {
                      "type": "array",
                      "items": {
                        "properties": {
                          "id": {
                            "type": "integer",
                            "example": 1
                          },
                          "title": {
                            "type": "string",
                            "example": "Exciting Studio Launch!"
                          },
                          "description": {
                            "type": "string",
                            "example": "We are proud to announce..."
                          },
                          "tags": {
                            "type": "string",
                            "example": "studio, launch, news"
                          },
                          "banner": {
                            "type": "string",
                            "example": "https://yourdomain.com/storage/location/news/banner.jpg"
                          },
                          "thumbnail": {
                            "type": "string",
                            "example": "https://yourdomain.com/storage/location/news/thumb_banner.jpg"
                          },
                          "conclusion_picture": {
                            "type": "string",
                            "example": "https://yourdomain.com/storage/location/news/conclusion.jpg"
                          },
                          "created_at": {
                            "type": "string",
                            "format": "date-time",
                            "example": "2025-10-18T10:30:00Z"
                          },
                          "created_by": {
                            "properties": {
                              "id": {
                                "type": "integer",
                                "example": 3
                              },
                              "name": {
                                "type": "string",
                                "example": "Admin User"
                              }
                            },
                            "type": "object"
                          }
                        },
                        "type": "object"
                      }
                    }
                  },
                  "type": "object"
                }
              }
            }
          },
          "422": {
            "description": "Validation or server error",
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "status": {
                      "type": "boolean",
                      "example": false
                    },
                    "error": {
                      "type": "string",
                      "example": "Unexpected error occurred"
                    }
                  },
                  "type": "object"
                }
              }
            }
          }
        }
      }
    }
  },
  "tags": [
    {
      "name": "Authentication",
      "description": "Authentication"
    },
    {
      "name": "User",
      "description": "User"
    },
    {
      "name": "Locations",
      "description": "Locations"
    },
    {
      "name": "Location",
      "description": "Location"
    },
    {
      "name": "Studios",
      "description": "Studios"
    },
    {
      "name": "People",
      "description": "People"
    },
    {
      "name": "Events",
      "description": "Events"
    },
    {
      "name": "News",
      "description": "News"
    }
  ]
}
