cablegates/pandora/cables.json
2011-09-05 15:03:14 +02:00

284 lines
8.2 KiB
JSON

{
"capabilities": {
"canPlayClips": {"guest": 1, "member": 2, "staff": 3, "admin": 4},
"canPlayVideo": {"guest": 0, "member": 1, "staff": 3, "admin": 4},
"canSeeItem": {"guest": 2, "member": 2, "staff": 3, "admin": 4},
"canSeeFiles": {"guest": -1, "member": -1, "staff": 3, "admin": 4}
},
"clipKeys": [
{"id": "value", "title": "Text"},
{"id": "in", "title": "Position"},
{"id": "duration", "title": "Duration"},
{"id": "hue", "title": "Hue"},
{"id": "saturation", "title": "Saturation"},
{"id": "lightness", "title": "Lightness"},
{"id": "volume", "title": "Volume"}
],
"groups": [
{"id": "origin", "title": "Origin"},
{"id": "tags", "title": "Tag"},
{"id": "classification", "title": "Classification"},
{"id": "created_day", "title": "Created"},
{"id": "released_day", "title": "Released"}
],
"itemKeys": [
{
"id": "all",
"title": "All",
"type": "string",
"find": true
},
{
"id": "id",
"title": "ID",
"type": "string",
"columnRequired": false,
"columnWidth": 180
},
{
"id": "title",
"title": "title",
"type": "string",
"columnRequired": false,
"columnWidth": 180
},
{
"id": "director",
"title": "director",
"type": "string",
"columnRequired": false,
"columnWidth": 180
},
{
"id": "year",
"title": "Year",
"type": "string",
"columnRequired": false,
"columnWidth": 180
},
{
"id": "subject",
"title": "Subject",
"type": "string",
"columnRequired": true,
"columnWidth": 480,
"find": true,
"sort": "string"
},
{
"id": "header",
"title": "Header",
"type": "text",
"find": true
},
{
"id": "content",
"title": "Content",
"type": "text",
"find": true
},
{
"id": "origin",
"title": "Origin",
"type": "string",
"autocomplete": true,
"columnWidth": 140,
"find": true,
"group": true,
"sort": "string"
},
{
"id": "created_day",
"title": "Created day",
"autocomplete": true,
"type": "string",
"columnWidth": 60,
"group": true,
"format": {"type": "date", "args": ["%a, %b %e, %Y"]}
},
{
"id": "created",
"title": "Created",
"type": "date",
"columnWidth": 60,
"group": true,
"format": {"type": "date", "args": ["%a, %b %e, %Y"]}
},
{
"id": "released_day",
"title": "Released day",
"autocomplete": true,
"type": "string",
"columnWidth": 60,
"group": true,
"format": {"type": "date", "args": ["%a, %b %e, %Y"]}
},
{
"id": "released",
"title": "Released",
"type": "date",
"columnWidth": 60,
"group": true,
"format": {"type": "date", "args": ["%a, %b %e, %Y"]}
},
{
"id": "classification",
"title": "Classification",
"autocomplete": true,
"type": "string",
"columnWidth": 140,
"find": true,
"group": true
},
{
"id": "tags",
"title": "Tag",
"autocomplete": true,
"type": ["string"],
"columnWidth": 120,
"find": true,
"group": true
}
],
"itemName": {
"singular": "Cable",
"plural": "Cables"
},
"itemViews": [
{"id": "info", "title": "Info"}
],
"layers": [
{
"id": "privatenotes",
"title": "Private Notes",
"type": "text",
"overlap": true,
"private": true
},
{
"id": "publicnotes",
"title": "Public Notes",
"overlap": true,
"type": "text"
},
{
"id": "subtitles",
"title": "Subtitles",
"type": "text",
"overlay": true,
"sort": [
{"id": "words", "title": "Words", "type": "words"},
{"id": "wordsperminute", "title": "Words per Minute", "type": "wordsperminute"}
]
}
],
"listViews": [
{"id": "list", "title": "as List"}
],
"media": {
"importCablePosters": true,
"importPosterFrames": true
},
"rightsLevel": {"member": 5, "staff": 4, "admin": 3},
"rightsLevels": [
{"name": "Public", "color": [0, 255, 0], "description": "Everyone can see and play."},
{"name": "Relaxed", "color": [128, 255, 0], "description": "Guests can't play video."},
{"name": "Regular", "color": [255, 255, 0], "description": "Guests can't play clips, members can't play video."},
{"name": "Restricted", "color": [255, 128, 0], "description": "Only staff and admin can see and play."},
{"name": "Private", "color": [255, 0, 0], "description": "Only admins can see and play."}
],
"site": {
"id": "{{settings.SITEID}}",
"name": "{{settings.SITENAME}}",
"url": "{{settings.URL}}"
},
"sitePages": [
{"id": "about", "title": "About"},
{"id": "news", "title": "News"},
{"id": "tour", "title": "Take a Tour"},
{"id": "faq", "title": "Frequently Asked Questions"},
{"id": "terms", "title": "Terms of Service"}
],
"totals": [
{"id": "items"}
],
"user": {
"level": "guest",
"lists": {
"common": [
{"id": "all", "title": "All Cables", "query": {}}
],
"personal": [
{"user": "foo", "name": "Favorites", "featured": false, "public": true}
],
"favorite": [
],
"featured": [
]
},
"notes": "",
"preferences": {},
"ui": {
"annotationsSize": 256,
"find": {"index": -1, "key": "", "value": ""},
"groups": ["origin", "classification", "tags", "created_day", "released_day"],
"groupsSize": 176,
"icons": "posters",
"infoIconSize": 256,
"item": "",
"itemView": "info",
"list": "",
"lists": {
"": {
"columns": ["origin", "subject", "classification", "created", "released", "tags"],
"columnWidth": {},
"listView": "list",
"selected": [],
"sort": [
{"key": "created", "operator": ""}
]
}
},
"query": {"conditions": [], "operator": ""},
"section": "items",
"showAnnotations": true,
"showControls": true,
"showGroups": true,
"showHome": true,
"showInfo": false,
"showItems": true,
"showFolder": {
"items": {
"personal": true,
"favorite": true,
"featured": true,
"volumes": true
}
},
"showSidebar": false,
"sidebarSize": 256,
"sitePage": "home",
"theme": "classic",
"videoPosition": {},
"videoScale": "fit",
"videoMuted": false,
"videoSize": "small",
"videoView": "player",
"videoVolume": 1
},
"username": "",
"volumes": [
]
},
"userLevels": ["guest", "member", "staff", "admin"],
"video": {
"download": false,
"formats": ["webm", "mp4"],
"resolutions": [96]
}
}