-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvideo-recording-template.xml
186 lines (185 loc) · 21.5 KB
/
video-recording-template.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="#odml_local_style"?>
<!DOCTYPE odML [ <!ATTLIST xsl:stylesheet id ID #REQUIRED> ]>
<odML version="1.1">
<xsl:stylesheet id="odml_local_style" version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:fn="http://www.w3.org/2005/02/xpath-functions" xmlns:odml="http://www.g-node.org/odml"><xsl:template match="odML"><xsl:variable name="repository" select="repository"/><html><head><meta charset="utf-8" /><title>odML | The Open metaData Markup Language</title><meta name="description" content="Markup language for the storage of scientific metadata" /></head><style>article,aside,details,figcaption,figure,footer,header,hgroup,nav,sec,summary{display:block}audio,canvas,video{display:inline-block;*display:inline;*zoom:1}audio:not([controls]){display:none}[hidden]{display:none}html{font-size:100%;-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%}button,html,input,select,textarea{font-family:sans-serif}body{margin:0}a:focus{outline:thin dotted}a:active,a:hover{outline:0}h1{font-size:2em;margin:0.67em 0}h2{font-size:1.5em;margin:0.83em 0}h3{font-size:1.17em;margin:1em 0}h4{font-size:1em;margin:1.33em 0}h5{font-size:0.83em;margin:1.67em 0}h6{font-size:0.75em;margin:2.33em 0}abbr[title]{border-bottom:1px dotted}b,strong{font-weight:bold}blockquote{margin:1em 40px}dfn{font-style:italic}mark{background:#ff0;color:#000}p,pre{margin:1em 0}code,kbd,pre,samp{font-family:monospace, serif;_font-family:'courier new', monospace;font-size:1em}q{quotes:none}q:after,q:before{content:'';content:none}small{font-size:75%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sup{top:-0.5em}sub{bottom:-0.25em}dl,menu,ol,ul{margin:1em 0}dd{margin:0 0 0 40px}menu,ol,ul{padding:0 0 0 40px}nav ol,nav ul{list-style:none;list-style-image:none}img{border:0;-ms-interpolation-mode:bicubic}svg:not(:root){overflow:hidden}figure{margin:0}form{margin:0}fieldset{border:1px solid #c0c0c0;margin:0 2px;padding:0.35em 0.625em 0.75em}legend{border:0;padding:0;white-space:normal;*margin-left:-7px}button,input,select,textarea{font-size:100%;margin:0;vertical-align:baseline;*vertical-align:middle}button,input{line-height:normal}button,input[type="button"],input[type="reset"],input[type="submit"]{cursor:pointer;-webkit-appearance:button;*overflow:visible}button[disabled],input[disabled]{cursor:default}input[type="checkbox"],input[type="radio"]{box-sizing:border-box;padding:0;*height:13px;*width:13px}input[type="search"]{-webkit-appearance:textfield;-moz-box-sizing:content-box;-webkit-box-sizing:content-box;box-sizing:content-box}input[type="search"]::-webkit-search-decoration,input[type="search"]::-webkit-search-cancel-button{-webkit-appearance:none}button::-moz-focus-inner,input::-moz-focus-inner{border:0;padding:0}textarea{overflow:auto;vertical-align:top}table{border-collapse:collapse;border-spacing:0}.highlight table td{padding:5px}.highlight table pre{margin:0}.highlight,.highlight .w{color:#d0d0d0}.highlight .err{color:#151515;background-color:#ac4142}.highlight .c,.highlight .c1,.highlight .cd,.highlight .cm,.highlight .cs{color:#888}.highlight .cp{color:#f4bf75}.highlight .nt{color:#f4bf75}.highlight .o,.highlight .ow{color:#d0d0d0}.highlight .p,.highlight .pi{color:#d0d0d0}.highlight .gi{color:#90a959}.highlight .gd{color:#ac4142}.highlight .gh{color:#6a9fb5;font-weight:bold}.highlight .k,.highlight .kn,.highlight .kp,.highlight .kr,.highlight .kv{color:#aa759f}.highlight .kc{color:#d28445}.highlight .kt{color:#d28445}.highlight .kd{color:#d28445}.highlight .s,.highlight .s1,.highlight .s2,.highlight .sb,.highlight .sc,.highlight .sd,.highlight .sh,.highlight .sx{color:#90a959}.highlight .sr{color:#75b5aa}.highlight .si{color:#8f5536}.highlight .se{color:#8f5536}.highlight .nn{color:#f4bf75}.highlight .nc{color:#f4bf75}.highlight .no{color:#f4bf75}.highlight .na{color:#6a9fb5}.highlight .il,.highlight .m,.highlight .mb,.highlight .mf,.highlight .mh,.highlight .mi,.highlight .mo,.highlight .mx{color:#90a959}.highlight .ss{color:#90a959}body{font:14px/22px 'Quattrocento Sans', "Helvetica Neue", Helvetica, Arial, sans-serif;color:#666;font-weight:300;margin:0;padding:0 0 20px;background:#eae6d1}h1,h2,h3,h4,h5,h6{color:#333;margin:0 0 10px}dl,ol,p,pre,table,ul{margin:0 0 20px}ol.nested{margin:0}h1,h2,h3{line-height:1.1}a{color:#3399cc;font-weight:400;text-decoration:none}a small{font-size:11px;color:#666;margin-top:-0.6em;display:block}a.white{color:white}strong{font-weight:bold;color:#333}.wrapper{width:800px;margin:0 auto;position:relative}sec img{max-width:100%}blockquote{border-left:1px solid #ffcc00;margin:0;padding:0 0 0 20px;font-style:italic}code{font-family:'Lucida Sans', Monaco, Bitstream Vera Sans Mono, Lucida Console, Terminal;font-size:13px;color:#efefef;text-shadow:0 1px 0 #000;margin:0 4px;padding:2px 6px;background:#333;border-radius:2px}pre{padding:8px 15px;background:#333333;border-radius:3px;border:1px solid #c7c7c7;overflow:auto;overflow-y:hidden}pre code{margin:0;padding:0}table{width:100%;border-collapse:collapse}th{text-align:left;padding:5px 10px;border-bottom:1px solid #e5e5e5;color:#444}td{text-align:left;padding:5px 10px;border-bottom:1px solid #e5e5e5;border-right:1px solid #ffcc00}td:first-child{border-left:1px solid #ffcc00}hr{border:0;outline:none;height:11px;background:transparent center center repeat-x;margin:0 0 20px}hr.fatline{color:yellow;background-color:#336699;height:4px;margin-right:0;text-align:right;border:1px dashed black}hr.thinline{background-color:#336699;height:1px;margin-right:0;text-align:right}dt{color:#444;font-weight:700}header{padding:25px 20px 40px;margin:0;position:fixed;top:0;left:0;right:0;width:100%;text-align:center;background:#4276b6;box-shadow:1px 0 2px rgba(0, 0, 0, 0.75);z-index:99;-webkit-font-smoothing:antialiased;min-height:76px}header h1{font:40px/48px 'Copse', "Helvetica Neue", Helvetica, Arial, sans-serif;color:#f3f3f3;text-shadow:0 2px 0 #235796;margin:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;-o-text-overflow:ellipsis;-ms-text-overflow:ellipsis}header p{color:#d8d8d8;text-shadow:rgba(0, 0, 0, 0.2) 0 1px 0;margin:0}#banner{z-index:100;left:0;right:50%;height:50px;margin-right:-382px;position:fixed;top:115px;background:#1876dfff;border:1px solid #00000000;box-shadow:0 1px 3px rgba(0, 0, 0, 0.25);border-radius:0 2px 2px 0;padding-right:10px}#banner .button{border:1px solid #dba500;background:linear_gradient(#ffe788, #ffce38);border-radius:2px;box-shadow:inset 0 1px 0 rgba(255, 255, 255, 0.4), 0 1px 1px rgba(0, 0, 0, 0.1);background-color:#FFE788;margin-left:5px;padding:10px 12px;margin-top:6px;line-height:14px;font-size:14px;color:#333;font-weight:bold;display:inline-block;text-align:center}#banner .button:hover{background:linear_gradient(#ffe788, #ffe788);background-color:#ffeca0}#banner .fork{position:fixed;left:50%;margin-left:-325px;padding:10px 12px;margin-top:6px;line-height:14px;font-size:14px;background-color:#FFE788}#banner .downloads{float:right;margin:0 45px 0 0}#banner .downloads span{float:left;line-height:52px;font-size:90%;color:#9d7f0d;text-transform:uppercase;text-shadow:rgba(255, 255, 255, 0.2) 0 1px 0}#banner ul{list-style:none;height:40px;padding:0;float:left;margin-left:10px}#banner ul li{display:inline}#banner ul li a.button{background-color:#FFE788}#banner #logo{position:absolute;height:36px;width:36px;right:7px;top:7px;display:block}.navWrapper{margin-top:190px;position:relative}sec{width:800px;padding:30px 30px 50px;margin:190px 0 20px;position:relative;background:#fbfbfb;border-radius:3px;border:1px solid #cbcbcb;box-shadow:0 1px 2px rgba(0, 0, 0, 0.09), inset 0 0 2px 2px rgba(255, 255, 255, 0.5), inset 0 0 5px 5px rgba(255, 255, 255, 0.4)}navigationContainer{width:75%;padding:30px 30px 50px;margin:0 auto;display:block;background:#fbfbfb;box-shadow:0 1px 2px rgba(0, 0, 0, 0.09), inset 0 0 2px 2px rgba(255, 255, 255, 0.5), inset 0 0 5px 5px rgba(255, 255, 255, 0.4)}small{font-size:12px}nav{width:230px;position:fixed;top:220px;left:50%;margin-left:-580px;text-align:right}nav ul{list-style:none;list-style-image:none;font-size:14px;line-height:24px}nav ul li{padding:5px 0;line-height:16px}nav ul li.tag-h1{font-size:1.2em}nav ul li.tag-h1 a{font-weight:bold;color:#333}nav ul li.tag-h2+.tag-h1{margin-top:10px}nav ul a{color:#666}nav ul a:hover{color:#999}footer{width:180px;position:fixed;left:50%;margin-left:-530px;bottom:20px;text-align:right;line-height:16px}@media print, screen and (max-width: 1060px){div.wrapper{width:auto;margin:0}nav{display:none}footer,header,sec{float:none}footer h1,header h1,sec h1{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;-o-text-overflow:ellipsis;-ms-text-overflow:ellipsis}#banner{width:100%}#banner .downloads{margin-right:60px}#banner #logo{margin-right:15px}sec{border:1px solid #e5e5e5;border-width:1px 0;padding:20px auto;margin:190px auto 20px;max-width:600px}footer{text-align:center;margin:20px auto;position:relative;left:auto;bottom:auto;width:auto}}@media print, screen and (max-width: 720px){body{word-wrap:break-word}header{padding:20px;margin:0}header h1{font-size:32px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;-o-text-overflow:ellipsis;-ms-text-overflow:ellipsis}header p{display:none}#banner{top:80px}#banner .fork{float:left;display:inline-block;margin-left:0;position:fixed;left:20px}sec{margin-top:130px;margin-bottom:0;width:auto}header p.view,header ul{position:static}}@media print, screen and (max-width: 480px){header{position:relative;padding:5px 0;min-height:0}header h1{font-size:24px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;-o-text-overflow:ellipsis;-ms-text-overflow:ellipsis}sec{margin-top:5px}#banner{display:none}header ul{display:none}}@media print{body{padding:0.4in;font-size:12pt;color:#444}}@media print, screen and (max-height: 680px){footer{text-align:center;margin:20px auto;position:relative;left:auto;bottom:auto;width:auto}}@media print, screen and (max-height: 480px){nav{display:none}footer{text-align:center;margin:20px auto;position:relative;left:auto;bottom:auto;width:auto}}
</style><body><header><h1><a class="white" href="https://templates.g-node.org/templates.xml">odML metadata document</a></h1></header><div class="navWrapper"><navigationContainer><div id="navigationContainer"><hr class="fatline" /><p><h2>Document info</h2><b>Author: </b><xsl:if test="author"><xsl:value-of select="author"/></xsl:if><br/><b>Date: </b><xsl:if test="date"><xsl:value-of select="date"/></xsl:if><br/><b>Version: </b><xsl:if test="version"><xsl:value-of select="version"/></xsl:if><br/><b>Repository: </b><xsl:if test="repository"><xsl:value-of select="repository"/></xsl:if><br/></p><hr class="fatline" /><h2>Structure</h2><font size ="-1" ><xsl:if test="section"><xsl:for-each select="section"><xsl:call-template name="sectionTemplate"><xsl:with-param name="navigation">1</xsl:with-param><xsl:with-param name="anchorBase">Sec</xsl:with-param><xsl:with-param name="url" select="$repository"/></xsl:call-template></xsl:for-each></xsl:if></font><br/></div><div id="contentContainer"><hr class="fatline" /><h2>Content</h2><xsl:if test="section"><xsl:for-each select="section"><xsl:call-template name="sectionTemplate"><xsl:with-param name="navigation">0</xsl:with-param><xsl:with-param name="anchorBase">Sec</xsl:with-param><xsl:with-param name="url" select="$repository"/></xsl:call-template></xsl:for-each></xsl:if></div></navigationContainer></div></body></html></xsl:template><xsl:template name="sectionTemplate" match="section"><xsl:param name="navigation"/><xsl:param name="anchorBase"/><xsl:param name="url"/><xsl:variable name="anchorName" select="concat($anchorBase,position())"/><xsl:variable name="repository"><xsl:choose><xsl:when test="repository"><xsl:value-of select ="repository"/></xsl:when><xsl:otherwise><xsl:value-of select ="$url"/></xsl:otherwise></xsl:choose></xsl:variable><xsl:choose><xsl:when test="$navigation = 1"><ol class="nested"><font size="normal"><a href="#{$anchorName}"><xsl:value-of select="name"/> (type: <xsl:value-of select="type"/>)</a></font><xsl:if test="section"><xsl:for-each select="section"><xsl:call-template name="sectionTemplate"><xsl:with-param name="navigation" select="$navigation"/><xsl:with-param name="anchorBase" select="concat($anchorName,'SubSec')"/><xsl:with-param name="url" select="$repository"/></xsl:call-template></xsl:for-each></xsl:if></ol></xsl:when><xsl:otherwise><a name="{$anchorName}"><h3><xsl:value-of select="name"/> Section</h3></a><p><b>Type: </b><xsl:value-of select="type"/><br/><xsl:choose><xsl:when test ="repository"><b>Repository: </b><xsl:value-of select="repository"/><br/></xsl:when><xsl:otherwise><b>Repository: </b><xsl:value-of select="$repository"/><br/></xsl:otherwise></xsl:choose><b>Link: </b><xsl:if test="link"><xsl:value-of select="link"/></xsl:if><br/><b>Include:</b><xsl:if test="include"><font color="red"><xsl:value-of select="include"/></font></xsl:if><br/><b>Definition: </b><xsl:if test="definition"><xsl:value-of select="definition"/></xsl:if><br/></p><xsl:if test="property"><table border="1" rules="rows" width="100%"><font size="-1"><tr bgcolor="#336699" align="left" valign="middle"><th><font size="+1" color="white"><b>Name</b></font></th><th><font size="+1" color="white"><b>Value</b></font></th><th><font size="+1" color="white"><b>Unit</b></font></th><th><font size="+1" color="white"><b>Type</b></font></th><th><font size="+1" color="white"><b>Uncertainty</b></font></th><th><font size="+1" color="white"><b>Definition</b></font></th><th><font size="+1" color="white"><b>Dependency</b></font></th><th><font size="+1" color="white"><b>Dependency Value</b></font></th></tr><xsl:for-each select="property"><xsl:variable name="anchor"><xsl:value-of select ="name"/></xsl:variable><tr><td width="15%"><a name="{$anchor}"/><p><xsl:value-of select="name"/></p></td><td width="10%"><p><xsl:value-of select="value"/></p></td><td width="5%"><p><xsl:value-of select="unit"/><br/></p></td><td width="5%"><p><xsl:value-of select="type"/></p></td><td width="5%"><p><xsl:value-of select="uncertainty"/><br/></p></td><td width="22.5%"><p><xsl:value-of select="definition"/></p></td><td width="5%"><p><xsl:value-of select="dependency"/></p></td><td width="5%"><p><xsl:value-of select="dependencyValue"/></p></td></tr></xsl:for-each></font></table></xsl:if><a href="#top"><tiny>top</tiny></a><hr class="thinline" /><xsl:if test="section"><xsl:for-each select="section"><xsl:call-template name="sectionTemplate"><xsl:with-param name="navigation" select="$navigation"/><xsl:with-param name="anchorBase" select="concat($anchorName,'SubSec')"/><xsl:with-param name="url" select="$repository"/></xsl:call-template></xsl:for-each></xsl:if></xsl:otherwise></xsl:choose></xsl:template>
</xsl:stylesheet>
<id>5fbdfb57-ad6b-4c05-a3fa-f133d6e6d953</id>
<version>1.0</version>
<author>Reema Gupta</author>
<section>
<id>9b34c5f3-a23e-486a-bd88-d4b00cc2425d</id>
<type>n.s.</type>
<name>video-recording</name>
<definition>Video-recording-template template schema generated by the CEDAR Template Editor 2.6.56</definition>
<section>
<id>efa8eb76-fc09-4418-b401-5107a757727c</id>
<type>n.s.</type>
<name>in2pb-header</name>
<definition>Header to be used for metadata templates created for In2PB projects.</definition>
<property>
<id>7cf36214-a04c-409f-8046-77b13921481d</id>
<name>in2pb-header</name>
<value></value>
<definition>Header to be used for metadata templates created for In2PB projects.</definition>
</property>
</section>
<section>
<id>efcf9c28-f0c7-499b-a769-92d16ce35d58</id>
<type>n.s.</type>
<name>video-recording-header</name>
<definition>Header with instructions for the video recording metadata.</definition>
<property>
<id>ece3b44e-c988-4276-8f03-4c6a30066218</id>
<name>video-recording-header</name>
<value></value>
<definition>Header with instructions for the video recording metadata.</definition>
</property>
</section>
<section>
<id>5877e820-22ad-4e15-9483-22385f35c76d</id>
<type>n.s.</type>
<name>video-recording-element</name>
<definition>Metadata describing the video recording data.</definition>
<property>
<id>a6225c1e-2810-4495-bca9-21f28a436eb8</id>
<name>videoID</name>
<value></value>
<definition>Identifier for the video recording.</definition>
</property>
<property>
<id>0f32a661-cc95-49f1-afcb-f0998ee4bfd8</id>
<name>videoFileFormat</name>
<value></value>
<definition>The format of the video file, such as, "MP4", "AVI", "MOV", etc.</definition>
</property>
<property>
<id>80b1ec95-d62a-47f5-9538-a1065c4cc4eb</id>
<name>videoCodec</name>
<value></value>
<definition>If the video is compressed, what codec was used. Enter none if not applicable.</definition>
</property>
<property>
<id>35db7a68-e1b9-4e1f-9416-e869f0491d18</id>
<name>videoSource</name>
<value></value>
<definition>The source of the video file, for instance, "Camera [name]", "Screen capture", etc.</definition>
</property>
<property>
<id>bad78e55-1e2b-4d16-8d96-8f579a6e741b</id>
<name>videoResolutionWidth</name>
<value></value>
<definition>The resolution width of the video file in pixels.</definition>
</property>
<property>
<id>f58bb365-4fa8-4ef1-a4d6-63302c1fe5d9</id>
<name>videoResolutionHeight</name>
<value></value>
<definition>The resolution height of the video file in pixels.</definition>
</property>
<property>
<id>3a56f38e-3ee4-46cf-b3db-dbc0711441dd</id>
<name>videoAspectRatio</name>
<value></value>
<definition>The aspect ratio of the video file, in the format, width:height</definition>
</property>
</section>
<section>
<id>d2cc0f16-e63e-4383-aef0-b751b3339499</id>
<type>n.s.</type>
<name>acquisiton-system-element</name>
<definition>Information about the hardware and software of the data acquisition system.</definition>
<property>
<id>675f5e07-78c7-4e67-a500-407033dd7c4f</id>
<name>powerLineFrequency</name>
<value></value>
<definition>Frequency (in Hz) of the power line at the setup location.</definition>
</property>
<property>
<id>3b09329e-2822-42c8-be6f-3db798d2fdaa</id>
<name>manufacturer</name>
<value></value>
<definition>Manufacturer of the acquisition system (e.g. "OpenEphys”, “Alphaomega",”Blackrock”)</definition>
</property>
<property>
<id>23d8e0ee-2c6b-48e0-8d33-0da7f722aade</id>
<name>manufacturerModelName</name>
<value></value>
<definition>Name of the data acquisition system used.</definition>
</property>
<property>
<id>88e91ca1-e3ec-441a-949c-4ccb5fc4fe74</id>
<name>manufacturerModelVersion</name>
<value></value>
<definition>Version of the data acquisition system.</definition>
</property>
<property>
<id>65b0aaa2-ec08-4641-a6eb-832256893df7</id>
<name>recordingSetupCustomName</name>
<value></value>
<definition>Custom name of the data acquisition system.</definition>
</property>
<property>
<id>364b9eaa-6544-43b1-ac66-32bf1c787e5e</id>
<name>institutionName</name>
<value></value>
<definition>The name of the institution where data is recorded.</definition>
</property>
<property>
<id>109bb39e-d210-4b75-a6ad-762ce1858c16</id>
<name>institutionAddress</name>
<value></value>
<definition>The address of the institution where data is recorded.</definition>
</property>
<property>
<id>6ab06c95-036a-4b0d-965e-00051c83f3fa</id>
<name>samplingFrequency</name>
<value></value>
<definition>Internal (maximum) sampling frequency of the recording in Hz.</definition>
</property>
<property>
<id>8de99cd8-f54e-4d18-8557-4c122fb85610</id>
<name>serialNumbers</name>
<value></value>
<definition>The serial number of the components of the setup, recommended to add serial numbers and versions of ALL components constituting the setup.</definition>
</property>
<property>
<id>3875d763-60ab-485c-8fed-c04b155bc3d0</id>
<name>usesSoftwareSuite</name>
<value></value>
<definition>Software suite used for data acquisition.</definition>
</property>
<property>
<id>b27ab6d2-8cf0-4801-ad8b-ff2be339f2f0</id>
<name>softwareVersions</name>
<value></value>
<definition>Version of the acquisition softwares.</definition>
</property>
<property>
<id>9a999980-0ea6-44ca-9afe-85f1909ab6a5</id>
<name>systemCreator</name>
<value></value>
<definition>Name of the person(s) who set up the system.</definition>
</property>
<property>
<id>a2e715b1-a0d5-4baa-b9e9-b13acfda9574</id>
<name>systemMaintainer</name>
<value></value>
<definition>Name of the person(s) who maintains the system.</definition>
</property>
</section>
<section>
<id>c39175a7-460e-443f-af74-df2e49c866fd</id>
<type>n.s.</type>
<name>free-text-field</name>
<definition>A free text element to allow the user to provide any additional information.</definition>
</section>
<property>
<id>287fd536-4e44-496d-936c-ef4428536328</id>
<name>free-text-field</name>
<value></value>
<definition>A free text element to allow the user to provide any additional information.</definition>
</property>
</section>
</odML>