aboutsummaryrefslogtreecommitdiff
path: root/client/src/service/Licences.scala
diff options
context:
space:
mode:
authorJoris2019-05-16 09:40:02 +0200
committerJoris2019-05-16 09:40:02 +0200
commit7bf58894761742d4da8e6f52ce113ea7327e7114 (patch)
tree388785f65e258e956296977cff4bd1f7ac6e1526 /client/src/service/Licences.scala
parentf015a216f5ee1e335d5ae90dbc8f3efafdca6fec (diff)
downloadyoga-7bf58894761742d4da8e6f52ce113ea7327e7114.tar.gz
yoga-7bf58894761742d4da8e6f52ce113ea7327e7114.tar.bz2
yoga-7bf58894761742d4da8e6f52ce113ea7327e7114.zip
Bootstrap
Diffstat (limited to 'client/src/service/Licences.scala')
-rw-r--r--client/src/service/Licences.scala31
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")
+ )
+
+ }
+
+}