UNPKG

lrs-xml-parser

Version:

TCO 16 Megahack - XML Parser

23 lines (19 loc) 427 B
/* * Copyright (C) 2016 TopCoder, Inc. All Rights Reserved. */ /** * Represents the Rule model. * * @author TCSDEVELOPER * @version 1.0 */ 'use strict'; const mongoose = require('mongoose'); const Schema = mongoose.Schema; const schema = new Schema({ regulationId: { type: Number, required: true }, termId: { type: Number }, title: { type: String }, url: { type: String } }); module.exports = schema;