Skip to content

Commit

Permalink
Add rules
Browse files Browse the repository at this point in the history
  • Loading branch information
murvinlai committed May 29, 2013
1 parent 4435a54 commit 124d7d8
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 0 deletions.
18 changes: 18 additions & 0 deletions rules.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
/*
* This is the schema for the privacy rules.
*/

var rule = {
name : String, /* rule name */
brief : String, /* Brief Description of the rule */
details : String, /* Details about the rule in text*/
category: String, /* Category of the rule */
location: [], /* Location in effect */
author : [], /* Information about the author who set the rule */
expire : Date, /* Rule expiry date */
criteria: {}, /* Criteria of the rule */
approval: {},
active : Boolean /* Is active or not */
}

module.exports.rule;
3 changes: 3 additions & 0 deletions schema/rules.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
/*
*
*/

0 comments on commit 124d7d8

Please sign in to comment.