//
// NOTES:
// 1. "//" at the beginning means a comment for the rest of the line
// 2. There is the difference between using small and capital letters
//    so it means that "Video" and "video" are not the same
// 3. Layout of schema should looks like this:
//    namespace_1
//       ...
//    namespace_n
//     object_1
//      property_1
//        ...
//      property_n
//     object_2
//      property_1
//        ...
//      property_n
//    namespace_n+1
//       ...
//    namespace_n+n
//     object_1
//      property_1
//        ...
//      property_n
//     object_2
//      property_1
//        ...
//      property_n
//    namespace_n+n+n .........
//
// VERSION: (OPTIONAL)
// version <number>
//    <number>   = version number in format major_version.minor_version
//
// NAMESPACE:
// ----------------
// namespace   <name> <readonly>
//    <name>     = any string
//    <readonly> = if true, it is prohibited to add new items into this namespace
//
//
// OBJECT DEF:
// ----------------
// object   <namespace> <name> <parent> <flags>
//    <namespace> = name of namespace
//    <name>      = any string
//    <parent>    = name of the parent
//    <flags>     = object definition's flags
//                  0 = no flags
//                  1 = removable, object is removed when all relations to it are removed
//
//
// PROPERTY DEF:
// ----------------
// property   <namespace> <name> <type> <minc> <maxc> <minv> <maxv> <readonly>
//    <namespace> = name of namespace
//    <name>      = any string
//    <type>      = datatype of the property, numeric value (see table below)
//    <minc>      = minimum number of properties of this type allowed in objects
//    <maxc>      = maximum number of properties of this type allowed in objects
//    <minv>      = minimum value of the property (format depends on type)
//    <maxv>      = maximum value of the property (format depends on type)
//    <readonly>  = if true, users are not allowed to modify this value once written
//
//    EPropertyBool     = 0,   min/max = no effect (always set internal to 0 and 1)
//    EPropertyInt8     = 1,   min/max = numeric values
//    EPropertyUint8    = 2,   min/max = numeric values
//    EPropertyInt16    = 3,   min/max = numeric values
//    EPropertyUint16   = 4,   min/max = numeric values
//    EPropertyInt32    = 5,   min/max = numeric values
//    EPropertyUint32   = 6,   min/max = numeric values
//    EPropertyInt64    = 7,   min/max = numeric values
//    EPropertyReal32   = 8,   min/max = numeric values
//    EPropertyReal64   = 9,   min/max = numeric values
//    EPropertyTime     = 10,  min/max = Time format: YYYYMMDDhhmmss (for instance 20050629163021)
//    EPropertyText     = 11,  min/max = numeric values, indicating minimum and maximum length of string 
//                                       (minimum and maximum values must be between 1 and 65535)
//
// RELATION DEF:
// ----------------
// relationdef <namespace> <name>
//    <namespace> = name of namespace
//    <name>      = any string
//
// EVENT DEF:
// ----------------
// eventdef <namespace> <name> <priority>
//    <namespace> = name of namespace
//    <name>      = any string
//    <priority>  = event priority, numeric value
//
//

version 1.9


namespace http://sw.nokia.com/MdE 0



object http://sw.nokia.com/MdE Location Object 1
property LandmarkId                     6     0                1                0                4294967295      0
property CellID                         6     0                1                0                4294967295      0
property LocationAreaCode               6     0                1                0                4294967295      0
property Speed                          8     0                1                -3.4e38          3.4e38          0
property Direction                      8     0                1                -3.4e38          3.4e38          0
property Quality                        8     0                1                -3.4e38          3.4e38          0
property Latitude                       9     0                1                -1.79e308        1.79e308        0
property Longitude                      9     0                1                -1.79e308        1.79e308        0
property Altitude                       9     0                1                -1.79e308        1.79e308        0
property Satellites                     11    0                1                1                65535           0
property Country                        11    0                1                1                65535           0
property CellName                       11    0                1                1                65535           0
property NetworkCodeStr                 11    0                1                1                65535           0
property CountryCodeStr                 11    0                1                1                65535           0



object http://sw.nokia.com/MdE Calendar Object 1
property CalendarType                   2     0                1                0                255             0
property StartTime                      10    0                1                00000101000000   99990101000000  0
property EndTime                        10    0                1                00000101000000   99990101000000  0
property Location                       11    0                1                1                65535           0
property vCalendar                      11    0                1                1                65535           0



object http://sw.nokia.com/MdE Contact Object 1
property Number                         11    0                1                1                65535           0
property EmailAddress                   11    0                1                1                65535           0
property Company                        11    0                1                1                65535           0
property JobTitle                       11    0                1                1                65535           0
property Address                        11    0                1                1                65535           0
property ContactURL                     11    0                1                1                65535           0
property vCard                          11    0                1                1                65535           0



object http://sw.nokia.com/MdE MediaObject Object 0
property Protected                      0     0                1                0                1               0
property DRM                            0     0                1                0                1               0
property ThumbnailPresent               0     0                1                0                1               0
property Rating                         2     0                1                0                255             0
property Privacy                        4     0                1                0                65535           0
property ResolutionUnit                 4     0                1                0                65535           0
property Bitrate                        4     0                1                0                65535           0
property Width                          4     0                1                0                65535           0
property Height                         4     0                1                0                65535           0
property AccessCount                    6     0                1                0                4294967295      0
property Duration                       8     0                1                -3.4e38          3.4e38          0
property ReleaseDate                    10    0                1                00000101000000   99990101000000  0
property CaptureDate                    10    0                1                00000101000000   99990101000000  0
property Artist                         11    0                1                1                65535           0
property Author                         11    0                1                1                65535           0
property Copyright                      11    0                1                1                65535           0
property Legal                          11    0                1                1                65535           0
property Description                    11    0                1                1                65535           0
property Comment                        11    0                1                1                65535           0
property Genre                          11    0                1                1                65535           0



object http://sw.nokia.com/MdE Video MediaObject 0
property AudioFourCC                    6     0                1                0                4294967295      0
property LastPlayPosition               8     0                1                -3.4e38          3.4e38          0
property Framerate                      8     0                1                -3.4e38          3.4e38          0



object http://sw.nokia.com/MdE Image MediaObject 0
property FocalPlaneResolutionUnit       4     0                1                0                65535           0
property ExposureProgram                4     0                1                0                65535           0
property FocalLengthIn35mmFilm          4     0                1                0                65535           0
property ISOSpeedRatings                4     0                1                0                65535           0
property MeteringMode                   4     0                1                0                65535           0
property WhiteBalance                   4     0                1                0                65535           0
property Flash                          4     0                1                0                65535           0
property ColourSpace                    4     0                1                0                65535           0
property Orientation                    4     0                1                0                65535           0
property SamplesPerPixel                4     0                1                0                65535           0
property BitsPerSample                  4     0                1                0                65535           0
property YCbCrPositioning               4     0                1                0                65535           0
property ThumbCompression               4     0                1                0                65535           0
property ThumbResolutionUnit            4     0                1                0                65535           0
property ThumbOrientation               4     0                1                0                65535           0
property FrameCount                     5     0                1                -2147483648      2147483647      0
property PixelXDimension                6     0                1                0                4294967295      0
property PixelYDimension                6     0                1                0                4294967295      0
property ExifVersion                    6     0                1                0                4294967295      0
property ComponentsConfiguration        6     0                1                0                4294967295      0
property FlashPixVersion                6     0                1                0                4294967295      0
property ThumbXResolution               6     0                1                0                4294967295      0
property ThumbYResolution               6     0                1                0                4294967295      0
property FocalPlaneXResolution          8     0                1                -3.4e38          3.4e38          0
property FocalPlaneYResolution          8     0                1                -3.4e38          3.4e38          0
property ExposureTime                   8     0                1                -3.4e38          3.4e38          0
property ExposureBiasValue              8     0                1                -3.4e38          3.4e38          0
property FNumber                        8     0                1                -3.4e38          3.4e38          0
property FocalLength                    8     0                1                -3.4e38          3.4e38          0
property ApertureValue                  8     0                1                -3.4e38          3.4e38          0
property MaxAperture                    8     0                1                -3.4e38          3.4e38          0
property ShutterSpeedValue              8     0                1                -3.4e38          3.4e38          0
property XResolution                    8     0                1                -3.4e38          3.4e38          0
property YResolution                    8     0                1                -3.4e38          3.4e38          0
property DateTime                       10    0                1                00000101000000   99990101000000  0
property DateTimeDigitized              10    0                1                00000101000000   99990101000000  0
property DateTimeOriginal               10    0                1                00000101000000   99990101000000  0
property PixelFormat                    11    0                1                1                65535           0
property Model                          11    0                1                1                65535           0
property Make                           11    0                1                1                65535           0
property RelatedSoundFile               11    0                1                1                65535           0



object http://sw.nokia.com/MdE Audio MediaObject 0
property Track                          4     0                1                0                65535           0
property SamplingFrequency              8     0                1                -3.4e38          3.4e38          0
property Album                          11    0                1                1                65535           0
property Composer                       11    0                1                1                65535           0
property OriginalArtist                 11    0                1                1                65535           0
property AlbumArtist                    11    0                1                1                65535           0



object http://sw.nokia.com/MdE MTPMediaObject MediaObject 0
property AutoSyncSync                   0     0                1                0                1               0
property AutoSyncModified               0     0                1                0                1               0
property AutoSyncDeleted                0     0                1                0                1               0
property NumberOfChannels               4     0                1                0                65535           0
property ScanType                       4     0                1                0                65535           0
property SampleRate                     6     0                1                0                4294967295      0
property AudioWaveCodec                 6     0                1                0                4294967295      0
property AudioBitRate                   6     0                1                0                4294967295      0
property VideoFourCCCodec               6     0                1                0                4294967295      0
property VideoBitRate                   6     0                1                0                4294967295      0
property FramesPerThousandSeconds       6     0                1                0                4294967295      0
property KeyFrameDistance               6     0                1                0                4294967295      0
property AutoSyncTimestamp              10    0                1                00000101000000   99990101000000  0
property FullFileName                   11    0                1                1                65535           0
property ParentalRating                 11    0                1                1                65535           0
property EncodingProfile                11    0                1                1                65535           0



object http://sw.nokia.com/MdE Album Object 0
property Type                           4     0                1                0                65535           0
property Properties                     6     0                1                0                4294967295      0
property SlideshowWallpaper             11    0                1                1                65535           0



object http://sw.nokia.com/MdE Tag Object 0



object http://sw.nokia.com/MdE Message Object 0
property Received                       0     0                1                0                1               0
property Sender                         11    0                1                1                65535           0
property ToWhom                         11    0                1                1                65535           0



eventdef    http://sw.nokia.com/MdE   Created        1
eventdef    http://sw.nokia.com/MdE   Deleted        1
eventdef    http://sw.nokia.com/MdE   Opened         2
eventdef    http://sw.nokia.com/MdE   Played         2
eventdef    http://sw.nokia.com/MdE   Edited         2
eventdef    http://sw.nokia.com/MdE   Sent           2
eventdef    http://sw.nokia.com/MdE   Received       2
eventdef    http://sw.nokia.com/MdE   Synchronized   2



relationdef    http://sw.nokia.com/MdE    Ordinal
relationdef    http://sw.nokia.com/MdE    Contains
relationdef    http://sw.nokia.com/MdE    Replaces
relationdef    http://sw.nokia.com/MdE    IsVersionOf
relationdef    http://sw.nokia.com/MdE    Requires
relationdef    http://sw.nokia.com/MdE    Uses
relationdef    http://sw.nokia.com/MdE    References
relationdef    http://sw.nokia.com/MdE    Summarises
