Skip to content

Commit 40bdb5e

Browse files
committed
Add solution C2
Co-authored-by: Nicolas Dupont <npg.dupont@gmail.com>
1 parent 863ee59 commit 40bdb5e

1 file changed

Lines changed: 102 additions & 1 deletion

File tree

decision-records/0001-schema-improvements.md

Lines changed: 102 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ In any case, this file format does not have default values. Optimizations to rem
119119
}
120120
```
121121

122-
### Solution C
122+
### Solution C1
123123

124124
- Remove `commitment` object
125125
- Remove `writer` field
@@ -205,6 +205,107 @@ In any case, this file format does not have default values. Optimizations to rem
205205
}
206206
```
207207

208+
### Solution C2
209+
210+
- Include all C1 solution changes
211+
- Update `obligee` field to an array and make it plural `obligees`
212+
- Add `applicability` to nest `obligees`, `jurisdictions` and `industries` fields
213+
214+
#### Schema
215+
216+
```json
217+
"<terms type name>": {
218+
"topic": "...",
219+
"aliases": [ // Optional array of strings
220+
"..."
221+
],
222+
"applicability": { // Optional object defining scope
223+
"obligee": [ // Array of strings defining the parties obligated by the terms
224+
"..."
225+
],
226+
"jurisdictions": [ // Array of ISO 3166-2 region codes
227+
"..."
228+
],
229+
"industries": [ // Array of strings
230+
"..."
231+
]
232+
},
233+
"references": { // Optional object with name/url pairs
234+
"name": "url"
235+
}
236+
}
237+
```
238+
239+
##### Examples
240+
241+
```json
242+
"Editorial Policy": {
243+
"topic": "writing and publishing standards and principles",
244+
"aliases": [
245+
"Editorial Guidelines"
246+
],
247+
"applicability": {
248+
"obligee": [
249+
"end user",
250+
"content contributors"
251+
]
252+
},
253+
"references": {
254+
"Open Terms Archive discussion": "https://github.com/OpenTermsArchive/terms-types/discussions/35"
255+
}
256+
}
257+
```
258+
259+
```json
260+
"Conditions of Carriage": {
261+
"topic": "benefits and limitations associated with the transportation being provided",
262+
"aliases": [
263+
"Transport Conditions"
264+
],
265+
"applicability": {
266+
"obligee": [
267+
"passenger",
268+
"sender"
269+
],
270+
"industries": [
271+
"Air Transport",
272+
"Maritime Transport",
273+
"Rail Transport",
274+
"Road Freight and Trucking",
275+
"Public Transit (Bus, Metro)",
276+
"Delivery and Courier Services"
277+
]
278+
}
279+
}
280+
```
281+
282+
```json
283+
"Anti-corruption Policy": {
284+
"topic": "risk mitigation and prevention of involvement in bribery",
285+
"aliases": [
286+
"Anti-bribery Policy"
287+
],
288+
"applicability": {
289+
"obligee": [
290+
"employees",
291+
"contractors",
292+
"partners"
293+
],
294+
"jurisdictions": [
295+
"US",
296+
"GB",
297+
"FR"
298+
]
299+
},
300+
"references": {
301+
"Open Terms Archive discussion": "https://github.com/OpenTermsArchive/terms-types/discussions/39",
302+
"🇺🇸 Foreign Corrupt Practices Act": "https://www.justice.gov/criminal/criminal-fraud/foreign-corrupt-practices-act",
303+
"🇬🇧 Bribery Act 2010": "https://www.legislation.gov.uk/ukpga/2010/23/contents",
304+
"🇫🇷 Loi n°2016-1691 du 9 décembre 2016 relative à la transparence, à la lutte contre la corruption et à la modernisation de la vie économique, dite « Sapin II »": "https://www.legifrance.gouv.fr/loda/id/JORFTEXT000033558528"
305+
}
306+
}
307+
```
308+
208309
## Decision Outcome
209310

210311
...

0 commit comments

Comments
 (0)