|
1 // |
|
2 // NOTES: |
|
3 // 1. "//" at the beginning means a comment for the rest of the line |
|
4 // 2. There is the difference between using small and capital letters |
|
5 // so it means that "Video" and "video" are not the same |
|
6 // 3. Layout of schema should looks like this: |
|
7 // namespace_1 |
|
8 // ... |
|
9 // namespace_n |
|
10 // object_1 |
|
11 // property_1 |
|
12 // ... |
|
13 // property_n |
|
14 // object_2 |
|
15 // property_1 |
|
16 // ... |
|
17 // property_n |
|
18 // namespace_n+1 |
|
19 // ... |
|
20 // namespace_n+n |
|
21 // object_1 |
|
22 // property_1 |
|
23 // ... |
|
24 // property_n |
|
25 // object_2 |
|
26 // property_1 |
|
27 // ... |
|
28 // property_n |
|
29 // namespace_n+n+n ......... |
|
30 // |
|
31 // VERSION: (OPTIONAL) |
|
32 // version <number> |
|
33 // <number> = version number in format major_version.minor_version |
|
34 // |
|
35 // NAMESPACE: |
|
36 // ---------------- |
|
37 // namespace <name> <readonly> |
|
38 // <name> = any string |
|
39 // <readonly> = if true, it is prohibited to add new items into this namespace |
|
40 // |
|
41 // |
|
42 // OBJECT DEF: |
|
43 // ---------------- |
|
44 // object <namespace> <name> <parent> <flags> |
|
45 // <namespace> = name of namespace |
|
46 // <name> = any string |
|
47 // <parent> = name of the parent |
|
48 // <flags> = object definition's flags |
|
49 // 0 = no flags |
|
50 // 1 = removable, object is removed when all relations pointing to it are removed |
|
51 // |
|
52 // |
|
53 // PROPERTY DEF: |
|
54 // ---------------- |
|
55 // property <name> <readonly> <mandatory> <type> <minv> <maxv> [<indexed>] |
|
56 // <name> = any string |
|
57 // <readonly> = if true, users are not allowed to modify this value once written |
|
58 // <mandatory> = if true, this property is mandatory |
|
59 // <type> = datatype of the property, numeric value (see table below) |
|
60 // <minv> = minimum value of the property (format depends on type) |
|
61 // <maxv> = maximum value of the property (format depends on type) |
|
62 // <indexed> = flag indicating should this property be indexed (optional, only for text properties) |
|
63 // 1 = create an index for this property |
|
64 // |
|
65 // THERE ARE DEFINED min AND max VALUE, WHICH ALWAYS SET CORRECT VALUE FOR ITS TYPE |
|
66 // |
|
67 // EPropertyBool = 0, min/max = no effect (always set internal to 0 and 1) |
|
68 // EPropertyInt8 = 1, min/max = numeric values |
|
69 // EPropertyUint8 = 2, min/max = numeric values |
|
70 // EPropertyInt16 = 3, min/max = numeric values |
|
71 // EPropertyUint16 = 4, min/max = numeric values |
|
72 // EPropertyInt32 = 5, min/max = numeric values |
|
73 // EPropertyUint32 = 6, min/max = numeric values |
|
74 // EPropertyInt64 = 7, min/max = numeric values |
|
75 // EPropertyReal32 = 8, min/max = numeric values |
|
76 // EPropertyReal64 = 9, min/max = numeric values |
|
77 // EPropertyTime = 10, min/max = Time format: YYYYMMDDhhmmss (for instance 20050629163021) |
|
78 // EPropertyText = 11, min/max = numeric values, indicating minimum and maximum length of string |
|
79 // (minimum and maximum values must be between 1 and 65535) |
|
80 // |
|
81 // RELATION DEF: |
|
82 // ---------------- |
|
83 // relationdef <namespace> <name> |
|
84 // <namespace> = name of namespace |
|
85 // <name> = any string |
|
86 // |
|
87 // EVENT DEF: |
|
88 // ---------------- |
|
89 // eventdef <namespace> <name> <priority> |
|
90 // <namespace> = name of namespace |
|
91 // <name> = any string |
|
92 // <priority> = event priority, numeric value |
|
93 // |
|
94 // |
|
95 |
|
96 version 2.0 |
|
97 |
|
98 |
|
99 namespace http://sw.nokia.com/MdE 0 |
|
100 |
|
101 |
|
102 object http://sw.nokia.com/MdE Location Object 1 |
|
103 property CellID 0 0 6 min max |
|
104 property LocationAreaCode 0 0 6 min max |
|
105 property Speed 0 0 8 min max |
|
106 property Direction 0 0 8 min max |
|
107 property Quality 0 0 8 min max |
|
108 property Latitude 0 0 9 min max |
|
109 property Longitude 0 0 9 min max |
|
110 property Altitude 0 0 9 min max |
|
111 property CountryCodeStr 0 0 11 min max |
|
112 property NetworkCodeStr 0 0 11 min max |
|
113 property Satellites 0 0 11 min max |
|
114 property Country 0 0 11 min max |
|
115 property CellName 0 0 11 min max |
|
116 |
|
117 |
|
118 object http://sw.nokia.com/MdE Calendar Object 1 |
|
119 property CalendarType 0 0 2 min max |
|
120 property LocalUid 0 0 6 min max |
|
121 property StartTime 0 0 10 min max |
|
122 property EndTime 0 0 10 min max |
|
123 property Location 0 0 11 min max |
|
124 property vCalendar 0 0 11 min max |
|
125 |
|
126 |
|
127 object http://sw.nokia.com/MdE Contact Object 1 |
|
128 property Number 0 0 11 min max |
|
129 property EmailAddress 0 0 11 min max |
|
130 property Company 0 0 11 min max |
|
131 property JobTitle 0 0 11 min max |
|
132 property Address 0 0 11 min max |
|
133 property ContactURL 0 0 11 min max |
|
134 property vCard 0 0 11 min max |
|
135 |
|
136 |
|
137 object http://sw.nokia.com/MdE Message Object 0 |
|
138 property Received 0 0 0 min max |
|
139 property ToWhom 0 0 11 min max |
|
140 property Sender 0 0 11 min max |
|
141 |
|
142 |
|
143 object http://sw.nokia.com/MdE Album Object 0 |
|
144 property Ordered 0 0 0 min max |
|
145 property Type 0 0 4 min max |
|
146 |
|
147 |
|
148 object http://sw.nokia.com/MdE Tag Object 0 |
|
149 |
|
150 |
|
151 object http://sw.nokia.com/MdE MediaObject Object 0 |
|
152 property Protected 0 0 0 min max |
|
153 property DRM 0 0 0 min max |
|
154 property ThumbnailPresent 0 0 0 min max |
|
155 property Resized 0 0 0 min max |
|
156 property Sample 0 0 0 min max |
|
157 property Rating 0 0 2 min max |
|
158 property Privacy 0 0 4 min max |
|
159 property ResolutionUnit 0 0 4 min max |
|
160 property Bitrate 0 0 4 min max |
|
161 property Width 0 0 4 min max |
|
162 property Height 0 0 4 min max |
|
163 property Preinstalled 0 0 5 min max |
|
164 property AccessCount 0 0 6 min max |
|
165 property DownloadID 0 0 6 min max |
|
166 property Duration 0 0 8 min max |
|
167 property ReleaseDate 0 0 10 min max |
|
168 property CaptureDate 0 0 10 min max |
|
169 property Artist 0 0 11 min max |
|
170 property Author 0 0 11 min max |
|
171 property Copyright 0 0 11 min max |
|
172 property Legal 0 0 11 min max |
|
173 property Description 0 0 11 min max |
|
174 property Comment 0 0 11 min max |
|
175 property Genre 0 0 11 min max |
|
176 property Track 0 0 4 min max |
|
177 property AudioFourCC 0 0 6 min max |
|
178 |
|
179 |
|
180 object http://sw.nokia.com/MdE Video MediaObject 0 |
|
181 property AgeProfile 0 0 5 min max |
|
182 property RecordingFlags 0 0 6 min max |
|
183 property LastPlayPosition 0 0 8 min max |
|
184 property Framerate 0 0 8 min max |
|
185 property AudioLanguage 0 0 11 min max |
|
186 |
|
187 |
|
188 object http://sw.nokia.com/MdE Image MediaObject 0 |
|
189 property Draft 0 0 0 min max |
|
190 property FocalPlaneResolutionUnit 0 0 4 min max |
|
191 property ExposureProgram 0 0 4 min max |
|
192 property FocalLengthIn35mmFilm 0 0 4 min max |
|
193 property ISOSpeedRatings 0 0 4 min max |
|
194 property MeteringMode 0 0 4 min max |
|
195 property WhiteBalance 0 0 4 min max |
|
196 property Flash 0 0 4 min max |
|
197 property ColourSpace 0 0 4 min max |
|
198 property Orientation 0 0 4 min max |
|
199 property SamplesPerPixel 0 0 4 min max |
|
200 property BitsPerSample 0 0 4 min max |
|
201 property YCbCrPositioning 0 0 4 min max |
|
202 property ThumbCompression 0 0 4 min max |
|
203 property ThumbResolutionUnit 0 0 4 min max |
|
204 property ThumbOrientation 0 0 4 min max |
|
205 property FrameCount 0 0 5 min max |
|
206 property PixelXDimension 0 0 6 min max |
|
207 property PixelYDimension 0 0 6 min max |
|
208 property ExifVersion 0 0 6 min max |
|
209 property ComponentsConfiguration 0 0 6 min max |
|
210 property FlashPixVersion 0 0 6 min max |
|
211 property ThumbXResolution 0 0 6 min max |
|
212 property ThumbYResolution 0 0 6 min max |
|
213 property FocalPlaneXResolution 0 0 8 min max |
|
214 property FocalPlaneYResolution 0 0 8 min max |
|
215 property ExposureTime 0 0 8 min max |
|
216 property ExposureBiasValue 0 0 8 min max |
|
217 property FNumber 0 0 8 min max |
|
218 property FocalLength 0 0 8 min max |
|
219 property ApertureValue 0 0 8 min max |
|
220 property MaxAperture 0 0 8 min max |
|
221 property ShutterSpeedValue 0 0 8 min max |
|
222 property XResolution 0 0 8 min max |
|
223 property YResolution 0 0 8 min max |
|
224 property DateTime 0 0 10 min max |
|
225 property DateTimeDigitized 0 0 10 min max |
|
226 property DateTimeOriginal 0 0 10 min max |
|
227 property Model 0 0 11 min max |
|
228 property Make 0 0 11 min max |
|
229 property RelatedSoundFile 0 0 11 min max |
|
230 |
|
231 |
|
232 object http://sw.nokia.com/MdE Audio MediaObject 0 |
|
233 property SamplingFrequency 0 0 8 min max |
|
234 property Album 0 0 11 min max |
|
235 property Composer 0 0 11 min max |
|
236 property OriginalArtist 0 0 11 min max |
|
237 property AlbumArtist 0 0 11 min max |
|
238 |
|
239 |
|
240 object http://sw.nokia.com/MdE TrackLog Object 0 |
|
241 property Length 0 0 6 min max |
|
242 property StartTime 0 0 10 min max |
|
243 property StopTime 0 0 10 min max |
|
244 |
|
245 |
|
246 |
|
247 eventdef http://sw.nokia.com/MdE Created 1 |
|
248 eventdef http://sw.nokia.com/MdE Deleted 1 |
|
249 eventdef http://sw.nokia.com/MdE Opened 2 |
|
250 eventdef http://sw.nokia.com/MdE Played 2 |
|
251 eventdef http://sw.nokia.com/MdE Edited 2 |
|
252 eventdef http://sw.nokia.com/MdE Sent 2 |
|
253 eventdef http://sw.nokia.com/MdE Received 2 |
|
254 |
|
255 |
|
256 |
|
257 relationdef http://sw.nokia.com/MdE Contains |
|
258 relationdef http://sw.nokia.com/MdE Replaces |
|
259 relationdef http://sw.nokia.com/MdE IsVersionOf |
|
260 relationdef http://sw.nokia.com/MdE Requires |
|
261 relationdef http://sw.nokia.com/MdE Uses |
|
262 relationdef http://sw.nokia.com/MdE References |
|
263 relationdef http://sw.nokia.com/MdE Summarises |
|
264 relationdef http://sw.nokia.com/MdE ContainsLocation |