-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathmetadata.schema.json
More file actions
32 lines (32 loc) · 1.13 KB
/
metadata.schema.json
File metadata and controls
32 lines (32 loc) · 1.13 KB
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
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://raw.githubusercontent.com/graphql/gaps/main/metadata.schema.json",
"title": "GAP Metadata",
"type": "object",
"properties": {
"title": { "type": "string" },
"status": { "type": "string", "enum": ["proposal", "draft", "accepted"] },
"authors": {
"type": "array",
"items": {
"type": "object",
"properties": {
"name": { "type": "string" },
"email": { "type": "string" },
"githubUsername": { "type": "string", "pattern": "^@" }
},
"required": ["name", "email", "githubUsername"],
"additionalProperties": false
}
},
"sponsor": { "type": "string", "pattern": "^@" },
"discussion": { "type": "string" },
"id": { "type": "integer" },
"related": { "type": "array", "items": { "type": "integer" } },
"replaces": { "type": "integer" },
"supersededBy": { "type": "integer" },
"tags": { "type": "array", "items": { "type": "string" } }
},
"required": ["id", "title", "status", "authors", "sponsor", "discussion"],
"additionalProperties": false
}