{"size": 742, "ext": "js", "max_stars_repo_path": "app/data/models/business.js", "max_stars_repo_name": "dzungductran/savearescue", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "app/data/models/business.js", "max_issues_repo_name": "dzungductran/savearescue", "max_issues_repo_issues_event_min_datetime": "2021-05-11T04:55:52.000Z", "max_issues_repo_issues_event_max_datetime": "2021-05-11T04:55:52.000Z", "max_forks_repo_path": "app/data/models/business.js", "max_forks_repo_name": "dzungductran/savearescue", "max_forks_repo_forks_event_min_datetime": "2020-05-24T01:27:55.000Z", "max_forks_repo_forks_event_max_datetime": "2020-05-24T01:27:55.000Z"}
{"max_stars_count": null, "max_issues_count": 1, "max_forks_count": 1, "avg_line_length": 28.5384615385, "max_line_length": 51, "alphanum_fraction": 0.7075471698}
import PropTypes from 'prop-types';

// PropTypes Models
const BusinessModel = PropTypes.shape({
    id: PropTypes.string.isRequired,
    name: PropTypes.string.isRequired,
    phone: PropTypes.string,
    fax: PropTypes.string,
    email: PropTypes.string,
    state: PropTypes.string,
    city: PropTypes.string,
    zip: PropTypes.string,
    address: PropTypes.string,
    address2: PropTypes.string,
    coordinate: PropTypes.shape({
        longitude: PropTypes.decimal,
        latitude: PropTypes.decimal,
    }),
    is_open_now: PropTypes.bool,
    is_24_hours: PropTypes.bool,
    rating: PropTypes.decimal,
    review_count: PropTypes.decimal,
    title: PropTypes.string, // for displaying only
});
export default BusinessModel;
