Make API development a breeze with our comprehensive library of JSON templates, designed to help you prototype and learn faster in Mockoon.
Copy[ {{#repeat 10}} { "id": "{{faker 'string.uuid'}}", "name": "{{faker 'company.name'}}", "city": "{{faker 'location.city'}}", "country": "{{faker 'location.country'}}", "players": [ {{#repeat 11}} { "id": "{{faker 'string.uuid'}}", "name": "{{faker 'person.firstName'}} {{faker 'person.lastName'}}", "age": {{faker 'number.int' min=18 max=40}}, "position": "{{faker 'helpers.arrayElement' (array 'Forward' 'Midfielder' 'Defender' 'Goalkeeper')}}", "isCaptain": {{faker 'datatype.boolean'}} } {{/repeat}} ] } {{/repeat}} ]
Designed to generate random sport teams with properties such as name, city, country, and players, this template serves as a valuable resource for sports applications and fantasy leagues. Whether populating mock databases or serving as sample data for team management, it offers developers essential team information for testing and analysis. These data are perfect to prototype or serve as sample data for applications like sports apps, fantasy leagues, and team management tools.