From 5bb034090a5189853b0345a051b6fdb18391ce9e Mon Sep 17 00:00:00 2001 From: Ernesto Rico Schmidt <ernesto@helsinki.at> Date: Tue, 4 Oct 2022 17:28:11 -0400 Subject: [PATCH] Add fixtures for LinkType and LicenseType --- fixtures/program/licensetype.json | 58 +++++++++++++++++++++++++++++++ fixtures/program/linktype.json | 42 ++++++++++++++++++++++ 2 files changed, 100 insertions(+) create mode 100644 fixtures/program/licensetype.json create mode 100644 fixtures/program/linktype.json diff --git a/fixtures/program/licensetype.json b/fixtures/program/licensetype.json new file mode 100644 index 00000000..715e0e3e --- /dev/null +++ b/fixtures/program/licensetype.json @@ -0,0 +1,58 @@ +[ + { + "model": "program.licensetype", + "pk": 1, + "fields": { + "name": "cc0", + "type": "No Rights Reserved" + } + }, + { + "model": "program.licensetype", + "pk": 2, + "fields": { + "name": "by", + "type": "Creative Commons Attribution" + } + }, + { + "model": "program.licensetype", + "pk": 3, + "fields": { + "name": "by-sa", + "type": "Creative Commons Attribution-ShareAlike" + } + }, + { + "model": "program.licensetype", + "pk": 4, + "fields": { + "name": "by-nc", + "type": "Creative Commons Attribution-NonCommercial" + } + }, + { + "model": "program.licensetype", + "pk": 5, + "fields": { + "name": "by-nc-sa", + "type": "Creative Commons Attribution-NonCommercial-ShareAlike" + } + }, + { + "model": "program.licensetype", + "pk": 6, + "fields": { + "name": "by-nd", + "type": "Creative Commons Attribution-NoDerivatives" + } + }, + { + "model": "program.licensetype", + "pk": 7, + "fields": { + "name": "by-nc-nd", + "type": "Creative Commons Attribution-NonCommercial-NoDerivatives" + } + } +] \ No newline at end of file diff --git a/fixtures/program/linktype.json b/fixtures/program/linktype.json new file mode 100644 index 00000000..9af62522 --- /dev/null +++ b/fixtures/program/linktype.json @@ -0,0 +1,42 @@ +[ + { + "model": "program.linktype", + "pk": 1, + "fields": { + "name": "homepage", + "type": "Homepage" + } + }, + { + "model": "program.linktype", + "pk": 2, + "fields": { + "name": "website", + "type": "Website" + } + }, + { + "model": "program.linktype", + "pk": 3, + "fields": { + "name": "cba-podcast", + "type": "CBA podcast" + } + }, + { + "model": "program.linktype", + "pk": 4, + "fields": { + "name": "cba-post", + "type": "CBA post" + } + }, + { + "model": "program.linktype", + "pk": 5, + "fields": { + "name": "soundcloud", + "type": "SoundCloud" + } + } +] \ No newline at end of file -- GitLab