<commit_before>'use strict';

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


/**
 * Game Schema
 */
var GameSchema = new Schema({
    created: {
        type: Date,
        default: Date.now
    },
    splashURL: { // Optional image from game
        type: String,
        required: false,
        default: '',
        trim: true
    },
    gameURL: {
        type: String,
        required: true,
        trim: true
    },
    title: { // Optional game title
        type: String,
        required: false,
        default: 'Untitled Game',
        trim: true
    },
    version: { // Current version number
        type: String,
        required: true,
        trim: true
    },
    content: { // Developer message<commit_msg>Placeholder abstract images for games without splash<commit_after>'use strict';

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


/**
 * Game Schema
 */
var GameSchema = new Schema({
    created: {
        type: Date,
        default: Date.now
    },
    splashURL: { // Optional image from game
        type: String,
        required: false,
        default: 'http://lorempixel.com/400/500/abstract/placeholder from lorempixel/',
        trim: true
    },
    gameURL: {
        type: String,
        required: true,
        trim: true
    },
    title: { // Optional game title
        type: String,
        required: false,
        default: 'Untitled Game',
        trim: true
    },
    version: { // Current version number
        type: String,
        required: true,
        trim: true
    },
    content: { // Developer message
{'fraction_non_alphanumeric': 0.117046818727491, 'fraction_numerical': 0.003601440576230492, 'mean_word_length': 1.8206429780033841, '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': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6327785', 'n_tokens_mistral': 474, 'n_tokens_neox': 470, 'n_words': 138}