-
Notifications
You must be signed in to change notification settings - Fork 303
Expand file tree
/
Copy pathfern-changes-yml.schema.json
More file actions
56 lines (56 loc) · 1.9 KB
/
fern-changes-yml.schema.json
File metadata and controls
56 lines (56 loc) · 1.9 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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
{
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "Changelog Entry",
"description": "Schema for changelog entries in the unreleased directory",
"type": "array",
"items": {
"$ref": "#/definitions/ChangelogEntry"
},
"definitions": {
"ChangelogEntry": {
"type": "object",
"additionalProperties": false,
"properties": {
"summary": {
"type": "string",
"description": "Description of the change. Use multi-line format for longer descriptions."
},
"type": {
"$ref": "#/definitions/ChangelogType",
"description": "Type of change determines version bump: fix/chore (patch), feat/internal (minor), break (major)"
},
"pre-release": {
"$ref": "#/definitions/PreReleaseTag",
"description": "Optional pre-release tag. When set, the release version includes this suffix (e.g., 1.2.0-rc.0)."
}
},
"required": [
"summary",
"type"
],
"title": "Changelog"
},
"ChangelogType": {
"type": "string",
"enum": [
"fix",
"chore",
"feat",
"internal",
"break"
],
"title": "Changelog Type",
"description": "The type of change: fix/chore → patch, feat/internal → minor, break → major"
},
"PreReleaseTag": {
"type": "string",
"enum": [
"alpha",
"beta",
"rc"
],
"title": "Pre-Release Tag",
"description": "Pre-release identifier appended to the version (e.g., rc → 1.2.0-rc.0)"
}
}
}