Skip to content

Instantly share code, notes, and snippets.

@Nick2bad4u
Created April 27, 2026 05:13
Show Gist options
  • Select an option

  • Save Nick2bad4u/5a39907931f3dc6d11ed1149ad4ac549 to your computer and use it in GitHub Desktop.

Select an option

Save Nick2bad4u/5a39907931f3dc6d11ed1149ad4ac549 to your computer and use it in GitHub Desktop.
{
"$comment": "This is a permissive schema for cliff.toml and lychee.toml configuration files. It defines some common properties but allows any additional properties to accommodate various configurations.",
"$id": "https://raw.githubusercontent.com/Nick2bad4u/Uptime-Watcher/refs/heads/main/config/schemas/generic.schema.json",
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": true,
"description": "Permissive JSON Schema for cliff.toml / lychee.toml — allows common fields and any additional properties.",
"fileMatch": [
"cliff.toml",
"**/cliff.toml",
"lychee.toml",
"**/lychee.toml"
],
"properties": {
"$schema": {
"description": "JSON Schema URI",
"type": "string"
},
"changelog": {
"description": "Changelog information",
"oneOf": [
{
"additionalProperties": true,
"type": "object"
},
{
"type": "string"
}
]
},
"description": {
"type": "string"
},
"git": {
"description": "Git metadata",
"oneOf": [
{
"additionalProperties": true,
"type": "object"
},
{
"type": "string"
}
]
},
"name": {
"type": "string"
},
"version": {
"type": "string"
}
},
"title": "cliff.toml / lychee TOML (permissive)",
"type": "object"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment