Skip to content

Commit 6a6c7a9

Browse files
committed
Allow to specify website for party series
1 parent 8cf1f53 commit 6a6c7a9

2 files changed

Lines changed: 40 additions & 0 deletions

File tree

FORMAT.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,16 @@ A series *may* have:
3434

3535
* `alternative_names`, which is a non-empty list of alternative names of the
3636
party series.
37+
* A `links` section; see below.
38+
39+
A links section *must* have:
40+
41+
* A `website`, which:
42+
43+
* *must* specify `url`, which is a common URL like
44+
`https://www.awesomelan.example/`.
45+
* *can* specify `offline`, with a value of either `false` (the default) or
46+
`true`.
3747

3848
Minimal example of an entry:
3949

@@ -50,6 +60,9 @@ Full example of an entry:
5060
slug = "awesome-lan"
5161
name = "Awesome LAN"
5262
alternative_names = ["That Awesome LAN Party"]
63+
64+
[links.website]
65+
url = "https://www.awesomelan.example/"
5366
```
5467

5568

@@ -157,6 +170,11 @@ url = "https://www.awesomelan.example/"
157170
## Changelog
158171

159172

173+
### 0.10 (in preparation)
174+
175+
* Added optional links section for series.
176+
177+
160178
### 0.9 (2025-04-04)
161179

162180
* Rename property `zip_code` to generic `postal_code` in section `location`.

schemas/series.json

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,28 @@
2828
},
2929
"minItems": 1,
3030
"uniqueItems": true
31+
},
32+
"links": {
33+
"type": "object",
34+
"properties": {
35+
"website": {
36+
"type": "object",
37+
"properties": {
38+
"url": {
39+
"type": "string"
40+
},
41+
"offline": {
42+
"type": "boolean"
43+
}
44+
},
45+
"required": [
46+
"url"
47+
]
48+
}
49+
},
50+
"required": [
51+
"website"
52+
]
3153
}
3254
},
3355
"required": [

0 commit comments

Comments
 (0)