Skip to content

Commit

Permalink
Add schemas/nl.basjes/yauaa_context/jsonschema/1-0-3 (close #1126)
Browse files Browse the repository at this point in the history
  • Loading branch information
istreeter authored and Paul Boocock committed Nov 30, 2021
1 parent e43f8fa commit 69b3e47
Showing 1 changed file with 231 additions and 0 deletions.
231 changes: 231 additions & 0 deletions schemas/nl.basjes/yauaa_context/jsonschema/1-0-3
Original file line number Diff line number Diff line change
@@ -0,0 +1,231 @@
{
"$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-3"
},
"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", "Handheld Game Console", "Voice", "Robot", "Robot Mobile", "Spy", "Hacker", "Augmented Reality", "Robot Imitator"]
},
"deviceName": {
"description": "Example: Google Nexus 6",
"type": "string",
"maxLength": 100
},
"deviceBrand": {
"description": "Example: Google",
"type": "string",
"maxLength": 50
},
"deviceCpu": {
"type": "string",
"maxLength": 50
},
"deviceCpuBits": {
"type": "string",
"maxLength": 20
},
"deviceFirmwareVersion": {
"type": "string",
"maxLength": 100
},
"deviceVersion": {
"type": "string",
"maxLength": 100
},
"operatingSystemClass": {
"description": "See https://yauaa.basjes.nl/README-Output.html",
"enum": ["Desktop", "Mobile", "Cloud", "Embedded", "Game Console", "Hacker", "Anonymized", "Unknown"]
},
"operatingSystemName": {
"description": "Examples: Linux, Android.",
"type": "string",
"maxLength": 100
},
"operatingSystemVersion": {
"type": "string",
"maxLength": 50
},
"operatingSystemNameVersion": {
"type": "string",
"maxLength": 150
},
"operatingSystemVersionBuild": {
"type": "string",
"maxLength": 100
},
"layoutEngineClass": {
"description": "See https://yauaa.basjes.nl/README-Output.html",
"enum": ["Browser", "Mobile App", "Hacker", "Robot", "Unknown", "Special", "Cloud", "eReader"]
},
"layoutEngineName": {
"type": "string",
"maxLength": 100
},
"layoutEngineVersion": {
"type": "string",
"maxLength": 50
},
"layoutEngineVersionMajor": {
"type": "string",
"maxLength": 20
},
"layoutEngineNameVersion": {
"type": "string",
"maxLength": 150
},
"layoutEngineNameVersionMajor": {
"type": "string",
"maxLength": 120
},
"layoutEngineBuild": {
"type": "string",
"maxLength": 100
},
"agentClass": {
"description": "See https://yauaa.basjes.nl/README-Output.html",
"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": 100
},
"agentVersion": {
"type": "string",
"maxLength": 100
},
"agentVersionMajor": {
"type": "string",
"maxLength": 100
},
"agentNameVersion": {
"type": "string",
"maxLength": 200
},
"agentNameVersionMajor": {
"type": "string",
"maxLength": 120
},
"agentBuild": {
"type": "string",
"maxLength": 100
},
"agentLanguage": {
"type": "string",
"maxLength": 50
},
"agentLanguageCode": {
"type": "string",
"maxLength": 20
},
"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": 50
},
"webviewAppNameVersionMajor": {
"type": "string",
"maxLength": 50
},
"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": 100
},
"iECompatibilityVersionMajor": {
"type": "string",
"maxLength": 50
},
"iECompatibilityNameVersion": {
"type": "string",
"maxLength": 50
},
"iECompatibilityNameVersionMajor": {
"type": "string",
"maxLength": 70
},
"carrier": {
"type": "string"
},
"gSAInstallationID": {
"type": "string"
},
"networkType": {
"type": "string"
},
"operatingSystemNameVersionMajor": {
"type": "string"
},
"operatingSystemVersionMajor": {
"type": "string"
}
},
"required": ["deviceClass"],
"additionalProperties": false
}

0 comments on commit 69b3e47

Please sign in to comment.