Skip to content

Instantly share code, notes, and snippets.

@IharKrasnik
Created May 22, 2017 12:35
Show Gist options
  • Select an option

  • Save IharKrasnik/9cdf782e739a14ca8703da3d203d6218 to your computer and use it in GitHub Desktop.

Select an option

Save IharKrasnik/9cdf782e739a14ca8703da3d203d6218 to your computer and use it in GitHub Desktop.

Revisions

  1. IharKrasnik created this gist May 22, 2017.
    23 changes: 23 additions & 0 deletions event.js
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,23 @@
    {
    "_id" : "123",
    "name" : "Weekend Game",
    "interval" : {
    "from" : ISODate("2017-05-22T10:00:00.000Z"),
    "to" : ISODate("2017-05-22T12:00:00.000Z")
    },
    "requiredParticipants" : 12,
    "participants" : [
    {
    "_id" : "123"
    },
    {
    "_id" : "234"
    }
    ],
    "place" : {
    "_id" : "123",
    "address" : {
    "formatted" : "Minsk, Pushkina st. 14"
    }
    }
    }