You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: content/collections/reference/metadata.md
+93-75
Original file line number
Diff line number
Diff line change
@@ -8,7 +8,7 @@ aliases: /collections/metadata/
8
8
9
9
This reference documentation details all available metadata fields that can be specified in a collection's metadata file.
10
10
11
-
As an example, see the [complete metadata file](https://github.com/OpenTermsArchive/demo-declarations/blob/main/metadata.yml)of the [Demo collection](https://github.com/OpenTermsArchive/demo-declarations).
11
+
The examples given throughout this reference can be seen in context in the [complete metadata file](https://github.com/OpenTermsArchive/demo-declarations/blob/main/metadata.yml)and rendered in the [collection page](https://opentermsarchive.org/en/collections/demo/) of the Demo collection.
12
12
13
13
14
14
## Fields
@@ -17,174 +17,192 @@ As an example, see the [complete metadata file](https://github.com/OpenTermsArch
17
17
name="id"
18
18
type="string"
19
19
description="Unique identifier derived from name (acronyms, dash-separated)."
20
-
example="`pga`"
20
+
example="demo"
21
21
required=true
22
22
>}}
23
23
24
24
{{< configOption
25
25
name="name"
26
26
type="string"
27
-
description="Display name of the collection (max 3 words)."
28
-
example="`Platform Governance Archive`"
27
+
description="Display name of the collection."
28
+
example="Demo Collection"
29
29
required=true
30
30
>}}
31
31
32
32
{{< configOption
33
33
name="tagline"
34
34
type="string"
35
35
description="Concise description of collection topic."
36
-
example="`Major global social media services`"
36
+
example="Services used by Open Terms Archive"
37
37
required=true
38
38
>}}
39
39
40
40
{{< configOption
41
41
name="languages"
42
-
type="Array of strings"
43
-
description="[ISO 639 language codes](https://en.wikipedia.org/wiki/ISO_639) allowed in collection."
44
-
example="`[en, fr, de]`"
42
+
type="array of strings"
43
+
description="List of [ISO 639-1 (two-letter)](https://en.wikipedia.org/wiki/ISO_639)language codes representing languages allowed in the collection."
44
+
example="[en, fr, de]"
45
45
required=true
46
46
>}}
47
47
48
48
{{< configOption
49
49
name="jurisdictions"
50
-
type="Array of strings"
51
-
description="[ISO 3166-2 country codes](https://en.wikipedia.org/wiki/ISO_3166-2)for covered jurisdictions."
52
-
example="`[EU]`"
50
+
type="array of strings"
51
+
description="List of [ISO 3166-2 country codes](https://en.wikipedia.org/wiki/ISO_3166-2)representing jurisdictions covered by the collection."
52
+
example="[EU]"
53
53
required=true
54
54
>}}
55
55
56
56
{{< configOption
57
57
name="description"
58
58
type="string"
59
-
description="Detailed description of the collection."
60
-
example=`The **Platform Governance Archive** (PGA) collection tracks the terms of major global social media services.
61
-
62
-
This data is maintained and analysed by the [Platform Governance Archive](https://www.platformgovernancearchive.org/) at the Universität Bremen's [Center for Media Communication and Information Research (ZeMKI)](https://www.uni-bremen.de/zemki).
63
-
64
-
This initiative offers researchers, journalists and citizens the tools to analyze how platforms structure and regulate communication and interaction in our societies.
65
-
66
-
It also aims to promote greater transparency and accountability of these powerful digital services.`
59
+
description="Detailed description of the collection"
60
+
example=` The **Demo** collection tracks changes to the terms of use of services used by Open Terms Archive.
61
+
62
+
This provides a reference collection for best practices and enables the Open Terms Archive Core Team to be a user of the software it produces.
description="Tracking periods object, see [Tracking periods](#tracking-periods) section."
117
+
type="array of objects"
118
+
description="List of time periods during which terms were tracked, with their tracking configuration. Gaps between periods indicate times when tracking was interrupted. See [TrackingPeriods]({{< relref \"#trackingperiods\" >}}) section."
119
+
required=false
115
120
>}}
116
121
117
122
{{< configOption
118
123
name="governance"
119
-
type="array of entity objects"
120
-
description="Entity object, see [Entity](#entity) section."
124
+
type="object of objects"
125
+
description="Map of organizations involved in the collection's governance, with organization names as keys and governance objects as values. See [Governance]({{< relref \"#governance\" >}}) section."
126
+
required=false
127
+
>}}
128
+
129
+
{{< configOption
130
+
name="i18n"
131
+
type="object of objects"
132
+
description="Internationalization of any of the Metadata properties (except i18n itself) for different language codes"
133
+
example=` fr:
134
+
name: Démo
135
+
tagline: Services utilisés par Open Terms Archive
136
+
governance:
137
+
Ministry for Europe and Foreign Affairs:
138
+
name: Ministère de l'Europe et des Affaires étrangères
139
+
url: https://www.diplomatie.gouv.fr
140
+
`
141
+
required=false
121
142
>}}
122
143
123
144
---
124
145
125
-
### Tracking periods
146
+
### TrackingPeriods
126
147
127
148
{{< configOption
128
149
name="startDate"
129
150
type="date"
130
-
description="The date when tracking started (ISO 8601 format: YYYY-MM-DD)."
131
-
example="`2023-01-01`"
151
+
description="The date when tracking started for this period (ISO 8601 format YYYY-MM-DD)."
152
+
example="2023-01-01"
132
153
required=true
133
154
>}}
134
155
135
-
{{< configOption
136
-
name="endDate"
137
-
type="date"
138
-
description="The date when tracking ended or will end. If not specified, tracking is ongoing."
139
-
example="`2024-12-31`"
140
-
>}}
141
-
142
156
{{< configOption
143
157
name="schedule"
144
-
type="string"
158
+
type="cron-expression"
145
159
description="A [cron expression](https://en.wikipedia.org/wiki/Cron#Cron_expression) that defines the tracking frequency."
146
-
example="`0 0 * * *`"
160
+
example="0 0 * * *"
147
161
required=true
148
162
>}}
149
163
150
164
{{< configOption
151
165
name="serverLocation"
152
166
type="string"
153
-
description="The geographic location of the tracking server (city name, ISO 3166-2 country code)."
154
-
example="`London, GB`"
167
+
description="The geographic location of the tracking server (city name and ISO 3166-2 country code)."
168
+
example="Paris, FR"
155
169
required=true
156
170
>}}
157
171
158
-
---
159
-
160
-
### Entity
161
-
162
172
{{< configOption
163
-
name="name"
164
-
type="string"
165
-
description="Name of the organization."
166
-
example="`Open Terms Archive`"
167
-
required=true
173
+
name="endDate"
174
+
type="date"
175
+
description="The date when tracking ended for this period (ISO 8601 format YYYY-MM-DD). If not specified, tracking is ongoing."
176
+
example="2023-12-01"
177
+
required=false
168
178
>}}
169
179
180
+
181
+
---
182
+
183
+
### Governance
184
+
170
185
{{< configOption
171
186
name="url"
172
-
type="url"
173
-
description="Website URL of the organization."
174
-
example="`https://opentermsarchive.org/`"
187
+
type="uri"
188
+
description="URL to the entity's website"
189
+
example="https://opentermsarchive.org/"
190
+
required=false
175
191
>}}
176
192
177
193
{{< configOption
178
194
name="logo"
179
-
type="url"
180
-
description="URL to the organization's logo. Optimized PNG transparent image (min width 240px)."
description="Roles of the entity within the governance, see [collection governance]({{< relref \"collections/reference/governance\" >}})."
203
+
type="array of strings"
204
+
description="Roles of the entity within the governance, see [collection governance](https://docs.opentermsarchive.org/collections/reference/governance/)"
0 commit comments