From 1e0ada75da7a1d5ba3c9e1f73fae2922dea345b9 Mon Sep 17 00:00:00 2001 From: Dilyan Damyanov Date: Wed, 24 Aug 2022 16:08:04 +0100 Subject: [PATCH] Add nl.basjes/yauaa_context/jsonschema/1-0-4 (close #1216) --- .../nl.basjes/yauaa_context/jsonschema/1-0-4 | 234 ++++++++++++++++++ 1 file changed, 234 insertions(+) create mode 100644 schemas/nl.basjes/yauaa_context/jsonschema/1-0-4 diff --git a/schemas/nl.basjes/yauaa_context/jsonschema/1-0-4 b/schemas/nl.basjes/yauaa_context/jsonschema/1-0-4 new file mode 100644 index 00000000..2cafda50 --- /dev/null +++ b/schemas/nl.basjes/yauaa_context/jsonschema/1-0-4 @@ -0,0 +1,234 @@ +{ + "$schema": "http://iglucentral.com/schemas/com.snowplowanalytics.self-desc/schema/jsonschema/1-0-0#", + "description": "Schema for a context generated by the YAUAA enrichment after parsing the user agent", + "self": { + "vendor": "nl.basjes", + "name": "yauaa_context", + "format": "jsonschema", + "version": "1-0-4" + }, + "type": "object", + "properties": { + "deviceClass": { + "description": "See https://yauaa.basjes.nl/README-Output.html", + "enum": ["Desktop", "Anonymized", "Unknown", "UNKNOWN", "Mobile", "Tablet", "Phone", "Watch", "Virtual Reality", "eReader", "Set-top box", "TV", "Game Console", "Home Appliance", "Handheld Game Console", "Voice", "Car", "Robot", "Robot Mobile", "Spy", "Hacker", "Augmented Reality", "Robot Imitator"] + }, + "deviceName": { + "description": "Example: Google Nexus 6", + "type": "string", + "maxLength": 256 + }, + "deviceBrand": { + "description": "Example: Google", + "type": "string", + "maxLength": 128 + }, + "deviceCpu": { + "type": "string", + "maxLength": 128 + }, + "deviceCpuBits": { + "type": "string", + "maxLength": 128 + }, + "deviceFirmwareVersion": { + "type": "string", + "maxLength": 1000 + }, + "deviceVersion": { + "type": "string", + "maxLength": 1000 + }, + "operatingSystemClass": { + "description": "See https://yauaa.basjes.nl/README-Output.html", + "type": "string", + "enum": ["Desktop", "Mobile", "Cloud", "Embedded", "Game Console", "Hacker", "Anonymized", "Unknown"] + }, + "operatingSystemName": { + "description": "Examples: Linux, Android.", + "type": "string", + "maxLength": 256 + }, + "operatingSystemVersion": { + "type": "string", + "maxLength": 1000 + }, + "operatingSystemNameVersion": { + "type": "string", + "maxLength": 1000 + }, + "operatingSystemVersionBuild": { + "type": "string", + "maxLength": 1000 + }, + "layoutEngineClass": { + "description": "See https://yauaa.basjes.nl/README-Output.html", + "type": "string", + "enum": ["Browser", "Mobile App", "Hacker", "Robot", "Unknown", "Special", "Cloud", "eReader"] + }, + "layoutEngineName": { + "type": "string", + "maxLength": 256 + }, + "layoutEngineVersion": { + "type": "string", + "maxLength": 1000 + }, + "layoutEngineVersionMajor": { + "type": "string", + "maxLength": 1000 + }, + "layoutEngineNameVersion": { + "type": "string", + "maxLength": 1000 + }, + "layoutEngineNameVersionMajor": { + "type": "string", + "maxLength": 1000 + }, + "layoutEngineBuild": { + "type": "string", + "maxLength": 1000 + }, + "agentClass": { + "description": "See https://yauaa.basjes.nl/README-Output.html", + "type": "string", + "enum": ["Browser", "Browser Webview", "Mobile App", "Robot", "Robot Mobile", "Cloud Application", "Email Client", "Voice", "Special", "Testclient", "Hacker", "Unknown", "Desktop App", "eReader"] + }, + "agentName": { + "description": "Example: Chrome.", + "type": "string", + "maxLength": 256 + }, + "agentVersion": { + "type": "string", + "maxLength": 1000 + }, + "agentVersionMajor": { + "type": "string", + "maxLength": 1000 + }, + "agentNameVersion": { + "type": "string", + "maxLength": 1000 + }, + "agentNameVersionMajor": { + "type": "string", + "maxLength": 1000 + }, + "agentBuild": { + "type": "string", + "maxLength": 1000 + }, + "agentLanguage": { + "type": "string", + "maxLength": 1000 + }, + "agentLanguageCode": { + "type": "string", + "maxLength": 1000 + }, + "agentInformationEmail": { + "type": "string", + "format": "email" + }, + "agentInformationUrl": { + "type": "string" + }, + "agentSecurity": { + "type": "string", + "enum": ["Weak security", "Strong security", "Unknown", "Hacker", "No security"] + }, + "agentUuid": { + "type": "string" + }, + "webviewAppName": { + "type": "string" + }, + "webviewAppVersion": { + "type": "string" + }, + "webviewAppVersionMajor": { + "type": "string", + "maxLength": 1000 + }, + "webviewAppNameVersionMajor": { + "type": "string", + "maxLength": 1000 + }, + "facebookCarrier": { + "type": "string" + }, + "facebookDeviceClass": { + "type": "string", + "maxLength": 1024 + }, + "facebookDeviceName": { + "type": "string", + "maxLength": 1024 + }, + "facebookDeviceVersion": { + "type": "string" + }, + "facebookFBOP": { + "type": "string" + }, + "facebookFBSS": { + "type": "string" + }, + "facebookOperatingSystemName": { + "type": "string" + }, + "facebookOperatingSystemVersion": { + "type": "string" + }, + "anonymized": { + "type": "string" + }, + "hackerAttackVector": { + "type": "string" + }, + "hackerToolkit": { + "type": "string" + }, + "koboAffiliate": { + "type": "string" + }, + "koboPlatformId": { + "type": "string" + }, + "iECompatibilityVersion": { + "type": "string", + "maxLength": 1000 + }, + "iECompatibilityVersionMajor": { + "type": "string", + "maxLength": 1000 + }, + "iECompatibilityNameVersion": { + "type": "string", + "maxLength": 1000 + }, + "iECompatibilityNameVersionMajor": { + "type": "string", + "maxLength": 1000 + }, + "carrier": { + "type": "string" + }, + "gSAInstallationID": { + "type": "string" + }, + "networkType": { + "type": "string" + }, + "operatingSystemNameVersionMajor": { + "type": "string" + }, + "operatingSystemVersionMajor": { + "type": "string" + } + }, + "required": ["deviceClass"], + "additionalProperties": false +}