Release 2023.12.30
[yt-dlp.git] / devscripts / changelog_override.schema.json
blob9bd747b701bcb6d166dcfc21ed0c9f45c788d381
2     "$schema": "http://json-schema.org/draft/2020-12/schema",
3     "type": "array",
4     "uniqueItems": true,
5     "items": {
6         "type": "object",
7         "oneOf": [
8             {
9                 "type": "object",
10                 "properties": {
11                     "action": {
12                         "enum": [
13                             "add"
14                         ]
15                     },
16                     "when": {
17                         "type": "string",
18                         "pattern": "^([0-9a-f]{40}|\\d{4}\\.\\d{2}\\.\\d{2})$"
19                     },
20                     "hash": {
21                         "type": "string",
22                         "pattern": "^[0-9a-f]{40}$"
23                     },
24                     "short": {
25                         "type": "string"
26                     },
27                     "authors": {
28                         "type": "array",
29                         "items": {
30                             "type": "string"
31                         }
32                     }
33                 },
34                 "required": [
35                     "action",
36                     "short"
37                 ]
38             },
39             {
40                 "type": "object",
41                 "properties": {
42                     "action": {
43                         "enum": [
44                             "remove"
45                         ]
46                     },
47                     "when": {
48                         "type": "string",
49                         "pattern": "^([0-9a-f]{40}|\\d{4}\\.\\d{2}\\.\\d{2})$"
50                     },
51                     "hash": {
52                         "type": "string",
53                         "pattern": "^[0-9a-f]{40}$"
54                     }
55                 },
56                 "required": [
57                     "action",
58                     "hash"
59                 ]
60             },
61             {
62                 "type": "object",
63                 "properties": {
64                     "action": {
65                         "enum": [
66                             "change"
67                         ]
68                     },
69                     "when": {
70                         "type": "string",
71                         "pattern": "^([0-9a-f]{40}|\\d{4}\\.\\d{2}\\.\\d{2})$"
72                     },
73                     "hash": {
74                         "type": "string",
75                         "pattern": "^[0-9a-f]{40}$"
76                     },
77                     "short": {
78                         "type": "string"
79                     },
80                     "authors": {
81                         "type": "array",
82                         "items": {
83                             "type": "string"
84                         }
85                     }
86                 },
87                 "required": [
88                     "action",
89                     "hash",
90                     "short",
91                     "authors"
92                 ]
93             }
94         ]
95     }