-
Notifications
You must be signed in to change notification settings - Fork 114
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add nl.basjes/yauaa_context/jsonschema/1-0-4 (close #1216)
- Loading branch information
Showing
1 changed file
with
234 additions
and
0 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 | ||
} |