This repository contains a Mock Data Array featuring information about over 22 mini-football fields located in Tashkent city and the surrounding region. The data is structured for direct import and use in mobile or web application development for testing, demo, and prototyping purposes. The dataset is based on the structure of real booking services (e.g., ManaPolya.uz).
- To provide a fast data source for frontend projects (React, Vue, Angular, Mobile Apps) to work without constant server requests.
- To enable testing of maps (Google Maps, Leaflet) and Geolocation features.
- To serve as an initial database for developing search, filtering, and rating systems.
| Parameter | Value |
|---|---|
| Primary Language | TypeScript / JavaScript |
| File Name | mockFields.ts |
| Data Count | 22 fields |
| Export | export const mockFields |
The data adheres to the following TypeScript interface named FootballField:
export interface FootballField {
id: string; // Unique identifier
name: string; // Field name (e.g., Lider Stadium)
district: string; // Location district (e.g., Chilonzor)
address: string; // Approximate address
size: string; // Field size ('5x5', '7x7', '11x11')
price: number; // Approximate hourly price (in UZS)
rating: number; // Rating (from 1.0 to 5.0)
coordinates: [number, number]; // [Longitude, Latitude]
images: string[]; // Array of image URLs (unique combination for each field)
fieldType: "Sun'iy" | "Tabiiy" | "Zamonaviy"; // Field type (Artificial, Natural, Modern)
region: string; // Region/City (e.g., Tashkent shahar)
ownerName: string; // Placeholder owner name
phone: string; // Contact phone number
}