Skip to content

Instantly share code, notes, and snippets.

@pencilcheck
Created December 10, 2015 04:49
Show Gist options
  • Save pencilcheck/9e36462941e7fe66f7ed to your computer and use it in GitHub Desktop.
Save pencilcheck/9e36462941e7fe66f7ed to your computer and use it in GitHub Desktop.
eventSchema = new Schema(
key: String
title: String
url: String
category: String
calcpa_id: String
organization: String
description: String
location:
name: String
address: String
city: String
zipcode: String
facility: String
price: Number
memberprice: Number
nonmemberprice: Number
date: String
startdate: Date
enddate: Date
starttime: String
endtime: String
instructors: [{
name: String
}]
fieldOfInterest: String
cpeCredits: Number
designedFor: String
company: String
event_type: String
objectives: [String]
major_subjects: String
prerequisites: String
advancedpre_requisites: [String]
curriculum: [String]
coordinates:
type: [Number],
index: '2d'
cpe_subcredits: Schema.Types.Mixed
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment