<commit_before>'use strict';

/**
 * Module dependencies.
 */
var mongoose = require('mongoose'),
	Schema = mongoose.Schema;

/**
 * Talent Schema
 */
var TalentSchema = new Schema({
	name: {
		type: String,
		default: '',
		required: 'Please fill Talent name',
		trim: true
	},
	lastName: {
		type: String,
		default: '',
		required: 'Please fill Talent last name',
		trim: true
	},
	parentName: {
		type: String
	},
	type: {
		type: Array,
		required: 'Please select a Talent type',
	},
	exclusivity: {
		type: String
	},
	email: {
		type: String
	},
	email2: {
		type: String
	},
	phone: {
		type: String
	},
	phone2: {
		type: String
	},
	gender: {
		type: String,
		trim: true
	},
	ageRange: {
		type: String,
		trim: true
	},
	unionStatus: {
		type: Array,
		required: 'Please select a union status'
	},
	unionJoined: {
		type: Array
	},
	producerID: {
		type: Schema.ObjectId,
		ref: 'User'
	},
	demoProducer: {
		type: Schema.ObjectId,
		ref: 'User'
	},
	lastNameCode: {
		type: String,
		trim: true
	},
	outageTimes: {
		type: String
	},
	locationISDN: {
		type: String
	},
	ISDNLine1: {
		type: String
	},
	ISDNLine2: {
		type: String
	},
	sourceConnectUsername: {
		type: String
	},
	producerOptional: {
		type: String
	},
	typeCasts: {
		type: Array
	},
	created: {<commit_msg>require location field<commit_after>'use strict';

/**
 * Module dependencies.
 */
var mongoose = require('mongoose'),
	Schema = mongoose.Schema;

/**
 * Talent Schema
 */
var TalentSchema = new Schema({
	name: {
		type: String,
		default: '',
		required: 'Please fill Talent name',
		trim: true
	},
	lastName: {
		type: String,
		default: '',
		required: 'Please fill Talent last name',
		trim: true
	},
	parentName: {
		type: String
	},
	type: {
		type: Array,
		required: 'Please select a Talent type',
	},
	exclusivity: {
		type: String
	},
	email: {
		type: String
	},
	email2: {
		type: String
	},
	phone: {
		type: String
	},
	phone2: {
		type: String
	},
	gender: {
		type: String,
		trim: true
	},
	ageRange: {
		type: String,
		trim: true
	},
	unionStatus: {
		type: Array,
		required: 'Please select a union status'
	},
	unionJoined: {
		type: Array
	},
	producerID: {
		type: Schema.ObjectId,
		ref: 'User'
	},
	demoProducer: {
		type: Schema.ObjectId,
		ref: 'User'
	},
	lastNameCode: {
		type: String,
		trim: true
	},
	outageTimes: {
		type: String
	},
	locationISDN: {
		type: String,
		required: 'Please select a location',
	},
	ISDNLine1: {
		type: String
	},
	ISDNLine2: {
		type: String
	},
	sourceConnectUsername: {
		type: String
	},
	producerOptional: {
		type: String
	},
	typeCasts: {
		type: Array
	},
	created: {
{'fraction_non_alphanumeric': 0.14878234398782345, 'fraction_numerical': 0.0030441400304414, 'mean_word_length': 3.1078125, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3289645', 'n_tokens_mistral': 1099, 'n_tokens_neox': 1029, 'n_words': 255}