lrs-xml-parser
Version:
TCO 16 Megahack - XML Parser
22 lines (18 loc) • 390 B
JavaScript
/*
* Copyright (C) 2016 TopCoder, Inc. All Rights Reserved.
*/
/**
* Represents the Program model.
*
* @author TCSDEVELOPER
* @version 1.0
*/
;
const mongoose = require('mongoose');
const Schema = mongoose.Schema;
const schema = new Schema({
name: { type: String, required: true },
rules: [ String ],
regulationIds: [ Number ]
});
module.exports = schema;