aboutsummaryrefslogtreecommitdiff
path: root/client/src/service/Licences.scala
blob: 77bfe5da8bb26cbd8a835ab50f2dad71408ac063 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
package yoga.service

import java.net.URI

import yoga.model.Licence

object Licences {

  object CreativeCommons {

    val attributionAlike_2_5: Licence =
      Licence(
        name = "Creative Commons Attribution 2.5 Generic",
        uri = URI.create("https://creativecommons.org/licenses/by/2.5/deed.en")
      )

    val attributionAlike_3_0: Licence =
      Licence(
        name = "Creative Commons Attribution-Share Alike 3.0 Unported license",
        uri = URI.create("https://creativecommons.org/licenses/by-sa/3.0/deed.en")
      )

    val attributionAlike_4_0: Licence =
      Licence(
        name = "Creative Commons Attribution 4.0 International license",
        uri = URI.create("https://creativecommons.org/licenses/by/4.0/deed.en")
      )

  }

}