Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

SCHEMA

Name

Description

_id

The id of the query.

name

The name of this query.

organisation

The id of the organisation that this persona belongs to.

owner

The id of the user which created this query.

conditions

A JSON encoded mongo query.

isPublic

If false then this visualisation is only available to the owner and users with org/all/query/view scope, otherwise it’s available to everyone in the organisation with permission.

EXAMPLE MODEL

Code Block
{
	"_id" : "59c2371c16bc715f83c34501",
	"name" : "All comments",
	"owner" : "59c2371c16bc715f83c34502",
	"organisation" : "59c2371c16bc715f83c34503",
	"isPublic" : false,
	"conditions" : "{\"statement.verb.id\":\"http://adlnet.gov/expapi/verbs/commented\"}"
}

...