-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathschema.json
59 lines (59 loc) · 1.44 KB
/
schema.json
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
{
"$schema": "http://json-schema.org/draft-07/schema#",
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "A unique identifier for the reminder"
},
"description": {
"type": "string",
"description": "An optional description of the reminder",
"nullable": true
},
"title": {
"type": "string",
"description": "The title of the reminder"
},
"body": {
"type": "string",
"description": "The body content of the reminder"
},
"labels": {
"type": "array",
"description": "An optional array of labels for the reminder",
"items": {
"type": "string"
},
"uniqueItems": true,
"default": []
},
"schedule": {
"oneOf": [
{
"type": "string",
"description": "A single RRULE schedule for the reminder"
},
{
"type": "array",
"description": "Multiple RRULE schedules for the reminder",
"items": {
"type": "string"
},
"uniqueItems": true
}
]
},
"repositories": {
"type": "array",
"description": "A list of repositories where the reminder should be created",
"items": {
"type": "string"
},
"uniqueItems": true,
"minItems": 1
}
},
"additionalProperties": false,
"required": ["schedule", "title", "body", "repositories"]
}