Add periodic user agent string updates

This commit is contained in:
hensm
2025-12-27 02:13:57 +00:00
parent 50851b4831
commit 1f200bef9a
7 changed files with 131 additions and 27 deletions

22
docs/ua.schema.json Normal file
View File

@@ -0,0 +1,22 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$defs": {
"ua_string": { "type": "string", "minLength": 1 }
},
"properties": {
"$schema": { "type": "string" },
"version": { "type": "integer", "const": 1 },
"platforms": {
"type": "object",
"properties": {
"win": { "$ref": "#/$defs/ua_string" },
"mac": { "$ref": "#/$defs/ua_string" },
"linux": { "$ref": "#/$defs/ua_string" }
},
"required": ["win", "mac", "linux"],
"additionalProperties": false
}
},
"required": ["version", "platforms"],
"additionalProperties": false
}