mirror of
https://github.com/hensm/fx_cast.git
synced 2026-06-08 08:39:59 +00:00
Add periodic user agent string updates
This commit is contained in:
22
docs/ua.schema.json
Normal file
22
docs/ua.schema.json
Normal 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
|
||||
}
|
||||
Reference in New Issue
Block a user