2.0 License object

Optional copyright license information that may apply to a drill or course.

A license can be of either an open or closed type, which drives how the drill can be shared, distributed or amended. A license consists of a text string, with optional references to an icon or logo and a web page with more information.

Example

{
  "type" : "OPEN",
  "text" : "Published under a Creative Commons license",
  "icon" : {
    "url" : "http://i.creativecommons.org/l/by-sa/3.0/88x31.png"
  },
  "link" : "http://www.creativecommons.org"
}

Fields

Field Type Description
type
required
String

Whether the license is open or closed. Possible values are:

  • OPEN
  • CLOSED

text
required
String

The actual license or copyright text, typically a single line of text.

Example value: Copyright © Acme, Inc.

icon
optional
2.0 Media object

The location of the icon that represents this license. Typically a company logo.

link
optional
String

The location of a web page for the copyright holder or company home page.