JSPF Draft: Difference between revisions
Jump to navigation
Jump to search
(added an example of the extension element) |
(link and meta, 12 + 0 = ... 12?) |
||
| Line 18: | Line 18: | ||
], | ], | ||
"link" : [ | "link" : [ | ||
{"http://example.com/rel/1/" : "http://example.com/body/1/"}, | |||
{"http://example.com/rel/2/" : "http://example.com/body/2/"} | |||
], | ], | ||
"meta" : [ | "meta" : [ | ||
{"http://example.com/rel/1/" : "my meta 14"}, | |||
{"http://example.com/rel/2/" : "345"} | |||
], | ], | ||
"extension" : [ | "extension" : [ | ||
| Line 43: | Line 45: | ||
"duration" : 0, | "duration" : 0, | ||
"link" : [ | "link" : [ | ||
{"http://example.com/rel/1/" : "http://example.com/body/1/"}, | |||
{"http://example.com/rel/2/" : "http://example.com/body/2/"} | |||
], | ], | ||
"meta" : [ | "meta" : [ | ||
{"http://example.com/rel/1/" : "my meta 14"}, | |||
{"http://example.com/rel/2/" : "345"} | |||
], | ], | ||
"extension" : { | "extension" : { | ||
Revision as of 18:46, 14 June 2007
This is the JSPF specification workspace.
Example JSPF file:
{
"playlist" : {
"title" : "JSPF example",
"creator" : "Artist name",
"annotation" : "Super playlist",
"info" : "http://example.com/",
"location" : "http://example.com/",
"identifier" : "http://example.com/",
"image" : "http://example.com/",
"date" : "2005-01-08T17:10:47-05:00",
"license" : "http://example.com/",
"attribution" : [
{"identifier" : "http://example.com/"},
{"location" : "http://example.com/"}
],
"link" : [
{"http://example.com/rel/1/" : "http://example.com/body/1/"},
{"http://example.com/rel/2/" : "http://example.com/body/2/"}
],
"meta" : [
{"http://example.com/rel/1/" : "my meta 14"},
{"http://example.com/rel/2/" : "345"}
],
"extension" : [
TODO
],
"track" : [
{
"location" : [
TODO
],
"identifier" : [
TODO
],
"title" : "Track title",
"creator" : "Artist name",
"annotation" : "Some text",
"info" : "http://example.com/",
"image" : "http://example.com/",
"album" : "Album name",
"trackNum" : 1,
"duration" : 0,
"link" : [
{"http://example.com/rel/1/" : "http://example.com/body/1/"},
{"http://example.com/rel/2/" : "http://example.com/body/2/"}
],
"meta" : [
{"http://example.com/rel/1/" : "my meta 14"},
{"http://example.com/rel/2/" : "345"}
],
"extension" : {
"http://example.application.com":[
{"multiple":"instances of"},
{"an application's":"extension can coexist"}
],
"http://another.application.com":[{"each instance":"consists of arbitrary json"}]
}
}
]
}
}