Skip to end of banner
Go to start of banner

Metadata Concepts

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 14 Next »

A file in MediaHaven consists of a list of metadata fields. Each metadata field has a key and the keys are unique in the list of metadata fields from a file. An overview of all the fields that are standard in MediaHaven is documented in Metadata Fields.

Field Definitions

Field Definitions

Metadata Families

Metadata Families

Metadata Field

A metadata field is either:

  • Simple: which means it has a scalar value, for example a string, long or boolean

  • Complex: which means the value consists of a list of other fields termed sub fields.

The types SimpleField and ComplexField are each further specialised into additional types.

Base Class

Sub Class #1

Sub Class #2

Comment

Examples

SimpleField



Contains a string value with less than 32K characters.

Title

SimpleField

BooleanField


Contains a boolean value. In MediaHaven 1.0 web site and the old External Metadata [deprecated] this shown as either "0" or "1".

IsFragment, ContainsGeoData

SimpleField

EnumField


Contains a string value. The value is limited to a specific set of values defined on the fielddefinition


SimpleField

TimeCodeField


Contains a timecode in ISO timecode format, e.g. "00:25:12.840"

StartTimeCode

SimpleField

LongField


Contains a long value, e.g. "5845988"

Width, Height, FileSize

SimpleField

LongField

FramesField

Contains a long value with up 10 zeroes prepadded, e.g. "0000000025"

The rationale is to make it  lexicographically sortable in Lucene, because regular long values are not.

FragmentStartFrames

SimpleField

DateField


Contains a full ISO8601 date in microsecond precision and Zulu time. The machine specification of the format is yyyy-MM-dd'T'HH:mm:ss.SSSSSS'Z'

1925-11-30T15:23:48.123456Z

SimpleField

TextField

Contains a string value of any length or when the value is tokenized

Description

ComplexField



Contains as value a list of metadata fields

Browses

ComplexField

MultiItemField


  • Contains as value a list of simple fields. 

  • The string value of sub fields are trimmed and empty values are ignored

  • The sub fields have no order

  • The sub fields can be duplicate on their key, but their value must differ (case insensitive)

Authors

ComplexField

MultiItemField

ListField

  • ListField is a specialized MultiItemField where all sub fields must have the same (predefined) key

  • This allows for representing the value as a list

Keywords, Categories, Publications

ComplexField

MultiItemField

MapField

  • MapField is a specialized MultiItemField where all sub fields have a unique key.

  • This allows for representing the value as a (hash) map

Browses/Browse 



  • No labels