diff options
Diffstat (limited to 'client/src/service/Licences.scala')
-rw-r--r-- | client/src/service/Licences.scala | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/client/src/service/Licences.scala b/client/src/service/Licences.scala new file mode 100644 index 0000000..77bfe5d --- /dev/null +++ b/client/src/service/Licences.scala @@ -0,0 +1,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") + ) + + } + +} |