Use Case - abstractfactory/openmetadata GitHub Wiki

Tracking

Let's run through when and where you'd want to make use of something like Open Metadata. Here's the scenario; you are one of 10 players working on an ad for Cadbury. The project consists of a single continuous shot and lasts for 20 seconds. There are a total of 2 characters in

{
  "shots": 1,
  "length": 20, // seconds
  "duration": 21, // days
  "characters": 2,
  "artists": 10,
  "roles": {
    "animators": 2,
    "lighters": 1,
    "leads": 1,
    "production": 3,
    "compositing": 1,
    "modelers": 1,
    "fx": 1
}

Right off the bat you can see that we have some metadata about this project. These statistics might be useful for potential freelancers who might be looking to join your crew. We'll store this information at the root of the project and move on.

>>> import openmetadata as om
>>> root = '/root/cadbury'
>>> for key, value in production_data.iteritems():
...   om.write(key, value, parent=root)

Great, this project is on the way to greatness! This particular project consists of a single shot and so the most straightforward approach would be to find someone qualified for all 7 roles and assign it to him, but since we've got a budget and deadline, we'll have to find a way to separate responsibilities amongst the 10 involved players.