Skip to content

Instantly share code, notes, and snippets.

@jlhardes
Last active May 25, 2018 15:10
Show Gist options
  • Save jlhardes/1e3adada7410591f46b170e65dce20af to your computer and use it in GitHub Desktop.
Save jlhardes/1e3adada7410591f46b170e65dce20af to your computer and use it in GitHub Desktop.
Example of descriptive metadata for an Avalon item using IIIF-AV spec.
{
"id":"http://dlib.indiana.edu/iiif_av/canvas/1",
"type":"Manifest",
"label":"Beginning Responsibility: Lunchroom Manners",
"metadata":[
{"label":"Date", "value":"1959"},
{"label":"Main Contributor", "value":"Coronet Films"},
{"label":"Summary", "value":"The rude, clumsy puppet Mr. Bungle shows kids how to behave in the school cafeteria - the assumption being that kids actually want to behave during lunch. This film has a cult following since it appeared on a Pee Wee Herman HBO special."},
{"label":"Publisher", "value":"Coronet Films"},
{"label":"Subjects", "value":"Social engineering; Puppet theater"},
{"label":"Physical Description", "value":"film reel (12 min.) 16 mm Guide Included"}
],
"summary":"The rude, clumsy puppet Mr. Bungle shows kids how to behave in the school cafeteria - the assumption being that kids actually want to behave during lunch. This film has a cult following since it appeared on a Pee Wee Herman HBO special.",
"height":937,
"width":1280,
"duration":660,
"content":[
{
"id":"...",
"type":"AnnotationPage",
"items":[
{
"id":"...",
"type":"Annotation",
"motivation":"painting",
"body":[
{
"type":"Choice",
"choiceHint":"user",
"items":[
{
"id":"http://dlib.indiana.edu/iiif_av/lunchroom_manners/high/lunchroom_manners_1024kb.mp4",
"type":"Video",
"label":"High"
},
{
"id":"http://dlib.indiana.edu/iiif_av/lunchroom_manners/medium/lunchroom_manners_512kb.mp4",
"type":"Video",
"label":"Medium"
},
{
"id":"http://dlib.indiana.edu/iiif_av/lunchroom_manners/low/lunchroom_manners_256kb.mp4",
"type":"Video",
"label":"Low"
}
]
},
{
"id":"http://dlib.indiana.edu/iiif_av/lunchroom_manners/lunchroom_manners.vtt",
"type":"Text",
"format":"text/vtt",
"language":"en"
}
],
"target":"http://dlib.indiana.edu/iiif_av/canvas/1"
}
]
}
],
"structures":[
{
"id":"http://dlib.indiana.edu/iiif_av/lunchroom_manners/range/0",
"type":"Range",
"viewingHint":"top",
"label":"Lunchroom Manners",
"members":[
{
"id":"http://dlib.indiana.edu/iiif_av/lunchroom_manners/canvas/1#t=0,157",
"type":"Canvas"
},
{
"id":"http://dlib.indiana.edu/iiif_av/lunchroom_manners/range/1",
"type":"Range",
"label":"Getting Ready for Lunch",
"members":[
{
"id":"http://dlib.indiana.edu/iiif_av/lunchroom_manners/range/1-1",
"type":"Range",
"label":"Washing Hands",
"members":[
{
"id":"http://dlib.indiana.edu/iiif_av/lunchroom_manners/range/1-1-1",
"type":"Range",
"label":"Using Soap",
"members":[
{
"id":"http://dlib.indiana.edu/iiif_av/lunchroom_manners/canvas/1#t=157,160",
"type":"Canvas"
}
]
},
{
"id":"http://dlib.indiana.edu/iiif_av/lunchroom_manners/canvas/1#t=160,165",
"type":"Canvas"
},
{
"id":"http://dlib.indiana.edu/iiif_av/lunchroom_manners/range/1-1-2",
"type":"Range",
"label":"Rinsing Well",
"members":[
{
"id":"http://dlib.indiana.edu/iiif_av/lunchroom_manners/canvas/1#t=165,178",
"type":"Canvas"
}
]
}
]
}
]
},
{
"id":"http://dlib.indiana.edu/iiif_av/lunchroom_manners/canvas/1#t=178,227",
"type":"Canvas"
},
{
"id":"http://dlib.indiana.edu/iiif_av/lunchroom_manners/range/2",
"type":"Range",
"label":"In the Lunchroom",
"members":[
{
"id":"http://dlib.indiana.edu/iiif_av/lunchroom_manners/range/2-1",
"type":"Range",
"label":"At the Counter",
"members":[
{
"type":"Range",
"label":"Getting Tray",
"members":[
{
"id":"http://dlib.indiana.edu/iiif_av/lunchroom_manners/canvas/1#t=227,245",
"type":"Canvas"
}
]
},
{
"id":"http://dlib.indiana.edu/iiif_av/lunchroom_manners/canvas/1#t=245,258",
"type":"Canvas"
},
{
"type":"Range",
"label":"Choosing Food",
"members":[
{
"id":"http://dlib.indiana.edu/iiif_av/lunchroom_manners/canvas/1#t=258,288",
"type":"Canvas"
}
]
},
{
"id":"http://dlib.indiana.edu/iiif_av/lunchroom_manners/canvas/1#t=288,301",
"type":"Canvas"
},
{
"type":"Range",
"label":"There will be Cake",
"members":[
{
"id":"http://dlib.indiana.edu/iiif_av/lunchroom_manners/canvas/1#t=301,308",
"type":"Canvas"
}
]
}
]
},
{
"id":"http://dlib.indiana.edu/iiif_av/lunchroom_manners/canvas/1#t=308,323",
"type":"Canvas"
},
{
"id":"http://dlib.indiana.edu/iiif_av/lunchroom_manners/range/2-2",
"type":"Range",
"label":"At the Table",
"members":[
{
"id":"http://dlib.indiana.edu/iiif_av/lunchroom_manners/range/2-2-1",
"type":"Range",
"label":"Sitting Quietly",
"members":[
{
"id":"http://dlib.indiana.edu/iiif_av/lunchroom_manners/canvas/1#t=323,333",
"type":"Canvas"
}
]
},
{
"id":"http://dlib.indiana.edu/iiif_av/lunchroom_manners/canvas/1#t=333,362",
"type":"Canvas"
},
{
"id":"http://dlib.indiana.edu/iiif_av/lunchroom_manners/range/2-2-2",
"type":"Range",
"label":"Eating Neatly",
"members":[
{
"id":"http://dlib.indiana.edu/iiif_av/lunchroom_manners/canvas/1#t=362,378",
"type":"Canvas"
}
]
}
]
}
]
},
{
"id":"http://dlib.indiana.edu/iiif_av/lunchroom_manners/canvas/1#t=378,448",
"type":"Canvas"
},
{
"id":"http://dlib.indiana.edu/iiif_av/lunchroom_manners/range/3",
"type":"Range",
"label":"Leaving the Lunchroom",
"members":[
{
"id":"http://dlib.indiana.edu/iiif_av/lunchroom_manners/range/3-1",
"type":"Range",
"label":"Cleaning Up",
"members":[
{
"id":"http://dlib.indiana.edu/iiif_av/lunchroom_manners/canvas/1#t=448,492",
"type":"Canvas"
}
]
},
{
"id":"http://dlib.indiana.edu/iiif_av/lunchroom_manners/canvas/1#t=492,511",
"type":"Canvas"
},
{
"id":"http://dlib.indiana.edu/iiif_av/lunchroom_manners/range/3-2",
"type":"Range",
"label":"Putting Things Away",
"members":[
{
"id":"http://dlib.indiana.edu/iiif_av/lunchroom_manners/canvas/1#t=511,527",
"type":"Canvas"
}
]
}
]
}
]
}
]
}
@jlhardes
Copy link
Author

jlhardes commented Apr 7, 2017

Descriptive info from batch ingest spreadsheet for demo ingest package - https://wiki.dlib.indiana.edu/display/VarVideo/Batch+Ingest+Package+Format.

Overall "label" (Title in Avalon) is a required field and should always be populated.

Under "metadata", "label":"Date" (Date in Avalon) is a required field in Avalon and should always be populated.

All other fields in "metadata" should show if they are populated in Avalon record. "label"s should match field labels in Avalon end user item detail view.

"description" (Summary in Avalon) is not a required field in Avalon so it should only be included if populated in Avalon record.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment