vbv/server/vbv_lernwelt/media_library/example_content_from_db.py

34 lines
1.1 KiB
Python

# -*- coding: utf-8 -*-
#
# Iterativ GmbH
# http://www.iterativ.ch/
#
# Copyright (c) 2015 Iterativ GmbH. All rights reserved.
#
# Created on 2022-09-14
# @author: lorenz.padberg@iterativ.ch
[{"id": "a2a7ef07-64d9-444e-8069-4894a1e857ee",
"type": "content_collection",
"value": {"title": "Lernmedien",
"contents": [{
"id": "5b24aa0b-17d7-4b04-8698-f86d2116d6df",
"type": "Documents",
"value": 2}, {
"id": "e2d43794-037f-4a19-8a71-c7e9d96d8dac",
"type": "Documents",
"value": 1}],
"collection_type": [
"LearningMedia"]}
},
{"id": "23d13543-2f37-44b8-b3e2-0ef36f7c5a13",
"type": "content_collection",
"value": {"title": "Links", "contents": [
{"id": "57e35e12-ceb3-4873-9629-a6c5a3c2f6da",
"type": "Links",
"value": {"url": "http://www.admin.ch",
"title": "Wichtige Webseite",
"description": "interessantes zu versicherungen",
"link_display_text": "Link öffnen"}}],
"collection_type": [
"LearningMedia"]}}]