{"id":15056564,"url":"https://github.com/devskiller/jfairy","last_synced_at":"2025-05-15T22:05:03.854Z","repository":{"id":41403693,"uuid":"13392465","full_name":"Devskiller/jfairy","owner":"Devskiller","description":"Java fake data generator","archived":false,"fork":false,"pushed_at":"2024-03-18T15:13:31.000Z","size":1783,"stargazers_count":739,"open_issues_count":32,"forks_count":145,"subscribers_count":33,"default_branch":"master","last_synced_at":"2025-05-15T22:04:32.837Z","etag":null,"topics":["android","groovy","java","test-data-generator"],"latest_commit_sha":null,"homepage":"http://devskiller.github.io/jfairy/","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Devskiller.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2013-10-07T18:48:28.000Z","updated_at":"2025-02-08T18:24:24.000Z","dependencies_parsed_at":"2022-09-26T21:40:30.591Z","dependency_job_id":"e85e2f2d-0c92-42b7-a207-e204f6ed2af0","html_url":"https://github.com/Devskiller/jfairy","commit_stats":null,"previous_names":[],"tags_count":24,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Devskiller%2Fjfairy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Devskiller%2Fjfairy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Devskiller%2Fjfairy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Devskiller%2Fjfairy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Devskiller","download_url":"https://codeload.github.com/Devskiller/jfairy/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254430326,"owners_count":22069907,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["android","groovy","java","test-data-generator"],"created_at":"2024-09-24T21:53:20.938Z","updated_at":"2025-05-15T22:05:03.781Z","avatar_url":"https://github.com/Devskiller.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# jFairy by Devskiller\n\n[![Build Status](https://travis-ci.org/Devskiller/jfairy.svg?branch=master)](https://travis-ci.org/Devskiller/jfairy) [![Maven Central](https://maven-badges.herokuapp.com/maven-central/com.devskiller/jfairy/badge.svg)](https://maven-badges.herokuapp.com/maven-central/com.devskiller/jfairy) [![Javadocs](http://www.javadoc.io/badge/com.devskiller/jfairy.svg)](http://www.javadoc.io/doc/com.devskiller/jfairy) [![Coverage Status](https://img.shields.io/coveralls/Devskiller/jfairy.svg)](https://coveralls.io/r/Devskiller/jfairy)\n[![Stack Overflow](https://img.shields.io/badge/stack%20overflow-jfairy-4183C4.svg)](https://stackoverflow.com/questions/tagged/jfairy)\n[![Join the chat at https://gitter.im/Codearte/jfairy](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/Codearte/jfairy?utm_source=badge\u0026utm_medium=badge\u0026utm_campaign=pr-badge\u0026utm_content=badge)\n\nJava fake data generator. Based on Wikipedia:\n\n\u003e Fairyland, in folklore, is the fabulous land or abode of fairies or fays.\n\n## Try jFairy online!\n\nhttps://devskiller.com/datafairy/\n\n## Usage\n\nCreating simple objects:\n\n```java\nFairy fairy = Fairy.create();\nPerson person = fairy.person();\n\nSystem.out.println(person.getFirstName());            \n// Chloe Barker\nSystem.out.println(person.getEmail());               \n// barker@yahoo.com\nSystem.out.println(person.getTelephoneNumber());     \n// 690-950-802\n\nPerson adultMale = fairy.person(PersonProperties.male(), PersonProperties.minAge(21));\nSystem.out.println(adultMale.isMale());           \n// true\nSystem.out.println(adultMale.getDateOfBirth());      \n// at least 21 years earlier\n```\n\nCreating related objects:\n\n```java\nFairy fairy = Fairy.create();\nCompany company = fairy.company();\nSystem.out.println(company.getName());          \n// Robuten Associates\nSystem.out.println(company.getUrl());           \n// http://www.robuteniaassociates.com\n\nPerson salesman = fairy.person(PersonProperties.withCompany(company));\nSystem.out.println(salesman.getFullName());     \n// Juan Camacho\nSystem.out.println(salesman.getCompanyEmail()); \n// juan.camacho@robuteniaassociates.com\n```\n\nLocale support:\n\n```java\nFairy enFairy = Fairy.create();                               \n// Locale.ENGLISH is default\nFairy plFairy = Fairy.create(Locale.forLanguageTag(\"pl\"));    \n// Polish version\n```\n\n## Other samples\n\nLook into [code samples](https://github.com/Devskiller/jfairy/tree/master/src/test/groovy/snippets/)\n\n## Building\n\nThis project can be built using maven command:\n\n    ./mvnw install\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevskiller%2Fjfairy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdevskiller%2Fjfairy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevskiller%2Fjfairy/lists"}