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")
      )

  }

}