Created
February 23, 2025 21:25
-
-
Save Reycko/2c44ff435406a411cf822ad7a77327e5 to your computer and use it in GitHub Desktop.
Bananew Schema
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"$schema": "http://json-schema.org/draft-04/schema#", | |
"title": "Bananew", | |
"description": "Schema for Bananew changelog files", | |
"type": "object", | |
"required": ["versions"], | |
"properties": { | |
"versions": { | |
"type": "array", | |
"minItems": 1, | |
"items": { | |
"required": ["version", "changes"], | |
"properties": { | |
"version": { | |
"type": "string" | |
}, | |
"changes": { | |
"type": "array", | |
"items": { | |
"type": "object", | |
"required": ["type", "text"], | |
"properties": { | |
"type": { | |
"type": "string", | |
"enum": ["addition", "removal", "overhaul", "adjustment", "amendment", "improvement", "optimization", "tweak", "suggestion", "feature", "refactor", "bugfix"] | |
}, | |
"text": { | |
"type": "string" | |
} | |
} | |
} | |
}, | |
"body": { | |
"type": "string" | |
} | |
} | |
} | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment